M
manjula
Hi friends,
I'm working on a image processing program which do resizing JPG, PNG ,
and GIF images.
I did the PNG and JPG image resizing part without any problem.
but when i tried to resize transparent GIF images (animated) i still
have a big problem.
I can resize transparent GIF image but when i resized it , some parts
of the GIF image also become transparent addition to real transparent
ares.
I think the in GIF transparency,
we first apply a back ground color
then draw image on it and set all the pixel of that background color
to transparent.
Then the problem is if the real image also has pixels with the same
background(transparent) color. then they also disappeared due to set
that color transparent.
That's my idea.
Can u give any idea about how to overcome this?
also I need some GIFENcoders, sometimes that may be the problem.
Thank u verymuch.
regards,
Manjula
I'm working on a image processing program which do resizing JPG, PNG ,
and GIF images.
I did the PNG and JPG image resizing part without any problem.
but when i tried to resize transparent GIF images (animated) i still
have a big problem.
I can resize transparent GIF image but when i resized it , some parts
of the GIF image also become transparent addition to real transparent
ares.
I think the in GIF transparency,
we first apply a back ground color
then draw image on it and set all the pixel of that background color
to transparent.
Then the problem is if the real image also has pixels with the same
background(transparent) color. then they also disappeared due to set
that color transparent.
That's my idea.
Can u give any idea about how to overcome this?
also I need some GIFENcoders, sometimes that may be the problem.
Thank u verymuch.
regards,
Manjula