Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#1303 closed bug (worksforme)

Export as image type tif/tiff in print composer broken

Reported by: cmoe Owned by: nobody
Priority: critical: causes crash or data corruption Milestone:
Component: Printing Version: Trunk
Keywords: tiff print composer export Cc: cedric.moeri@…
Must Fix for Release: Yes Platform: RedHat
Platform Version: Awaiting user input: no

Description

  1. Open print composer
  2. Create a map (altough a empty map will do it)
  3. Export it as an tiff or tif image
  4. The resultling tiff ist not valid, at least the header of the file is corupted. This cause other programs not to accept the tif as an image file.

Attachments (1)

test_tif2mm.tif (2.1 KB ) - added by cmoe 16 years ago.
output of the tiff export

Download all attachments as: .zip

Change History (5)

comment:1 by mhugent, 16 years ago

Hi Cedric,

I tried it both with Qt4.3.4 and Qt4.4.1 and I could open the tifs in the gimp and in konqueror without any problems. Which application do you use to open the tif/tiffs ?

Marco

by cmoe, 16 years ago

Attachment: test_tif2mm.tif added

output of the tiff export

comment:2 by cmoe, 16 years ago

Hi Marco

I used xnview, alchemy and corel draw, all of them say the same. So I opened it in a hex editor. The header of the file fails in the first 4 bytes, which should state the endian type and the number '42' (See http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf , page 13). We use Qt4.3.4. I added an attachment of the output.

mfG Cédric

comment:3 by timlinux, 16 years ago

Resolution: worksforme
Status: newclosed

Closing this bug as 'works for me'. Tested on ubuntu 8.04 using standard Qt4.4 packages. Marco also tested using Qt4.3. Probably the issue relates to the way that your Qt4.x is compiled.

Regards

Tim

comment:4 by (none), 15 years ago

Milestone: Version 1.0.0

Milestone Version 1.0.0 deleted

Note: See TracTickets for help on using tickets.