Page 1 of 1

ImageMagick Build Issue/Lseek Error

Posted: 2009-05-21T05:33:23-07:00
by sharner
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

Re: ImageMagick Build Issue/Lseek Error

Posted: 2009-05-21T06:29:28-07:00
by magick
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.*
If the problem is specific to an image, post a URL to the image here so we can download it and try to reproduce the problem.