Does anyone know of an open source library in Visual Basic 6 that converts pages in a TIF file from lets say LZW to Group4 format?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An edit of my answer to your other question!
ImageMagick is an excellent free open source image manipulation package. There is an OLE (ActiveX) control which you could use from VB6. I’ve never tried it myself – I always use the ImageMagick command line. I understand the control just takes the normal command lines anyway.
The command-line element for changing the TIFF format would be -compress. Something like this below to write in Group4 format (air code based on tutorial and manual)
Choices for the -compress argument qualifier include:
None,Group4, andLZW.EDIT: ImageMagick is licensed under the GPL: if you use the control and redistribute your program, it’s possible your program would have to be free open-source. Apparently it’s not yet been legally tested whether dynamic linking to a GPL library or control invokes the GPL. You could always launch the ImageMagick command-line which to me should be safe [I am not a lawyer].
EDIT2: The ImageMagick website says it uses GPL but the license wording doesn’t look like GPL 1 2 or 3 to me. It also contains this “For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof”