Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
ChingYen  
#1 Posted : Thursday, May 16, 2013 8:06:54 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Hi,

We do have a code like this, and seems like the after do the LossLessJPEG transform, the ICC profile will be discard. Kindly confirm. Thanks !!

Code:

                Aurigma.GraphicsMill.Codecs.LosslessJpegTransform losslessJpeg =
                    new Aurigma.GraphicsMill.Codecs.LosslessJpegTransform(fileName);

                String fileExt = System.IO.Path.GetExtension(fileName);
                String tmpFileName = fileName.Replace( fileExt, "_tmp" + fileExt);

                // EXIF


                if (Int32.Parse(losslessJpeg.Exif[Aurigma.GraphicsMill.Codecs.ExifDictionary.Orientation].ToString()) != 0)
                {
                    losslessJpeg.Exif[Aurigma.GraphicsMill.Codecs.ExifDictionary.Orientation] = 0; 
                    losslessJpeg.Write(tmpFileName);
                    losslessJpeg.Close();
                    losslessJpeg.Dispose();

                    if (System.IO.File.Exists(tmpFileName))
                    {
                        System.IO.File.Copy(tmpFileName, fileName, true);
                        System.IO.File.Delete(tmpFileName);
                    }
                }
                else
                {
                    losslessJpeg.Close();
                    losslessJpeg.Dispose();                    
                }
Eugene Kosmin  
#2 Posted : Friday, May 17, 2013 7:16:29 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 505

Was thanked: 41 time(s) in 41 post(s)
Hi,

Thanks for a bug report.

Unfortunately there is no workaround but upcoming GM update is free of this issue.

Best regards,

Eugene Kosmin

The Aurigma Development Team

ChingYen  
#3 Posted : Monday, May 20, 2013 6:04:48 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Hi,

when can we expect the new release? :)

Eugene Kosmin wrote:
Hi,

Thanks for a bug report.

Unfortunately there is no workaround but upcoming GM update is free of this issue.

Dmitry  
#4 Posted : Monday, May 20, 2013 7:13:28 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Graphics Mill 6 with this fix will be available in the next week.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.