OberonPlace.com Forums  

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

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

Hello,

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:

Code:
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)
filter.Finish()
Reply With Quote
  #2  
Old 22-03-2010, 12:52
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
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:
Code:
Application.ColorManager.LoadStyle "swop20"
Best of luck,

-Shelby
Reply With Quote
  #3  
Old 22-03-2010, 13:17
copper
Guest
 
Posts: n/a
Default

Thank you shelbym! (I should have found that myself! Tired I guess.)
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
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 08:42.


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