From: Hunter1972 <Hun...@ma...> - 2011-04-23 22:33:26
|
> To clarify, even though libtiff 3.9.0 and later can optionally support > JBIG compression, GraphicsMagick does not yet support JBIG compression > in TIFF. The effort do to so is likely small. The JBIG compression > library is GPL licensed (rather than LGPL) so it adds more license > issues. > Meanwhile, GraphicsMagick HEAD (snapshot) version does optionally > support LZMACompression in TIFF, but the Windows "VisualMagick" build > does not include the LZMA compression library, or a recent enough > libtiff, so it is left up to the user to figure out how to add it. :-) Got it, I asked about JBIG cause one hardware manufacturer always use words JPEG and JBIG together like "...JPEG/JBIG..." concerning possible compressions. I thought that's JBIG support is not a big deal and wondered why it's not supported... I am not good at licences :-). I have another question concerning TIFF options. I found this line in tiff.c: ... TIFFSetField(tiff,TIFFTAG_GROUP3OPTIONS,4); ... As I see you don't give to a developer the option of using different Group3Options. I think it's important enough cause 1-Dimensional G3 has its own name (MH) as well as 2-Dimensional one(MR). I offer the customer both MH and MR options so right now I can't do it with GM. Yes I know that could be solved easily but I don't like changing code in the quick source changing projects. E.g. I would prefer direct using of the Ghostscript DLL file placed along with my utility without checking registry for the installed GS, calling gs32.exe etc. but still use the offered way. The same situation with JBIG, obviously to add its support first I should change the CompressionType type. Hmm, maybe it's not too hard, if I write all done changes to a txt file and reapply them every time when I download the new GM version. :-) Ravil |