Re: MagickGetImageAttribute and a transparency question

Manfred Rebentisch <[email protected]> Mon, 21 Jan 2013 16:04:15 +0100
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
Hello Bob,

Am 21.01.2013 15:48, schrieb Bob Friesenhahn:
>
> These are good questions.
>
> The image may have attributes which are stored as members in the image 
> structure and don't have attribute names and so they can't be accessed 
> via MagickGetImageAttribute().  Other attributes are stored as 
> key/value and can be returned by MagickGetImageAttribute(). Look at 
> the documentation for -format in the gm manual page for how IPTC and 
> EXIF names are composed and the names which are documented to be 
> available.
>
> You can also do
>
>   gm identify -verbose file.jpg
>
> on an image file which is likely to contain the attributes you are 
> interested in and see what is reported.

Ahaha! Great! I can experience with that. Thank you!

>
> For the question about transparency, the only/best method I see is to 
> use MagickGetImageType() and check if the returned value is one of 
> GrayscaleMatteType, PaletteMatteType, TrueColorMatteType, or 
> ColorSeparationMatteType.
>
> Bob

Ok, I am german and stupid in english: what means "matte"?
But thank you for this tip too!

Manfred


-- 
COMPARAT Software-Entwicklungs-GmbH
Prießstraße 16
23558 Lübeck
Telefon: 0451/479 56 60

Geschf: Manfred Rebentisch
AG Lübeck, HRB 3559

Web: http://www.comparat.de
Die Cards: https://cards.athesios.de
Businessplattform: https://www.athesios.de
Lübeck: http://www.luebeck-info.com
Twitter: http://twitter.com/COMPARAT


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412