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 18-03-2011, 10:28
clausm
Guest
 
Posts: n/a
Default Export as TIFF - Bug in X5?

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
Reply With Quote
  #2  
Old 18-03-2011, 13:44
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

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.
Reply With Quote
  #3  
Old 18-03-2011, 16:03
clausm
Guest
 
Posts: n/a
Default

Hi,

ActiveDocument.Unit = cdrMillimeter
doesn't help.
what do you mean with "text with inches for the image size"
thank you
Claus
Reply With Quote
  #4  
Old 21-03-2011, 07:20
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default

He said "test" with inches instead of millimeters.
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #5  
Old 22-03-2011, 03:19
clausm
Guest
 
Posts: n/a
Default

ah ..ok, thanks.
but
ActiveDocument.Unit = cdrInch
also doesn't help
Reply With Quote
  #6  
Old 22-03-2011, 07:10
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default

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.
Reply With Quote
  #7  
Old 22-03-2011, 08:18
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

Quote:
Originally Posted by clausm View Post
ah ..ok, thanks.
but
ActiveDocument.Unit = cdrInch
also doesn't help
Hi.
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
Reply With Quote
  #8  
Old 22-03-2011, 15:02
clausm
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #9  
Old 12-05-2011, 01:43
clausm
Guest
 
Posts: n/a
Exclamation its a bug

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
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
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


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


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