Gif file oddity

  • Thread starter Thread starter John Dann
  • Start date Start date
J

John Dann

I'm creating a bitmap and saving in gif format with:

mybitmap.save(path, Imaging.ImageFormat.Gif)

In the IDE (VB.Net Pro 7.1.3088) on some test data I get a gif file of
57K in size. On a different PC with the v1.1 framework installed,
running the same executable with exactly the same data gives a 96K
file. Obviously I'd rather have the smaller file size available to
users.

Is it possible that there's an updated (ie offering greater
compression) Imaging class somehow available in the IDE. Or some other
explanation? The development PC is running XP SP2, while the user test
PC has Win2K. Could this be the reason?

JGD
 
Hi John,

I believe .NET will simply tap into the imaging codecs installed on the
target system when saving images in non-bitmap formats. XP SP2 probably has
a newer GIF codec with better compression installed on it which is why
you're seeing the difference.

Kind Regards,
Alex Clark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top