Skip to content

Screen ratio issue and image size #3214

@Melvovin

Description

@Melvovin

I have two issues:
The first one is that when I set a screen resolution in canvas using:
canvas = FullScreenCanvas.GetFullScreenCanvas(new Mode(columns, rows, colorDepth));
I can't set the resolution to a ratio other than 4:3 for resolutions like 1280x720 or 1920x1080
It shows this error:
Image

The other issue is that I can't find a method to change a Bitmap's size at runtime, including downscaling it and changing the width and height differently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions