May 21, 2014 at 6:46 AM
Edited May 21, 2014 at 7:10 AM
I followed the documentation to convert other image file formats to a j2k image format with an extension j2k.
Here is my code(c#):
using (ImageMagick.MagickImage magickImage = new ImageMagick.MagickImage(datasetConversion.InFile))
magickImage.ColorSpace = ColorSpace.sRGB;
magickImage.CompressionMethod = CompressionMethod.JPEG2000;
ALL's working well. but my requirement is to upload this file after it has been saved and i have to restrict it to 30kb(no suggestions to increase the size limit please) without compromising on the quality.
I have other doubts too>>
a. Why it is generating an exception in encoding my big resolution images. likely 43203240 ,8000
4448 image resolution..
Keep up the good work .Kinda need a reply soon please
p.s: resizing of width and height not allowed . Just need to compress the size by a compression ratio