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 : Sunday, January 30, 2011 11:54:30 PM(UTC)

Oskar  
Oskar

Groups: Registered
Posts: 2


How can i tell if a jpeg file is rgb or cmyk?
I've tried to load the image with IccProfilerExtended to get the ColorSpace header but it is set to "none".
 

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 : Monday, January 31, 2011 5:59:13 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,028

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

Oskar,

You can determine if the JPEG file color space is CMYK or RGB before loading it. However, the details depends on which LEADTOOLS version (15, 16,, 17 etc.) and programming interface (.NET classes, DLL API, C++ Classes, etc.) are you using?
For example, if you are using our .NET programming interface, you can use the CodecsImageInfo.ColorSpace property.
 
#3 Posted : Tuesday, February 1, 2011 12:14:27 AM(UTC)

Oskar  
Oskar

Groups: Registered
Posts: 2


I am using .NET so CodecsImageInfo worked perfectly. Thank you.
 
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-2020, Yet Another Forum.NET
This page was generated in 0.106 seconds.