ImageMagick Build Issue/Lseek Error

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
sharner

ImageMagick Build Issue/Lseek Error

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ImageMagick Build Issue/Lseek Error

Post 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.
Post Reply