![]() |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
When exporting shapes to a jpg file in X4, if the export color profile setting is enabled in the color manager, the .jpg file will be very large because it contains extra color data.
How to disable the setting through VBA code? I cannot ask all users check this setting manually before using my tool. |
#2
|
||||
|
||||
![]()
You need to change UseColorProfile to False so code might look like:
Code:
Set Filter = d.ExportBitmap("C:\Temp\Doc.jpeg", cdrJPEG, cdrCurrentPage, cdrRGBColorImage, 0, 0, 72, 72, UseColorProfile:=False) -Shelby |
#3
|
|||
|
|||
![]()
I've done some experiments, and confirmed that the "UseColorProfile:=False" has no effect on the result file.
It seems the color manager's setting has higher priority. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
exporting registry entries to a *.reg file | gorgo | CorelDRAW/Corel DESIGNER VBA | 14 | 05-05-2011 11:18 |
CDR12: TTF Font exporting - specify character code | zlatev | CorelDRAW/Corel DESIGNER VBA | 0 | 03-12-2005 05:54 |
Light color border around image when exporting to bitmaps | Alex | FAQ | 0 | 27-04-2005 12:33 |
color profile problem in Photo Paint 9 | flip | Corel Photo-Paint VBA | 2 | 11-07-2003 03:55 |
Setting Outline Color | AC | CorelDRAW/Corel DESIGNER VBA | 1 | 18-03-2003 18:33 |