![]() |
#1
|
|||
|
|||
![]()
if you export a document to tiff wth LZW compression the result file has LZW compression.
But if you record this action and run the code , the result file does not have LZW compression. Can anyone confirm this bug? Is there a way, to bypass this ? the code is: Dim OrigSelection As ShapeRange Set OrigSelection = ActiveSelectionRange Dim expflt As ExportFilter Set expflt = ActiveDocument.ExportBitmap("D:\Projekte\...\test.tif", cdrTIFF, cdrAllPages, cdrCMYKColorImage, 7018, 4962, 300, 300, cdrNormalAntiAliasing, False, True, True, False, cdrCompressionLZW) expflt.Finish |
#2
|
||||
|
||||
![]()
Hi.
Just a quick thought. set unit in macro to millimeter ...and also test with inches for the image size. -John Last edited by runflacruiser; 18-03-2011 at 17:12. |
#3
|
|||
|
|||
![]()
Hi,
ActiveDocument.Unit = cdrMillimeter doesn't help. what do you mean with "text with inches for the image size" thank you Claus |
#4
|
||||
|
||||
![]()
He said "test" with inches instead of millimeters.
__________________
Sean Waiting for a ride in the T.A.R.D.I.S. |
#5
|
|||
|
|||
![]()
ah ..ok, thanks.
but ActiveDocument.Unit = cdrInch also doesn't help |
#6
|
||||
|
||||
![]()
How are you testing the tiff file to see if it has LZW?
__________________
Sean Waiting for a ride in the T.A.R.D.I.S. |
#7
|
||||
|
||||
![]() Quote:
It was just a quick idea. Just figured the difference in mm/inches numeric value was making you think the compression wasn't there. -John |
#8
|
|||
|
|||
![]()
i can see it in Irfan View -> Image -> Information, if the file has LZW compression.
In Draw 13 the code gives a LZW file, in Draw 15 it doesn't |
#9
|
|||
|
|||
![]()
i got a confirmation from corel that this is a bug in X5.
they don't know, when they will have a solution for this |
![]() |
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 |
Export RGB TIFF while applying an ICC Profile | copper | CorelDRAW/Corel DESIGNER VBA | 2 | 22-03-2010 13:17 |
Imported TIFF outline | dflat | General | 5 | 12-07-2006 00:20 |