• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Which profile is applied in converting PDF/EPS images from CMYK to RGB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which profile is applied in converting PDF/EPS images from CMYK to RGB?


  • Subject: Re: Which profile is applied in converting PDF/EPS images from CMYK to RGB?
  • From: Takaaki Naganoya <email@hidden>
  • Date: Mon, 13 Aug 2007 17:17:33 +0900

I found the way using AppleScript (my mother toungue) !

# "Banana" is my HDD name.

<AppleScript>
tell application "ColorSyncScripting"
run

default RGB profile location
--> file "Banana:System:Library:ColorSync:Profiles:Generic RGB Profile.icc"

default CMYK profile location
--> file "Banana:System:Library:ColorSync:Profiles:Generic CMYK Profile.icc"


end tell
</AppleScript>

--
Takaaki Naganoya
Piyomaru Software
http://piyo.piyocast.com
email@hidden

PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com

On 2007/07/23, at 17:41, Takaaki Naganoya wrote:

Thank you for your advice!
I'll do so.

--
Takaaki Naganoya
Piyomaru Software
http://piyo.piyocast.com
email@hidden

PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com

On 2007/07/23, at 15:56, Anish Kumar wrote:

Your chances of getting a good reply to this question is more if you post
this query to the Apple ColorSync developers mailing list.


Regards,
-Anish Kumar

Date: Mon, 23 Jul 2007 14:11:21 +0900
From: Takaaki Naganoya <email@hidden>
Subject: Which profile is applied in converting PDF/EPS images from
	CMYK to	RGB?
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hi All,

We made small Cocoa application to load and display various type of
images.
Our program make bitmap image data from PDF/EPS files in ordinary
method like this...

step1: Load PDF/EPS file by using NSImage's  -initWithContentsOfFile:
method.
step2: Draw the NSImage on off-screen view
step3: Get the bitmap image data  NSBitmapImageRep's -
initWithFocusedViewRec method

When our program process PDF/EPS with CMYK color, CMYK -> RGB
conversion shuld done during step2.

The question is.....Which source profile is applied in drawing image
files (PDF/EPS) which does not have color profile?

--
Takaaki Naganoya
Piyomaru Software
http://piyo.piyocast.com
email@hidden

PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Any way to ensure that my app will terminate before Finder does on log out, restart, etc.?
  • Next by Date: Re: Core Data relationship question
  • Previous by thread: Re: Core Data relationship question
  • Next by thread: Tidy up before saving
  • Index(es):
    • Date
    • Thread