I recently did a build of ImageMagick on HP-UX, and have been receiving various errors from it when trying to do an image conversion. For example, I get "convert: Insufficient image data in file" when trying to convert a bitmap to a png.
After further investigation with tusc, I have found that an incorrect parameter is being passed to lseek. My guess is that I have done something wrong during the build process, but I don't know quite what. Does anyone have any ideas?
Here's a valid lseek from tusc:
lseek(3, 0, SEEK_CUR) .................................... = 245765
Here's the invalid lseek tusc:
lseek(3, 2063875320, 0x36) ............................... ERR#22 EINVAL
ImageMagick Build Issue/Lseek Error
Re: ImageMagick Build Issue/Lseek Error
Is the problem specific to a particular image format? Do these generic command work for you?
- convert logo: logo.jpg
convert logo: logo.png
convert logo: logo.gif
identify logo.*