Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, November 23, 2011 4:08:33 AM(UTC)
plamen.petrov

Groups: Registered
Posts: 5


Hello,

Is it possible to load an image and then save it into a new file, preserving all image properties?
- Compression factor (JPG)
- ICC Profile
- Color space (RGB, CMYK, ...)
- IPTC/EXIF/XMP metadata?

Playing with the demo programs, I can't find how to keep the original metadata for example. Is it possible at all, and if yes - is there an example showing the thecnique?

Thanks,
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, November 23, 2011 9:22:37 AM(UTC)
plamen.petrov

Groups: Registered
Posts: 5


What I actually do, is to perform a simple transformation like flip or rotate, and then save the image back. The problem is, that then the whole extra information like metadata, color profile information etc. is lost.
 
#3 Posted : Thursday, November 24, 2011 5:20:17 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

The details depend on which LEADTOOLS version (16.5, 17, 17.5, etc.) and programming interface (C DLL, .NET classes, etc.) you are using.
For example, if you are using LEADTOOLS .Net classes, you can enable or disable saving metadata comments and markers during file save by using the codecs.Options.Save.Comments and codecs.Options.Save.Markers properties.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#4 Posted : Thursday, November 24, 2011 6:11:35 AM(UTC)
plamen.petrov

Groups: Registered
Posts: 5


Perfect!

Several other questions:
- Does it apply for all image formats?
- What happens to the Exif thumbnail - will it be regenereted to affect the changed image?
- What about images with non-squire pixel ratio?

We are going to use the latest LEADTOOLS Imaging ProSDK; programming interface - C DLL. Is this 'codecs' object part of this SDK? So far we use v.11 and the docs there doen't decribe it.

Thanks!
 
#5 Posted : Sunday, November 27, 2011 5:09:09 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

We have a new function named L_TransformFile that performs a lossless transformation for certain formats. However, this function is not supported in LEADTOOLS v.11. Please download and try the free evaluation version of LEADTOOLS v17.5 from our website.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#6 Posted : Tuesday, November 29, 2011 9:14:09 PM(UTC)
plamen.petrov

Groups: Registered
Posts: 5


It looks like exactly what I need.

Thanks!
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.094 seconds.