Page 1 of 1

Convert JP2 to PDF

Posted: 2012-05-18T06:09:04-07:00
by fraser
Hi,

I am trying to convert n JP2s to a single PDF. The following works fine for JPGs

convert -adjoin -page A4 *.jpg output.pdf

For JP2 I used the command:

convert -adjoin -page A4 *.jp2 output.pdf

But I get the following error "irregular channel geometry not supported". From the advice of other posts I have run the command "convert -list configure" and this does show jp2 in the list.

Can anyone help?

Thanks

Re: Convert JP2 to PDF

Posted: 2012-05-18T09:32:31-07:00
by fmw42
try converting just one jp2 file and see if that works at all.

Also your syntax is not proper for IM 6, though it may still work. try it this way and also with just one input image.

convert *.jp2 -page A4 -adjoin output.pdf

Re: Convert JP2 to PDF

Posted: 2012-05-21T07:13:34-07:00
by fraser
Thanks. Using the correct syntax you suggested this worked absolutely fine.