Home | History | Annotate | Download | only in coders

Lines Matching refs:exception

60 #include "MagickCore/exception.h"
61 #include "MagickCore/exception-private.h"
102 ExceptionInfo *exception)
113 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
136 (void) SyncAuthenticPixels(image,exception);
141 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
146 index=ConstrainColormapIndex(image,(*p >> 6) & 0x3,exception);
149 index=ConstrainColormapIndex(image,(*p >> 4) & 0x3,exception);
152 index=ConstrainColormapIndex(image,(*p >> 2) & 0x3,exception);
155 index=ConstrainColormapIndex(image,(*p) & 0x3,exception);
162 index=ConstrainColormapIndex(image,(*p >> 6) & 0x3,exception);
168 index=ConstrainColormapIndex(image,(*p >> 4) & 0x3,exception);
175 exception);
182 (void) SyncAuthenticPixels(image,exception);
188 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
193 index=ConstrainColormapIndex(image,(*p >> 4) & 0xf,exception);
196 index=ConstrainColormapIndex(image,(*p) & 0xf,exception);
203 index=ConstrainColormapIndex(image,(*p >> 4) & 0xf,exception);
208 (void) SyncAuthenticPixels(image,exception);
213 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
217 index=ConstrainColormapIndex(image,*p,exception);
222 (void) SyncAuthenticPixels(image,exception);
231 static int GetCutColors(Image *image,ExceptionInfo *exception)
248 q=GetAuthenticPixels(image,0,y,image->columns,1,exception);
285 % Image *ReadCUTImage(const ImageInfo *image_info,ExceptionInfo *exception)
291 % o exception: return any errors or warnings in this structure.
294 static Image *ReadCUTImage(const ImageInfo *image_info,ExceptionInfo *exception)
321 assert(exception != (ExceptionInfo *) NULL);
322 assert(exception->signature == MagickCoreSignature);
323 image=AcquireImage(image_info,exception);
324 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
376 status=SetImageExtent(image,image->columns,image->rows,exception);
418 if( (palette=AcquireImage(clone_info,exception))==NULL ) goto NoPalette;
419 status=OpenBlob(clone_info,palette,ReadBinaryBlobMode,exception);
447 if (AcquireImageColormap(image,image->colors,exception) == MagickFalse) goto NoMemory;
493 if (AcquireImageColormap(image,image->colors,exception) == MagickFalse)
554 InsertRow(image,depth,BImgBuff,i,exception);
556 (void) SyncImage(image,exception);
564 (SetImageGray(image,exception) != MagickFalse))
566 if(GetCutColors(image,exception)==2)
582 q=QueueAuthenticPixels(image,0,i,image->columns,1,exception);
593 if (SyncAuthenticPixels(image,exception) == MagickFalse) goto Finish;
607 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile",