Autor
| I search programs to convert PC graphs -> MSX.
|
Hecatonchire msx friend Mensajes: 11 | Publicado: Marzo 23 2007, 04:31   |
Wolf,
I am interested by the techniques which you use to make the reduction of pallet (or quantization). Can you say some more to us on this subject ?.
|
|
Sd-Snatcher msx freak Mensajes: 249 | Publicado: Marzo 23 2007, 11:29   |
This code is only for 8 bit bmp, im using it to make skinnable games.
|
|
wolf_
 msx legend Mensajes: 4707 | Publicado: Marzo 23 2007, 11:53   |
Actually it's not optimal yet, currently I must compare an image to a ready-made palette, so it's not like in photoshop where you can say how many colors you want to use and then photoshop finds the most relevant/important colors to rebuild the image with only those colors. Atm I've also included 3 C64 palettes.. (3, as no-one seems to be able to extract the right palette from the machine, so I grabbed palettes from various sources).
One can toggle individual colors on/off when matching the defined palette with an image. So, if I have a blue'ish image I want to convert to MSX1, then I can specify only to use the colors 0,4,5,7,14,15. The algo is just a typical colormatcher.
You might find the sourcecode of bmp2msx interesting, it's just there for download (see link on page 1).
Here is also some more information!
Chances are this texgen will produce output for new 4motion stuff (but then an upgraded version with more features!).
btw, for black/white there's hardly any palette matching one needs to do, just posterise is enough. |
|
SLotman msx professional Mensajes: 540 | Publicado: Marzo 23 2007, 16:12   |
I personally do all my graphics in Paint Shop Pro (7, didnt like later releases) - If for scr5 I just reduce colour depth to 16 (there are two different ways the programs allows you to do that, both with and without dither); if scr8, I just load an scr8 pal I have... Then I just use the image converter on MSXPad to create the raw file for me
For MSX1 I try to color everything in 8x8/2 colors line, with the help of an 8x8 grid using an MSX1 pal, then I just throw the image on MSXViewer to see if I don't missed anything and to convert it to "bloadable" SCR2 file
|
|
ARTRAG msx master Mensajes: 1680 | Publicado: Marzo 23 2007, 16:40   |
|
|
ARTRAG msx master Mensajes: 1680 | Publicado: Marzo 23 2007, 18:34   |
|
|
ARTRAG msx master Mensajes: 1680 | Publicado: Marzo 23 2007, 19:26   |
A sidenote:
in order to get good results you should use a perceptually uniform representation of the colors
(R,G,B) isn't perceptually uniform this means that errors in the (R,G,B) space are not closely related
to the differences you perceve looking at the colors.
This is a problem, e.g., in the program by dvick to have 105 colors on msx1 (http://www.msx.org/BMPTO105.newspost3603.html) and could be solved by
passing to some p.u. color representation
http://www.compuphase.com/cmetric.htm |
|
ARTRAG msx master Mensajes: 1680 | Publicado: Mayo 24 2007, 16:07   |
|
|
Yukio msx professional Mensajes: 819 | Publicado: Mayo 24 2007, 23:42   |
Quote:
|
not bad for an MSX 1
|
Indeed , very nice! |
|
|
|
|