P
Piotrekk
Hi
I am trying to get color palette of image and change it:
Image tmpImg = pictureBox1.Image;
// Here tmpImg.Palette sometimes has 0 entries and sometimes has some
entries
However when i debug it i can see that Palette has zero entries for
some images
Does anyone of you know what could be the problem?
Iam trying to get color palette of:
http://mion.elka.pw.edu.pl/~pkolodzi/1.jpg
and change it to:
http://mion.elka.pw.edu.pl/~pkolodzi/2.bmp
On the above example:
Iam able to get color palette of the BMP file here - and unable for
JPG. In different example i CAN get palette of JPG and cant - BMP.
Thanks
PK
I am trying to get color palette of image and change it:
Image tmpImg = pictureBox1.Image;
// Here tmpImg.Palette sometimes has 0 entries and sometimes has some
entries
However when i debug it i can see that Palette has zero entries for
some images
Does anyone of you know what could be the problem?
Iam trying to get color palette of:
http://mion.elka.pw.edu.pl/~pkolodzi/1.jpg
and change it to:
http://mion.elka.pw.edu.pl/~pkolodzi/2.bmp
On the above example:
Iam able to get color palette of the BMP file here - and unable for
JPG. In different example i CAN get palette of JPG and cant - BMP.
Thanks
PK