Re: Error Message While Schaling BitMap Image
Posted: 2009-05-13T15:04:37-07:00
I compiled IM for CentOS and trying identify over there? could something wrong with my configuration?
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=13696
I did that and it worked fine. See my previous post.please try to convert image using Preview application on OS X not by ImageMagick and then identify that image
Code: Select all
Image: rose2.bmp
Format: BMP (Microsoft Windows bitmap image)
Class: DirectClass
Geometry: 70x46+0+0
Resolution: 28.35x28.35
Print size: 2.46914x1.62257
Units: PixelsPerCentimeter
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
red:
min: 35 (0.137255)
max: 255 (1)
mean: 145.712 (0.57142)
standard deviation: 69.2953 (0.271746)
kurtosis: -1.385
skewness: 0.14637
green:
min: 22 (0.0862745)
max: 255 (1)
mean: 89.2602 (0.35004)
standard deviation: 52.4698 (0.205764)
kurtosis: 2.63898
skewness: 1.81893
blue:
min: 24 (0.0941176)
max: 255 (1)
mean: 80.4683 (0.315562)
standard deviation: 55.1114 (0.216123)
kurtosis: 3.01818
skewness: 1.9795
Image statistics:
OverAll:
min: 0 (0)
max: 255 (1)
mean: 78.8602 (0.309256)
standard deviation: 73.1284 (0.286778)
kurtosis: 0.0669201
skewness: 0.96904
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 70x46+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Properties:
create-date: 2009-05-13T20:36:44-07:00
modify-date: 2009-05-13T20:36:44-07:00
signature: a698f2fe0c6c31f83d19554a6ec02bac79c961dd9a87e7ed217752e75eb615d7
Artifacts:
verbose: true
Tainted: False
Filesize: 9.58kb
Number pixels: 3.14kb
Version: ImageMagick 6.5.2-4 2009-05-13 Q16 http://www.imagemagick.org
Code: Select all
$ convert rose: rose.bmp
$ identify rose.bmp
rose.bmp BMP 70x46 70x46+0+0 8-bit DirectClass 9.58kb
// convert rose.bmp to rose2.bmp from preview
$ identify rose2.bmp
$ convert rose2.bmp info:
rose2.bmp BMP 70x46 70x46+0+0 8-bit DirectClass 9.58kb
Code: Select all
admins-macbook-pro:Desktop admin$ identify -ping -respect-parenthesis -debug all rose2.bmp 2>&1
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: utility.c/ExpandFilenames/862/Configure
Command line: identify {-ping} {-respect-parenthesis} {-debug} {all} {rose2.bmp}
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/opt/ImageMagick-6.5.2-4/share/ImageMagick-6.5.2/config/coder.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/opt/ImageMagick-6.5.2-4/lib/ImageMagick-6.5.2/config/coder.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/opt/ImageMagick-6.5.2-4/share/doc/ImageMagick-6.5.2/coder.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/opt/ImageMagick-6.5.2-4/share/ImageMagick-6.5.2/coder.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/Users/admin/.magick/coder.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "coder.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: coder.c/LoadCoderList/639/Configure
Loading coder configuration file "/opt/ImageMagick-6.5.2-4/share/ImageMagick-6.5.2/config/coder.xml" ...
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Module identify[97071]: module.c/OpenModule/1143/Module
Searching for module "BMP" using filename "bmp.la"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Module identify[97071]: module.c/GetMagickModulePath/548/Module
Searching for coder module file "bmp.la" ...
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Module identify[97071]: module.c/OpenModule/1152/Module
Opening module at path "/opt/ImageMagick-6.5.2-4/lib/ImageMagick-6.5.2/modules-Q16/coders/bmp.la"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Module identify[97071]: module.c/OpenModule/1179/Module
Method "RegisterBMPImage" in module "BMP" at address 0x79e3f0
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Module identify[97071]: module.c/OpenModule/1193/Module
Method "UnregisterBMPImage" in module "BMP" at address 0x79e510
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Blob identify[97071]: blob.c/OpenBlob/2403/Blob
read 3 magic header bytes
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/opt/ImageMagick-6.5.2-4/share/ImageMagick-6.5.2/config/magic.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/opt/ImageMagick-6.5.2-4/lib/ImageMagick-6.5.2/config/magic.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/opt/ImageMagick-6.5.2-4/share/doc/ImageMagick-6.5.2/magic.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/opt/ImageMagick-6.5.2-4/share/ImageMagick-6.5.2/magic.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "/Users/admin/.magick/magic.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: configure.c/GetConfigureOptions/528/Configure
Searching for configure file: "magic.xml"
2009-05-14T16:32:23-07:00 0:01 0.000u 6.5.2 Configure identify[97071]: magic.c/LoadMagicList/682/Configure
Loading magic configure file "/opt/ImageMagick-6.5.2-4/share/ImageMagick-6.5.2/config/magic.xml" ...
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Blob identify[97071]: blob.c/OpenBlob/2403/Blob
read 3 magic header bytes
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Blob identify[97071]: blob.c/OpenBlob/2403/Blob
read 3 magic header bytes
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Coder identify[97071]: bmp.c/ReadBMPImage/588/Coder
Magick: BM
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Coder identify[97071]: bmp.c/ReadBMPImage/598/Coder
BMP size: 40
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Coder identify[97071]: bmp.c/ReadBMPImage/644/Coder
Format: MS Windows bitmap
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Coder identify[97071]: bmp.c/ReadBMPImage/646/Coder
Geometry: 70x-46
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Coder identify[97071]: bmp.c/ReadBMPImage/648/Coder
Bits per pixel: 24
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Coder identify[97071]: bmp.c/ReadBMPImage/654/Coder
Compression: BI_RGB
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Coder identify[97071]: bmp.c/ReadBMPImage/694/Coder
Number of colors: 0
2009-05-14T16:32:23-07:00 0:01 0.010u 6.5.2 Coder identify[97071]: bmp.c/ReadBMPImage/898/Coder
Reading pixels (9752 bytes)
2009-05-14T16:32:23-07:00 0:01 0.020u 6.5.2 Resource identify[97071]: resource.c/AcquireMagickResource/222/Resource
Area: 25.2kb/25.2kb/4gb
2009-05-14T16:32:23-07:00 0:01 0.020u 6.5.2 Resource identify[97071]: resource.c/AcquireMagickResource/222/Resource
Memory: 25.2kb/25.2kb/3gb
2009-05-14T16:32:23-07:00 0:01 0.020u 6.5.2 Cache identify[97071]: cache.c/OpenPixelCache/3832/Cache
open rose2.bmp[0] (heap memory, 70x46 25.2kb)
2009-05-14T16:32:23-07:00 0:01 0.020u 6.5.2 Resource identify[97071]: resource.c/RelinquishMagickResource/857/Resource
Memory: 25.2kb/0b/3gb
2009-05-14T16:32:23-07:00 0:01 0.020u 6.5.2 Cache identify[97071]: cache.c/DestroyPixelCacheInfo/1513/Cache
destroy rose2.bmp[0]
2009-05-14T16:32:23-07:00 0:01 0.020u 6.5.2 Cache identify[97071]: cache.c/DestroyPixelCacheInfo/1513/Cache
destroy