Todd Kneib#1587
I am using the Jpeg2 encoder and it is running very slow. It is literally taking minutes to convert an image to jp2, whereas in Photoshop, it saves in seconds.
I tried this:
Ive also tried the following with all the different progressionorders.
I am running version 3.5.405.0 of the Aurigma.GraphicsMill assembly (.net 1.1)
Any ideas on how to speed this up. These conversion times are unexceptable to my client, so I'm feeling some heat 😞
I tried this:
bitmap.Save(saveFileDialog1.FileName, new Aurigma.GraphicsMill.Codecs.Jpeg2kEncoderOptions(0.1f));Ive also tried the following with all the different progressionorders.
using (Aurigma.GraphicsMill.Bitmap bitmap =
new Aurigma.GraphicsMill.Bitmap(img))
{
using (Aurigma.GraphicsMill.Codecs.Jpeg2kWriter writer =
new Aurigma.GraphicsMill.Codecs.Jpeg2kWriter())
{
writer.Open(DestinationFileName);
writer.Progress += new Aurigma.GraphicsMill.ProgressEventHandler(aurBitmap_Progress);
using (Aurigma.GraphicsMill.Codecs.Jpeg2kFrame frame =
new Aurigma.GraphicsMill.Codecs.Jpeg2kFrame())
{
frame.Rate = rateOfCompZeroToOneScale;
frame.Compression = Aurigma.GraphicsMill.Codecs.CompressionType.WaveletLossy;
frame.ProgressionOrder = Aurigma.GraphicsMill.Codecs.Jpeg2kProgressionOrder.Pcrl;
frame.SetBitmap(bitmap);
writer.AddFrame(frame);
}
}
}I am running version 3.5.405.0 of the Aurigma.GraphicsMill assembly (.net 1.1)
Any ideas on how to speed this up. These conversion times are unexceptable to my client, so I'm feeling some heat 😞