Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Mattias Malm  
#1 Posted : Tuesday, June 13, 2006 12:23:39 AM(UTC)
Mattias Malm

Rank: Member

Groups: Member
Joined: 5/4/2006(UTC)
Posts: 17

When I save a CMYK Bitmap (with or without alpha) to JPEG I always get 72 dpi regardless of what the HorizontalResolution and VerticalResolution properties are set to. Saving RGB or GrayScale Bitmaps works, and saving CMYK Bitmaps as TIFF also works. How can I get CMYK JPEG in another resolution than 72 dpi?
Dmitry  
#2 Posted : Tuesday, June 13, 2006 8:17:30 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

We confirm the problem, thanks for your report. This issue will be solved in the next version of Graphics Mill for .NET.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
martinik  
#3 Posted : Monday, December 14, 2009 8:29:21 AM(UTC)
martinik

Rank: Newbie

Groups: Member
Joined: 12/8/2009(UTC)
Posts: 3

Hi, is this issue resolved in current version of Graphics Mill for .NET? I'm using v.5.5.1.0 and I need to convert JPEGs to CMYK for publishing in 300 DPI.
Tamila  
#4 Posted : Wednesday, December 16, 2009 3:02:22 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

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

This problem is fixed in Graphics Mill 5.5. If you still experience this issue please post your code here and picture which you try to convert.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
martinik  
#5 Posted : Saturday, January 9, 2010 4:46:55 AM(UTC)
martinik

Rank: Newbie

Groups: Member
Joined: 12/8/2009(UTC)
Posts: 3

Hi,
My code is:

Code:
Bitmap img = CropImage(path, width, height); // my method

//Choose LittleCMS color management engine
img.ColorManagement.ColorManagementEngine = ColorManagementEngine.LittleCms;
//Assign input sRGB profile
img.ColorProfile = ColorProfile.FromSrgb();
if (color != 1)
{
	img.ColorAdjustment.Desaturate();
}

//Assing output CMYK profile for conversion
img.ColorManagement.CmykColorProfile = null; //= new Aurigma.GraphicsMill.ColorProfile(@"d:\Downloads\Coldset_DG26_TIL225_K90_ModGB.icc");
//Convert to CMYK
img.ColorManagement.ConvertToContinuous(ColorSpace.Cmyk, false, img.IsExtended);
img.ColorAdjustment.AutoBrightness();
img.ColorAdjustment.AutoContrast();
img.Save(Path.Combine(imgDest, "cropped\\" + imgName));
img.HorizontalResolution = 300;
img.VerticalResolution = 300;
img.Transforms.Resize(width, height, ResizeMode.Resize, InterpolationMode.HighQuality);
JpegEncoderOptions encOpt = new JpegEncoderOptions(80, true);
img.Save(Path.Combine(imgDest, "resize\\" + imgName), encOpt);
SendToFtp(Path.Combine(imgDest, "resize\\" + imgName), GetFtpDir(title));
img.Dispose();


What am I doing wrong?

Tamila wrote:
Hi,

This problem is fixed in Graphics Mill 5.5. If you still experience this issue please post your code here and picture which you try to convert.

Edited by user Saturday, January 9, 2010 6:52:43 PM(UTC)  | Reason: Not specified

Tamila  
#6 Posted : Tuesday, January 12, 2010 3:43:59 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

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

I just tested your code and it worked well. At the end I got the picture with 300 dpi resolution. Probably we did not understand you right. Could you please describe your problem a bit detailed.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
martinik  
#7 Posted : Monday, January 18, 2010 6:45:38 AM(UTC)
martinik

Rank: Newbie

Groups: Member
Joined: 12/8/2009(UTC)
Posts: 3

Hi, the problem is that after conversion irfanview shows me "print size = 6.4x4.1 inches" for a picture 461x292px to a newspaper. It should be 1.5x1.0 inches. And I have ahother question: how can I remove icc profile after color conversion (in code above)? I don't want to include a profile because it's about 2MB but I have small pictures and I need to send them via net after conversion.


Tamila wrote:
Hi,

I just tested your code and it worked well. At the end I got the picture with 300 dpi resolution. Probably we did not understand you right. Could you please describe your problem a bit detailed.
Tamila  
#8 Posted : Monday, January 18, 2010 10:40:59 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

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

Could you please attach to this case test application where we can reproduce your problem. Also attach your source picture and the picture after Graphics Mill processing.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
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.