5x6 pixel size for DOS?

8 views
Skip to first unread message

minebrandon

unread,
Jun 7, 2025, 7:09:12 AMJun 7
to GrafX2
Hi I was trying to find a program to make DOS pixel art in the incredibly awkward resolution of 320:200 but still in a 4:3 Aspect Ratio and was recommended this program. But it doesn't seem to have Pixel size options with numbers 4x4 which is a problem as to get a true 4:3 resolution with 320:200 you need a pixel size of 5x6, so does anyone know how to fix that as I heard this program is open source so maybe someone did it already?

Yves Rizoud

unread,
Jun 7, 2025, 12:23:18 PMJun 7
to gra...@googlegroups.com
These pixel scalers work by expanding the entire user interface : menus, mouse cursors...etc And the program requires at least 320x200 surface, multiplied by the scaler. So a 5x6 scaler would only be usable if you had a screen / window that can fit 1600x1200. (ie taller than a standard "HD" screen)
I really wish we could support non-integer pixel ratios such as from PC MCGA/VGA, or Amiga screens, but at this point it would really require the program to separate UI space from image space.


Le sam. 7 juin 2025 à 13:09, minebrandon <ermalt...@gmail.com> a écrit :
Hi I was trying to find a program to make DOS pixel art in the incredibly awkward resolution of 320:200 but still in a 4:3 Aspect Ratio and was recommended this program. But it doesn't seem to have Pixel size options with numbers 4x4 which is a problem as to get a true 4:3 resolution with 320:200 you need a pixel size of 5x6, so does anyone know how to fix that as I heard this program is open source so maybe someone did it already?

--

---
You received this message because you are subscribed to the Google Groups "GrafX2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grafx2+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/grafx2/e4ee4e42-5fb8-4699-ad92-aa22d7ce5923n%40googlegroups.com.

minebrandon

unread,
Jun 7, 2025, 5:20:05 PMJun 7
to GrafX2
Y>  So a 5x6 scaler would only be usable if you had a screen / window that can fit 1600x1200. (ie taller than a standard "HD" screen)

I don't really see how this could be an issue, plenty of people nowadays have screens that are that size or larger, or the ability to upscale to larger resolutions, so if someone's screen is big enough to support going up that high, I don't see any reason to not allow them to do that. Although I don't develop the program so I wouldn't know how many things that'd break though...

Thanks for answering!

Adrien Destugues

unread,
Jun 7, 2025, 5:23:34 PMJun 7
to gra...@googlegroups.com
Le sam. 7 juin 2025 à 23:20, minebrandon <ermalt...@gmail.com> a écrit :
Y>  So a 5x6 scaler would only be usable if you had a screen / window that can fit 1600x1200. (ie taller than a standard "HD" screen)

I don't really see how this could be an issue, plenty of people nowadays have screens that are that size or larger, or the ability to upscale to larger resolutions, so if someone's screen is big enough to support going up that high, I don't see any reason to not allow them to do that. Although I don't develop the program so I wouldn't know how many things that'd break though...

Thanks for answering!


The scaling code is not generic to allow arbitrary factors, instead it has to be written specifically for each scaling factor. And scaling by 5x is not as easy as x2 or x4.

So there are two ways to go about this:

- Write another specific scaler for this
- Use hardware scaling that can do the work for us and would probably be faster on modern hardware

In the latter case, it is not so difficult to scale only the pixel drawing area and not the toolbar as Yves mentions. With the current architecture (designed some 20 years ago) it is not so easy. In either case, someone has to write the code :)
 
--
Adrien Destugues / PulkoMandy
http://pulkomandy.tk

miniupnp

unread,
Jun 9, 2025, 4:51:31 PMJun 9
to gra...@googlegroups.com
With some video cards, it may be still possible to select a fullscreen SDL / SDL2 resolution of 320x200 or 640x400 or 1280x800 and use 1x1 or 2x2 or 4x4 pixels.

On my Thinkpad T420  with FreeBSD, 1280x800 4x4 seams to work.
--

---
You received this message because you are subscribed to the Google Groups "GrafX2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grafx2+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages