OberonPlace.com Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13-07-2005, 00:29
Alien2001
Guest
 
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
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
Reply With Quote
  #2  
Old 13-07-2005, 00:44
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,787
Blog Entries: 11
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.

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
Reply With Quote
  #3  
Old 13-07-2005, 23:34
Alien2001
Guest
 
Posts: n/a
Default

Thanks!

I'll give it a try.
Reply With Quote
Reply


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 07:45
Load a corel script and execute it adriano Corel Photo-Paint VBA 2 14-04-2004 10:15
VBA script in Corel Draw 11 mikev CurveWorks 1 14-06-2003 08:59
Corel 10 file conversion script doesn't convert files Kevin CorelDRAW CS 0 13-04-2003 20:28
Corel Capture 8 and Corel Script Helix CorelDRAW CS 0 13-12-2002 18:10


All times are GMT -5. The time now is 20:36.


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