Click here to Skip to main content
16,021,211 members

Comments by Quintec (Top 3 by date)

Quintec 25-Mar-11 7:40am View    
In this case, it doesnt allow you to do many things you can do in GIF files, such as repeating colours in palette (could be really useful in many cases) or recolorize an image in a smart way. For example, it was common to create for example a car image carefully choosing its palette, in such a way, that chainging a section of the palete the car can change its colour without affecting anything else and with a realistic output.

Yesterday I leart the basics of PHP, and I achieved to do what Im asking in less than one hour. ¿how could it be that a powerfull language doesnt allow it?


PHP Function:

bool imagesetpixel ( resource $image , int $x , int $y , int $IndexColor )
imagesetpixel() draws a pixel at the specified coordinate with its associated color in the palette


There should be an alternative way to achieve it in .NET... Thanks anyways for your coment :-)
Quintec 24-Mar-11 16:35pm View    
I know that .NET comes with an image library, but it is missing (or at least, i cant find it) the functionality i am asking about, write/retrieve pixel values according to its index value in the colour table, instead of doing so in RGB.

Anyone? :-)
Quintec 24-Mar-11 16:34pm View    
I started thinking in the same way, that there is no way of doing so in .NET, but it seems hard to believe that such a powerful technology doesnt allow to obtain the actual pixel value (the palette index) of an indexed image.

Thanks for you response, but I still hope someone can write an alternative to do it :-). And yes, it is for hidding text, but not for malicius purposes :)