This project is read-only.

ImageTools.IO.Jpeg.JpegDecoder Bad Quality

Aug 31, 2011 at 2:06 PM

I have a simple silverlight code using ImageTools(https://imagetools.codeplex.com/) for Silverlight:

        var newImg = new ExtendedImage();
       
var e = new ImageTools.IO.Jpeg.JpegDecoder();
        e
.Decode(newImg, stream);
       
return newImg.ToBitmap();

The problem is the bad quality of a Decoded image, no anti-alising , if i load a image direct do a image control the result is ok.

Is a Decoder bug? Have a extra parameter or property to solve that problem?

Help thank's !!

Sep 6, 2011 at 2:28 PM

I dont see the problem, when I load the test image from stackoverflow with the sample (http://silverdiagram.net/Scripts/ImageTools/TestPage.html#/Files), it is fine.

 

But anti aliasing is not supported.

Sep 6, 2011 at 2:34 PM

Have a link to download http://silverdiagram.net/Scripts/ImageTools/TestPage.html#/Files source code to compare with my code?

Thank's

Sep 6, 2011 at 3:02 PM
It is part of the source code package.
Sep 6, 2011 at 6:54 PM
Edited Sep 6, 2011 at 7:19 PM

Hi, after copy and paste de source code i have the same problem, the quality does not change!

Obs:

1- I re-download the api last realease

2-create a empty new project.

3-Try to use fjcore sample from http://fjcore.googlecode.com is the same result, bad quality.

I really don't now how to solve the problem.

Look the final (same) uploaded image on flicker:

http://farm7.static.flickr.com/6192/6121232556_cebdabe29e_m.jpg

Sep 6, 2011 at 7:41 PM

Solved is anti alising i need to use FJcore the ImageTools don't work for me.

http://stackoverflow.com/questions/7312155/silverlight-imagetools-io-jpeg-jpegdecoder-bad-quality/7324540#7324540

Thank's!!

Feb 12, 2014 at 8:55 AM
Jpeg 2000 decoder prorgammed within visual basic.net application, capable of compressing and decompressing part of or the whole image in the form of PNG, GIF, BMP, etc