Lines Matching +full:- +full:- +full:with +full:- +full:quantum +full:- +full:depth
20 % Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization %
23 % You may not use this file except in compliance with the License. You may %
44 #include "MagickCore/blob-private.h"
49 #include "MagickCore/exception-private.h"
51 #include "MagickCore/image-private.h"
56 #include "MagickCore/monitor-private.h"
57 #include "MagickCore/pixel-accessor.h"
58 #include "MagickCore/quantum-private.h"
94 #define SetBit(i,set) SetPixelIndex(image,(Quantum) ((set) != 0 ? \ in ReadSTEGANOImage()
114 register Quantum in ReadSTEGANOImage()
121 depth, in ReadSTEGANOImage() local
134 assert(image_info->signature == MagickCoreSignature); in ReadSTEGANOImage()
135 if (image_info->debug != MagickFalse) in ReadSTEGANOImage()
137 image_info->filename); in ReadSTEGANOImage()
139 assert(exception->signature == MagickCoreSignature); in ReadSTEGANOImage()
142 if ((image->columns == 0) || (image->rows == 0)) in ReadSTEGANOImage()
146 *read_info->magick='\0'; in ReadSTEGANOImage()
151 watermark->depth=MAGICKCORE_QUANTUM_DEPTH; in ReadSTEGANOImage()
154 if (image_info->ping != MagickFalse) in ReadSTEGANOImage()
159 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadSTEGANOImage()
162 for (y=0; y < (ssize_t) image->rows; y++) in ReadSTEGANOImage()
164 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadSTEGANOImage()
165 if (q == (Quantum *) NULL) in ReadSTEGANOImage()
167 for (x=0; x < (ssize_t) image->columns; x++) in ReadSTEGANOImage()
176 Get hidden watermark from low-order bits of image. in ReadSTEGANOImage()
181 i=(ssize_t) (watermark->depth-1); in ReadSTEGANOImage()
182 depth=watermark->depth; in ReadSTEGANOImage()
183 for (k=image->offset; (i >= 0) && (j < (ssize_t) depth); i--) in ReadSTEGANOImage()
185 for (y=0; (y < (ssize_t) image->rows) && (j < (ssize_t) depth); y++) in ReadSTEGANOImage()
188 for ( ; (x < (ssize_t) image->columns) && (j < (ssize_t) depth); x++) in ReadSTEGANOImage()
190 if ((k/(ssize_t) watermark->columns) >= (ssize_t) watermark->rows) in ReadSTEGANOImage()
193 k % (ssize_t) watermark->columns,k/(ssize_t) watermark->columns, in ReadSTEGANOImage()
196 if (q == (Quantum *) NULL) in ReadSTEGANOImage()
222 if (k == (ssize_t) (watermark->columns*watermark->columns)) in ReadSTEGANOImage()
224 if (k == image->offset) in ReadSTEGANOImage()
228 status=SetImageProgress(image,LoadImagesTag,(MagickOffsetType) i,depth); in ReadSTEGANOImage()
252 % whether the format supports native in-memory I/O, and a brief
266 entry->decoder=(DecodeImageHandler *) ReadSTEGANOImage; in RegisterSTEGANOImage()
267 entry->format_type=ImplicitFormatType; in RegisterSTEGANOImage()