I search programs to convert PC graphs -> MSX. (Development Foros MSX)MSX Resource Center MSX Info Update - Finnish MSX madness at its best           
                       
English Nederlands Español Português Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 149 invitados y 4 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - I search programs to convert PC graphs -> MSX.

Ir a la página ( Página anterior 1 | 2 )
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   
The color conversion should follow the standard rules of vector quantization.
The the space of colors can be (R,G,B) and the distance the standard eulidean mean squere error.

You select the number of colors you want in the final image (e.g. 16), and
apply K-means algorithm that is the simpliest way to get a good result:

http://en.wikipedia.org/wiki/K-means_algorithm

Go here for a very ad hoc K-means

http://www.leet.it/home/lale/joomla/component/option,com_wrapper/Itemid,50/


ARTRAG
msx master
Mensajes: 1680
Publicado: Marzo 23 2007, 18:34   
About

http://www.leet.it/home/lale/joomla/component/option,com_wrapper/Itemid,50/

the demo in Java is great!!!

BTW
If you have a fixed palette, (e.g. the MSX1 palette), you can use the minimum distance
criterium in (R,G,B) space without any update of the centroids.





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   
look here

http://ragozini.googlepages.com/dithering



not bad for an MSX 1
Yukio
msx professional
Mensajes: 819
Publicado: Mayo 24 2007, 23:42   
Quote:



not bad for an MSX 1



Indeed , very nice!
 
Ir a la página ( Página anterior 1 | 2 )
 







(c) 1994 - 2008 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation