This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
rajibq  
#1 Posted : 19 years ago
rajibq

Rank: Member

Groups: Guest
Joined: 11/6/2006(UTC)
Posts: 10

Hi,

I'm trying this simple operation:

Code:
BitmapViewer1.Bitmap.Load(myFilePath)
ApplyTransform(New Aurigma.GraphicsMill.Transforms.RotateAndFlip(System.Drawing.RotateFlipType.Rotate90FlipNone))
' where apply transform is same as in demo code
BitmapViewer1.Bitmap.Save(myFilePath)

Now, the operation works fine, as in the image is rotated and saved to file.

However, all the EXIF and IPTC information from the original file is gone! Is there any way to have this operation preserve the image metadata? (I am trying this with jpeg files)

Edited by user 17 years ago  | Reason: Not specified

Dmitry  
#2 Posted : 19 years ago
Dmitry

Rank: Advanced Member

Groups: Guest
Joined: 8/3/2003(UTC)
Posts: 1,070

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

You can read how to perform this task in the article "Preserving Metadata when Processing Images".

Edited by user 17 years ago  | Reason: Not specified

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

rajibq  
#3 Posted : 18 years ago
rajibq

Rank: Member

Groups: Guest
Joined: 11/6/2006(UTC)
Posts: 10

Another question: Is it possible to change IPTC data without processing the entire image?

The example given here shows that I have to load the bitmap and then save it with jpegWriter.

I have some other library that can change IPTC without processing the image, so I assume it's not technically impossible.

Thanks,

Edited by user 17 years ago  | Reason: Not specified

Dmitry  
#4 Posted : 18 years ago
Dmitry

Rank: Advanced Member

Groups: Guest
Joined: 8/3/2003(UTC)
Posts: 1,070

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

This feature is supported for Jpeg format via LosslessJpegTransform, you can read more information in the article "Applying Lossless JPEG Transforms".

Edited by user 17 years ago  | Reason: Not specified

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.