Hi,
I need this macro to work with any document i created in RGB to CMYK with any shape & any RGB Bitmap pic. This is macro I created but it should work with other document which may be additional figures may contain or too may RGB images may be there but they should converted to CMYK so what the next procedure? If any body explain it will be helpful for me. And also Same macro pl provide with edited info.
Thanks
Sub RGBToCMYK() ' Recorded 10/27/2012 ActiveLayer.Shapes(1).Bitmap.ConvertTo cdrCMYKColorImage ActiveLayer.Shapes(2).Fill.UniformColor.CMYKAssign 0, 95, 3, 0 ActiveLayer.Shapes(3).Fill.UniformColor.CMYKAssign 53, 100, 15, 2 ActiveLayer.Shapes(4).Fill.UniformColor.CMYKAssign 49, 5, 67, 0 ActiveLayer.Shapes(2).Outline.SetProperties Color:=CreateCMYKColor(0, 0, 0, 100) ActiveLayer.Shapes(3).Outline.SetProperties Color:=CreateCMYKColor(0, 0, 0, 100) ActiveLayer.Shapes(4).Outline.SetProperties Color:=CreateCMYKColor(0, 0, 0, 100)End Sub
A little comment about this. If you have an RGB document, the most important thing before to convert to CMYK is the Color Profile. If the color profile is wrong, the result will be wrong. It's not enough to convert objects and bitmaps to CMYK, if you don't apply the correct Color Profile, the convertion is almos useless. btw if it's for print, you don't need a macro, just Publish as PDF, then choose PDF X/3. Anyway, you will need to aply the right color profile when publish as PDF too
About PDF : If you want to import RGB vector in in Corel CMYK document then I have to make PDF & again import in Corel for editing, Its not correct method.
Suppose you have RGB Vector & Bitmap image & both having R0G0B0 value waht will be final result for both. Because Corel didnt program K100 for Vector & Bitmap according to color profile. we have to change the setting each time (Corel Big Draw Back). If we keep preserve pure black on then vector will be fine about Bitmap image & vice versa.
So I think either Corel have to change in the program like that vector R0G0B0 to C0M0Y0K100 & Bitmap according to color profile. Or we need to make macro or else all this critical process.
I hope Corel also think about it and find solution.
I never said: "Publish to PDF, import the PDF and save again as PDF". I agree with you, this is not the solution, but this is not hat I said. What I mean is if you nee to send a CMYK document for print, you can send a PDF instead a CDR. The PDF will convert all objects (including bitmaps) as CMYK if you choose this option, and also, accoding with color profile, CorelDRAW will convert all RGB Black (R0G0B0) to CMYK Black (K100) automatically when publisjh as PDF.
btw to develop a macro that convert all objects as CMYK is a very good idea, and very useful for a lot of people. I'm not against the idea of develop a macro or a feature inside the program. I just said that no always is needed to use a macro for this, sometimes there`re some options available already
You dont get my point. Suppose I get the file like below.
And I want result like this in one shot when convert to CMYK. In PDF it will not convert like this what I want in Dense Black which is in both Bitmap as well vecor ie. R0G0B0. But when it convert in my macro it convert to K100 for vector & Bitmap as per profile.
Final result I required in one action.