Blog Stats
  • Posts - 178
  • Articles - 0
  • Comments - 61
  • Trackbacks - 234

 

ImageResizer 0.0.5.0

Hopefully, at some point, this will be an entire library of image processing functionality. Right now, though, it has the ability take a JPEG, GIF, or BMP and resize to the size you specify and the file output type of your choice: JPEG, GIF, or BMP. This really isn't complicated stuff. I think that I will add the ability to process other formats such as TIFFS in the next release and the ability add a visual waterwark. Again, these functions are not that difficult to implement but gaining the time to do them in is very difficult. Anyway, here are a few notes:

If you choose GIF as your file output format, the image is slightly pixelated. I am not real sure why this happens. If anyone knows, let me in on the secret. BMPs and JPEGs look excellent and are nicely compressed. There are a few JPEGs included that I worked with so you can see what I seen.
There is a test project included with the complete download. The test project takes images and resizes them to 1/2 the width and 1/2 the height of the original image effectively making them 1/4 the size of the original. Thumbnails will not be a problem.
Remember this is a pre-alpha project so use it at your own risk. If you have issues, email them to me and I will try to get to them quickly.

There are two downloads: binaries only and source code/binaries.


Happy testing!



Also, due to time constraints, next Monday I will be releasing my SQL Server to .NET class tool and not the Web.Config editor I had originally planned on.

Feedback

# re: ImageResizer 0.0.5.0

Gravatar My guess would be that your images get pixelated in GIF format because GIFs only support 256 distinct colours (http://en.wikipedia.org/wiki/GIF).

The other formats you're supporting handle distinct 24 bit colours for each pixel, so I'd guess GIFs would look a lot more pixellated or "banded" after resizing, or even after 1:1 conversion.

But that's just a guess. 11/8/2004 12:54 PM | Mike G.

# re: ImageResizer 0.0.5.0

Gravatar Hi I know well this problem with the GIF, the antialiasing don't works very well. You need to use this class Quantizer to get a perfect image.

Check my post on this forum here for the code.

Cheers
Paschal Community leader INDA www.developers.ie 11/11/2004 1:46 PM | Paschal

# re: ImageResizer 0.0.5.0

Gravatar Hi I know well this problem with the GIF, the antialiasing don't works very well. You need to use this class Quantizer to get a perfect image.

Check my post on this forum here for the code.

http://developers.ie/forum/ShowPost.aspx?PostID=9

Cheers
Paschal Community leader INDA www.developers.ie 11/11/2004 1:46 PM | Paschal

Post a comment





 

Please add 2 and 3 and type the answer here:

 

 

Copyright © Jason Bentley