Changeset 8113


Ignore:
Timestamp:
06/02/12 08:49:12 (12 months ago)
Author:
cristy
Message:
 
Location:
ImageMagick/trunk/MagickWand
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/MagickWand/magick-image.c

    r8080 r8113  
    46214621%                                                                             % 
    46224622%                                                                             % 
     4623%   M a g i c k G e t I m a g e E n d i a n                                   % 
     4624%                                                                             % 
     4625%                                                                             % 
     4626%                                                                             % 
     4627%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     4628% 
     4629%  MagickGetImageEndian() gets the image endian. 
     4630% 
     4631%  The format of the MagickGetImageEndian method is: 
     4632% 
     4633%      EndianType MagickGetImageEndian(MagickWand *wand) 
     4634% 
     4635%  A description of each parameter follows: 
     4636% 
     4637%    o wand: the magick wand. 
     4638% 
     4639*/ 
     4640WandExport EndianType MagickGetImageEndian(MagickWand *wand) 
     4641{ 
     4642  assert(wand != (MagickWand *) NULL); 
     4643  assert(wand->signature == WandSignature); 
     4644  if( IfMagickTrue(wand->debug) ) 
     4645    (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); 
     4646 
     4647  if (wand->images == (Image *) NULL) 
     4648    { 
     4649      (void) ThrowMagickException(wand->exception,GetMagickModule(),WandError, 
     4650        "ContainsNoImages","'%s'",wand->name); 
     4651      return(UndefinedEndian); 
     4652    } 
     4653  return(wand->images->endian); 
     4654} 
     4655 
     4656/* 
     4657%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     4658%                                                                             % 
     4659%                                                                             % 
     4660%                                                                             % 
    46234661%   M a g i c k G e t I m a g e F i l e n a m e                               % 
    46244662%                                                                             % 
     
    47754813%                                                                             % 
    47764814%                                                                             % 
    4777 %   M a g i c k G e t I m a g e I n t e r l a c e S c h e m e                 % 
     4815%   M a g i c k G e t I m a g e G r a v i t y                                 % 
    47784816%                                                                             % 
    47794817%                                                                             % 
  • ImageMagick/trunk/MagickWand/magick-image.h

    r8080 r8113  
    5454  MagickGetImageGamma(MagickWand *), 
    5555  MagickGetImageTotalInkDensity(MagickWand *); 
     56 
     57extern WandExport EndianType 
     58  MagickGetImageEndian(MagickWand *); 
    5659 
    5760extern WandExport GravityType 
Note: See TracChangeset for help on using the changeset viewer.