From: Mats B. <ma...@pr...> - 2002-01-19 11:56:47
|
Hi everyone, I've made a mac port of Jan Nijtmans Img package, and is almost there. So far I've got two problems: 1) I build the image libs, libjpeg, libtiff, libpng, and zlib, as separate shared libs (which is how it works on win and unix), which get loaded at runtime by Img. But the loading is made from tcl's present folder (Build) which is not what you want. BTW: Img uses tclMacLoad.c from 8.0p2 to do this, which needed some patching to work. Any better solution here? Can't run the test suite because of this, I think. 2) Tested opening a number of various image formats, and all work except tiff images, where only the red component shows. When searching the net for mac parts I found a later release of tifflib (3.5.7) which I use. Tried Jack Jansen's mac port, but the CW 7 projects wheren't useful with my CW 6 since all essential settings were lost during conversion. A number of changes was needed in the Img code, but only a tiny one in the other libs (zlib: #if insted of #ifdef in one place). I've got a stuffit archive (2M) I can send on request, since I don't have room for it on my web page. Mats |