Opened 7 years ago

Last modified 6 years ago

#57 assigned defect

"Picture & screen sizes" needs improvements

Reported by: nitrofurano@… Owned by: PulkoMandy
Priority: major Milestone: 3.0
Component: GrafX2 Version: 2.3
Keywords: Cc:


the pixel sizes we have available are 1x1, 1x2, 2x1, 2x2, 3x3, 4x2, 2x4 and 4x4 - would be great if it would be like [textfield]x[textfield] (just like "Width:[textfield] Height: [textfield]" above there), and would be great if [textfield]x[textfield] could accept floating-point values, so we could have aspect-ratio available (just like we have available on gimp) like [2.844]x[2] (this would look like a colecovision or master-system on a pal cinescope display)

and there is a bug (or misfeature) that would be great having fixed: normally when we work on smaller picture sizes, the picture seems always placed on the upper-left edge over a black background, and i guess that this would be optional, since i would prefer to have it centered over a grey background, and some people would want to have it in an even different way

would be great also if the [clr] button would clear the display using the selected background colour, not black

Change History (6)

comment:1 by yrizoud@…, 7 years ago

In the SDL2 branch, the rendering engine is able to zoom at arbitrary (integer) sizes. I just checked on a 95dpi screen : 4x5 pixels look very much like VGA mode, :)

Non-integer sizes can't work well : if I display with linear interpolation, you lose pixel precision, ie. a pure black-and-white image will show many grey pixels; or I display nearest neighbor, and then the "volume" of pixels is not constant, which is just too ugly.

comment:2 by nitrofurano@…, 7 years ago

it doesn’t need anti-aliasing - it would look like "-aspect" from mame/mess command-line in sdl mode, using 2.844x2 we would have some 2x2 pixels and some 3x2 pixels, depending on where they are - the useful of this is also enabling us to use drawing tablets on the desired aspect ratio, without having to concern with losses resulting from constant resizing - the resulting "ugliness" would be some kind of "compromise" we wouldn’t mind that much for that, the important would be having that available

comment:3 by PulkoMandy, 7 years ago

I would prefer to keep integer ratios only. If you need stranger ratios, you will need to get a retina display and use 8x6 or some other large numbers.

The clr button clears with the background color, if you right click it. Read the helpfiles!

comment:4 by PulkoMandy, 6 years ago

Milestone: 2.52.6

comment:5 by PulkoMandy, 6 years ago

Owner: changed from pulkomandy to PulkoMandy
Status: newassigned

comment:6 by Thomas Bernard, 6 years ago

Milestone: 2.63.0
Note: See TracTickets for help on using tickets.