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?
|
|
|
|
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
|
|
|
|
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?
|
|
|
|
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.
|
|
|
|
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.