OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 22-03-2010, 10:47
Posts: n/a
Default Export RGB TIFF while applying an ICC Profile


Using CorelDRAW X3, I need to export my drawing as an RGB TIFF, however, I need a specific ICC Profile applied before or during export.

There is the "UseColorProfile" option, which I have set to "true", but how would I programmatically set or specify that a specific color profile be used before export (and reset it afterwords)?

Any code examples would be helpful.

This is what I have so far:

Dim filter As CorelDRAW.ExportFilter = objCorel.ActiveDocument.ExportBitmap(srcFile, CorelDRAW.cdrFilter.cdrTIFF, CorelDRAW.cdrExportRange.cdrSelection, CorelDRAW.cdrImageType.cdrRGBColorImage, width * 144, height * 144, 144, 144, CorelDRAW.cdrAntiAliasingType.cdrSupersampling, False, False, True, False, CorelDRAW.cdrCompressionType.cdrCompressionLZW, Nothing)
Reply With Quote
Old 22-03-2010, 12:52
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,791
Blog Entries: 15
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 Profile

You can load a color profile like this:
Application.ColorManager.LoadStyle "swop20"
Best of luck,

Reply With Quote
Old 22-03-2010, 13:17
Posts: n/a

Thank you shelbym! (I should have found that myself! Tired I guess.)
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
Imported TIFF outline dflat General 5 12-07-2006 00:20
CCM get profile akayani Code Critique 6 30-01-2006 07:04
color profile problem in Photo Paint 9 flip Corel Photo-Paint VBA 2 11-07-2003 03:55

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

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