How we can handle transparency when resizing an GIF image in JAVA



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

.



Relevant Pages

  • Any ImageMagick Gurus out there? I need HELP!
    ... I am trying to make a hit counter where the numbers are overlaid onto a ... GIF without any transparent color definition. ... I am using CorelDraw12 to create the GIF images. ...
    (comp.lang.perl.modules)
  • Resize transparent gif images
    ... When I'm resizing .gif images in my asp.net application the transparent ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Transparent GIF Images, Button Colors
    ... How come icons, GIF images in Microsoft Visual Studio.Net 2003 for the ... Pocket PC can not go transparent? ... I can't even set the background form to transparent... ...
    (microsoft.public.pocketpc.developer)
  • Re: [OT] Re: A New Kind of Science Online
    ... >> illustrations, and 1,350 technical notes in NKS. ... > 1) Replace the GIF images with PNG, PDF, or some other nice ...
    (comp.programming)
  • Re: Any help with libungif?
    ... > I have some questions about developing for libungif, ... your .gif images to .png and use libpng instead? ... PNG has a much brighter ... The problem with the world is stupidity. ...
    (comp.os.linux.development.apps)