hi
i need to generate thumbnail from scratch files (.sb) using php
i have done it successfully with the two objects one (where the image is contained in 0xB and colors in 0x14)
but i want to know the color palette for the single object one (where the image is contained in 0xB with 256 colors per pixel)
thanks in advace
Offline
Please clarify...
I have no idea what you mean.
Offline
hi
thank for replying
in scratch project files there are different structures
in one of them there is a color form which has a bytearray for the image itself and an array for the color and there is an other structure in which there is a form which has only the bytearray which has the full information of the image but without the color palette (which i guess is fixed in that case) , i can get the colorform successfully and display the thumbnail but in the case of the form i donot know the color palette so i cannot display the thumbnail correctly
this is the correct image :
and this is my generated one :
Last edited by msalemegypt (2010-03-29 11:12:43)
Offline