OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > Corel Script > CorelDRAW CS

Thread Tools Search this Thread Display Modes
Old 13-07-2005, 01:29
Posts: n/a
Question Turning on color calibration in a Corel Script

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
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,

Reply With Quote
Old 13-07-2005, 01:44
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,790
Blog Entries: 13
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Color Correction

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.

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)

End Sub
Reply With Quote
Old 14-07-2005, 00:34
Posts: n/a


I'll give it a try.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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

All times are GMT -5. The time now is 08:56.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com