signable pdf

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

ImageMagick conforms to the PDF specification, meaning any/all conforming rips/renderers/viewers should be able to process PDF's generated by ImageMagick. If you discover a PDF generated by ImageMagick that you suspect does not conform to the specification, post a URL to your PDF here and describe the problem.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

What type of signature with what version of Acrobat? Are they also adding a digitized signature or watermark to the signature appearance?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

We have a contact with a company that exclusively works with PDF. They had no problem with the image with Acrobat 5-8. Unless you can prove the image does not follow the PDF standard, there is not much we can do to help.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

What is malformed about the objects? If we know the problem we can add a patch to the next release of ImageMagick.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Object 17 is a length object. If I change it to
  • 17 0 obj
    <<
    54490
    >>
    endobj
I get an error
  • Error (591): Dictionary key must be a name object
    Error (527): Bad 'Length' attribute in stream
    Error: Weird page contents
    Error (591): Dictionary key must be a name object
    Error (527): Bad 'Length' attribute in stream
    Error: Weird page contents
How should this length object look?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Object 17 is just an example of an ImageMagick PDF length object. If I change the length objects to include << >> it produces an error.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Object 17 was corrupt but it seems specific to your image or perhaps the version of ImageMagick you are using. Recent versions of ImageMagick do not create corrupt objects.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

We added a patch to ImageMagick 6.3.0-8 Beta to fix the corrupt object problem. It will be available sometime tommorrow.
Post Reply