Home | History | Annotate | Download | only in coders

Lines Matching refs:image

13 %                       Write A Steganographic Image.                         %
51 #include "MagickCore/image.h"
52 #include "MagickCore/image-private.h"
76 % ReadSTEGANOImage() reads a steganographic image hidden within another
77 % image type. It allocates the memory necessary for the new Image structure
78 % and returns a pointer to the new image.
82 % Image *ReadSTEGANOImage(const ImageInfo *image_info,
87 % o image_info: the image info.
92 static Image *ReadSTEGANOImage(const ImageInfo *image_info,
96 #define SetBit(i,set) SetPixelIndex(image,(Quantum) ((set) != 0 ? \
97 (size_t) GetPixelIndex(image,q) | (one << (size_t) (i)) : \
98 (size_t) GetPixelIndex(image,q) & ~(one << (size_t) (i))),q)
100 Image
101 *image,
133 Initialize Image structure.
143 image=AcquireImage(image_info,exception);
144 if ((image->columns == 0) || (image->rows == 0))
151 if (watermark == (Image *) NULL)
152 return((Image *) NULL);
154 if (AcquireImageColormap(image,MaxColormapSize,exception) == MagickFalse)
158 (void) CloseBlob(image);
159 return(GetFirstImageInList(image));
161 status=SetImageExtent(image,image->columns,image->rows,exception);
163 return(DestroyImageList(image));
164 for (y=0; y < (ssize_t) image->rows; y++)
166 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
169 for (x=0; x < (ssize_t) image->columns; x++)
171 SetPixelIndex(image,0,q);
172 q+=GetPixelChannels(image);
174 if (SyncAuthenticPixels(image,exception) == MagickFalse)
178 Get hidden watermark from low-order bits of image.
185 for (k=image->offset; (i >= 0) && (j < (ssize_t) depth); i--)
187 for (y=0; (y < (ssize_t) image->rows) && (j < (ssize_t) depth); y++)
190 for ( ; (x < (ssize_t) image->columns) && (j < (ssize_t) depth); x++)
197 q=GetAuthenticPixels(image,x,y,1,1,exception);
218 if (SyncAuthenticPixels(image,exception) == MagickFalse)
226 if (k == image->offset)
230 status=SetImageProgress(image,LoadImagesTag,(MagickOffsetType) i,depth);
235 (void) SyncImage(image,exception);
236 return(GetFirstImageInList(image));
251 % RegisterSTEGANOImage() adds attributes for the STEGANO image format to
252 % the list of supported formats. The attributes include the image format
268 entry=AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");