Offset issue in PNG and GIF using "import"
Posted: 2009-09-01T04:45:49-07:00
Hi,
When using the "import" command for creating a PNG or a GIF image, then selecting a part of the screen, the resulting image bounds will not correspond to the selected zone. In particular :
* import file.png : the resulting file will have correct dimensions, but the selected zone will be outside the image.
* import file.gif : the resulting file will have the same dimensions as the screen, and the selected zone will be a small part of it.
When opening the PNG image with the Gimp, it will prompt you that "the PNG file specifies an offset that caused the layer to be positioned outside the image".
In each case, the empty zone being transparent. There seems to be no issue with JPG images.
I'm currently using Fedora 10, and :
Version: ImageMagick 6.4.0 07/27/08 Q16
However, I have encountered this behaviour on Scientific Linux (4?) as well, with this version :
Version: ImageMagick 6.0.7 04/17/08 Q16
When using the "import" command for creating a PNG or a GIF image, then selecting a part of the screen, the resulting image bounds will not correspond to the selected zone. In particular :
* import file.png : the resulting file will have correct dimensions, but the selected zone will be outside the image.
* import file.gif : the resulting file will have the same dimensions as the screen, and the selected zone will be a small part of it.
When opening the PNG image with the Gimp, it will prompt you that "the PNG file specifies an offset that caused the layer to be positioned outside the image".
In each case, the empty zone being transparent. There seems to be no issue with JPG images.
I'm currently using Fedora 10, and :
Version: ImageMagick 6.4.0 07/27/08 Q16
However, I have encountered this behaviour on Scientific Linux (4?) as well, with this version :
Version: ImageMagick 6.0.7 04/17/08 Q16