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 12-05-2015, 18:51
Craig Tucker Craig Tucker is offline
Member
 
Join Date: Nov 2002
Posts: 73
Default Print PNG with Color Profile

Hi All,
I am trying to programmatically open a PNG file and assign color profile "Adobe RGB (1998)".
I will send this to a particular printer. My test code looks something like this but does not seem to be working. Any help is much appreciated.
Thanks much,
Craig

loCorel = CREATEOBJECT("coreldraw.application.17")
loCorel.Visible = .T.
loDocument = loCorel.OpenDocument("testinput.png")
loCorel.ColorManager.ColorProfiles(2).Select()
loCorel.ActiveDocument.PublishToPDF("testoutput.pdf")
loDocument.Dirty = .F.
loDocument.Close()
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
How to disable color profile setting for file exporting in VBA code? timespace CorelDRAW/Corel DESIGNER VBA 2 02-12-2011 10:56
BUG: Print events don't work when printing from Print Preview runflacruiser CorelDRAW/Corel DESIGNER VBA 2 09-08-2011 13:47
Export RGB TIFF while applying an ICC Profile copper CorelDRAW/Corel DESIGNER VBA 2 22-03-2010 14:17
CCM get profile akayani Code Critique 6 30-01-2006 08:04
color profile problem in Photo Paint 9 flip Corel Photo-Paint VBA 2 11-07-2003 04:55


All times are GMT -5. The time now is 12:30.


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