Skip to content

Render Size question [question]  #89

Description

@romaHerman

Hi!

Thanks for the awesome tool

I was reading a code related to the video cropping.
There is one thing I can't wrap my head around

CGSize(width: 16 * videoCropView.aspectRatio.width * 18,
                                height: 16 * videoCropView.aspectRatio.height * 18)

Could you please explain why we need to multiple aspectRatio by 16 and 18 ?

and why scale is determined by dividing width on width
let renderScale = renderSize.width / cropFrame.width

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions