converting a big image makes it truncated

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?".
Locked
User avatar
anthony
Posts: 8884
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

More likely it is either a incomplete PNG file, or a problem with size limits for the PBM image formats.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

We tried the following commands under Fedora using ImageMagick 6.2.6:
  • convert logo: -resize 4651x8567! logo.png
    convert logo.png logo.pgm
and the resulting image was fine (no unexpected black areas).

Locked