Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Can someone please explain me the following output of imagemagicks identify?

image.gif GIF 345x49 345x49+0+0 8-bit PseudoClass 256c 1.79KB 0.000u 0:00.000 I know the follwing:

I know that GIF is the file extension, 345 is the width, 49 is height, 8-bit is the color depth. 1.79KB is the file size.

But what does PseudoClass, 256c and 0.000u 0:00.000 mean?

If I verbose the output, I get even more results I don't understand:

  • Type: Bilevel
  • Base type: Bilevel
  • Depth: 8/1-bit
  • signature:
  • Artifacts: verbose: true
  • Tainted: False
share|improve this question

1 Answer 1

up vote 2 down vote accepted

Mostly guessing and copying from ImageMagick "Basics":

  • PseudoClass 256c – image uses a color map (color palette) containing at most 256 colors; standard for GIF images. (If the image specifies color values directly, it would be DirectClass.)

  • Type: Bilevel apparently means the image is a two-color monochrome. (Palette means the entire palette is used; TrueColor for 24-bit RGB and such; ...Matte suffix means an additional transparency value is used)

  • Depth: 8/1-bit – not entirely sure; 8-bit means 8 bits per value, which is standard for GIFs. The one bit could be the GIF transparency.

    (For "Palette" images, each pixel has one value, the color index in palette; for "TrueColor", each pixel usually has 3-4 values: R/G/B and optional transparency)

  • The signature property is a hash of the image.

Some properties are not about the file contents but about the in-memory image objects used by ImageMagick:

  • The verbose artifact means ImageMagick will output verbose information about the image; you added it by using -verbose.

  • Tainted is true if the image has been modified since loading.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.