![]() |
#1
|
|||
|
|||
![]()
Hi there!
Finally, I hope I found the right place ![]() I have a script that exports the current drawing to different formats (f.e. bmp, jpg..). The script works perfect except the point, that the colors of the exported formats are different to the ones in Corel Draw itself. In Corel Draw the color calibration is active and if i manually export a file with "file / export" to f.e. bmp, the colors are identically to the original in Corel Draw. But this doesn't work for the script. It seems, as if the color calibration isn't used by default. Is there a specific command to turn the color calibration on in Corel Script? I'm Using CorelDraw 11. Can somebody help me please? This is really urgent. Thanks in advance, Alex |
#2
|
||||
|
||||
![]()
Are you using CorelScript or VBA? This is the example from the CorelDraw 12 help file. It is a VBA example, maybe it can help.
Code:
Sub Test() Dim opt As New StructExportOptions Dim flt As ExportFilter opt.ImageType = cdrRGBColorImage opt.UseColorProfile = True Set flt = ActiveDocument.ExportEx("C:\Temp\img.bmp", cdrBMP, cdrSelection, opt) flt.Finish End Sub |
#3
|
|||
|
|||
![]()
Thanks!
I'll give it a try. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Corel Script "user32.dll" SetWindowPos | richard_austria | CorelDRAW CS | 0 | 02-06-2005 08:45 |
Load a corel script and execute it | adriano | Corel Photo-Paint VBA | 2 | 14-04-2004 11:15 |
VBA script in Corel Draw 11 | mikev | CurveWorks | 1 | 14-06-2003 09:59 |
Corel 10 file conversion script doesn't convert files | Kevin | CorelDRAW CS | 0 | 13-04-2003 21:28 |
Corel Capture 8 and Corel Script | Helix | CorelDRAW CS | 0 | 13-12-2002 19:10 |