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
FAC  
#1 Posted : Thursday, July 14, 2005 6:59:00 PM(UTC)
FAC

Rank: Member

Groups: Guest
Joined: 7/14/2005(UTC)
Posts: 2

Hi, I found sample code for RGB to CMYK conversion on this page, but the code is in VB. When I tried to use it as a guideline when writing it in C# I found it impossible because for example, in the VB code, Bitmap has a member called Data. When I'm using the class in C#, Aurigma.GraphicsMill.Bitmap has no such member. Does anyone have sample code that shows how to convert a jpeg from rgb to cmyk?
Andrew  
#2 Posted : Thursday, July 14, 2005 9:56:00 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Guest
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
As far as I understand you tried a code sample for Graphics Mill 2.0 (ActiveX version). If you need to use Graphics Mill 3.1 (.NET version), check the Converting Colors with the Color Management article in Graphics Mill 3.1 manual.

Please let me know if you have any questions.

Edited by user Wednesday, October 29, 2008 2:26:23 AM(UTC)  | Reason: Not specified

FAC  
#3 Posted : Thursday, July 14, 2005 11:46:00 PM(UTC)
FAC

Rank: Member

Groups: Guest
Joined: 7/14/2005(UTC)
Posts: 2

Thank you, that worked great, I have one more question though, can I set the dpi of an image programatically with the .NET version?
Andrew  
#4 Posted : Friday, July 15, 2005 12:36:00 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Guest
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Yes, sure. The Bitmap class has HorizontalResolution and VerticalResolution properties.
Users browsing this topic
Guest (3)
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.