Search found 2 matches
- 2013-04-16T01:10:23-07:00
- Forum: Magick++
- Topic: Convert multi page tiff file to pdf
- Replies: 2
- Views: 11658
Re: Convert multi page tiff file to pdf
Thanks for the answer. This seems to be the correct way to convert a multi page tiff to pdf: Magick::InitializeMagick(argv[0]); std::list<Magick::Image> images; readImages(&images, argv[1]); writeImages(images.begin(), images.end(), argv[2]); The filename in argv[2] must have a .pdf extension. Note ...
- 2013-04-15T06:53:31-07:00
- Forum: Magick++
- Topic: Convert multi page tiff file to pdf
- Replies: 2
- Views: 11658
Convert multi page tiff file to pdf
Hello. I'm trying to convert a multi page tiff file to pdf using Magick++. I'm using the following code: #include <Magick++.h> int main(int argc, char **argv) { Magick::InitializeMagick(argv[0]); Magick::Image img; img.read(argv[0]); string imageSpec = "PDF:"; imageSpec += argv[1]; img.write ...