PanoTools:
PTStitcher and Pano12.dll
Erik Krause 2004-May-05 19:17:05
Hello,
Some time ago I asked whether the Tiff output of PTStitcher could be
changed from PackBits compression to something different (Photoshop
CS has problems with PackBits).
I don't recall who told me that this is done in PTStitcher and could
therefor not be altered.
I'm not a C programmer and my knowledge is limited so please forgive
me if this is rubbish: If I saw it correctly PTStitcher imports all
TIFF functions from pano12.dll.
Would it not be possible to manipulate these calls in pano12.dll in a
way to cause PTStitcher not to write PackBits?
What would happen for example if you change the line in tiff.c
TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_PACKBITS );
to use COMPRESSION_DEFLATE, or COMPRESSION_NONE?
If PTStitcher calls TIFFSetField for itself, would it not be possible
to place a function in pano12.dll that alters the call to
COMPRESSION_DEFLATE and passes it on to the libtiff function?
Best regards--
Erik Krause
Offenburger Str. 33
79108 Freiburg
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/.Cr1lB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/PanoTools/
<*> To unsubscribe from this group, send an email to:
#removed#
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/