[magick-developers] How to use GetImageInkDensity() from PerlMagick

ademmler news at ademmler.com
Tue Jul 3 22:34:05 PDT 2007


Hi Anthony!

Thanks for your reply.


GetImageTotalInkDensity() is a function allready implemented in IM  
and returns the total ink density for an image.
You need this TAC (Toner All Coverage = TotalInkDensity = TID ) in  
prepress to asume possible problems while printing.
The maximum possible value depends on type of paper, ink and print  
process . . .

I wanna know how to call this function from PerlMagick?
I have tried: $image->Get('ImageTotalInkDensity') for know, but it  
did not work.

 From the code:
%
%  GetImageTotalInkDensity() returns the toal ink density for a CMYK  
image.
%  Total nk Density (TID) is determined by adding the CMYK values in the
%  darkest shadow area in an image.
%
%  The format of the GetImageTotalInkDensity method is:
%
%      double GetImageTotalInkDensity(const Image *image)
%
%  A description of each parameter follows:
%
%    o image: The image.
%

;-) Alex

Am 04.07.2007 um 04:54 schrieb Anthony Thyssen:

> ademmler on  wrote...
> | Hi to all!
> |
> | I need to no if it is possible to use "GetImageTotalInkDensity()"
> | from PerlMagick?
> |
> What is TotalInkDensity?
>
> Is it calculated, or is it profile metadata?
>
>
>   Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
>   
> ---------------------------------------------------------------------- 
> -------
>    Problems worthy of attack
>      prove their worth by hitting back.     -- Piet Hein
>   
> ---------------------------------------------------------------------- 
> -------
>      Anthony's Home is his Castle     http://www.cit.gu.edu.au/ 
> ~anthony/



More information about the Magick-developers mailing list