image 49 Magick++/demo/analyze.cpp Image image( fname ); image 52 Magick++/demo/analyze.cpp image.process("analyze",0,0); image 58 Magick++/demo/analyze.cpp << *pos << " = " << image.attribute(*pos) << endl; image 32 Magick++/demo/piddle.cpp Image image( "300x300", "white" ); image 40 Magick++/demo/piddle.cpp drawList.push_back(DrawableViewbox(0,0,image.columns(),image.rows())); image 158 Magick++/demo/piddle.cpp image.draw(drawList); image 163 Magick++/demo/piddle.cpp image.depth( 8 ); image 164 Magick++/demo/piddle.cpp image.compressType( RLECompression ); image 165 Magick++/demo/piddle.cpp image.write( "piddle_out.miff" ); image 167 Magick++/demo/piddle.cpp image.write( "piddle_out.mvg" ); image 33 Magick++/demo/shapes.cpp Image image( "300x300", "white" ); image 46 Magick++/demo/shapes.cpp image.penTexture( texture ); image 47 Magick++/demo/shapes.cpp image.draw( DrawablePolygon( poly_coord ) ); image 49 Magick++/demo/shapes.cpp image.penTexture( texture ); // Unset texture image 54 Magick++/demo/shapes.cpp image.strokeColor( "black" ); image 55 Magick++/demo/shapes.cpp image.fillColor( "red" ); image 56 Magick++/demo/shapes.cpp image.strokeWidth( 5 ); image 57 Magick++/demo/shapes.cpp image.draw( DrawableEllipse( 100,100, 50,75, 0,360 ) ); image 58 Magick++/demo/shapes.cpp image.fillColor( Color() ); // Clear out fill color image 63 Magick++/demo/shapes.cpp image.strokeColor( "black" ); image 64 Magick++/demo/shapes.cpp image.strokeWidth( 5 ); image 74 Magick++/demo/shapes.cpp image.draw( drawlist ); image 79 Magick++/demo/shapes.cpp image.colorFuzz( 0.5*QuantumRange ); image 80 Magick++/demo/shapes.cpp image.floodFillColor( "+132+62", "blue" ); image 85 Magick++/demo/shapes.cpp image.strokeColor(Color()); image 86 Magick++/demo/shapes.cpp image.fillColor( "red" ); image 87 Magick++/demo/shapes.cpp image.fontPointsize( 18 ); image 88 Magick++/demo/shapes.cpp image.annotate( "Hello world!", "+150+20" ); image 90 Magick++/demo/shapes.cpp image.fillColor( "blue" ); image 91 Magick++/demo/shapes.cpp image.fontPointsize( 14 ); image 92 Magick++/demo/shapes.cpp image.annotate( "Goodbye cruel world!", "+150+38" ); image 94 Magick++/demo/shapes.cpp image.fillColor( "black" ); image 95 Magick++/demo/shapes.cpp image.fontPointsize( 14 ); image 96 Magick++/demo/shapes.cpp image.annotate( "I'm climbing the wall!", "+280+120", image 104 Magick++/demo/shapes.cpp image.depth( 8 ); image 105 Magick++/demo/shapes.cpp image.compressType( RLECompression ); image 106 Magick++/demo/shapes.cpp image.write( "shapes_out.miff" ); image 154 Magick++/demo/zoom.cpp Image image(input_file); image 156 Magick++/demo/zoom.cpp image.density(density); image 157 Magick++/demo/zoom.cpp density=image.density(); image 163 Magick++/demo/zoom.cpp (image.columns()*((double)resample.width()/density.width())+0.5), image 165 Magick++/demo/zoom.cpp (image.rows()*((double)resample.height()/density.height())+0.5)); image 166 Magick++/demo/zoom.cpp image.density(resample); image 171 Magick++/demo/zoom.cpp image.sample(geometry); image 174 Magick++/demo/zoom.cpp image.scale(geometry); image 177 Magick++/demo/zoom.cpp image.filterType(filter); image 178 Magick++/demo/zoom.cpp image.zoom(geometry); image 181 Magick++/demo/zoom.cpp image.write(output_file); image 220 Magick++/lib/Image.cpp *image; image 223 Magick++/lib/Image.cpp image=CloneImage(image_.constImage(),geometry_.width(),geometry_.height(), image 225 Magick++/lib/Image.cpp replaceImage(image); image 229 Magick++/lib/Image.cpp (void) CopyImagePixels(image,image_.constImage(),&geometry,&offset, image 344 Magick++/lib/Image.cpp image()->delay=delay_; image 355 Magick++/lib/Image.cpp image()->iterations=iterations_; image 370 Magick++/lib/Image.cpp (void) SetImageArtifact(image(),"attenuate",value); image 378 Magick++/lib/Image.cpp image()->background_color=backgroundColor_; image 380 Magick++/lib/Image.cpp image()->background_color=Color(); image 418 Magick++/lib/Image.cpp image()->black_point_compensation=(MagickBooleanType) flag_; image 431 Magick++/lib/Image.cpp image()->border_color=borderColor_; image 433 Magick++/lib/Image.cpp image()->border_color=Color(); image 477 Magick++/lib/Image.cpp SyncImage(image()); image 478 Magick++/lib/Image.cpp image()->colormap=(PixelPacket *)RelinquishMagickMemory( image 479 Magick++/lib/Image.cpp image()->colormap); image 480 Magick++/lib/Image.cpp image()->storage_class=static_cast<MagickCore::ClassType>(DirectClass); image 488 Magick++/lib/Image.cpp image()->storage_class=static_cast<MagickCore::ClassType>(PseudoClass); image 497 Magick++/lib/Image.cpp SetImageClipMask(image(),clipMask_.constImage()); image 499 Magick++/lib/Image.cpp SetImageClipMask(image(),0); image 505 Magick++/lib/Image.cpp *image; image 508 Magick++/lib/Image.cpp image=GetImageClipMask(constImage(),exceptionInfo); image 511 Magick++/lib/Image.cpp if (image == (MagickCore::Image *) NULL) image 514 Magick++/lib/Image.cpp return(Magick::Image(image)); image 520 Magick++/lib/Image.cpp image()->fuzz=fuzz_; image 536 Magick++/lib/Image.cpp (void) AcquireImageColormap(image(),entries_); image 549 Magick++/lib/Image.cpp if (image()->colorspace == colorSpace_) image 553 Magick++/lib/Image.cpp TransformImageColorspace(image(),colorSpace_); image 565 Magick++/lib/Image.cpp SetImageColorspace(image(),colorSpace_); image 578 Magick++/lib/Image.cpp SetImageProperty(image(),"Comment",NULL); image 580 Magick++/lib/Image.cpp SetImageProperty(image(),"Comment",comment_.c_str()); image 599 Magick++/lib/Image.cpp image()->compose=compose_; image 610 Magick++/lib/Image.cpp image()->compression=compressType_; image 636 Magick++/lib/Image.cpp image()->x_resolution=density_.width(); image 638 Magick++/lib/Image.cpp image()->y_resolution=density_.height(); image 640 Magick++/lib/Image.cpp image()->y_resolution=density_.width(); image 645 Magick++/lib/Image.cpp image()->x_resolution=0; image 646 Magick++/lib/Image.cpp image()->y_resolution=0; image 679 Magick++/lib/Image.cpp image()->depth=depth; image 703 Magick++/lib/Image.cpp image()->endian=endian_; image 721 Magick++/lib/Image.cpp (void) SetImageProfile(image(),"exif",exif_profile); image 743 Magick++/lib/Image.cpp fileName_.copy(image()->filename,sizeof(image()->filename)-1); image 744 Magick++/lib/Image.cpp image()->filename[fileName_.length()]=0; // Null terminate image 804 Magick++/lib/Image.cpp *image; image 807 Magick++/lib/Image.cpp image=CloneImage(tmpTexture,0,0,MagickTrue,exceptionInfo); image 808 Magick++/lib/Image.cpp texture.replaceImage(image); image 818 Magick++/lib/Image.cpp image()->filter=filterType_; image 908 Magick++/lib/Image.cpp text=InterpretImageProperties(constImageInfo(),image(),expression.c_str()); image 936 Magick++/lib/Image.cpp image()->dispose=(DisposeType) disposeMethod_; image 975 Magick++/lib/Image.cpp image()->interlace=interlace_; image 987 Magick++/lib/Image.cpp image()->interpolate=interpolate_; image 1005 Magick++/lib/Image.cpp (void) SetImageProfile(image(),"iptc",iptc_profile); image 1057 Magick++/lib/Image.cpp (void) SetImageProperty(image(),"Label",NULL); image 1059 Magick++/lib/Image.cpp (void) SetImageProperty(image(),"Label",label_.c_str()); image 1092 Magick++/lib/Image.cpp length=sizeof(image()->magick)-1; image 1097 Magick++/lib/Image.cpp magick_.copy(image()->magick,length); image 1098 Magick++/lib/Image.cpp image()->magick[length]=0; image 1116 Magick++/lib/Image.cpp SetImageMask(image(),mask_.constImage()); image 1118 Magick++/lib/Image.cpp SetImageMask(image(),0); image 1124 Magick++/lib/Image.cpp *image; image 1127 Magick++/lib/Image.cpp image=GetImageMask(constImage(),exceptionInfo); image 1130 Magick++/lib/Image.cpp if (image == (MagickCore::Image *) NULL) image 1133 Magick++/lib/Image.cpp return(Magick::Image(image)); image 1146 Magick++/lib/Image.cpp SetImageOpacity(image(),OpaqueOpacity); image 1148 Magick++/lib/Image.cpp image()->matte=(MagickBooleanType) matteFlag_; image 1165 Magick++/lib/Image.cpp image()->matte_color=matteColor_; image 1174 Magick++/lib/Image.cpp image()->matte_color=tmpColor; image 1193 Magick++/lib/Image.cpp SetImageDepth(image(),depth_); image 1243 Magick++/lib/Image.cpp image()->orientation=orientation_; image 1255 Magick++/lib/Image.cpp image()->page=pageSize_; image 1301 Magick++/lib/Image.cpp *image; image 1304 Magick++/lib/Image.cpp image=CloneImage(tmpTexture,0,0,MagickTrue,exceptionInfo); image 1305 Magick++/lib/Image.cpp texture.replaceImage(image); image 1314 Magick++/lib/Image.cpp image()->quality=quality_; image 1394 Magick++/lib/Image.cpp image()->rendering_intent=renderingIntent_; image 1407 Magick++/lib/Image.cpp image()->units=resolutionUnits_; image 1419 Magick++/lib/Image.cpp image()->scene=scene_; image 1431 Magick++/lib/Image.cpp image()->rows=geometry_.height(); image 1432 Magick++/lib/Image.cpp image()->columns=geometry_.width(); image 1544 Magick++/lib/Image.cpp *image; image 1547 Magick++/lib/Image.cpp image=CloneImage(tmpTexture,0,0,MagickTrue,exceptionInfo); image 1548 Magick++/lib/Image.cpp texture.replaceImage(image); image 1562 Magick++/lib/Image.cpp (void) SetImageArtifact(image(),"strokewidth",value); image 1713 Magick++/lib/Image.cpp SetImageType(image(),type_); image 1752 Magick++/lib/Image.cpp SetImageVirtualPixelMethod(image(),virtual_pixel_method_); image 1900 Magick++/lib/Image.cpp SetImageAlphaChannel(image(), alphaType_); image 1980 Magick++/lib/Image.cpp AnnotateImage(image(),drawInfo); image 2002 Magick++/lib/Image.cpp AnnotateImage(image(),drawInfo); image 2014 Magick++/lib/Image.cpp (void) SetImageArtifact(image(),name_.c_str(),value_.c_str()); image 2031 Magick++/lib/Image.cpp SetImageProperty(image(),name_.c_str(),value_.c_str()); image 2050 Magick++/lib/Image.cpp (void) AutoGammaImage(image()); image 2057 Magick++/lib/Image.cpp (void) AutoGammaImageChannel(image(),channel_); image 2064 Magick++/lib/Image.cpp (void) AutoLevelImage(image()); image 2071 Magick++/lib/Image.cpp (void) AutoLevelImageChannel(image(),channel_); image 2080 Magick++/lib/Image.cpp if (image()->orientation == UndefinedOrientation || image 2081 Magick++/lib/Image.cpp image()->orientation == TopLeftOrientation) image 2085 Magick++/lib/Image.cpp newImage=AutoOrientImage(constImage(),image()->orientation,exceptionInfo); image 2093 Magick++/lib/Image.cpp BlackThresholdImage(image(),threshold_.c_str()); image 2102 Magick++/lib/Image.cpp BlackThresholdImageChannel(image(),channel_,threshold_.c_str(), image 2161 Magick++/lib/Image.cpp BrightnessContrastImage(image(),brightness_,contrast_); image 2169 Magick++/lib/Image.cpp BrightnessContrastImageChannel(image(),channel_,brightness_,contrast_); image 2190 Magick++/lib/Image.cpp (void) ColorDecisionListImage(image(),cdl_.c_str()); image 2197 Magick++/lib/Image.cpp SeparateImageChannel(image(),channel_); image 2205 Magick++/lib/Image.cpp SetImageChannelDepth(image(),channel_,depth_); image 2248 Magick++/lib/Image.cpp image()->chromaticity.blue_primary.x=x_; image 2249 Magick++/lib/Image.cpp image()->chromaticity.blue_primary.y=y_; image 2261 Magick++/lib/Image.cpp image()->chromaticity.green_primary.x=x_; image 2262 Magick++/lib/Image.cpp image()->chromaticity.green_primary.y=y_; image 2274 Magick++/lib/Image.cpp image()->chromaticity.red_primary.x=x_; image 2275 Magick++/lib/Image.cpp image()->chromaticity.red_primary.y=y_; image 2287 Magick++/lib/Image.cpp image()->chromaticity.white_point.x=x_; image 2288 Magick++/lib/Image.cpp image()->chromaticity.white_point.y=y_; image 2300 Magick++/lib/Image.cpp ClampImage(image()); image 2307 Magick++/lib/Image.cpp ClampImageChannel(image(),channel_); image 2314 Magick++/lib/Image.cpp ClipImage(image()); image 2321 Magick++/lib/Image.cpp ClipImagePath(image(),pathname_.c_str(),(MagickBooleanType) inside_); image 2328 Magick++/lib/Image.cpp ClutImage(image(),clutImage_.constImage()); image 2336 Magick++/lib/Image.cpp ClutImageChannel(image(),channel_,clutImage_.constImage()); image 2357 Magick++/lib/Image.cpp newImage=ColorizeImage(image(),opacity,penColor_,exceptionInfo); image 2384 Magick++/lib/Image.cpp (image()->colormap)[index_]=color_; image 2436 Magick++/lib/Image.cpp status=static_cast<bool>(IsImagesEqual(image(),ref.constImage())); image 2447 Magick++/lib/Image.cpp GetImageDistortion(image(),reference_.constImage(),metric_,&distortion, image 2460 Magick++/lib/Image.cpp GetImageChannelDistortion(image(),reference_.constImage(),channel_,metric_, image 2473 Magick++/lib/Image.cpp newImage=CompareImages(image(),reference_.constImage(),metric_,distortion, image 2489 Magick++/lib/Image.cpp newImage=CompareImageChannels(image(),reference_.constImage(),channel_, image 2513 Magick++/lib/Image.cpp CompositeImage(image(),compose_,compositeImage_.constImage(),x,y); image 2528 Magick++/lib/Image.cpp CompositeImage(image(),compose_,compositeImage_.constImage(),geometry.x, image 2541 Magick++/lib/Image.cpp CompositeImage(image(),compose_,compositeImage_.constImage(),xOffset_, image 2560 Magick++/lib/Image.cpp ContrastImage(image(),(MagickBooleanType) sharpen_); image 2568 Magick++/lib/Image.cpp ContrastStretchImageChannel(image(),DefaultChannels,black_point_, image 2577 Magick++/lib/Image.cpp ContrastStretchImageChannel(image(),channel_,black_point_,white_point_); image 2602 Magick++/lib/Image.cpp (void) CopyImagePixels(image(),source_.constImage(),&geometry,&offset, image 2625 Magick++/lib/Image.cpp CycleColormapImage(image(),amount_); image 2633 Magick++/lib/Image.cpp DecipherImage(image(),passphrase_.c_str(),exceptionInfo); image 2729 Magick++/lib/Image.cpp DisplayImages(imageInfo(),image()); image 2752 Magick++/lib/Image.cpp wand=AcquireDrawingWand(options()->drawInfo(),image()); image 2774 Magick++/lib/Image.cpp wand=AcquireDrawingWand(options()->drawInfo(),image()); image 2821 Magick++/lib/Image.cpp EncipherImage(image(),passphrase_.c_str(),exceptionInfo); image 2839 Magick++/lib/Image.cpp EqualizeImage(image()); image 2846 Magick++/lib/Image.cpp (void) SetImageBackgroundColor(image()); image 2879 Magick++/lib/Image.cpp image()->gravity=gravity_; image 2890 Magick++/lib/Image.cpp SetGeometry(image(),&geometry); image 2893 Magick++/lib/Image.cpp GravityAdjustGeometry(image()->columns,image()->rows,gravity_,&geometry); image 2987 Magick++/lib/Image.cpp (void) FloodfillPaintImage(image(),OpacityChannel,options()->drawInfo(), image 3015 Magick++/lib/Image.cpp (void) FloodfillPaintImage(image(),OpacityChannel,options()->drawInfo(), image 3101 Magick++/lib/Image.cpp if (GetTypeMetrics(image(),drawInfo,&(metrics->_typeMetric)) == MagickFalse) image 3114 Magick++/lib/Image.cpp GetMultilineTypeMetrics(image(),drawInfo,&(metrics->_typeMetric)); image 3194 Magick++/lib/Image.cpp GammaImage(image(),gamma); image 3207 Magick++/lib/Image.cpp GammaImage(image(),gamma); image 3264 Magick++/lib/Image.cpp result=GetAuthenticIndexQueue(image()); image 3280 Magick++/lib/Image.cpp result=GetAuthenticPixels(image(),x_,y_,columns_,rows_,exceptionInfo); image 3288 Magick++/lib/Image.cpp (void) GrayscaleImage(image(),method_); image 3295 Magick++/lib/Image.cpp (void) HaldClutImage(image(),clutImage_.constImage()); image 3374 Magick++/lib/Image.cpp (void) LevelImage(image(),levels); image 3382 Magick++/lib/Image.cpp (void) LevelImageChannel(image(),channel,black_point,white_point,gamma); image 3398 Magick++/lib/Image.cpp GetMagickPixelPacket(image(),&black); image 3405 Magick++/lib/Image.cpp GetMagickPixelPacket(image(),&white); image 3412 Magick++/lib/Image.cpp (void) LevelColorsImage(image(),&black,&white, image 3429 Magick++/lib/Image.cpp GetMagickPixelPacket(image(),&black); image 3436 Magick++/lib/Image.cpp GetMagickPixelPacket(image(),&white); image 3443 Magick++/lib/Image.cpp (void) LevelColorsImageChannel(image(),channel_,&black,&white, image 3452 Magick++/lib/Image.cpp (void) LevelizeImage(image(),blackPoint_,whitePoint_,gamma_); image 3460 Magick++/lib/Image.cpp (void) LevelizeImageChannel(image(),channel_,blackPoint_,whitePoint_,gamma_); image 3468 Magick++/lib/Image.cpp LinearStretchImage(image(),blackPoint_,whitePoint_); image 3520 Magick++/lib/Image.cpp RemapImage(options()->quantizeInfo(),image(),mapImage_.constImage()); image 3550 Magick++/lib/Image.cpp newImage=MergeImageLayers(image(),layerMethod_,exceptionInfo); image 3576 Magick++/lib/Image.cpp ModulateImage(image(),modulate); image 3691 Magick++/lib/Image.cpp NegateImage(image(),(MagickBooleanType) grayscale_); image 3699 Magick++/lib/Image.cpp NegateImageChannel(image(),channel_,(MagickBooleanType) grayscale_); image 3706 Magick++/lib/Image.cpp NormalizeImage(image()); image 3724 Magick++/lib/Image.cpp SetImageOpacity(image(),opacity_); image 3746 Magick++/lib/Image.cpp (void) QueryMagickColor(opaqueColor.c_str(),&opaque,&image()->exception); image 3747 Magick++/lib/Image.cpp (void) QueryMagickColor(penColor.c_str(),&pen,&image()->exception); image 3749 Magick++/lib/Image.cpp OpaquePaintImage(image(),&opaque,&pen,invert_ ? MagickTrue : MagickFalse); image 3757 Magick++/lib/Image.cpp (void) OrderedPosterizeImage(image(),thresholdMap_.c_str(),exceptionInfo); image 3766 Magick++/lib/Image.cpp (void) OrderedPosterizeImageChannel(image(),channel_,thresholdMap_.c_str(), image 3774 Magick++/lib/Image.cpp PerceptibleImage(image(),epsilon_); image 3782 Magick++/lib/Image.cpp PerceptibleImageChannel(image(),channel_,epsilon_); image 3862 Magick++/lib/Image.cpp (void) SetImageProperty(image(),"Caption",caption_.c_str()); image 3872 Magick++/lib/Image.cpp PosterizeImage(image(),levels_,(MagickBooleanType) dither_); image 3880 Magick++/lib/Image.cpp PosterizeImageChannel(image(),channel_,levels_, image 3893 Magick++/lib/Image.cpp status=InvokeDynamicImageFilter(name_.c_str(),&image(),argc, argv, image 3894 Magick++/lib/Image.cpp &image()->exception); image 3907 Magick++/lib/Image.cpp result=ProfileImage(image(),name_.c_str(),(unsigned char *)profile_.data(), image 3936 Magick++/lib/Image.cpp QuantizeImage(options()->quantizeInfo(),image()); image 3945 Magick++/lib/Image.cpp EvaluateImageChannel(image(),channel_,operator_,rvalue_,exceptionInfo); image 3954 Magick++/lib/Image.cpp FunctionImageChannel(image(),channel_,function_,number_parameters_, image 3974 Magick++/lib/Image.cpp cropImage=CropImage(image(),&geometry,exceptionInfo); image 3976 Magick++/lib/Image.cpp (void) CompositeImage(image(),image()->matte != MagickFalse ? image 3989 Magick++/lib/Image.cpp RaiseImage(image(),&raiseInfo,raisedFlag_ == true ? image 3998 Magick++/lib/Image.cpp (void) RandomThresholdImage(image(),static_cast<std::string>( image 4008 Magick++/lib/Image.cpp (void) RandomThresholdImageChannel(image(),channel_,static_cast<std::string>( image 4097 Magick++/lib/Image.cpp quantum_info=AcquireQuantumInfo(imageInfo(),image()); image 4098 Magick++/lib/Image.cpp ImportQuantumPixels(image(),(MagickCore::CacheView *) NULL,quantum_info, image 4120 Magick++/lib/Image.cpp image()->page.width = 0; image 4121 Magick++/lib/Image.cpp image()->page.height = 0; image 4122 Magick++/lib/Image.cpp image()->page.x = 0; image 4123 Magick++/lib/Image.cpp image()->page.y = 0; image 4143 Magick++/lib/Image.cpp newImage=ResampleImage(constImage(),width,height,image()->filter,1.0, image 4166 Magick++/lib/Image.cpp newImage=ResizeImage(constImage(),width,height,image()->filter,1.0, image 4287 Magick++/lib/Image.cpp SegmentImage(image(),options()->quantizeColorSpace(), image 4291 Magick++/lib/Image.cpp SyncImage(image()); image 4324 Magick++/lib/Image.cpp *image; image 4327 Magick++/lib/Image.cpp image=SeparateImage(constImage(),channel_,exceptionInfo); image 4329 Magick++/lib/Image.cpp if (image == (MagickCore::Image *) NULL) image 4332 Magick++/lib/Image.cpp return(Magick::Image(image)); image 4354 Magick++/lib/Image.cpp result=QueueAuthenticPixels(image(),x_, y_,columns_,rows_,exceptionInfo); image 4437 Magick++/lib/Image.cpp (void) SigmoidalContrastImageChannel(image(),DefaultChannels, image 4474 Magick++/lib/Image.cpp SolarizeImage(image(),factor_); image 4517 Magick++/lib/Image.cpp image()->gravity=gravity_; image 4601 Magick++/lib/Image.cpp StripImage(image()); image 4620 Magick++/lib/Image.cpp (void) SetImageArtifact(image(),"compare:similarity-threshold",artifact); image 4623 Magick++/lib/Image.cpp newImage=SimilarityMetricImage(image(),reference_.constImage(),metric_, image 4648 Magick++/lib/Image.cpp (void) SyncAuthenticPixels(image(),exceptionInfo); image 4655 Magick++/lib/Image.cpp TextureImage(image(),texture_.constImage()); image 4662 Magick++/lib/Image.cpp BilevelImage(image(),threshold_); image 4703 Magick++/lib/Image.cpp TransformImage(&(image()),0,std::string(imageGeometry_).c_str()); image 4711 Magick++/lib/Image.cpp TransformImage(&(image()),std::string(cropGeometry_).c_str(), image 4748 Magick++/lib/Image.cpp &image()->exception); image 4750 Magick++/lib/Image.cpp TransparentPaintImage(image(),&target,TransparentOpacity,MagickFalse); image 4771 Magick++/lib/Image.cpp (void) QueryMagickColor(colorLow.c_str(),&targetLow,&image()->exception); image 4772 Magick++/lib/Image.cpp (void) QueryMagickColor(colorHigh.c_str(),&targetHigh,&image()->exception); image 4774 Magick++/lib/Image.cpp TransparentPaintImageChroma(image(),&targetLow,&targetHigh, image 4815 Magick++/lib/Image.cpp *image; image 4818 Magick++/lib/Image.cpp image=UniqueImageColors(constImage(),exceptionInfo); image 4820 Magick++/lib/Image.cpp if (image == (MagickCore::Image *) NULL) image 4823 Magick++/lib/Image.cpp return(Magick::Image(image)); image 4879 Magick++/lib/Image.cpp WhiteThresholdImage(image(),threshold_.c_str()); image 4888 Magick++/lib/Image.cpp WhiteThresholdImageChannel(image(),channel_,threshold_.c_str(), image 4903 Magick++/lib/Image.cpp data=ImagesToBlob(constImageInfo(),image(),&length,exceptionInfo); image 4921 Magick++/lib/Image.cpp data=ImagesToBlob(constImageInfo(),image(),&length,exceptionInfo); image 4941 Magick++/lib/Image.cpp data=ImagesToBlob(constImageInfo(),image(),&length,exceptionInfo); image 4962 Magick++/lib/Image.cpp WriteImage(constImageInfo(),image()); image 4972 Magick++/lib/Image.cpp quantum_info=AcquireQuantumInfo(imageInfo(),image()); image 4997 Magick++/lib/Image.cpp newImage=ResizeImage(constImage(),width,height,image()->filter,image()->blur, image 5010 Magick++/lib/Image.cpp return(_imgRef->image()); image 5015 Magick++/lib/Image.cpp return(_imgRef->image()); image 5065 Magick++/lib/Image.cpp *image; image 5068 Magick++/lib/Image.cpp image=replacement_; image 5070 Magick++/lib/Image.cpp image=AcquireImage(constImageInfo()); image 5078 Magick++/lib/Image.cpp _imgRef->image(image); image 5084 Magick++/lib/Image.cpp _imgRef=new ImageRef(image,constOptions()); image 5098 Magick++/lib/Image.cpp void Magick::Image::read(MagickCore::Image *image, image 5102 Magick++/lib/Image.cpp if (image != (MagickCore::Image *) NULL && image 5103 Magick++/lib/Image.cpp image->next != (MagickCore::Image *) NULL) image 5109 Magick++/lib/Image.cpp next=image->next; image 5110 Magick++/lib/Image.cpp image->next=(MagickCore::Image *) NULL; image 5114 Magick++/lib/Image.cpp replaceImage(image); image 5116 Magick++/lib/Image.cpp image == (MagickCore::Image *) NULL) image 5122 Magick++/lib/Image.cpp if (image != (MagickCore::Image *) NULL) image 5123 Magick++/lib/Image.cpp throwException(&image->exception,quiet()); image 5158 Magick++/lib/Image.cpp GetMagickPixelPacket(image(),&target); image 5163 Magick++/lib/Image.cpp (void) FloodfillPaintImage(image(),DefaultChannels,options()->drawInfo(), image 739 Magick++/lib/Magick++/Drawable.h void image( const Image &image_ ); image 740 Magick++/lib/Magick++/Drawable.h Magick::Image image( void ) const; image 1571 Magick++/lib/Magick++/Image.h MagickCore::Image *&image(void); image 1597 Magick++/lib/Magick++/Image.h void read(MagickCore::Image *image, image 48 Magick++/lib/Magick++/ImageRef.h void image(MagickCore::Image *image_); image 49 Magick++/lib/Magick++/ImageRef.h MagickCore::Image *&image(void); image 1942 Magick++/lib/Magick++/STL.h MagickCore::Image* current = iter->image(); image 1963 Magick++/lib/Magick++/STL.h MagickCore::Image* image = iter->image(); image 1964 Magick++/lib/Magick++/STL.h image->previous = 0; image 1965 Magick++/lib/Magick++/STL.h image->next = 0; image 1975 Magick++/lib/Magick++/STL.h MagickCore::Image *image = images_; image 1976 Magick++/lib/Magick++/STL.h if ( image ) image 1980 Magick++/lib/Magick++/STL.h MagickCore::Image* next_image = image->next; image 1981 Magick++/lib/Magick++/STL.h image->next = 0; image 1986 Magick++/lib/Magick++/STL.h sequence_->push_back( Magick::Image( image ) ); image 1988 Magick++/lib/Magick++/STL.h image=next_image; image 1989 Magick++/lib/Magick++/STL.h } while( image ); image 2006 Magick++/lib/Magick++/STL.h MagickCore::AnimateImages( first_->imageInfo(), first_->image() ); image 2007 Magick++/lib/Magick++/STL.h MagickCore::GetImageException( first_->image(), exceptionInfo ); image 2021 Magick++/lib/Magick++/STL.h MagickCore::Image* image = MagickCore::AppendImages( first_->image(), image 2025 Magick++/lib/Magick++/STL.h appendedImage_->replaceImage( image ); image 2073 Magick++/lib/Magick++/STL.h MagickCore::Image* image = MagickCore::EvaluateImages( first_->image(), image 2076 Magick++/lib/Magick++/STL.h averagedImage_->replaceImage( image ); image 2093 Magick++/lib/Magick++/STL.h MagickCore::Image* images = MagickCore::CoalesceImages( first_->image(), image 2224 Magick++/lib/Magick++/STL.h void colorHistogram( Container *histogram_, const Image image) image 2231 Magick++/lib/Magick++/STL.h MagickCore::GetImageHistogram( image.constImage(), &colors, exceptionInfo ); image 2232 Magick++/lib/Magick++/STL.h ThrowPPException(image.quiet()); image 2260 Magick++/lib/Magick++/STL.h MagickCore::Image* image = CombineImages( first_->image(), channel_, exceptionInfo ); image 2262 Magick++/lib/Magick++/STL.h combinedImage_->replaceImage( image ); image 2288 Magick++/lib/Magick++/STL.h MagickCore::Image* images = DeconstructImages( first_->image(), image 2311 Magick++/lib/Magick++/STL.h MagickCore::DisplayImages( first_->imageInfo(), first_->image() ); image 2312 Magick++/lib/Magick++/STL.h MagickCore::GetImageException( first_->image(), exceptionInfo ); image 2328 Magick++/lib/Magick++/STL.h MagickCore::Image* image = EvaluateImages( first_->image(), operator_, exceptionInfo ); image 2330 Magick++/lib/Magick++/STL.h evaluatedImage_->replaceImage( image ); image 2342 Magick++/lib/Magick++/STL.h MagickCore::Image* image = MagickCore::MergeImageLayers( first_->image(), image 2345 Magick++/lib/Magick++/STL.h flattendImage_->replaceImage( image ); image 2395 Magick++/lib/Magick++/STL.h *image; image 2399 Magick++/lib/Magick++/STL.h image=FxImageChannel(first_->constImage(),DefaultChannels, image 2402 Magick++/lib/Magick++/STL.h fxImage_->replaceImage(image); image 2422 Magick++/lib/Magick++/STL.h MagickCore::RemapImages( &quantizeInfo, first_->image(), image 2424 Magick++/lib/Magick++/STL.h MagickCore::GetImageException( first_->image(), exceptionInfo ); image 2431 Magick++/lib/Magick++/STL.h MagickCore::Image* image = first_->image(); image 2432 Magick++/lib/Magick++/STL.h while( image ) image 2437 Magick++/lib/Magick++/STL.h MagickCore::GetImageQuantizeError( image ); image 2438 Magick++/lib/Magick++/STL.h if ( image->exception.severity > MagickCore::UndefinedException ) image 2446 Magick++/lib/Magick++/STL.h MagickCore::SyncImage( image ); image 2447 Magick++/lib/Magick++/STL.h if ( image->exception.severity > MagickCore::UndefinedException ) image 2454 Magick++/lib/Magick++/STL.h image=image->next; image 2470 Magick++/lib/Magick++/STL.h MagickCore::Image* image = MergeImageLayers( first_->image(), method_, exceptionInfo ); image 2472 Magick++/lib/Magick++/STL.h mergedImage_->replaceImage( image ); image 2502 Magick++/lib/Magick++/STL.h images=MagickCore::MontageImages(first_->image(),montageInfo, image 2536 Magick++/lib/Magick++/STL.h MagickCore::Image* images = MagickCore::MorphImages( first_->image(), frames_, image 2558 Magick++/lib/Magick++/STL.h MagickCore::Image* image = MagickCore::MergeImageLayers( first_->image(), image 2561 Magick++/lib/Magick++/STL.h mosaicImage_->replaceImage( image ); image 2576 Magick++/lib/Magick++/STL.h MagickCore::Image* images = OptimizeImageLayers( first_->image(), exceptionInfo ); image 2597 Magick++/lib/Magick++/STL.h MagickCore::Image* images = OptimizePlusImageLayers( first_->image(), exceptionInfo ); image 2617 Magick++/lib/Magick++/STL.h OptimizeImageTransparency(first_->image(),exceptionInfo); image 2652 Magick++/lib/Magick++/STL.h first_->image() ); image 2653 Magick++/lib/Magick++/STL.h MagickCore::GetImageException( first_->image(), exceptionInfo ); image 2660 Magick++/lib/Magick++/STL.h MagickCore::Image* image = first_->image(); image 2661 Magick++/lib/Magick++/STL.h while( image != 0 ) image 2665 Magick++/lib/Magick++/STL.h MagickCore::GetImageQuantizeError( image ); image 2668 Magick++/lib/Magick++/STL.h MagickCore::SyncImage( image ); image 2671 Magick++/lib/Magick++/STL.h image=image->next; image 2772 Magick++/lib/Magick++/STL.h first_->image(), image 2799 Magick++/lib/Magick++/STL.h first_->image(), image 26 Magick++/lib/Pixels.cpp _view=AcquireVirtualCacheView(image_.image(),exceptionInfo); image 30 Magick++/tests/attributes.cpp Image image( geometry, canvasColor); image 37 Magick++/tests/attributes.cpp if ( image.antiAlias() != true ) image 44 Magick++/tests/attributes.cpp image.antiAlias( false ); image 45 Magick++/tests/attributes.cpp if ( image.antiAlias() != false ) image 52 Magick++/tests/attributes.cpp image.antiAlias( true ); image 53 Magick++/tests/attributes.cpp if ( image.antiAlias() != true ) image 64 Magick++/tests/attributes.cpp if ( image.adjoin() != true ) image 72 Magick++/tests/attributes.cpp image.adjoin( false ); image 73 Magick++/tests/attributes.cpp if ( image.adjoin() != false ) image 80 Magick++/tests/attributes.cpp image.adjoin( true ); image 81 Magick++/tests/attributes.cpp if ( image.adjoin() != true ) image 92 Magick++/tests/attributes.cpp if ( image.animationDelay() != 0 ) image 96 Magick++/tests/attributes.cpp << image.animationDelay() image 101 Magick++/tests/attributes.cpp image.animationDelay( 0 ); image 102 Magick++/tests/attributes.cpp if ( image.animationDelay() != 0 ) image 110 Magick++/tests/attributes.cpp image.animationDelay( 100 ); image 111 Magick++/tests/attributes.cpp if ( image.animationDelay() != 100 ) image 117 Magick++/tests/attributes.cpp image.animationDelay(0); image 124 Magick++/tests/attributes.cpp if ( image.animationIterations() != 0 ) image 129 Magick++/tests/attributes.cpp << image.animationIterations() image 134 Magick++/tests/attributes.cpp image.animationIterations( 0 ); image 135 Magick++/tests/attributes.cpp if ( image.animationIterations() != 0 ) image 143 Magick++/tests/attributes.cpp image.animationIterations( 100 ); image 144 Magick++/tests/attributes.cpp if ( image.animationIterations() != 100 ) image 150 Magick++/tests/attributes.cpp image.animationIterations( 0 ); image 157 Magick++/tests/attributes.cpp if ( image.backgroundColor() != ColorRGB("white") ) image 161 Magick++/tests/attributes.cpp << string(image.backgroundColor()) image 166 Magick++/tests/attributes.cpp image.backgroundColor("blue"); image 167 Magick++/tests/attributes.cpp if ( !image.backgroundColor().isValid() ) image 171 Magick++/tests/attributes.cpp << string(image.backgroundColor()) image 175 Magick++/tests/attributes.cpp if ( string(image.backgroundColor()) != "#0000FF" && image 176 Magick++/tests/attributes.cpp string(image.backgroundColor()) != "#00000000FFFF" && image 177 Magick++/tests/attributes.cpp string(image.backgroundColor()) != "#0000000000000000FFFFFFFF" ) image 181 Magick++/tests/attributes.cpp << string(image.backgroundColor()) << ") is incorrect" image 186 Magick++/tests/attributes.cpp image.backgroundColor("#00AAFF"); image 187 Magick++/tests/attributes.cpp if ( !image.backgroundColor().isValid() ) image 191 Magick++/tests/attributes.cpp << string(image.backgroundColor()) image 195 Magick++/tests/attributes.cpp if ( string(image.backgroundColor()) != "#00AAFF" && image 196 Magick++/tests/attributes.cpp string(image.backgroundColor()) != "#0000AAAAFFFF" && image 197 Magick++/tests/attributes.cpp string(image.backgroundColor()) != "#00000000AAAAAAAAFFFFFFFF" ) image 202 Magick++/tests/attributes.cpp << string(image.backgroundColor()) image 212 Magick++/tests/attributes.cpp if ( image.backgroundTexture() != "" ) image 216 Magick++/tests/attributes.cpp << image.backgroundTexture() image 221 Magick++/tests/attributes.cpp image.backgroundTexture("afile.jpg"); image 222 Magick++/tests/attributes.cpp if ( image.backgroundTexture() != "afile.jpg" ) image 226 Magick++/tests/attributes.cpp << image.backgroundTexture() image 231 Magick++/tests/attributes.cpp image.backgroundTexture(""); image 232 Magick++/tests/attributes.cpp if ( image.backgroundTexture() != "" ) image 237 Magick++/tests/attributes.cpp << image.backgroundTexture() image 244 Magick++/tests/attributes.cpp if ( image.baseColumns() != columns ) image 249 Magick++/tests/attributes.cpp << image.baseColumns() image 261 Magick++/tests/attributes.cpp if ( image.baseFilename() != "xc:#FF0000" && image 262 Magick++/tests/attributes.cpp image.baseFilename() != "xc:#FFFF00000000" && image 263 Magick++/tests/attributes.cpp image.baseFilename() != "xc:#FFFFFFFF0000000000000000") image 268 Magick++/tests/attributes.cpp << image.baseFilename() image 276 Magick++/tests/attributes.cpp if ( image.baseRows() != rows ) image 281 Magick++/tests/attributes.cpp << image.baseRows() image 291 Magick++/tests/attributes.cpp if ( image.borderColor() != ColorRGB("#dfdfdf") ) image 296 Magick++/tests/attributes.cpp << string(image.borderColor()) image 300 Magick++/tests/attributes.cpp image.borderColor("#FF0000"); image 301 Magick++/tests/attributes.cpp if ( image.borderColor() != Color("#FF0000") ) image 306 Magick++/tests/attributes.cpp << string(image.borderColor()) image 310 Magick++/tests/attributes.cpp image.borderColor("black"); image 311 Magick++/tests/attributes.cpp if ( image.borderColor() != Color("#000000") ) image 316 Magick++/tests/attributes.cpp << string(image.borderColor()) image 324 Magick++/tests/attributes.cpp image.boxColor("#FF0000"); image 325 Magick++/tests/attributes.cpp if ( image.boxColor() != Color("#FF0000") ) image 330 Magick++/tests/attributes.cpp << string(image.boxColor()) image 335 Magick++/tests/attributes.cpp image.boxColor("black"); image 336 Magick++/tests/attributes.cpp if ( image.boxColor() != Color("#000000") ) image 341 Magick++/tests/attributes.cpp << string(image.boxColor()) image 352 Magick++/tests/attributes.cpp image.chromaBluePrimary( &x, &y ); image 362 Magick++/tests/attributes.cpp image.chromaBluePrimary( 50, 100 ); image 363 Magick++/tests/attributes.cpp image.chromaBluePrimary( &x, &y ); image 378 Magick++/tests/attributes.cpp image.chromaGreenPrimary( &x, &y ); image 387 Magick++/tests/attributes.cpp image.chromaGreenPrimary( 50, 100 ); image 388 Magick++/tests/attributes.cpp image.chromaGreenPrimary( &x, &y ); image 403 Magick++/tests/attributes.cpp image.chromaRedPrimary( &x, &y ); image 412 Magick++/tests/attributes.cpp image.chromaRedPrimary( 50, 100 ); image 413 Magick++/tests/attributes.cpp image.chromaRedPrimary( &x, &y ); image 428 Magick++/tests/attributes.cpp image.chromaWhitePoint( &x, &y ); image 437 Magick++/tests/attributes.cpp image.chromaWhitePoint( 50, 100 ); image 438 Magick++/tests/attributes.cpp image.chromaWhitePoint( &x, &y ); image 450 Magick++/tests/attributes.cpp if ( image.classType() != DirectClass ) image 461 Magick++/tests/attributes.cpp if ( image.colorFuzz() != 0 ) image 468 Magick++/tests/attributes.cpp image.colorFuzz( 2 ); image 469 Magick++/tests/attributes.cpp if ( image.colorFuzz() != 2 ) image 474 Magick++/tests/attributes.cpp image.colorFuzz( 0 ); image 479 Magick++/tests/attributes.cpp if ( image.columns() != columns ) image 490 Magick++/tests/attributes.cpp if ( image.comment().length() != 0 ) image 500 Magick++/tests/attributes.cpp image.comment( comment ); image 501 Magick++/tests/attributes.cpp if ( image.comment() != comment ) image 509 Magick++/tests/attributes.cpp image.comment( string() ); image 510 Magick++/tests/attributes.cpp if ( image.comment().length() != 0 ) image 520 Magick++/tests/attributes.cpp if ( image.compressType() != UndefinedCompression ) image 528 Magick++/tests/attributes.cpp image.compressType(RLECompression); image 529 Magick++/tests/attributes.cpp if ( image.compressType() != RLECompression ) image 534 Magick++/tests/attributes.cpp image.compressType(UndefinedCompression); image 541 Magick++/tests/attributes.cpp if ( image.density() != Geometry(72,72) ) image 550 Magick++/tests/attributes.cpp image.density(density); image 551 Magick++/tests/attributes.cpp if ( image.density() != density ) image 558 Magick++/tests/attributes.cpp if ( image.xResolution() != 150 || image 559 Magick++/tests/attributes.cpp image.yResolution() != 75 ) image 565 Magick++/tests/attributes.cpp image.density("72x72"); image 572 Magick++/tests/attributes.cpp if (image.defineSet("foo","bar")) image 580 Magick++/tests/attributes.cpp image.defineSet("foo","bar",true); image 581 Magick++/tests/attributes.cpp if (!image.defineSet("foo","bar")) image 589 Magick++/tests/attributes.cpp image.defineSet("foo","bar",false); image 590 Magick++/tests/attributes.cpp if (image.defineSet("foo","bar")) image 598 Magick++/tests/attributes.cpp image.defineValue("foo","bar","value"); image 599 Magick++/tests/attributes.cpp std::string value = image.defineValue("foo","bar"); image 600 Magick++/tests/attributes.cpp if (image.defineValue("foo","bar") != "value") image 609 Magick++/tests/attributes.cpp image.defineSet("foo","bar",false); image 610 Magick++/tests/attributes.cpp if (image.defineSet("foo","bar")) image 621 Magick++/tests/attributes.cpp if ( image.depth() != MAGICKCORE_QUANTUM_DEPTH ) image 626 Magick++/tests/attributes.cpp << image.depth() image 661 Magick++/tests/attributes.cpp if ( image.fileName() != string("xc:") + string(canvasColor) ) image 667 Magick++/tests/attributes.cpp << image.fileName() image 674 Magick++/tests/attributes.cpp image.fileName("filename.jpg"); image 675 Magick++/tests/attributes.cpp if ( image.fileName() != "filename.jpg" ) image 681 Magick++/tests/attributes.cpp << image.fileName() image 684 Magick++/tests/attributes.cpp image.fileName(canvasColor); image 690 Magick++/tests/attributes.cpp if ( image.fileSize() != 0 ) image 694 Magick++/tests/attributes.cpp << static_cast<ssize_t>(image.fileSize()) image 702 Magick++/tests/attributes.cpp if ( image.filterType() != UndefinedFilter ) image 707 Magick++/tests/attributes.cpp << (int)image.filterType() image 712 Magick++/tests/attributes.cpp image.filterType( TriangleFilter ); image 713 Magick++/tests/attributes.cpp if ( image.filterType() != TriangleFilter ) image 725 Magick++/tests/attributes.cpp image.font("helvetica"); image 726 Magick++/tests/attributes.cpp if ( image.font() != "helvetica" ) image 732 Magick++/tests/attributes.cpp image.font( string() ); image 733 Magick++/tests/attributes.cpp if ( image.font().length() != 0 ) image 743 Magick++/tests/attributes.cpp if ( image.fontPointsize() != 0 ) image 748 Magick++/tests/attributes.cpp << image.fontPointsize() image 754 Magick++/tests/attributes.cpp image.fontPointsize(10); image 755 Magick++/tests/attributes.cpp if ( image.fontPointsize() != 10 ) image 761 Magick++/tests/attributes.cpp image.fontPointsize(12); image 766 Magick++/tests/attributes.cpp if ( image.format() != "Constant image uniform color" ) image 770 Magick++/tests/attributes.cpp << ", format (" << image.format() << ") is not expected value" << endl; image 776 Magick++/tests/attributes.cpp if ( image.gamma() == 1.0f) image 790 Magick++/tests/attributes.cpp image.geometry(); image 808 Magick++/tests/attributes.cpp if ( image.gifDisposeMethod() != 0 ) image 816 Magick++/tests/attributes.cpp image.gifDisposeMethod(4); image 817 Magick++/tests/attributes.cpp if ( image.gifDisposeMethod() != 4 ) image 823 Magick++/tests/attributes.cpp image.gifDisposeMethod(0); image 829 Magick++/tests/attributes.cpp if ( image.interlaceType() != NoInterlace ) image 837 Magick++/tests/attributes.cpp image.interlaceType( PlaneInterlace ); image 838 Magick++/tests/attributes.cpp if ( image.interlaceType() != PlaneInterlace ) image 843 Magick++/tests/attributes.cpp image.interlaceType(NoInterlace); image 849 Magick++/tests/attributes.cpp if ( image.label().length() != 0 ) image 857 Magick++/tests/attributes.cpp image.label("How now brown cow?"); image 858 Magick++/tests/attributes.cpp if ( image.label() != "How now brown cow?" ) image 864 Magick++/tests/attributes.cpp image.label( string() ); image 865 Magick++/tests/attributes.cpp if ( image.label().length() != 0 ) image 875 Magick++/tests/attributes.cpp if ( image.lineWidth() != 1 ) image 883 Magick++/tests/attributes.cpp image.lineWidth(2); image 884 Magick++/tests/attributes.cpp if ( image.lineWidth() != 2 ) image 889 Magick++/tests/attributes.cpp image.lineWidth(1); image 895 Magick++/tests/attributes.cpp if ( image.magick() != "XC" ) image 903 Magick++/tests/attributes.cpp image.magick("GIF"); image 904 Magick++/tests/attributes.cpp if ( image.magick() != "GIF" ) image 910 Magick++/tests/attributes.cpp image.magick("XC"); image 916 Magick++/tests/attributes.cpp if ( image.matte() != false ) image 924 Magick++/tests/attributes.cpp image.matte(true); image 925 Magick++/tests/attributes.cpp if ( image.matte() != true ) image 930 Magick++/tests/attributes.cpp image.matte(false); image 936 Magick++/tests/attributes.cpp if ( image.matteColor() != Color("#BDBDBD") ) image 944 Magick++/tests/attributes.cpp image.matteColor(ColorRGB(0.5,0.5,1)); image 945 Magick++/tests/attributes.cpp if ( image.matteColor() != ColorRGB(0.5,0.5,1) ) image 952 Magick++/tests/attributes.cpp image.matteColor( Color() ); image 954 Magick++/tests/attributes.cpp image.matteColor("#BDBDBD"); image 959 Magick++/tests/attributes.cpp if ( image.meanErrorPerPixel() != 0 ) image 973 Magick++/tests/attributes.cpp image.montageGeometry(); image 991 Magick++/tests/attributes.cpp if ( image.monochrome() != false ) image 999 Magick++/tests/attributes.cpp image.monochrome(true); image 1000 Magick++/tests/attributes.cpp if ( image.monochrome() != true ) image 1005 Magick++/tests/attributes.cpp image.monochrome(false); image 1010 Magick++/tests/attributes.cpp if ( image.normalizedMaxError() != 0 ) image 1020 Magick++/tests/attributes.cpp if ( image.normalizedMeanError() != 0 ) image 1031 Magick++/tests/attributes.cpp image.penColor(ColorRGB(0.5,0.5,1)); image 1032 Magick++/tests/attributes.cpp if ( image.penColor() != ColorRGB(0.5,0.5,1) ) image 1036 Magick++/tests/attributes.cpp << string(image.penColor()) image 1044 Magick++/tests/attributes.cpp image.strokeColor(ColorRGB(0.5,0.5,1)); image 1045 Magick++/tests/attributes.cpp if ( image.strokeColor() != ColorRGB(0.5,0.5,1) ) image 1049 Magick++/tests/attributes.cpp << string(image.strokeColor()) image 1058 Magick++/tests/attributes.cpp image.fillColor(ColorRGB(0.5,0.5,1)); image 1059 Magick++/tests/attributes.cpp if ( image.fillColor() != ColorRGB(0.5,0.5,1) ) image 1063 Magick++/tests/attributes.cpp << string(image.fillColor()) image 1071 Magick++/tests/attributes.cpp if ( image.pixelColor(40,60) != canvasColor ) image 1075 Magick++/tests/attributes.cpp << string(image.pixelColor(40,60)) image 1082 Magick++/tests/attributes.cpp image.pixelColor(40,60, ColorRGB(0.5,1,1)); image 1083 Magick++/tests/attributes.cpp if ( image.pixelColor(40,60) != ColorRGB(0.5,1,1) ) image 1093 Magick++/tests/attributes.cpp if ( image.page() != Geometry(640,480,0,0) ) image 1097 Magick++/tests/attributes.cpp << "(" << string(image.page()) << ")" image 1102 Magick++/tests/attributes.cpp image.page("letter+43+43>"); image 1103 Magick++/tests/attributes.cpp if ( image.page() != "612x792+43+43" ) image 1107 Magick++/tests/attributes.cpp << ", page set/get failed (" << string(image.page()) << ")" << endl; image 1114 Magick++/tests/attributes.cpp if ( image.quality() != 0 ) image 1122 Magick++/tests/attributes.cpp image.quality(65); image 1123 Magick++/tests/attributes.cpp if ( image.quality() != 65 ) image 1128 Magick++/tests/attributes.cpp image.quality(0); image 1134 Magick++/tests/attributes.cpp if ( image.quantizeColors() != 256 ) image 1142 Magick++/tests/attributes.cpp image.quantizeColors(200); image 1143 Magick++/tests/attributes.cpp if ( image.quantizeColors() != 200 ) image 1148 Magick++/tests/attributes.cpp image.quantizeColors(0); image 1154 Magick++/tests/attributes.cpp if ( image.quantizeColorSpace() != UndefinedColorspace ) image 1162 Magick++/tests/attributes.cpp image.quantizeColorSpace(YIQColorspace); image 1163 Magick++/tests/attributes.cpp if ( image.quantizeColorSpace() != YIQColorspace ) image 1169 Magick++/tests/attributes.cpp image.quantizeColorSpace(RGBColorspace); image 1175 Magick++/tests/attributes.cpp if ( image.quantizeDither() == false ) image 1183 Magick++/tests/attributes.cpp image.quantizeDither(false); image 1184 Magick++/tests/attributes.cpp if ( image.quantizeDither() != false ) image 1190 Magick++/tests/attributes.cpp image.quantizeDither(true); image 1195 Magick++/tests/attributes.cpp if ( image.quantizeTreeDepth() != 0 ) image 1199 Magick++/tests/attributes.cpp << image.quantizeTreeDepth() image 1203 Magick++/tests/attributes.cpp image.quantizeTreeDepth(7); image 1204 Magick++/tests/attributes.cpp if ( image.quantizeTreeDepth() != 7 ) image 1210 Magick++/tests/attributes.cpp image.quantizeTreeDepth(8); image 1215 Magick++/tests/attributes.cpp if ( image.renderingIntent() == UndefinedIntent ) image 1223 Magick++/tests/attributes.cpp image.renderingIntent(PerceptualIntent); image 1224 Magick++/tests/attributes.cpp if ( image.renderingIntent() != PerceptualIntent ) image 1230 Magick++/tests/attributes.cpp image.renderingIntent(UndefinedIntent); image 1235 Magick++/tests/attributes.cpp if ( image.resolutionUnits() != UndefinedResolution ) image 1243 Magick++/tests/attributes.cpp image.resolutionUnits(PixelsPerCentimeterResolution); image 1244 Magick++/tests/attributes.cpp if ( image.resolutionUnits() != PixelsPerCentimeterResolution ) image 1250 Magick++/tests/attributes.cpp image.resolutionUnits(UndefinedResolution); image 1255 Magick++/tests/attributes.cpp if ( image.rows() != rows ) image 1265 Magick++/tests/attributes.cpp if ( image.scene() != 0 ) image 1272 Magick++/tests/attributes.cpp image.scene(5); image 1273 Magick++/tests/attributes.cpp if ( image.scene() != 5 ) image 1279 Magick++/tests/attributes.cpp image.scene(0); image 1285 Magick++/tests/attributes.cpp if ( image.signature() != "c7ac1ef7b47015c6ea6c1fb1d736eba4f8c3fe81dbfe511fbce104cedfce7588" && image 1286 Magick++/tests/attributes.cpp image.signature() != "d9464cd4d0c02f25166909726d6548db51d25fa91bd3cff642813f8a464bcfc7" && image 1287 Magick++/tests/attributes.cpp image.signature() != "e073572dfa4ad28f2f8dd3c6d37dfb14585e60c94cfae910149e97eff2fd895f" && image 1288 Magick++/tests/attributes.cpp image.signature() != "ed06047a79b5b298515538db3fb8186d79e94758ed07a9b411637ba3a79fb4a0" && image 1289 Magick++/tests/attributes.cpp image.signature() != "e12b9781b3a5025628567a4eabf970d16d42560e1b86189caceb03ec358dd8e6" && image 1290 Magick++/tests/attributes.cpp image.signature() != "ea9aaf29023c4c1c801e05483423a4a4266918e3a464b6a5155f11a0c581dedb" && image 1291 Magick++/tests/attributes.cpp image.signature() != "6a989010d8ea958934ff8be44a42e0848f7c5e7e46cd53e04c4a90452c15d34c" && image 1292 Magick++/tests/attributes.cpp image.signature() != "7e5977b8bce5c40b858c84344803dae61feae0ef7a21739b2d068c9cdb72f95b" && image 1293 Magick++/tests/attributes.cpp image.signature() != "c8aed4b60d666e449f5c29d0fb32f089e3257422a1f11a4712451c5340362df0" && image 1294 Magick++/tests/attributes.cpp image.signature() != "bc272b75794971f4a3ade1bf524c0aee375765e9fb15d65278a8b9452b551ea6" && image 1295 Magick++/tests/attributes.cpp image.signature() != "482690062c78a9e78c9f5f3db514197a067028e9f1bec577b787fb9e9b044567" && image 1296 Magick++/tests/attributes.cpp image.signature() != "8610fd1c5ef905c05bf75438aaab8729d3e1277b8ec1e86927777bd3382702e5" && image 1297 Magick++/tests/attributes.cpp image.signature() != "b891ddb1d32cd45c6329180e5bd733eebb8dd06c401a9c721841ec43e4a662f8") image 1301 Magick++/tests/attributes.cpp << image.signature() image 1303 Magick++/tests/attributes.cpp image.display(); image 1309 Magick++/tests/attributes.cpp if ( image.size() != geometry ) image 1313 Magick++/tests/attributes.cpp << string(image.size()) image 1320 Magick++/tests/attributes.cpp image.size("800x600"); image 1321 Magick++/tests/attributes.cpp if ( image.size() != Geometry("800x600") ) image 1326 Magick++/tests/attributes.cpp image.size( geometry ); image 1331 Magick++/tests/attributes.cpp if ( image.subImage() != 0 ) image 1338 Magick++/tests/attributes.cpp image.subImage(5); image 1339 Magick++/tests/attributes.cpp if ( image.subImage() != 5 ) image 1345 Magick++/tests/attributes.cpp image.subImage(0); image 1350 Magick++/tests/attributes.cpp if ( image.subRange() != 0 ) image 1357 Magick++/tests/attributes.cpp image.subRange(5); image 1358 Magick++/tests/attributes.cpp if ( image.subRange() != 5 ) image 1364 Magick++/tests/attributes.cpp image.subRange(0); image 1369 Magick++/tests/attributes.cpp if ( image.tileName().length() != 0 ) image 1376 Magick++/tests/attributes.cpp image.tileName("How now brown cow?"); image 1377 Magick++/tests/attributes.cpp if ( image.tileName() != "How now brown cow?" ) image 1384 Magick++/tests/attributes.cpp image.tileName( string() ); image 1385 Magick++/tests/attributes.cpp if ( image.tileName().length() != 0 ) image 1395 Magick++/tests/attributes.cpp if ( image.totalColors() != 2 ) image 1398 Magick++/tests/attributes.cpp cout << "Line: " << __LINE__ << ", totalColors is " << image.totalColors() image 1405 Magick++/tests/attributes.cpp image.type(PaletteType); image 1406 Magick++/tests/attributes.cpp if ( image.type() != PaletteType ) image 1411 Magick++/tests/attributes.cpp << (int) image.type() << endl; image 1418 Magick++/tests/attributes.cpp if ( image.verbose() != false ) image 1428 Magick++/tests/attributes.cpp if ( image.view().length() != 0 ) image 1435 Magick++/tests/attributes.cpp image.view("How now brown cow?"); image 1436 Magick++/tests/attributes.cpp if ( image.view() != "How now brown cow?" ) image 1443 Magick++/tests/attributes.cpp image.view( string() ); image 1444 Magick++/tests/attributes.cpp if ( image.view().length() != 0 ) image 1454 Magick++/tests/attributes.cpp if ( image.x11Display().length() != 0 ) image 1461 Magick++/tests/attributes.cpp image.x11Display(":0.0"); image 1462 Magick++/tests/attributes.cpp if ( image.x11Display() != ":0.0" ) image 1469 Magick++/tests/attributes.cpp image.x11Display( string() ); image 1470 Magick++/tests/attributes.cpp if ( image.x11Display().length() != 0 ) image 1480 Magick++/tests/attributes.cpp if ( image.xResolution() != 72 ) image 1484 Magick++/tests/attributes.cpp << ", xResolution default (" << image.xResolution() image 1491 Magick++/tests/attributes.cpp if ( image.yResolution() != 72 ) image 1495 Magick++/tests/attributes.cpp << ", yResolution default (" << image.yResolution() image 42 Magick++/tests/colorHistogram.cpp Image image; image 43 Magick++/tests/colorHistogram.cpp image.read( srcdir + "test_image.miff" ); image 52 Magick++/tests/colorHistogram.cpp colorHistogram( &histogram, image ); image 63 Magick++/tests/colorHistogram.cpp cout << "Histogram for file \"" << image.fileName() << "\"" << endl image 60 Magick++/tests/exceptions.cpp Image image( geometry, canvasColor); image 68 Magick++/tests/exceptions.cpp image.directory(); image 74 Magick++/tests/readWriteBlob.cpp Image image(srcdir + "test_image.miff"); image 75 Magick++/tests/readWriteBlob.cpp signature = image.signature(); image 108 Magick++/tests/readWriteBlob.cpp Image image( blob ); image 109 Magick++/tests/readWriteBlob.cpp if ( image.signature() != signature ) image 114 Magick++/tests/readWriteBlob.cpp << image.signature() image 122 Magick++/tests/readWriteBlob.cpp Image image( blob, Geometry(148,99)); image 123 Magick++/tests/readWriteBlob.cpp if ( image.signature() != signature ) image 128 Magick++/tests/readWriteBlob.cpp << image.signature() image 136 Magick++/tests/readWriteBlob.cpp Image image; image 137 Magick++/tests/readWriteBlob.cpp image.read( blob ); image 138 Magick++/tests/readWriteBlob.cpp if ( image.signature() != signature ) image 143 Magick++/tests/readWriteBlob.cpp << image.signature() image 152 Magick++/tests/readWriteBlob.cpp Image image; image 153 Magick++/tests/readWriteBlob.cpp image.read( blob, Geometry(148,99) ); image 154 Magick++/tests/readWriteBlob.cpp if ( image.signature() != signature ) image 159 Magick++/tests/readWriteBlob.cpp << image.signature() image 172 Magick++/tests/readWriteBlob.cpp Image image(srcdir + "test_image.miff"); image 173 Magick++/tests/readWriteBlob.cpp image.magick("MIFF"); image 174 Magick++/tests/readWriteBlob.cpp image.write( &blob ); image 175 Magick++/tests/readWriteBlob.cpp signature = image.signature(); image 178 Magick++/tests/readWriteBlob.cpp Image image(blob); image 179 Magick++/tests/readWriteBlob.cpp if ( image.signature() != signature ) image 184 Magick++/tests/readWriteBlob.cpp << image.signature() image 187 Magick++/tests/readWriteBlob.cpp image.display(); image 206 Magick++/tests/readWriteBlob.cpp Image image(srcdir + "test_image.miff"); image 207 Magick++/tests/readWriteBlob.cpp signature = image.signature(); image 222 Magick++/tests/readWriteBlob.cpp Image image( blob ); image 223 Magick++/tests/readWriteBlob.cpp if ( image.signature() != signature ) image 228 Magick++/tests/readWriteBlob.cpp << image.signature() image 98 coders/aai.c *image; image 134 coders/aai.c image=AcquireImage(image_info); image 135 coders/aai.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 138 coders/aai.c image=DestroyImageList(image); image 144 coders/aai.c width=ReadBlobLSBLong(image); image 145 coders/aai.c height=ReadBlobLSBLong(image); image 146 coders/aai.c if (EOFBlob(image) != MagickFalse) image 155 coders/aai.c image->columns=width; image 156 coders/aai.c image->rows=height; image 157 coders/aai.c image->depth=8; image 159 coders/aai.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 161 coders/aai.c status=SetImageExtent(image,image->columns,image->rows); image 164 coders/aai.c InheritException(exception,&image->exception); image 165 coders/aai.c return(DestroyImageList(image)); image 167 coders/aai.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns, image 171 coders/aai.c length=(size_t) 4*image->columns; image 172 coders/aai.c for (y=0; y < (ssize_t) image->rows; y++) image 174 coders/aai.c count=ReadBlob(image,length,pixels); image 178 coders/aai.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 181 coders/aai.c for (x=0; x < (ssize_t) image->columns; x++) image 190 coders/aai.c image->matte=MagickTrue; image 193 coders/aai.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 195 coders/aai.c if (image->previous == (Image *) NULL) image 197 coders/aai.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 198 coders/aai.c image->rows); image 204 coders/aai.c if (EOFBlob(image) != MagickFalse) image 207 coders/aai.c image->filename); image 214 coders/aai.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 216 coders/aai.c width=ReadBlobLSBLong(image); image 217 coders/aai.c height=ReadBlobLSBLong(image); image 223 coders/aai.c AcquireNextImage(image_info,image); image 224 coders/aai.c if (GetNextImageInList(image) == (Image *) NULL) image 226 coders/aai.c image=DestroyImageList(image); image 229 coders/aai.c image=SyncNextImageInList(image); image 230 coders/aai.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 231 coders/aai.c GetBlobSize(image)); image 236 coders/aai.c (void) CloseBlob(image); image 237 coders/aai.c return(GetFirstImageInList(image)); image 324 coders/aai.c static MagickBooleanType WriteAAIImage(const ImageInfo *image_info,Image *image) image 353 coders/aai.c assert(image != (Image *) NULL); image 354 coders/aai.c assert(image->signature == MagickSignature); image 355 coders/aai.c if (image->debug != MagickFalse) image 356 coders/aai.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 357 coders/aai.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 366 coders/aai.c (void) TransformImageColorspace(image,sRGBColorspace); image 367 coders/aai.c (void) WriteBlobLSBLong(image,(unsigned int) image->columns); image 368 coders/aai.c (void) WriteBlobLSBLong(image,(unsigned int) image->rows); image 372 coders/aai.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns, image 379 coders/aai.c for (y=0; y < (ssize_t) image->rows; y++) image 381 coders/aai.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 385 coders/aai.c for (x=0; x < (ssize_t) image->columns; x++) image 390 coders/aai.c *q=ScaleQuantumToChar((Quantum) (QuantumRange-(image->matte != image 397 coders/aai.c count=WriteBlob(image,(size_t) (q-pixels),pixels); image 400 coders/aai.c if (image->previous == (Image *) NULL) image 402 coders/aai.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 403 coders/aai.c image->rows); image 409 coders/aai.c if (GetNextImageInList(image) == (Image *) NULL) image 411 coders/aai.c image=SyncNextImageInList(image); image 412 coders/aai.c status=SetImageProgress(image,SaveImagesTag,scene++, image 413 coders/aai.c GetImageListLength(image)); image 417 coders/aai.c (void) CloseBlob(image); image 105 coders/art.c *image; image 133 coders/art.c image=AcquireImage(image_info); image 134 coders/art.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 137 coders/art.c image=DestroyImageList(image); image 140 coders/art.c image->depth=1; image 141 coders/art.c image->endian=MSBEndian; image 142 coders/art.c (void) ReadBlobLSBShort(image); image 143 coders/art.c image->columns=(size_t) ReadBlobLSBShort(image); image 144 coders/art.c (void) ReadBlobLSBShort(image); image 145 coders/art.c image->rows=(size_t) ReadBlobLSBShort(image); image 146 coders/art.c if ((image->columns == 0) || (image->rows == 0)) image 151 coders/art.c if (AcquireImageColormap(image,2) == MagickFalse) image 155 coders/art.c (void) CloseBlob(image); image 156 coders/art.c return(GetFirstImageInList(image)); image 158 coders/art.c status=SetImageExtent(image,image->columns,image->rows); image 161 coders/art.c InheritException(exception,&image->exception); image 162 coders/art.c return(DestroyImageList(image)); image 167 coders/art.c SetImageColorspace(image,GRAYColorspace); image 169 coders/art.c quantum_info=AcquireQuantumInfo(image_info,image); image 172 coders/art.c length=GetQuantumExtent(image,quantum_info,quantum_type); image 173 coders/art.c for (y=0; y < (ssize_t) image->rows; y++) image 178 coders/art.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 181 coders/art.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 185 coders/art.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 187 coders/art.c (void) ReadBlobStream(image,(size_t) (-(ssize_t) length) & 0x01, image 189 coders/art.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 191 coders/art.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 192 coders/art.c image->rows); image 196 coders/art.c SetQuantumImageType(image,quantum_type); image 198 coders/art.c if (EOFBlob(image) != MagickFalse) image 200 coders/art.c image->filename); image 201 coders/art.c (void) CloseBlob(image); image 202 coders/art.c return(GetFirstImageInList(image)); image 292 coders/art.c static MagickBooleanType WriteARTImage(const ImageInfo *image_info,Image *image) image 318 coders/art.c assert(image != (Image *) NULL); image 319 coders/art.c assert(image->signature == MagickSignature); image 320 coders/art.c if (image->debug != MagickFalse) image 321 coders/art.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 322 coders/art.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 325 coders/art.c if ((image->columns > 65535UL) || (image->rows > 65535UL)) image 327 coders/art.c image->endian=MSBEndian; image 328 coders/art.c image->depth=1; image 329 coders/art.c (void) WriteBlobLSBShort(image,0); image 330 coders/art.c (void) WriteBlobLSBShort(image,(unsigned short) image->columns); image 331 coders/art.c (void) WriteBlobLSBShort(image,0); image 332 coders/art.c (void) WriteBlobLSBShort(image,(unsigned short) image->rows); image 333 coders/art.c (void) TransformImageColorspace(image,sRGBColorspace); image 334 coders/art.c length=(image->columns+7)/8; image 341 coders/art.c (void) SetImageType(image,BilevelType); image 342 coders/art.c quantum_info=AcquireQuantumInfo(image_info,image); image 343 coders/art.c for (y=0; y < (ssize_t) image->rows; y++) image 345 coders/art.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 348 coders/art.c (void) ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 349 coders/art.c GrayQuantum,pixels,&image->exception); image 350 coders/art.c count=WriteBlob(image,length,pixels); image 353 coders/art.c (void) WriteBlob(image,(size_t) (-(ssize_t) length) & 0x01,pixels); image 354 coders/art.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 355 coders/art.c image->rows); image 361 coders/art.c (void) CloseBlob(image); image 98 coders/avs.c *image; image 136 coders/avs.c image=AcquireImage(image_info); image 137 coders/avs.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 140 coders/avs.c image=DestroyImageList(image); image 146 coders/avs.c width=ReadBlobMSBLong(image); image 147 coders/avs.c height=ReadBlobMSBLong(image); image 148 coders/avs.c if (EOFBlob(image) != MagickFalse) image 160 coders/avs.c image->columns=width; image 161 coders/avs.c image->rows=height; image 162 coders/avs.c image->depth=8; image 164 coders/avs.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 166 coders/avs.c status=SetImageExtent(image,image->columns,image->rows); image 169 coders/avs.c InheritException(exception,&image->exception); image 170 coders/avs.c return(DestroyImageList(image)); image 172 coders/avs.c pixel_info=AcquireVirtualMemory(image->columns,4*sizeof(*pixels)); image 176 coders/avs.c length=(size_t) 4*image->columns; image 177 coders/avs.c for (y=0; y < (ssize_t) image->rows; y++) image 179 coders/avs.c count=ReadBlob(image,length,pixels); image 183 coders/avs.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 186 coders/avs.c for (x=0; x < (ssize_t) image->columns; x++) image 193 coders/avs.c image->matte=MagickTrue; image 196 coders/avs.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 198 coders/avs.c if (image->previous == (Image *) NULL) image 200 coders/avs.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 201 coders/avs.c image->rows); image 207 coders/avs.c if (EOFBlob(image) != MagickFalse) image 210 coders/avs.c image->filename); image 217 coders/avs.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 219 coders/avs.c width=ReadBlobMSBLong(image); image 220 coders/avs.c height=ReadBlobMSBLong(image); image 226 coders/avs.c AcquireNextImage(image_info,image); image 227 coders/avs.c if (GetNextImageInList(image) == (Image *) NULL) image 229 coders/avs.c image=DestroyImageList(image); image 232 coders/avs.c image=SyncNextImageInList(image); image 233 coders/avs.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 234 coders/avs.c GetBlobSize(image)); image 239 coders/avs.c (void) CloseBlob(image); image 240 coders/avs.c return(GetFirstImageInList(image)); image 327 coders/avs.c static MagickBooleanType WriteAVSImage(const ImageInfo *image_info,Image *image) image 359 coders/avs.c assert(image != (Image *) NULL); image 360 coders/avs.c assert(image->signature == MagickSignature); image 361 coders/avs.c if (image->debug != MagickFalse) image 362 coders/avs.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 363 coders/avs.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 372 coders/avs.c (void) TransformImageColorspace(image,sRGBColorspace); image 373 coders/avs.c (void) WriteBlobMSBLong(image,(unsigned int) image->columns); image 374 coders/avs.c (void) WriteBlobMSBLong(image,(unsigned int) image->rows); image 378 coders/avs.c pixel_info=AcquireVirtualMemory(image->columns,4*sizeof(*pixels)); image 385 coders/avs.c for (y=0; y < (ssize_t) image->rows; y++) image 387 coders/avs.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 391 coders/avs.c for (x=0; x < (ssize_t) image->columns; x++) image 393 coders/avs.c *q++=ScaleQuantumToChar((Quantum) (QuantumRange-(image->matte != image 400 coders/avs.c count=WriteBlob(image,(size_t) (q-pixels),pixels); image 403 coders/avs.c if (image->previous == (Image *) NULL) image 405 coders/avs.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 406 coders/avs.c image->rows); image 412 coders/avs.c if (GetNextImageInList(image) == (Image *) NULL) image 414 coders/avs.c image=SyncNextImageInList(image); image 415 coders/avs.c status=SetImageProgress(image,SaveImagesTag,scene++, image 416 coders/avs.c GetImageListLength(image)); image 420 coders/avs.c (void) CloseBlob(image); image 109 coders/bgr.c *image; image 143 coders/bgr.c image=AcquireImage(image_info); image 144 coders/bgr.c if ((image->columns == 0) || (image->rows == 0)) image 148 coders/bgr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 151 coders/bgr.c image=DestroyImageList(image); image 154 coders/bgr.c if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) image 156 coders/bgr.c image->filename); image 161 coders/bgr.c canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, image 171 coders/bgr.c image->matte=MagickTrue; image 176 coders/bgr.c image->matte=MagickTrue; image 180 coders/bgr.c while (image->scene < image_info->scene) image 185 coders/bgr.c image->scene++; image 187 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 189 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 204 coders/bgr.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 206 coders/bgr.c status=SetImageExtent(image,image->columns,image->rows); image 209 coders/bgr.c InheritException(exception,&image->exception); image 210 coders/bgr.c return(DestroyImageList(image)); image 223 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 226 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 240 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 251 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 252 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 256 coders/bgr.c q=QueueAuthenticPixels(image,0,y-image->extract_info.y, image 257 coders/bgr.c image->columns,1,exception); image 261 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 267 coders/bgr.c if (image->matte != MagickFalse) image 272 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 275 coders/bgr.c if (image->previous == (Image *) NULL) image 277 coders/bgr.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 278 coders/bgr.c image->rows); image 282 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 304 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 307 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 321 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 324 coders/bgr.c for (i=0; i < (ssize_t) (image->matte != MagickFalse ? 4 : 3); i++) image 335 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 336 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 340 coders/bgr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 341 coders/bgr.c image->columns,1,exception); image 345 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 380 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 383 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 386 coders/bgr.c if (image->previous == (Image *) NULL) image 388 coders/bgr.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 389 coders/bgr.c image->rows); image 404 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 407 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 421 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 432 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 433 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 437 coders/bgr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 438 coders/bgr.c image->columns,1,exception); image 442 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 448 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 451 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 454 coders/bgr.c if (image->previous == (Image *) NULL) image 456 coders/bgr.c status=SetImageProgress(image,LoadImageTag,1,6); image 460 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 474 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 485 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 486 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 490 coders/bgr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 491 coders/bgr.c image->columns,1,exception); image 495 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 501 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 504 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 507 coders/bgr.c if (image->previous == (Image *) NULL) image 509 coders/bgr.c status=SetImageProgress(image,LoadImageTag,2,6); image 513 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 527 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 538 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 539 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 543 coders/bgr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 544 coders/bgr.c image->columns,1,exception); image 548 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 554 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 557 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 560 coders/bgr.c if (image->previous == (Image *) NULL) image 562 coders/bgr.c status=SetImageProgress(image,LoadImageTag,3,6); image 566 coders/bgr.c if (image->previous == (Image *) NULL) image 568 coders/bgr.c status=SetImageProgress(image,LoadImageTag,4,6); image 572 coders/bgr.c if (image->matte != MagickFalse) image 574 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 588 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 599 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 600 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 604 coders/bgr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 605 coders/bgr.c image->columns,1,exception); image 609 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 615 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 618 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 621 coders/bgr.c if (image->previous == (Image *) NULL) image 623 coders/bgr.c status=SetImageProgress(image,LoadImageTag,5,6); image 628 coders/bgr.c if (image->previous == (Image *) NULL) image 630 coders/bgr.c status=SetImageProgress(image,LoadImageTag,6,6); image 641 coders/bgr.c AppendImageFormat("B",image->filename); image 642 coders/bgr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 646 coders/bgr.c image=DestroyImageList(image); image 649 coders/bgr.c if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) image 651 coders/bgr.c image->filename); image 654 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 656 coders/bgr.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 661 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 665 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 667 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 681 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 692 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 693 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 697 coders/bgr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 698 coders/bgr.c image->columns,1,exception); image 702 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 708 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 711 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 714 coders/bgr.c if (image->previous == (Image *) NULL) image 716 coders/bgr.c status=SetImageProgress(image,LoadImageTag,1,5); image 720 coders/bgr.c (void) CloseBlob(image); image 721 coders/bgr.c AppendImageFormat("G",image->filename); image 722 coders/bgr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 726 coders/bgr.c image=DestroyImageList(image); image 731 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 733 coders/bgr.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 738 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 742 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 744 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 758 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 769 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 770 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 774 coders/bgr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 775 coders/bgr.c image->columns,1,exception); image 779 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 785 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 788 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 791 coders/bgr.c if (image->previous == (Image *) NULL) image 793 coders/bgr.c status=SetImageProgress(image,LoadImageTag,2,5); image 797 coders/bgr.c (void) CloseBlob(image); image 798 coders/bgr.c AppendImageFormat("R",image->filename); image 799 coders/bgr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 803 coders/bgr.c image=DestroyImageList(image); image 808 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 810 coders/bgr.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 815 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 819 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 821 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 835 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 846 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 847 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 851 coders/bgr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 852 coders/bgr.c image->columns,1,exception); image 856 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 862 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 865 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 868 coders/bgr.c if (image->previous == (Image *) NULL) image 870 coders/bgr.c status=SetImageProgress(image,LoadImageTag,3,5); image 874 coders/bgr.c if (image->matte != MagickFalse) image 876 coders/bgr.c (void) CloseBlob(image); image 877 coders/bgr.c AppendImageFormat("A",image->filename); image 878 coders/bgr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 882 coders/bgr.c image=DestroyImageList(image); image 887 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 889 coders/bgr.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 894 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 898 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 900 coders/bgr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 914 coders/bgr.c "UnexpectedEndOfFile",image->filename); image 925 coders/bgr.c if (((y-image->extract_info.y) >= 0) && image 926 coders/bgr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 930 coders/bgr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 931 coders/bgr.c image->columns,1,exception); image 935 coders/bgr.c for (x=0; x < (ssize_t) image->columns; x++) image 941 coders/bgr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 944 coders/bgr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 947 coders/bgr.c if (image->previous == (Image *) NULL) image 949 coders/bgr.c status=SetImageProgress(image,LoadImageTag,4,5); image 954 coders/bgr.c (void) CloseBlob(image); image 955 coders/bgr.c if (image->previous == (Image *) NULL) image 957 coders/bgr.c status=SetImageProgress(image,LoadImageTag,5,5); image 964 coders/bgr.c SetQuantumImageType(image,quantum_type); image 969 coders/bgr.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 976 coders/bgr.c AcquireNextImage(image_info,image); image 977 coders/bgr.c if (GetNextImageInList(image) == (Image *) NULL) image 979 coders/bgr.c image=DestroyImageList(image); image 982 coders/bgr.c image=SyncNextImageInList(image); image 983 coders/bgr.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 984 coders/bgr.c GetBlobSize(image)); image 991 coders/bgr.c InheritException(&image->exception,&canvas_image->exception); image 993 coders/bgr.c (void) CloseBlob(image); image 994 coders/bgr.c return(GetFirstImageInList(image)); image 1103 coders/bgr.c static MagickBooleanType WriteBGRImage(const ImageInfo *image_info,Image *image) image 1132 coders/bgr.c assert(image != (Image *) NULL); image 1133 coders/bgr.c assert(image->signature == MagickSignature); image 1134 coders/bgr.c if (image->debug != MagickFalse) image 1135 coders/bgr.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1141 coders/bgr.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1149 coders/bgr.c image->matte=MagickTrue; image 1157 coders/bgr.c (void) TransformImageColorspace(image,sRGBColorspace); image 1159 coders/bgr.c (image->matte == MagickFalse)) image 1160 coders/bgr.c (void) SetImageAlphaChannel(image,ResetAlphaChannel); image 1161 coders/bgr.c quantum_info=AcquireQuantumInfo(image_info,image); image 1173 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1178 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1181 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1182 coders/bgr.c quantum_info,quantum_type,pixels,&image->exception); image 1183 coders/bgr.c count=WriteBlob(image,length,pixels); image 1186 coders/bgr.c if (image->previous == (Image *) NULL) image 1188 coders/bgr.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1189 coders/bgr.c image->rows); image 1201 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1206 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1209 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1210 coders/bgr.c quantum_info,BlueQuantum,pixels,&image->exception); image 1211 coders/bgr.c count=WriteBlob(image,length,pixels); image 1214 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1215 coders/bgr.c quantum_info,GreenQuantum,pixels,&image->exception); image 1216 coders/bgr.c count=WriteBlob(image,length,pixels); image 1219 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1220 coders/bgr.c quantum_info,RedQuantum,pixels,&image->exception); image 1221 coders/bgr.c count=WriteBlob(image,length,pixels); image 1226 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1227 coders/bgr.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1228 coders/bgr.c count=WriteBlob(image,length,pixels); image 1232 coders/bgr.c if (image->previous == (Image *) NULL) image 1234 coders/bgr.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1235 coders/bgr.c image->rows); image 1247 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1252 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1255 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1256 coders/bgr.c quantum_info,RedQuantum,pixels,&image->exception); image 1257 coders/bgr.c count=WriteBlob(image,length,pixels); image 1261 coders/bgr.c if (image->previous == (Image *) NULL) image 1263 coders/bgr.c status=SetImageProgress(image,SaveImageTag,1,6); image 1267 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1272 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1275 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1276 coders/bgr.c quantum_info,GreenQuantum,pixels,&image->exception); image 1277 coders/bgr.c count=WriteBlob(image,length,pixels); image 1281 coders/bgr.c if (image->previous == (Image *) NULL) image 1283 coders/bgr.c status=SetImageProgress(image,SaveImageTag,2,6); image 1287 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1292 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1295 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1296 coders/bgr.c quantum_info,BlueQuantum,pixels,&image->exception); image 1297 coders/bgr.c count=WriteBlob(image,length,pixels); image 1301 coders/bgr.c if (image->previous == (Image *) NULL) image 1303 coders/bgr.c status=SetImageProgress(image,SaveImageTag,3,6); image 1309 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1314 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1317 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1318 coders/bgr.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1319 coders/bgr.c count=WriteBlob(image,length,pixels); image 1323 coders/bgr.c if (image->previous == (Image *) NULL) image 1325 coders/bgr.c status=SetImageProgress(image,SaveImageTag,5,6); image 1331 coders/bgr.c (void) CopyMagickString(image->filename,image_info->filename, image 1333 coders/bgr.c if (image->previous == (Image *) NULL) image 1335 coders/bgr.c status=SetImageProgress(image,SaveImageTag,6,6); image 1346 coders/bgr.c AppendImageFormat("B",image->filename); image 1347 coders/bgr.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1348 coders/bgr.c AppendBinaryBlobMode,&image->exception); image 1351 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1356 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1359 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1360 coders/bgr.c quantum_info,BlueQuantum,pixels,&image->exception); image 1361 coders/bgr.c count=WriteBlob(image,length,pixels); image 1365 coders/bgr.c if (image->previous == (Image *) NULL) image 1367 coders/bgr.c status=SetImageProgress(image,SaveImageTag,1,6); image 1371 coders/bgr.c (void) CloseBlob(image); image 1372 coders/bgr.c AppendImageFormat("G",image->filename); image 1373 coders/bgr.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1374 coders/bgr.c AppendBinaryBlobMode,&image->exception); image 1377 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1382 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1385 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1386 coders/bgr.c quantum_info,GreenQuantum,pixels,&image->exception); image 1387 coders/bgr.c count=WriteBlob(image,length,pixels); image 1391 coders/bgr.c if (image->previous == (Image *) NULL) image 1393 coders/bgr.c status=SetImageProgress(image,SaveImageTag,2,6); image 1397 coders/bgr.c (void) CloseBlob(image); image 1398 coders/bgr.c AppendImageFormat("R",image->filename); image 1399 coders/bgr.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1400 coders/bgr.c AppendBinaryBlobMode,&image->exception); image 1403 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1408 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1411 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1412 coders/bgr.c quantum_info,RedQuantum,pixels,&image->exception); image 1413 coders/bgr.c count=WriteBlob(image,length,pixels); image 1417 coders/bgr.c if (image->previous == (Image *) NULL) image 1419 coders/bgr.c status=SetImageProgress(image,SaveImageTag,3,6); image 1423 coders/bgr.c (void) CloseBlob(image); image 1426 coders/bgr.c (void) CloseBlob(image); image 1427 coders/bgr.c AppendImageFormat("A",image->filename); image 1428 coders/bgr.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1429 coders/bgr.c AppendBinaryBlobMode,&image->exception); image 1432 coders/bgr.c for (y=0; y < (ssize_t) image->rows; y++) image 1437 coders/bgr.c p=GetVirtualPixels(image,0,y,image->columns,1, image 1438 coders/bgr.c &image->exception); image 1441 coders/bgr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1442 coders/bgr.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1443 coders/bgr.c count=WriteBlob(image,length,pixels); image 1447 coders/bgr.c if (image->previous == (Image *) NULL) image 1449 coders/bgr.c status=SetImageProgress(image,SaveImageTag,5,6); image 1454 coders/bgr.c (void) CloseBlob(image); image 1455 coders/bgr.c (void) CopyMagickString(image->filename,image_info->filename, image 1457 coders/bgr.c if (image->previous == (Image *) NULL) image 1459 coders/bgr.c status=SetImageProgress(image,SaveImageTag,6,6); image 1467 coders/bgr.c if (GetNextImageInList(image) == (Image *) NULL) image 1469 coders/bgr.c image=SyncNextImageInList(image); image 1470 coders/bgr.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1471 coders/bgr.c GetImageListLength(image)); image 1475 coders/bgr.c (void) CloseBlob(image); image 188 coders/bmp.c static MagickBooleanType DecodeImage(Image *image,const size_t compression, image 208 coders/bmp.c assert(image != (Image *) NULL); image 209 coders/bmp.c assert(image->signature == MagickSignature); image 210 coders/bmp.c if (image->debug != MagickFalse) image 211 coders/bmp.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 213 coders/bmp.c (void) ResetMagickMemory(pixels,0,(size_t) image->columns*image->rows* image 218 coders/bmp.c q=pixels+(size_t) image->columns*image->rows; image 219 coders/bmp.c for (y=0; y < (ssize_t) image->rows; ) image 226 coders/bmp.c count=ReadBlobByte(image); image 235 coders/bmp.c byte=(unsigned char) ReadBlobByte(image); image 254 coders/bmp.c count=ReadBlobByte(image); image 268 coders/bmp.c p=pixels+y*image->columns; image 276 coders/bmp.c x+=ReadBlobByte(image); image 277 coders/bmp.c y+=ReadBlobByte(image); image 278 coders/bmp.c p=pixels+y*image->columns+x; image 289 coders/bmp.c *p++=(unsigned char) ReadBlobByte(image); image 294 coders/bmp.c byte=(unsigned char) ReadBlobByte(image); image 305 coders/bmp.c (void) ReadBlobByte(image); image 309 coders/bmp.c (void) ReadBlobByte(image); image 314 coders/bmp.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 315 coders/bmp.c image->rows); image 319 coders/bmp.c (void) ReadBlobByte(image); /* end of line */ image 320 coders/bmp.c (void) ReadBlobByte(image); image 321 coders/bmp.c return(y < (ssize_t) image->rows ? MagickFalse : MagickTrue); image 356 coders/bmp.c static size_t EncodeImage(Image *image,const size_t bytes_per_line, image 378 coders/bmp.c assert(image != (Image *) NULL); image 379 coders/bmp.c assert(image->signature == MagickSignature); image 380 coders/bmp.c if (image->debug != MagickFalse) image 381 coders/bmp.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 387 coders/bmp.c for (y=0; y < (ssize_t) image->rows; y++) image 406 coders/bmp.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 407 coders/bmp.c image->rows); image 492 coders/bmp.c *image; image 546 coders/bmp.c image=AcquireImage(image_info); image 547 coders/bmp.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 550 coders/bmp.c image=DestroyImageList(image); image 559 coders/bmp.c count=ReadBlob(image,2,magick); image 578 coders/bmp.c start_position=TellBlob(image)-2; image 582 coders/bmp.c bmp_info.file_size=ReadBlobLSBLong(image); image 583 coders/bmp.c bmp_info.ba_offset=ReadBlobLSBLong(image); image 584 coders/bmp.c bmp_info.offset_bits=ReadBlobLSBLong(image); image 585 coders/bmp.c count=ReadBlob(image,2,magick); image 589 coders/bmp.c if (image->debug != MagickFalse) image 595 coders/bmp.c bmp_info.file_size=ReadBlobLSBLong(image); image 596 coders/bmp.c (void) ReadBlobLSBLong(image); image 598 coders/bmp.c if (image->debug != MagickFalse) image 602 coders/bmp.c bmp_info.offset_bits=ReadBlobLSBLong(image); image 603 coders/bmp.c bmp_info.size=ReadBlobLSBLong(image); image 604 coders/bmp.c if (image->debug != MagickFalse) image 612 coders/bmp.c (void) CopyMagickString(image->magick,"BMP2",MaxTextExtent); image 613 coders/bmp.c bmp_info.width=(ssize_t) ((short) ReadBlobLSBShort(image)); image 614 coders/bmp.c bmp_info.height=(ssize_t) ((short) ReadBlobLSBShort(image)); image 615 coders/bmp.c bmp_info.planes=ReadBlobLSBShort(image); image 616 coders/bmp.c bmp_info.bits_per_pixel=ReadBlobLSBShort(image); image 623 coders/bmp.c if (image->debug != MagickFalse) image 639 coders/bmp.c bmp_info.width=(ssize_t) ((int) ReadBlobLSBLong(image)); image 640 coders/bmp.c bmp_info.height=(ssize_t) ((int) ReadBlobLSBLong(image)); image 641 coders/bmp.c bmp_info.planes=ReadBlobLSBShort(image); image 642 coders/bmp.c bmp_info.bits_per_pixel=ReadBlobLSBShort(image); image 643 coders/bmp.c bmp_info.compression=ReadBlobLSBLong(image); image 644 coders/bmp.c bmp_info.image_size=ReadBlobLSBLong(image); image 645 coders/bmp.c bmp_info.x_pixels=ReadBlobLSBLong(image); image 646 coders/bmp.c bmp_info.y_pixels=ReadBlobLSBLong(image); image 647 coders/bmp.c bmp_info.number_colors=ReadBlobLSBLong(image); image 648 coders/bmp.c bmp_info.colors_important=ReadBlobLSBLong(image); image 651 coders/bmp.c if (image->debug != MagickFalse) image 707 coders/bmp.c bmp_info.red_mask=ReadBlobLSBLong(image); image 708 coders/bmp.c bmp_info.green_mask=ReadBlobLSBLong(image); image 709 coders/bmp.c bmp_info.blue_mask=ReadBlobLSBLong(image); image 718 coders/bmp.c bmp_info.alpha_mask=ReadBlobLSBLong(image); image 719 coders/bmp.c bmp_info.colorspace=(int) ReadBlobLSBLong(image); image 724 coders/bmp.c bmp_info.red_primary.x=(double) ReadBlobLSBLong(image)/BMP_DENOM; image 725 coders/bmp.c bmp_info.red_primary.y=(double) ReadBlobLSBLong(image)/BMP_DENOM; image 726 coders/bmp.c bmp_info.red_primary.z=(double) ReadBlobLSBLong(image)/BMP_DENOM; image 727 coders/bmp.c bmp_info.green_primary.x=(double) ReadBlobLSBLong(image)/BMP_DENOM; image 728 coders/bmp.c bmp_info.green_primary.y=(double) ReadBlobLSBLong(image)/BMP_DENOM; image 729 coders/bmp.c bmp_info.green_primary.z=(double) ReadBlobLSBLong(image)/BMP_DENOM; image 730 coders/bmp.c bmp_info.blue_primary.x=(double) ReadBlobLSBLong(image)/BMP_DENOM; image 731 coders/bmp.c bmp_info.blue_primary.y=(double) ReadBlobLSBLong(image)/BMP_DENOM; image 732 coders/bmp.c bmp_info.blue_primary.z=(double) ReadBlobLSBLong(image)/BMP_DENOM; image 739 coders/bmp.c image->chromaticity.red_primary.x=bmp_info.red_primary.x; image 740 coders/bmp.c image->chromaticity.red_primary.y=bmp_info.red_primary.y; image 747 coders/bmp.c image->chromaticity.green_primary.x=bmp_info.green_primary.x; image 748 coders/bmp.c image->chromaticity.green_primary.y=bmp_info.green_primary.y; image 755 coders/bmp.c image->chromaticity.blue_primary.x=bmp_info.blue_primary.x; image 756 coders/bmp.c image->chromaticity.blue_primary.y=bmp_info.blue_primary.y; image 761 coders/bmp.c bmp_info.gamma_scale.x=(double) ReadBlobLSBLong(image)/0x10000; image 762 coders/bmp.c bmp_info.gamma_scale.y=(double) ReadBlobLSBLong(image)/0x10000; image 763 coders/bmp.c bmp_info.gamma_scale.z=(double) ReadBlobLSBLong(image)/0x10000; image 767 coders/bmp.c image->gamma=(bmp_info.gamma_scale.x+bmp_info.gamma_scale.y+ image 771 coders/bmp.c (void) CopyMagickString(image->magick,"BMP3",MaxTextExtent); image 781 coders/bmp.c intent=ReadBlobLSBLong(image); image 786 coders/bmp.c image->rendering_intent=SaturationIntent; image 791 coders/bmp.c image->rendering_intent=RelativeIntent; image 796 coders/bmp.c image->rendering_intent=PerceptualIntent; image 801 coders/bmp.c image->rendering_intent=AbsoluteIntent; image 805 coders/bmp.c profile_data=ReadBlobLSBLong(image); image 806 coders/bmp.c profile_size=ReadBlobLSBLong(image); image 809 coders/bmp.c (void) ReadBlobLSBLong(image); /* Reserved byte */ image 812 coders/bmp.c if ((MagickSizeType) bmp_info.file_size > GetBlobSize(image)) image 814 coders/bmp.c "LengthAndFilesizeDoNotMatch","`%s'",image->filename); image 816 coders/bmp.c if ((MagickSizeType) bmp_info.file_size < GetBlobSize(image)) image 819 coders/bmp.c image->filename); image 853 coders/bmp.c image->columns=(size_t) MagickAbsoluteValue(bmp_info.width); image 854 coders/bmp.c image->rows=(size_t) MagickAbsoluteValue(bmp_info.height); image 855 coders/bmp.c image->depth=bmp_info.bits_per_pixel <= 8 ? bmp_info.bits_per_pixel : 8; image 856 coders/bmp.c image->matte=((bmp_info.alpha_mask != 0) && image 863 coders/bmp.c image->storage_class=PseudoClass; image 864 coders/bmp.c image->colors=bmp_info.number_colors; image 866 coders/bmp.c if (image->colors == 0) image 867 coders/bmp.c image->colors=one << bmp_info.bits_per_pixel; image 869 coders/bmp.c if (image->storage_class == PseudoClass) image 880 coders/bmp.c if (image->debug != MagickFalse) image 882 coders/bmp.c " Reading colormap of %.20g colors",(double) image->colors); image 883 coders/bmp.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 886 coders/bmp.c image->colors,4*sizeof(*bmp_colormap)); image 893 coders/bmp.c offset=SeekBlob(image,start_position+14+bmp_info.size,SEEK_SET); image 896 coders/bmp.c count=ReadBlob(image,packet_size*image->colors,bmp_colormap); image 897 coders/bmp.c if (count != (ssize_t) (packet_size*image->colors)) image 900 coders/bmp.c for (i=0; i < (ssize_t) image->colors; i++) image 902 coders/bmp.c image->colormap[i].blue=ScaleCharToQuantum(*p++); image 903 coders/bmp.c image->colormap[i].green=ScaleCharToQuantum(*p++); image 904 coders/bmp.c image->colormap[i].red=ScaleCharToQuantum(*p++); image 910 coders/bmp.c image->x_resolution=(double) bmp_info.x_pixels/100.0; image 911 coders/bmp.c image->y_resolution=(double) bmp_info.y_pixels/100.0; image 912 coders/bmp.c image->units=PixelsPerCentimeterResolution; image 914 coders/bmp.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 916 coders/bmp.c status=SetImageExtent(image,image->columns,image->rows); image 919 coders/bmp.c InheritException(exception,&image->exception); image 920 coders/bmp.c return(DestroyImageList(image)); image 925 coders/bmp.c offset=SeekBlob(image,start_position+bmp_info.offset_bits,SEEK_SET); image 930 coders/bmp.c bytes_per_line=4*((image->columns*bmp_info.bits_per_pixel+31)/32); image 931 coders/bmp.c length=(size_t) bytes_per_line*image->rows; image 932 coders/bmp.c pixel_info=AcquireVirtualMemory((size_t) image->rows, image 933 coders/bmp.c MagickMax(bytes_per_line,image->columns+256UL)*sizeof(*pixels)); image 940 coders/bmp.c if (image->debug != MagickFalse) image 943 coders/bmp.c count=ReadBlob(image,length,pixels); image 956 coders/bmp.c status=DecodeImage(image,bmp_info.compression,pixels); image 976 coders/bmp.c if ((image->matte == MagickFalse) && (bmp_info.size == 40) && image 979 coders/bmp.c bytes_per_line=4*(image->columns); image 980 coders/bmp.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 982 coders/bmp.c p=pixels+(image->rows-y-1)*bytes_per_line; image 983 coders/bmp.c for (x=0; x < (ssize_t) image->columns; x++) image 987 coders/bmp.c image->matte=MagickTrue; image 995 coders/bmp.c bmp_info.alpha_mask=image->matte != MagickFalse ? 0xff000000U : 0U; image 1056 coders/bmp.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 1058 coders/bmp.c p=pixels+(image->rows-y-1)*bytes_per_line; image 1059 coders/bmp.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1062 coders/bmp.c indexes=GetAuthenticIndexQueue(image); image 1063 coders/bmp.c for (x=0; x < ((ssize_t) image->columns-7); x+=8) image 1073 coders/bmp.c if ((image->columns % 8) != 0) image 1075 coders/bmp.c for (bit=0; bit < (image->columns % 8); bit++) image 1082 coders/bmp.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1084 coders/bmp.c if (image->previous == (Image *) NULL) image 1086 coders/bmp.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 1087 coders/bmp.c (image->rows-y),image->rows); image 1092 coders/bmp.c (void) SyncImage(image); image 1100 coders/bmp.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 1102 coders/bmp.c p=pixels+(image->rows-y-1)*bytes_per_line; image 1103 coders/bmp.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1106 coders/bmp.c indexes=GetAuthenticIndexQueue(image); image 1107 coders/bmp.c for (x=0; x < ((ssize_t) image->columns-1); x+=2) image 1109 coders/bmp.c if (IsValidColormapIndex(image,(*p >> 4) & 0x0f,&index,exception) image 1113 coders/bmp.c if (IsValidColormapIndex(image,*p & 0x0f,&index,exception) == image 1119 coders/bmp.c if ((image->columns % 2) != 0) image 1121 coders/bmp.c if (IsValidColormapIndex(image,(*p >> 4) & 0xf,&index,exception) image 1127 coders/bmp.c if (x < (ssize_t) image->columns) image 1129 coders/bmp.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1131 coders/bmp.c if (image->previous == (Image *) NULL) image 1133 coders/bmp.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 1134 coders/bmp.c (image->rows-y),image->rows); image 1139 coders/bmp.c (void) SyncImage(image); image 1149 coders/bmp.c bytes_per_line=image->columns; image 1150 coders/bmp.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 1152 coders/bmp.c p=pixels+(image->rows-y-1)*bytes_per_line; image 1153 coders/bmp.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1156 coders/bmp.c indexes=GetAuthenticIndexQueue(image); image 1157 coders/bmp.c for (x=(ssize_t) image->columns; x != 0; --x) image 1159 coders/bmp.c if (IsValidColormapIndex(image,*p,&index,exception) == MagickFalse) image 1168 coders/bmp.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1170 coders/bmp.c offset=(MagickOffsetType) (image->rows-y-1); image 1171 coders/bmp.c if (image->previous == (Image *) NULL) image 1173 coders/bmp.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 1174 coders/bmp.c (image->rows-y),image->rows); image 1179 coders/bmp.c (void) SyncImage(image); image 1198 coders/bmp.c bytes_per_line=2*(image->columns+image->columns % 2); image 1199 coders/bmp.c image->storage_class=DirectClass; image 1200 coders/bmp.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 1202 coders/bmp.c p=pixels+(image->rows-y-1)*bytes_per_line; image 1203 coders/bmp.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1206 coders/bmp.c for (x=0; x < (ssize_t) image->columns; x++) image 1231 coders/bmp.c if (image->matte != MagickFalse) image 1240 coders/bmp.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1242 coders/bmp.c offset=(MagickOffsetType) (image->rows-y-1); image 1243 coders/bmp.c if (image->previous == (Image *) NULL) image 1245 coders/bmp.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 1246 coders/bmp.c (image->rows-y),image->rows); image 1258 coders/bmp.c bytes_per_line=4*((image->columns*24+31)/32); image 1259 coders/bmp.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 1261 coders/bmp.c p=pixels+(image->rows-y-1)*bytes_per_line; image 1262 coders/bmp.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1265 coders/bmp.c for (x=0; x < (ssize_t) image->columns; x++) image 1273 coders/bmp.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1275 coders/bmp.c offset=(MagickOffsetType) (image->rows-y-1); image 1276 coders/bmp.c if (image->previous == (Image *) NULL) image 1278 coders/bmp.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 1279 coders/bmp.c (image->rows-y),image->rows); image 1298 coders/bmp.c bytes_per_line=4*(image->columns); image 1299 coders/bmp.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 1305 coders/bmp.c p=pixels+(image->rows-y-1)*bytes_per_line; image 1306 coders/bmp.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1309 coders/bmp.c for (x=0; x < (ssize_t) image->columns; x++) image 1328 coders/bmp.c if (image->matte != MagickFalse) image 1337 coders/bmp.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1339 coders/bmp.c offset=(MagickOffsetType) (image->rows-y-1); image 1340 coders/bmp.c if (image->previous == (Image *) NULL) image 1342 coders/bmp.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 1343 coders/bmp.c (image->rows-y),image->rows); image 1359 coders/bmp.c if (EOFBlob(image) != MagickFalse) image 1362 coders/bmp.c image->filename); image 1373 coders/bmp.c flipped_image=FlipImage(image,exception); image 1376 coders/bmp.c DuplicateBlob(flipped_image,image); image 1377 coders/bmp.c image=DestroyImage(image); image 1378 coders/bmp.c image=flipped_image; image 1385 coders/bmp.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 1390 coders/bmp.c offset=SeekBlob(image,(MagickOffsetType) bmp_info.ba_offset,SEEK_SET); image 1394 coders/bmp.c count=ReadBlob(image,2,magick); image 1400 coders/bmp.c AcquireNextImage(image_info,image); image 1401 coders/bmp.c if (GetNextImageInList(image) == (Image *) NULL) image 1403 coders/bmp.c image=DestroyImageList(image); image 1406 coders/bmp.c image=SyncNextImageInList(image); image 1407 coders/bmp.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 1408 coders/bmp.c GetBlobSize(image)); image 1413 coders/bmp.c (void) CloseBlob(image); image 1414 coders/bmp.c return(GetFirstImageInList(image)); image 1525 coders/bmp.c static MagickBooleanType WriteBMPImage(const ImageInfo *image_info,Image *image) image 1575 coders/bmp.c assert(image != (Image *) NULL); image 1576 coders/bmp.c assert(image->signature == MagickSignature); image 1577 coders/bmp.c if (image->debug != MagickFalse) image 1578 coders/bmp.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1579 coders/bmp.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1609 coders/bmp.c (void) TransformImageColorspace(image,sRGBColorspace); image 1616 coders/bmp.c if ((image->storage_class == PseudoClass) && (image->colors > 256)) image 1617 coders/bmp.c (void) SetImageStorageClass(image,DirectClass); image 1618 coders/bmp.c if (image->storage_class != DirectClass) image 1624 coders/bmp.c if (image->colors <= 2) image 1627 coders/bmp.c if (image->colors <= 16) image 1630 coders/bmp.c if (image->colors <= 256) image 1635 coders/bmp.c if (image->matte != MagickFalse) image 1636 coders/bmp.c (void) SetImageStorageClass(image,DirectClass); image 1638 coders/bmp.c if ((size_t) bmp_info.number_colors < image->colors) image 1639 coders/bmp.c (void) SetImageStorageClass(image,DirectClass); image 1651 coders/bmp.c if (image->storage_class == DirectClass) image 1658 coders/bmp.c ((type > 3) && (image->matte != MagickFalse) ? 32 : 24); image 1660 coders/bmp.c (image->matte != MagickFalse) ? BI_BITFIELDS : BI_RGB); image 1661 coders/bmp.c if ((type == 3) && (image->matte != MagickFalse)) image 1668 coders/bmp.c bytes_per_line=4*((image->columns*bmp_info.bits_per_pixel+31)/32); image 1670 coders/bmp.c profile=GetImageProfile(image,"icc"); image 1671 coders/bmp.c have_color_info=(image->rendering_intent != UndefinedIntent) || image 1672 coders/bmp.c (profile != (StringInfo *) NULL) || (image->gamma != 0.0) ? MagickTrue : image 1677 coders/bmp.c if ((type == 3) || ((image->matte == MagickFalse) && image 1690 coders/bmp.c if ((image->rendering_intent != UndefinedIntent) || image 1699 coders/bmp.c bmp_info.width=(ssize_t) image->columns; image 1700 coders/bmp.c bmp_info.height=(ssize_t) image->rows; image 1702 coders/bmp.c bmp_info.image_size=(unsigned int) (bytes_per_line*image->rows); image 1706 coders/bmp.c switch (image->units) image 1711 coders/bmp.c bmp_info.x_pixels=(unsigned int) (100.0*image->x_resolution/2.54); image 1712 coders/bmp.c bmp_info.y_pixels=(unsigned int) (100.0*image->y_resolution/2.54); image 1717 coders/bmp.c bmp_info.x_pixels=(unsigned int) (100.0*image->x_resolution); image 1718 coders/bmp.c bmp_info.y_pixels=(unsigned int) (100.0*image->y_resolution); image 1743 coders/bmp.c for (y=0; y < (ssize_t) image->rows; y++) image 1745 coders/bmp.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1748 coders/bmp.c indexes=GetVirtualIndexQueue(image); image 1749 coders/bmp.c q=pixels+(image->rows-y-1)*bytes_per_line; image 1752 coders/bmp.c for (x=0; x < (ssize_t) image->columns; x++) image 1769 coders/bmp.c for (x=(ssize_t) (image->columns+7)/8; x < (ssize_t) bytes_per_line; x++) image 1771 coders/bmp.c if (image->previous == (Image *) NULL) image 1773 coders/bmp.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1774 coders/bmp.c image->rows); image 1790 coders/bmp.c for (y=0; y < (ssize_t) image->rows; y++) image 1792 coders/bmp.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1795 coders/bmp.c indexes=GetVirtualIndexQueue(image); image 1796 coders/bmp.c q=pixels+(image->rows-y-1)*bytes_per_line; image 1799 coders/bmp.c for (x=0; x < (ssize_t) image->columns; x++) image 1816 coders/bmp.c for (x=(ssize_t) (image->columns+1)/2; x < (ssize_t) bytes_per_line; x++) image 1818 coders/bmp.c if (image->previous == (Image *) NULL) image 1820 coders/bmp.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1821 coders/bmp.c image->rows); image 1833 coders/bmp.c for (y=0; y < (ssize_t) image->rows; y++) image 1835 coders/bmp.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1838 coders/bmp.c indexes=GetVirtualIndexQueue(image); image 1839 coders/bmp.c q=pixels+(image->rows-y-1)*bytes_per_line; image 1840 coders/bmp.c for (x=0; x < (ssize_t) image->columns; x++) image 1844 coders/bmp.c if (image->previous == (Image *) NULL) image 1846 coders/bmp.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1847 coders/bmp.c image->rows); image 1859 coders/bmp.c for (y=0; y < (ssize_t) image->rows; y++) image 1861 coders/bmp.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1864 coders/bmp.c q=pixels+(image->rows-y-1)*bytes_per_line; image 1865 coders/bmp.c for (x=0; x < (ssize_t) image->columns; x++) image 1872 coders/bmp.c for (x=3L*(ssize_t) image->columns; x < (ssize_t) bytes_per_line; x++) image 1874 coders/bmp.c if (image->previous == (Image *) NULL) image 1876 coders/bmp.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1877 coders/bmp.c image->rows); image 1889 coders/bmp.c for (y=0; y < (ssize_t) image->rows; y++) image 1891 coders/bmp.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1894 coders/bmp.c q=pixels+(image->rows-y-1)*bytes_per_line; image 1895 coders/bmp.c for (x=0; x < (ssize_t) image->columns; x++) image 1903 coders/bmp.c if (image->previous == (Image *) NULL) image 1905 coders/bmp.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1906 coders/bmp.c image->rows); image 1924 coders/bmp.c (image->rows+2)*sizeof(*pixels)); image 1932 coders/bmp.c bmp_info.image_size=(unsigned int) EncodeImage(image,bytes_per_line, image 1943 coders/bmp.c if (image->debug != MagickFalse) image 1947 coders/bmp.c if (image->storage_class == DirectClass) image 1954 coders/bmp.c " Image depth=%.20g",(double) image->depth); image 1955 coders/bmp.c if (image->matte != MagickFalse) image 1997 coders/bmp.c (void) WriteBlob(image,2,(unsigned char *) "BM"); image 1998 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.file_size); image 1999 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.ba_offset); /* always 0 */ image 2000 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.offset_bits); image 2006 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.size); image 2007 coders/bmp.c (void) WriteBlobLSBShort(image,(unsigned short) bmp_info.width); image 2008 coders/bmp.c (void) WriteBlobLSBShort(image,(unsigned short) bmp_info.height); image 2009 coders/bmp.c (void) WriteBlobLSBShort(image,bmp_info.planes); image 2010 coders/bmp.c (void) WriteBlobLSBShort(image,bmp_info.bits_per_pixel); image 2017 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.size); image 2018 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) bmp_info.width); image 2019 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) bmp_info.height); image 2020 coders/bmp.c (void) WriteBlobLSBShort(image,bmp_info.planes); image 2021 coders/bmp.c (void) WriteBlobLSBShort(image,bmp_info.bits_per_pixel); image 2022 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.compression); image 2023 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.image_size); image 2024 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.x_pixels); image 2025 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.y_pixels); image 2026 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.number_colors); image 2027 coders/bmp.c (void) WriteBlobLSBLong(image,bmp_info.colors_important); image 2029 coders/bmp.c if ((type > 3) && ((image->matte != MagickFalse) || image 2035 coders/bmp.c (void) WriteBlobLSBLong(image,0x00ff0000U); /* Red mask */ image 2036 coders/bmp.c (void) WriteBlobLSBLong(image,0x0000ff00U); /* Green mask */ image 2037 coders/bmp.c (void) WriteBlobLSBLong(image,0x000000ffU); /* Blue mask */ image 2038 coders/bmp.c (void) WriteBlobLSBLong(image,0xff000000U); /* Alpha mask */ image 2039 coders/bmp.c (void) WriteBlobLSBLong(image,0x73524742U); /* sRGB */ image 2040 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2041 coders/bmp.c (image->chromaticity.red_primary.x*0x40000000)); image 2042 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2043 coders/bmp.c (image->chromaticity.red_primary.y*0x40000000)); image 2044 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2045 coders/bmp.c ((1.000f-(image->chromaticity.red_primary.x+ image 2046 coders/bmp.c image->chromaticity.red_primary.y))*0x40000000)); image 2047 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2048 coders/bmp.c (image->chromaticity.green_primary.x*0x40000000)); image 2049 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2050 coders/bmp.c (image->chromaticity.green_primary.y*0x40000000)); image 2051 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2052 coders/bmp.c ((1.000f-(image->chromaticity.green_primary.x+ image 2053 coders/bmp.c image->chromaticity.green_primary.y))*0x40000000)); image 2054 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2055 coders/bmp.c (image->chromaticity.blue_primary.x*0x40000000)); image 2056 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2057 coders/bmp.c (image->chromaticity.blue_primary.y*0x40000000)); image 2058 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2059 coders/bmp.c ((1.000f-(image->chromaticity.blue_primary.x+ image 2060 coders/bmp.c image->chromaticity.blue_primary.y))*0x40000000)); image 2061 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2063 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2065 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) image 2067 coders/bmp.c if ((image->rendering_intent != UndefinedIntent) || image 2073 coders/bmp.c switch ((int) image->rendering_intent) image 2101 coders/bmp.c (void) WriteBlobLSBLong(image,(unsigned int) intent); image 2102 coders/bmp.c (void) WriteBlobLSBLong(image,0x00); /* dummy profile data */ image 2103 coders/bmp.c (void) WriteBlobLSBLong(image,0x00); /* dummy profile length */ image 2104 coders/bmp.c (void) WriteBlobLSBLong(image,0x00); /* reserved */ image 2107 coders/bmp.c if (image->storage_class == PseudoClass) image 2115 coders/bmp.c if (image->debug != MagickFalse) image 2117 coders/bmp.c " Colormap: %.20g entries",(double) image->colors); image 2123 coders/bmp.c for (i=0; i < (ssize_t) MagickMin((ssize_t) image->colors,(ssize_t) bmp_info.number_colors); i++) image 2125 coders/bmp.c *q++=ScaleQuantumToChar(image->colormap[i].blue); image 2126 coders/bmp.c *q++=ScaleQuantumToChar(image->colormap[i].green); image 2127 coders/bmp.c *q++=ScaleQuantumToChar(image->colormap[i].red); image 2140 coders/bmp.c (void) WriteBlob(image,(size_t) (3*(1L << bmp_info.bits_per_pixel)), image 2143 coders/bmp.c (void) WriteBlob(image,(size_t) (4*(1L << bmp_info.bits_per_pixel)), image 2147 coders/bmp.c if (image->debug != MagickFalse) image 2150 coders/bmp.c (void) WriteBlob(image,(size_t) bmp_info.image_size,pixels); image 2152 coders/bmp.c if (GetNextImageInList(image) == (Image *) NULL) image 2154 coders/bmp.c image=SyncNextImageInList(image); image 2155 coders/bmp.c status=SetImageProgress(image,SaveImagesTag,scene++, image 2156 coders/bmp.c GetImageListLength(image)); image 2160 coders/bmp.c if (image->debug != MagickFalse) image 2163 coders/bmp.c (void) CloseBlob(image); image 186 coders/braille.c Image *image) image 224 coders/braille.c assert(image != (Image *) NULL); image 225 coders/braille.c assert(image->signature == MagickSignature); image 242 coders/braille.c if (image->debug != MagickFalse) image 243 coders/braille.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 244 coders/braille.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 249 coders/braille.c value=GetImageProperty(image,"label"); image 253 coders/braille.c (void) WriteBlobString(image,buffer); image 255 coders/braille.c if (image->page.x != 0) image 258 coders/braille.c image->page.x); image 259 coders/braille.c (void) WriteBlobString(image,buffer); image 261 coders/braille.c if (image->page.y != 0) image 264 coders/braille.c image->page.y); image 265 coders/braille.c (void) WriteBlobString(image,buffer); image 268 coders/braille.c (image->columns+(image->columns % 2))); image 269 coders/braille.c (void) WriteBlobString(image,buffer); image 271 coders/braille.c image->rows); image 272 coders/braille.c (void) WriteBlobString(image,buffer); image 273 coders/braille.c (void) WriteBlobString(image,"\n"); image 275 coders/braille.c (void) SetImageType(image,BilevelType); image 277 coders/braille.c if (image->storage_class == PseudoClass) { image 278 coders/braille.c polarity=(IndexPacket) (GetPixelLuma(image,&image->colormap[0]) >= image 280 coders/braille.c if (image->colors == 2) image 281 coders/braille.c polarity=(IndexPacket) (GetPixelLuma(image,&image->colormap[0]) >= image 282 coders/braille.c GetPixelLuma(image,&image->colormap[1])); image 284 coders/braille.c for (y=0; y < (ssize_t) image->rows; y+=(ssize_t) cell_height) image 286 coders/braille.c if ((y+cell_height) > image->rows) image 287 coders/braille.c cell_height = (size_t) (image->rows-y); image 288 coders/braille.c p=GetVirtualPixels(image,0,y,image->columns,cell_height,&image->exception); image 291 coders/braille.c indexes=GetVirtualIndexQueue(image); image 292 coders/braille.c for (x=0; x < (ssize_t) image->columns; x+=2) image 295 coders/braille.c int two_columns = x+1 < (ssize_t) image->columns; image 300 coders/braille.c if (image->storage_class == PseudoClass) \ image 301 coders/braille.c cell |= (GetPixelIndex(indexes+x+dx+dy*image->columns) == polarity) << bit; \ image 303 coders/braille.c cell |= (GetPixelGreen(p+x+dx+dy*image->columns) == 0) << bit; \ image 340 coders/braille.c (void) WriteBlob(image,3,utf8); image 345 coders/braille.c (void) WriteBlobByte(image,cell); image 360 coders/braille.c (void) WriteBlobByte(image,iso_to_brf[cell]); image 364 coders/braille.c (void) WriteBlobByte(image,'\n'); image 365 coders/braille.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 366 coders/braille.c image->rows); image 370 coders/braille.c (void) CloseBlob(image); image 155 coders/cals.c *image; image 189 coders/cals.c image=AcquireImage(image_info); image 190 coders/cals.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 193 coders/cals.c image=DestroyImageList(image); image 209 coders/cals.c if (ReadBlob(image,128,(unsigned char *) header) != 128) image 259 coders/cals.c while ((c=ReadBlobByte(image)) != EOF) image 262 coders/cals.c (void) CloseBlob(image); image 263 coders/cals.c image=DestroyImage(image); image 273 coders/cals.c image=ReadImage(read_info,exception); image 274 coders/cals.c if (image != (Image *) NULL) image 276 coders/cals.c (void) CopyMagickString(image->filename,image_info->filename, image 278 coders/cals.c (void) CopyMagickString(image->magick_filename,image_info->filename, image 280 coders/cals.c (void) CopyMagickString(image->magick,"CALS",MaxTextExtent); image 284 coders/cals.c return(image); image 403 coders/cals.c static ssize_t WriteCALSRecord(Image *image,const char *data) image 423 coders/cals.c count=WriteBlob(image,(size_t) i,(const unsigned char *) data); image 429 coders/cals.c count=WriteBlob(image,(size_t) i,(const unsigned char *) pad); image 435 coders/cals.c Image *image) image 469 coders/cals.c assert(image != (Image *) NULL); image 470 coders/cals.c assert(image->signature == MagickSignature); image 471 coders/cals.c if (image->debug != MagickFalse) image 472 coders/cals.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 473 coders/cals.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 479 coders/cals.c count=WriteCALSRecord(image,"srcdocid: NONE"); image 481 coders/cals.c count=WriteCALSRecord(image,"dstdocid: NONE"); image 482 coders/cals.c count=WriteCALSRecord(image,"txtfilid: NONE"); image 483 coders/cals.c count=WriteCALSRecord(image,"figid: NONE"); image 484 coders/cals.c count=WriteCALSRecord(image,"srcgph: NONE"); image 485 coders/cals.c count=WriteCALSRecord(image,"docls: NONE"); image 486 coders/cals.c count=WriteCALSRecord(image,"rtype: 1"); image 489 coders/cals.c switch (image->orientation) image 538 coders/cals.c count=WriteCALSRecord(image,header); image 540 coders/cals.c (unsigned long) image->columns,(unsigned long) image->rows); image 541 coders/cals.c count=WriteCALSRecord(image,header); image 553 coders/cals.c count=WriteCALSRecord(image,header); image 554 coders/cals.c count=WriteCALSRecord(image,"notes: NONE"); image 557 coders/cals.c (void) WriteBlob(image,128,(unsigned char *) header); image 564 coders/cals.c group4_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 567 coders/cals.c (void) CloseBlob(image); image 571 coders/cals.c &image->exception); image 575 coders/cals.c (void) CloseBlob(image); image 579 coders/cals.c if (WriteBlob(image,length,group4) != (ssize_t) length) image 582 coders/cals.c (void) CloseBlob(image); image 111 coders/caption.c *image; image 137 coders/caption.c image=AcquireImage(image_info); image 138 coders/caption.c (void) ResetImagePage(image,"0x0+0+0"); image 144 coders/caption.c property=InterpretImageProperties(image_info,image,image_info->filename); image 147 coders/caption.c property=InterpretImageProperties(image_info,image,option+8); image 149 coders/caption.c property=InterpretImageProperties(image_info,image,option); image 150 coders/caption.c (void) SetImageProperty(image,"caption",property); image 152 coders/caption.c caption=ConstantString(GetImageProperty(image,"caption")); image 161 coders/caption.c if (image->columns == 0) image 164 coders/caption.c i=FormatMagickCaption(image,draw_info,split,&metrics,&text); image 171 coders/caption.c status=GetMultilineTypeMetrics(image,draw_info,&metrics); image 173 coders/caption.c image->columns=width; image 175 coders/caption.c if (image->rows == 0) image 179 coders/caption.c i=FormatMagickCaption(image,draw_info,split,&metrics,&text); image 186 coders/caption.c status=GetMultilineTypeMetrics(image,draw_info,&metrics); image 187 coders/caption.c image->rows=(size_t) ((i+1)*(metrics.ascent-metrics.descent+ image 191 coders/caption.c status=SetImageExtent(image,image->columns,image->rows); image 195 coders/caption.c InheritException(exception,&image->exception); image 196 coders/caption.c return(DestroyImageList(image)); image 198 coders/caption.c if (SetImageBackgroundColor(image) == MagickFalse) image 201 coders/caption.c InheritException(exception,&image->exception); image 202 coders/caption.c image=DestroyImageList(image); image 217 coders/caption.c i=FormatMagickCaption(image,draw_info,split,&metrics,&text); image 224 coders/caption.c status=GetMultilineTypeMetrics(image,draw_info,&metrics); image 228 coders/caption.c if ((image->columns != 0) && (image->rows != 0)) image 230 coders/caption.c if ((width >= image->columns) && (height >= image->rows)) image 234 coders/caption.c if (((image->columns != 0) && (width >= image->columns)) || image 235 coders/caption.c ((image->rows != 0) && (height >= image->rows))) image 243 coders/caption.c i=FormatMagickCaption(image,draw_info,split,&metrics,&text); image 250 coders/caption.c (void) GetMultilineTypeMetrics(image,draw_info,&metrics); image 253 coders/caption.c if ((image->columns != 0) && (image->rows != 0)) image 255 coders/caption.c if ((width < image->columns) && (height < image->rows)) image 261 coders/caption.c if (((image->columns != 0) && (width < image->columns)) || image 262 coders/caption.c ((image->rows != 0) && (height < image->rows))) image 272 coders/caption.c i=FormatMagickCaption(image,draw_info,split,&metrics,&caption); image 275 coders/caption.c draw_info->direction == RightToLeftDirection ? image->columns- image 279 coders/caption.c status=AnnotateImage(image,draw_info); image 287 coders/caption.c (void) SetImageProperty(image,"caption:pointsize",pointsize); image 293 coders/caption.c image=DestroyImageList(image); image 296 coders/caption.c return(GetFirstImageInList(image)); image 214 coders/cin.c image; image 399 coders/cin.c *image; image 439 coders/cin.c image=AcquireImage(image_info); image 440 coders/cin.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 443 coders/cin.c image=DestroyImageList(image); image 450 coders/cin.c count=ReadBlob(image,4,magick); image 455 coders/cin.c image->endian=(magick[0] == 0x80) && (magick[1] == 0x2a) && image 457 coders/cin.c cin.file.image_offset=ReadBlobLong(image); image 459 coders/cin.c cin.file.generic_length=ReadBlobLong(image); image 461 coders/cin.c cin.file.industry_length=ReadBlobLong(image); image 463 coders/cin.c cin.file.user_length=ReadBlobLong(image); image 465 coders/cin.c cin.file.file_size=ReadBlobLong(image); image 467 coders/cin.c offset+=ReadBlob(image,sizeof(cin.file.version),(unsigned char *) image 470 coders/cin.c (void) SetImageProperty(image,"dpx:file.version",property); image 471 coders/cin.c offset+=ReadBlob(image,sizeof(cin.file.filename),(unsigned char *) image 474 coders/cin.c (void) SetImageProperty(image,"dpx:file.filename",property); image 475 coders/cin.c offset+=ReadBlob(image,sizeof(cin.file.create_date),(unsigned char *) image 479 coders/cin.c (void) SetImageProperty(image,"dpx:file.create_date",property); image 480 coders/cin.c offset+=ReadBlob(image,sizeof(cin.file.create_time),(unsigned char *) image 484 coders/cin.c (void) SetImageProperty(image,"dpx:file.create_time",property); image 485 coders/cin.c offset+=ReadBlob(image,sizeof(cin.file.reserve),(unsigned char *) image 490 coders/cin.c cin.image.orientation=(unsigned char) ReadBlobByte(image); image 492 coders/cin.c if (cin.image.orientation != (unsigned char) (~0)) image 493 coders/cin.c (void) FormatImageProperty(image,"dpx:image.orientation","%d", image 494 coders/cin.c cin.image.orientation); image 495 coders/cin.c switch (cin.image.orientation) image 498 coders/cin.c case 0: image->orientation=TopLeftOrientation; break; image 499 coders/cin.c case 1: image->orientation=TopRightOrientation; break; image 500 coders/cin.c case 2: image->orientation=BottomLeftOrientation; break; image 501 coders/cin.c case 3: image->orientation=BottomRightOrientation; break; image 502 coders/cin.c case 4: image->orientation=LeftTopOrientation; break; image 503 coders/cin.c case 5: image->orientation=RightTopOrientation; break; image 504 coders/cin.c case 6: image->orientation=LeftBottomOrientation; break; image 505 coders/cin.c case 7: image->orientation=RightBottomOrientation; break; image 507 coders/cin.c cin.image.number_channels=(unsigned char) ReadBlobByte(image); image 509 coders/cin.c offset+=ReadBlob(image,sizeof(cin.image.reserve1),(unsigned char *) image 510 coders/cin.c cin.image.reserve1); image 513 coders/cin.c cin.image.channel[i].designator[0]=(unsigned char) ReadBlobByte(image); image 515 coders/cin.c cin.image.channel[i].designator[1]=(unsigned char) ReadBlobByte(image); image 517 coders/cin.c cin.image.channel[i].bits_per_pixel=(unsigned char) ReadBlobByte(image); image 519 coders/cin.c cin.image.channel[i].reserve=(unsigned char) ReadBlobByte(image); image 521 coders/cin.c cin.image.channel[i].pixels_per_line=ReadBlobLong(image); image 523 coders/cin.c cin.image.channel[i].lines_per_image=ReadBlobLong(image); image 525 coders/cin.c cin.image.channel[i].min_data=ReadBlobFloat(image); image 527 coders/cin.c cin.image.channel[i].min_quantity=ReadBlobFloat(image); image 529 coders/cin.c cin.image.channel[i].max_data=ReadBlobFloat(image); image 531 coders/cin.c cin.image.channel[i].max_quantity=ReadBlobFloat(image); image 534 coders/cin.c cin.image.white_point[0]=ReadBlobFloat(image); image 536 coders/cin.c if (IsFloatDefined(cin.image.white_point[0]) != MagickFalse) image 537 coders/cin.c image->chromaticity.white_point.x=cin.image.white_point[0]; image 538 coders/cin.c cin.image.white_point[1]=ReadBlobFloat(image); image 540 coders/cin.c if (IsFloatDefined(cin.image.white_point[1]) != MagickFalse) image 541 coders/cin.c image->chromaticity.white_point.y=cin.image.white_point[1]; image 542 coders/cin.c cin.image.red_primary_chromaticity[0]=ReadBlobFloat(image); image 544 coders/cin.c if (IsFloatDefined(cin.image.red_primary_chromaticity[0]) != MagickFalse) image 545 coders/cin.c image->chromaticity.red_primary.x=cin.image.red_primary_chromaticity[0]; image 546 coders/cin.c cin.image.red_primary_chromaticity[1]=ReadBlobFloat(image); image 548 coders/cin.c if (IsFloatDefined(cin.image.red_primary_chromaticity[1]) != MagickFalse) image 549 coders/cin.c image->chromaticity.red_primary.y=cin.image.red_primary_chromaticity[1]; image 550 coders/cin.c cin.image.green_primary_chromaticity[0]=ReadBlobFloat(image); image 552 coders/cin.c if (IsFloatDefined(cin.image.green_primary_chromaticity[0]) != MagickFalse) image 553 coders/cin.c image->chromaticity.red_primary.x=cin.image.green_primary_chromaticity[0]; image 554 coders/cin.c cin.image.green_primary_chromaticity[1]=ReadBlobFloat(image); image 556 coders/cin.c if (IsFloatDefined(cin.image.green_primary_chromaticity[1]) != MagickFalse) image 557 coders/cin.c image->chromaticity.green_primary.y=cin.image.green_primary_chromaticity[1]; image 558 coders/cin.c cin.image.blue_primary_chromaticity[0]=ReadBlobFloat(image); image 560 coders/cin.c if (IsFloatDefined(cin.image.blue_primary_chromaticity[0]) != MagickFalse) image 561 coders/cin.c image->chromaticity.blue_primary.x=cin.image.blue_primary_chromaticity[0]; image 562 coders/cin.c cin.image.blue_primary_chromaticity[1]=ReadBlobFloat(image); image 564 coders/cin.c if (IsFloatDefined(cin.image.blue_primary_chromaticity[1]) != MagickFalse) image 565 coders/cin.c image->chromaticity.blue_primary.y=cin.image.blue_primary_chromaticity[1]; image 566 coders/cin.c offset+=ReadBlob(image,sizeof(cin.image.label),(unsigned char *) image 567 coders/cin.c cin.image.label); image 568 coders/cin.c (void) CopyMagickString(property,cin.image.label,sizeof(cin.image.label)); image 569 coders/cin.c (void) SetImageProperty(image,"dpx:image.label",property); image 570 coders/cin.c offset+=ReadBlob(image,sizeof(cin.image.reserve),(unsigned char *) image 571 coders/cin.c cin.image.reserve); image 575 coders/cin.c cin.data_format.interleave=(unsigned char) ReadBlobByte(image); image 577 coders/cin.c cin.data_format.packing=(unsigned char) ReadBlobByte(image); image 579 coders/cin.c cin.data_format.sign=(unsigned char) ReadBlobByte(image); image 581 coders/cin.c cin.data_format.sense=(unsigned char) ReadBlobByte(image); image 583 coders/cin.c cin.data_format.line_pad=ReadBlobLong(image); image 585 coders/cin.c cin.data_format.channel_pad=ReadBlobLong(image); image 587 coders/cin.c offset+=ReadBlob(image,sizeof(cin.data_format.reserve),(unsigned char *) image 592 coders/cin.c cin.origination.x_offset=(int) ReadBlobLong(image); image 595 coders/cin.c (void) FormatImageProperty(image,"dpx:origination.x_offset","%.20g", image 597 coders/cin.c cin.origination.y_offset=(ssize_t) ReadBlobLong(image); image 600 coders/cin.c (void) FormatImageProperty(image,"dpx:origination.y_offset","%.20g", image 602 coders/cin.c offset+=ReadBlob(image,sizeof(cin.origination.filename),(unsigned char *) image 606 coders/cin.c (void) SetImageProperty(image,"dpx:origination.filename",property); image 607 coders/cin.c offset+=ReadBlob(image,sizeof(cin.origination.create_date),(unsigned char *) image 611 coders/cin.c (void) SetImageProperty(image,"dpx:origination.create_date",property); image 612 coders/cin.c offset+=ReadBlob(image,sizeof(cin.origination.create_time),(unsigned char *) image 616 coders/cin.c (void) SetImageProperty(image,"dpx:origination.create_time",property); image 617 coders/cin.c offset+=ReadBlob(image,sizeof(cin.origination.device),(unsigned char *) image 621 coders/cin.c (void) SetImageProperty(image,"dpx:origination.device",property); image 622 coders/cin.c offset+=ReadBlob(image,sizeof(cin.origination.model),(unsigned char *) image 626 coders/cin.c (void) SetImageProperty(image,"dpx:origination.model",property); image 629 coders/cin.c offset+=ReadBlob(image,sizeof(cin.origination.serial),(unsigned char *) image 633 coders/cin.c (void) SetImageProperty(image,"dpx:origination.serial",property); image 634 coders/cin.c cin.origination.x_pitch=ReadBlobFloat(image); image 636 coders/cin.c cin.origination.y_pitch=ReadBlobFloat(image); image 638 coders/cin.c cin.origination.gamma=ReadBlobFloat(image); image 641 coders/cin.c image->gamma=cin.origination.gamma; image 642 coders/cin.c offset+=ReadBlob(image,sizeof(cin.origination.reserve),(unsigned char *) image 652 coders/cin.c cin.film.id=ReadBlobByte(image); image 656 coders/cin.c (void) FormatImageProperty(image,"dpx:film.id","%d",cin.film.id); image 657 coders/cin.c cin.film.type=ReadBlobByte(image); image 661 coders/cin.c (void) FormatImageProperty(image,"dpx:film.type","%d",cin.film.type); image 662 coders/cin.c cin.film.offset=ReadBlobByte(image); image 666 coders/cin.c (void) FormatImageProperty(image,"dpx:film.offset","%d", image 668 coders/cin.c cin.film.reserve1=ReadBlobByte(image); image 670 coders/cin.c cin.film.prefix=ReadBlobLong(image); image 673 coders/cin.c (void) FormatImageProperty(image,"dpx:film.prefix","%.20g",(double) image 675 coders/cin.c cin.film.count=ReadBlobLong(image); image 677 coders/cin.c offset+=ReadBlob(image,sizeof(cin.film.format),(unsigned char *) image 681 coders/cin.c (void) SetImageProperty(image,"dpx:film.format",property); image 682 coders/cin.c cin.film.frame_position=ReadBlobLong(image); image 685 coders/cin.c (void) FormatImageProperty(image,"dpx:film.frame_position","%.20g", image 687 coders/cin.c cin.film.frame_rate=ReadBlobFloat(image); image 690 coders/cin.c (void) FormatImageProperty(image,"dpx:film.frame_rate","%g", image 692 coders/cin.c offset+=ReadBlob(image,sizeof(cin.film.frame_id),(unsigned char *) image 696 coders/cin.c (void) SetImageProperty(image,"dpx:film.frame_id",property); image 697 coders/cin.c offset+=ReadBlob(image,sizeof(cin.film.slate_info),(unsigned char *) image 701 coders/cin.c (void) SetImageProperty(image,"dpx:film.slate_info",property); image 702 coders/cin.c offset+=ReadBlob(image,sizeof(cin.film.reserve),(unsigned char *) image 716 coders/cin.c offset+=ReadBlob(image,GetStringInfoLength(profile), image 718 coders/cin.c (void) SetImageProfile(image,"dpx:user.data",profile); image 721 coders/cin.c image->depth=cin.image.channel[0].bits_per_pixel; image 722 coders/cin.c image->columns=cin.image.channel[0].pixels_per_line; image 723 coders/cin.c image->rows=cin.image.channel[0].lines_per_image; image 726 coders/cin.c (void) CloseBlob(image); image 727 coders/cin.c return(image); image 734 coders/cin.c c=ReadBlobByte(image); image 740 coders/cin.c status=SetImageExtent(image,image->columns,image->rows); image 743 coders/cin.c InheritException(exception,&image->exception); image 744 coders/cin.c return(DestroyImageList(image)); image 749 coders/cin.c quantum_info=AcquireQuantumInfo(image_info,image); image 755 coders/cin.c length=GetQuantumExtent(image,quantum_info,quantum_type); image 756 coders/cin.c length=GetBytesPerRow(image->columns,3,image->depth,MagickTrue); image 757 coders/cin.c if (cin.image.number_channels == 1) image 760 coders/cin.c length=GetBytesPerRow(image->columns,1,image->depth,MagickTrue); image 762 coders/cin.c for (y=0; y < (ssize_t) image->rows; y++) image 764 coders/cin.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 767 coders/cin.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 771 coders/cin.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 773 coders/cin.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 775 coders/cin.c if (image->previous == (Image *) NULL) image 777 coders/cin.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 778 coders/cin.c image->rows); image 783 coders/cin.c SetQuantumImageType(image,quantum_type); image 785 coders/cin.c if (EOFBlob(image) != MagickFalse) image 787 coders/cin.c image->filename); image 788 coders/cin.c SetImageColorspace(image,LogColorspace); image 789 coders/cin.c (void) CloseBlob(image); image 790 coders/cin.c return(GetFirstImageInList(image)); image 883 coders/cin.c const Image *image,const char *property) image 891 coders/cin.c return(GetImageProperty(image,property)); image 894 coders/cin.c static MagickBooleanType WriteCINImage(const ImageInfo *image_info,Image *image) image 947 coders/cin.c assert(image != (Image *) NULL); image 948 coders/cin.c assert(image->signature == MagickSignature); image 949 coders/cin.c if (image->debug != MagickFalse) image 950 coders/cin.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 951 coders/cin.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 954 coders/cin.c if (image->colorspace != LogColorspace) image 955 coders/cin.c (void) TransformImageColorspace(image,LogColorspace); image 962 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.file.magic); image 964 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.file.image_offset); image 966 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.file.generic_length); image 968 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.file.industry_length); image 970 coders/cin.c profile=GetImageProfile(image,"dpx:user.data"); image 976 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.file.user_length); image 977 coders/cin.c cin.file.file_size=4*image->columns*image->rows+0x2000; image 978 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.file.file_size); image 980 coders/cin.c offset+=WriteBlob(image,sizeof(cin.file.version),(unsigned char *) image 982 coders/cin.c value=GetCINProperty(image_info,image,"dpx:file.filename"); image 986 coders/cin.c (void) CopyMagickString(cin.file.filename,image->filename, image 988 coders/cin.c offset+=WriteBlob(image,sizeof(cin.file.filename),(unsigned char *) image 1000 coders/cin.c offset+=WriteBlob(image,sizeof(cin.file.create_date),(unsigned char *) image 1004 coders/cin.c offset+=WriteBlob(image,sizeof(cin.file.create_time),(unsigned char *) image 1006 coders/cin.c offset+=WriteBlob(image,sizeof(cin.file.reserve),(unsigned char *) image 1008 coders/cin.c cin.image.orientation=0x00; image 1009 coders/cin.c offset+=WriteBlobByte(image,cin.image.orientation); image 1010 coders/cin.c cin.image.number_channels=3; image 1011 coders/cin.c offset+=WriteBlobByte(image,cin.image.number_channels); image 1012 coders/cin.c offset+=WriteBlob(image,sizeof(cin.image.reserve1),(unsigned char *) image 1013 coders/cin.c cin.image.reserve1); image 1016 coders/cin.c cin.image.channel[i].designator[0]=0; /* universal metric */ image 1017 coders/cin.c offset+=WriteBlobByte(image,cin.image.channel[0].designator[0]); image 1018 coders/cin.c cin.image.channel[i].designator[1]=(unsigned char) (i > 3 ? 0 : i+1); /* channel color */; image 1019 coders/cin.c offset+=WriteBlobByte(image,cin.image.channel[1].designator[0]); image 1020 coders/cin.c cin.image.channel[i].bits_per_pixel=(unsigned char) image->depth; image 1021 coders/cin.c offset+=WriteBlobByte(image,cin.image.channel[0].bits_per_pixel); image 1022 coders/cin.c offset+=WriteBlobByte(image,cin.image.channel[0].reserve); image 1023 coders/cin.c cin.image.channel[i].pixels_per_line=image->columns; image 1024 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) image 1025 coders/cin.c cin.image.channel[0].pixels_per_line); image 1026 coders/cin.c cin.image.channel[i].lines_per_image=image->rows; image 1027 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) image 1028 coders/cin.c cin.image.channel[0].lines_per_image); image 1029 coders/cin.c cin.image.channel[i].min_data=0; image 1030 coders/cin.c offset+=WriteBlobFloat(image,cin.image.channel[0].min_data); image 1031 coders/cin.c cin.image.channel[i].min_quantity=0.0; image 1032 coders/cin.c offset+=WriteBlobFloat(image,cin.image.channel[0].min_quantity); image 1033 coders/cin.c cin.image.channel[i].max_data=(float) ((MagickOffsetType) image 1034 coders/cin.c GetQuantumRange(image->depth)); image 1035 coders/cin.c offset+=WriteBlobFloat(image,cin.image.channel[0].max_data); image 1036 coders/cin.c cin.image.channel[i].max_quantity=2.048f; image 1037 coders/cin.c offset+=WriteBlobFloat(image,cin.image.channel[0].max_quantity); image 1039 coders/cin.c offset+=WriteBlobFloat(image,image->chromaticity.white_point.x); image 1040 coders/cin.c offset+=WriteBlobFloat(image,image->chromaticity.white_point.y); image 1041 coders/cin.c offset+=WriteBlobFloat(image,image->chromaticity.red_primary.x); image 1042 coders/cin.c offset+=WriteBlobFloat(image,image->chromaticity.red_primary.y); image 1043 coders/cin.c offset+=WriteBlobFloat(image,image->chromaticity.green_primary.x); image 1044 coders/cin.c offset+=WriteBlobFloat(image,image->chromaticity.green_primary.y); image 1045 coders/cin.c offset+=WriteBlobFloat(image,image->chromaticity.blue_primary.x); image 1046 coders/cin.c offset+=WriteBlobFloat(image,image->chromaticity.blue_primary.y); image 1047 coders/cin.c value=GetCINProperty(image_info,image,"dpx:image.label"); image 1049 coders/cin.c (void) CopyMagickString(cin.image.label,value,sizeof(cin.image.label)); image 1050 coders/cin.c offset+=WriteBlob(image,sizeof(cin.image.label),(unsigned char *) image 1051 coders/cin.c cin.image.label); image 1052 coders/cin.c offset+=WriteBlob(image,sizeof(cin.image.reserve),(unsigned char *) image 1053 coders/cin.c cin.image.reserve); image 1058 coders/cin.c offset+=WriteBlobByte(image,cin.data_format.interleave); image 1060 coders/cin.c offset+=WriteBlobByte(image,cin.data_format.packing); image 1062 coders/cin.c offset+=WriteBlobByte(image,cin.data_format.sign); image 1064 coders/cin.c offset+=WriteBlobByte(image,cin.data_format.sense); image 1066 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.data_format.line_pad); image 1068 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.data_format.channel_pad); image 1069 coders/cin.c offset+=WriteBlob(image,sizeof(cin.data_format.reserve),(unsigned char *) image 1075 coders/cin.c value=GetCINProperty(image_info,image,"dpx:origination.x_offset"); image 1078 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.origination.x_offset); image 1080 coders/cin.c value=GetCINProperty(image_info,image,"dpx:origination.y_offset"); image 1083 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.origination.y_offset); image 1084 coders/cin.c value=GetCINProperty(image_info,image,"dpx:origination.filename"); image 1089 coders/cin.c (void) CopyMagickString(cin.origination.filename,image->filename, image 1091 coders/cin.c offset+=WriteBlob(image,sizeof(cin.origination.filename),(unsigned char *) image 1099 coders/cin.c offset+=WriteBlob(image,sizeof(cin.origination.create_date),(unsigned char *) image 1104 coders/cin.c offset+=WriteBlob(image,sizeof(cin.origination.create_time),(unsigned char *) image 1106 coders/cin.c value=GetCINProperty(image_info,image,"dpx:origination.device"); image 1110 coders/cin.c offset+=WriteBlob(image,sizeof(cin.origination.device),(unsigned char *) image 1112 coders/cin.c value=GetCINProperty(image_info,image,"dpx:origination.model"); image 1116 coders/cin.c offset+=WriteBlob(image,sizeof(cin.origination.model),(unsigned char *) image 1118 coders/cin.c value=GetCINProperty(image_info,image,"dpx:origination.serial"); image 1122 coders/cin.c offset+=WriteBlob(image,sizeof(cin.origination.serial),(unsigned char *) image 1125 coders/cin.c value=GetCINProperty(image_info,image,"dpx:origination.x_pitch"); image 1128 coders/cin.c offset+=WriteBlobFloat(image,cin.origination.x_pitch); image 1130 coders/cin.c value=GetCINProperty(image_info,image,"dpx:origination.y_pitch"); image 1133 coders/cin.c offset+=WriteBlobFloat(image,cin.origination.y_pitch); image 1134 coders/cin.c cin.origination.gamma=image->gamma; image 1135 coders/cin.c offset+=WriteBlobFloat(image,cin.origination.gamma); image 1136 coders/cin.c offset+=WriteBlob(image,sizeof(cin.origination.reserve),(unsigned char *) image 1142 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.id"); image 1145 coders/cin.c offset+=WriteBlobByte(image,(unsigned char) cin.film.id); image 1147 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.type"); image 1150 coders/cin.c offset+=WriteBlobByte(image,(unsigned char) cin.film.type); image 1152 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.offset"); image 1155 coders/cin.c offset+=WriteBlobByte(image,(unsigned char) cin.film.offset); image 1156 coders/cin.c offset+=WriteBlobByte(image,(unsigned char) cin.film.reserve1); image 1158 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.prefix"); image 1161 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.film.prefix); image 1163 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.count"); image 1166 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.film.count); image 1167 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.format"); image 1170 coders/cin.c offset+=WriteBlob(image,sizeof(cin.film.format),(unsigned char *) image 1173 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.frame_position"); image 1176 coders/cin.c offset+=WriteBlobLong(image,(unsigned int) cin.film.frame_position); image 1178 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.frame_rate"); image 1181 coders/cin.c offset+=WriteBlobFloat(image,cin.film.frame_rate); image 1182 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.frame_id"); image 1185 coders/cin.c offset+=WriteBlob(image,sizeof(cin.film.frame_id),(unsigned char *) image 1187 coders/cin.c value=GetCINProperty(image_info,image,"dpx:film.slate_info"); image 1191 coders/cin.c offset+=WriteBlob(image,sizeof(cin.film.slate_info),(unsigned char *) image 1193 coders/cin.c offset+=WriteBlob(image,sizeof(cin.film.reserve),(unsigned char *) image 1196 coders/cin.c offset+=WriteBlob(image,GetStringInfoLength(profile), image 1199 coders/cin.c offset+=WriteBlobByte(image,0x00); image 1203 coders/cin.c quantum_info=AcquireQuantumInfo(image_info,image); image 1210 coders/cin.c length=GetBytesPerRow(image->columns,3,image->depth,MagickTrue); image 1216 coders/cin.c length=GetBytesPerRow(image->columns,1UL,image->depth,MagickTrue); image 1218 coders/cin.c for (y=0; y < (ssize_t) image->rows; y++) image 1220 coders/cin.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1223 coders/cin.c (void) ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 1224 coders/cin.c quantum_type,pixels,&image->exception); image 1225 coders/cin.c count=WriteBlob(image,length,pixels); image 1228 coders/cin.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1229 coders/cin.c image->rows); image 1234 coders/cin.c (void) CloseBlob(image); image 159 coders/cip.c static MagickBooleanType WriteCIPImage(const ImageInfo *image_info,Image *image) image 188 coders/cip.c assert(image != (Image *) NULL); image 189 coders/cip.c assert(image->signature == MagickSignature); image 190 coders/cip.c if (image->debug != MagickFalse) image 191 coders/cip.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 192 coders/cip.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 195 coders/cip.c (void) WriteBlobString(image,"<CiscoIPPhoneImage>\n"); image 196 coders/cip.c value=GetImageProperty(image,"label"); image 204 coders/cip.c GetPathComponent(image->filename,BasePath,basename); image 208 coders/cip.c (void) WriteBlobString(image,buffer); image 210 coders/cip.c "<LocationX>%.20g</LocationX>\n",(double) image->page.x); image 211 coders/cip.c (void) WriteBlobString(image,buffer); image 213 coders/cip.c "<LocationY>%.20g</LocationY>\n",(double) image->page.y); image 214 coders/cip.c (void) WriteBlobString(image,buffer); image 216 coders/cip.c (double) (image->columns+(image->columns % 2))); image 217 coders/cip.c (void) WriteBlobString(image,buffer); image 219 coders/cip.c (double) image->rows); image 220 coders/cip.c (void) WriteBlobString(image,buffer); image 222 coders/cip.c (void) WriteBlobString(image,buffer); image 223 coders/cip.c (void) WriteBlobString(image,"<Data>"); image 224 coders/cip.c (void) TransformImageColorspace(image,sRGBColorspace); image 225 coders/cip.c for (y=0; y < (ssize_t) image->rows; y++) image 227 coders/cip.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 230 coders/cip.c for (x=0; x < ((ssize_t) image->columns-3); x+=4) image 233 coders/cip.c ((((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+3))/QuantumRange) & 0x03) << 6) | image 234 coders/cip.c (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+2))/QuantumRange) & 0x03) << 4) | image 235 coders/cip.c (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+1))/QuantumRange) & 0x03) << 2) | image 236 coders/cip.c (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+0))/QuantumRange) & 0x03) << 0)); image 238 coders/cip.c (void) WriteBlobString(image,buffer); image 241 coders/cip.c if ((image->columns % 4) != 0) image 243 coders/cip.c i=(ssize_t) image->columns % 4; image 245 coders/cip.c ((((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+MagickMin(i,3)))/QuantumRange) & 0x03) << 6) | image 246 coders/cip.c (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+MagickMin(i,2)))/QuantumRange) & 0x03) << 4) | image 247 coders/cip.c (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+MagickMin(i,1)))/QuantumRange) & 0x03) << 2) | image 248 coders/cip.c (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+MagickMin(i,0)))/QuantumRange) & 0x03) << 0)); image 250 coders/cip.c (void) WriteBlobString(image,buffer); image 252 coders/cip.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 253 coders/cip.c image->rows); image 257 coders/cip.c (void) WriteBlobString(image,"</Data>\n"); image 258 coders/cip.c (void) WriteBlobString(image,"</CiscoIPPhoneImage>\n"); image 259 coders/cip.c (void) CloseBlob(image); image 95 coders/clip.c *image; image 113 coders/clip.c image=ReadImage(read_info,exception); image 115 coders/clip.c if (image != (Image *) NULL) image 120 coders/clip.c (void) ClipImage(image); image 121 coders/clip.c if (image->clip_mask == (Image *) NULL) image 123 coders/clip.c clip_image=CloneImage(image->clip_mask,0,0,MagickTrue,exception); image 124 coders/clip.c image=DestroyImage(image); image 125 coders/clip.c image=clip_image; image 127 coders/clip.c return(GetFirstImageInList(image)); image 218 coders/clip.c Image *image) image 229 coders/clip.c if (image->clip_mask == (Image *) NULL) image 230 coders/clip.c (void) ClipImage(image); image 231 coders/clip.c if (image->clip_mask == (Image *) NULL) image 233 coders/clip.c clip_image=CloneImage(image->clip_mask,0,0,MagickTrue,&image->exception); image 237 coders/clip.c (void) CopyMagickString(clip_image->filename,image->filename,MaxTextExtent); image 240 coders/clip.c (void) SetImageInfo(write_info,1,&image->exception); image 109 coders/clipboard.c *image; image 130 coders/clipboard.c image=AcquireImage(image_info); image 167 coders/clipboard.c if ((image->columns == 0) || (image->rows == 0)) image 169 coders/clipboard.c image->columns=bitmap.bmWidth; image 170 coders/clipboard.c image->rows=bitmap.bmHeight; image 172 coders/clipboard.c status=SetImageExtent(image,image->columns,image->rows); image 175 coders/clipboard.c InheritException(exception,&image->exception); image 176 coders/clipboard.c return(DestroyImageList(image)); image 183 coders/clipboard.c DIBinfo.bmiHeader.biWidth=(LONG) image->columns; image 184 coders/clipboard.c DIBinfo.bmiHeader.biHeight=(-1)*(LONG) image->rows; image 217 coders/clipboard.c BitBlt(hDC,0,0,(int) image->columns,(int) image->rows,hMemDC,0,0,SRCCOPY); image 220 coders/clipboard.c for (y=0; y < (ssize_t) image->rows; y++) image 222 coders/clipboard.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 225 coders/clipboard.c for (x=0; x < (ssize_t) image->columns; x++) image 234 coders/clipboard.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 241 coders/clipboard.c (void) CloseBlob(image); image 242 coders/clipboard.c return(GetFirstImageInList(image)); image 338 coders/clipboard.c Image *image) image 345 coders/clipboard.c assert(image != (Image *) NULL); image 346 coders/clipboard.c assert(image->signature == MagickSignature); image 347 coders/clipboard.c if (image->debug != MagickFalse) image 348 coders/clipboard.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 355 coders/clipboard.c bitmapH=(HBITMAP) ImageToHBITMAP(image,&image->exception); image 108 coders/cmyk.c *image; image 142 coders/cmyk.c image=AcquireImage(image_info); image 143 coders/cmyk.c if ((image->columns == 0) || (image->rows == 0)) image 145 coders/cmyk.c SetImageColorspace(image,CMYKColorspace); image 148 coders/cmyk.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 151 coders/cmyk.c image=DestroyImageList(image); image 154 coders/cmyk.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 156 coders/cmyk.c image->filename); image 161 coders/cmyk.c canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, image 171 coders/cmyk.c image->matte=MagickTrue; image 175 coders/cmyk.c while (image->scene < image_info->scene) image 180 coders/cmyk.c image->scene++; image 182 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 184 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 199 coders/cmyk.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 201 coders/cmyk.c status=SetImageExtent(image,image->columns,image->rows); image 204 coders/cmyk.c InheritException(exception,&image->exception); image 205 coders/cmyk.c return(DestroyImageList(image)); image 207 coders/cmyk.c SetImageColorspace(image,CMYKColorspace); image 219 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 222 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 242 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 253 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 254 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 258 coders/cmyk.c q=QueueAuthenticPixels(image,0,y-image->extract_info.y, image 259 coders/cmyk.c image->columns,1,exception); image 264 coders/cmyk.c indexes=GetAuthenticIndexQueue(image); image 265 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 271 coders/cmyk.c canvas_indexes+image->extract_info.x+x)); image 273 coders/cmyk.c if (image->matte != MagickFalse) image 278 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 281 coders/cmyk.c if (image->previous == (Image *) NULL) image 283 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 284 coders/cmyk.c image->rows); image 288 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 311 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 314 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 334 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 337 coders/cmyk.c for (i=0; i < (image->matte != MagickFalse ? 5 : 4); i++) image 348 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 349 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 353 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 354 coders/cmyk.c image->columns,1,exception); image 359 coders/cmyk.c indexes=GetAuthenticIndexQueue(image); image 360 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 382 coders/cmyk.c canvas_indexes+image->extract_info.x+x)); image 396 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 399 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 402 coders/cmyk.c if (image->previous == (Image *) NULL) image 404 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 405 coders/cmyk.c image->rows); image 420 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 423 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 437 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 448 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 449 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 453 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 454 coders/cmyk.c image->columns,1,exception); image 458 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 464 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 467 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 470 coders/cmyk.c if (image->previous == (Image *) NULL) image 472 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,1,6); image 476 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 490 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 501 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 502 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 506 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 507 coders/cmyk.c image->columns,1,exception); image 511 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 517 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 520 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 523 coders/cmyk.c if (image->previous == (Image *) NULL) image 525 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,2,6); image 529 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 543 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 554 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 555 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 559 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 560 coders/cmyk.c image->columns,1,exception); image 564 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 570 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 573 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 576 coders/cmyk.c if (image->previous == (Image *) NULL) image 578 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,3,6); image 582 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 602 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 613 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 614 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 618 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 619 coders/cmyk.c image->columns,1,exception); image 624 coders/cmyk.c indexes=GetAuthenticIndexQueue(image); image 625 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 628 coders/cmyk.c canvas_indexes+image->extract_info.x+x)); image 632 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 635 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 638 coders/cmyk.c if (image->previous == (Image *) NULL) image 640 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,4,6); image 644 coders/cmyk.c if (image->matte != MagickFalse) image 646 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 660 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 671 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 672 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 677 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 678 coders/cmyk.c image->columns,1,exception); image 682 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 688 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 691 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 694 coders/cmyk.c if (image->previous == (Image *) NULL) image 696 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,5,6); image 701 coders/cmyk.c if (image->previous == (Image *) NULL) image 703 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,6,6); image 714 coders/cmyk.c AppendImageFormat("C",image->filename); image 715 coders/cmyk.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 719 coders/cmyk.c image=DestroyImageList(image); image 722 coders/cmyk.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 724 coders/cmyk.c image->filename); image 727 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 729 coders/cmyk.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 734 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 738 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 740 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 754 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 765 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 766 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 770 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 771 coders/cmyk.c image->columns,1,exception); image 775 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 781 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 784 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 787 coders/cmyk.c if (image->previous == (Image *) NULL) image 789 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,1,5); image 793 coders/cmyk.c (void) CloseBlob(image); image 794 coders/cmyk.c AppendImageFormat("M",image->filename); image 795 coders/cmyk.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 799 coders/cmyk.c image=DestroyImageList(image); image 804 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 806 coders/cmyk.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 811 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 815 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 817 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 831 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 842 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 843 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 847 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 848 coders/cmyk.c image->columns,1,exception); image 852 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 858 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 861 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 864 coders/cmyk.c if (image->previous == (Image *) NULL) image 866 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,2,5); image 870 coders/cmyk.c (void) CloseBlob(image); image 871 coders/cmyk.c AppendImageFormat("Y",image->filename); image 872 coders/cmyk.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 876 coders/cmyk.c image=DestroyImageList(image); image 881 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 883 coders/cmyk.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 888 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 892 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 894 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 908 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 919 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 920 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 924 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 925 coders/cmyk.c image->columns,1,exception); image 929 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 935 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 938 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 941 coders/cmyk.c if (image->previous == (Image *) NULL) image 943 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,3,5); image 947 coders/cmyk.c (void) CloseBlob(image); image 948 coders/cmyk.c AppendImageFormat("K",image->filename); image 949 coders/cmyk.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 953 coders/cmyk.c image=DestroyImageList(image); image 958 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 960 coders/cmyk.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 965 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 969 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 971 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 991 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 1002 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 1003 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 1007 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 1008 coders/cmyk.c image->columns,1,exception); image 1013 coders/cmyk.c indexes=GetAuthenticIndexQueue(image); image 1014 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 1017 coders/cmyk.c canvas_indexes+image->extract_info.x+x)); image 1021 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1024 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 1027 coders/cmyk.c if (image->previous == (Image *) NULL) image 1029 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,3,5); image 1033 coders/cmyk.c if (image->matte != MagickFalse) image 1035 coders/cmyk.c (void) CloseBlob(image); image 1036 coders/cmyk.c AppendImageFormat("A",image->filename); image 1037 coders/cmyk.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 1041 coders/cmyk.c image=DestroyImageList(image); image 1046 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 1048 coders/cmyk.c (void) ReadBlobStream(image,length, image 1053 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 1057 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 1059 coders/cmyk.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 1073 coders/cmyk.c "UnexpectedEndOfFile",image->filename); image 1084 coders/cmyk.c if (((y-image->extract_info.y) >= 0) && image 1085 coders/cmyk.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 1089 coders/cmyk.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 1090 coders/cmyk.c image->columns,1,exception); image 1094 coders/cmyk.c for (x=0; x < (ssize_t) image->columns; x++) image 1100 coders/cmyk.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1103 coders/cmyk.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 1106 coders/cmyk.c if (image->previous == (Image *) NULL) image 1108 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,4,5); image 1113 coders/cmyk.c if (image->previous == (Image *) NULL) image 1115 coders/cmyk.c status=SetImageProgress(image,LoadImageTag,5,5); image 1122 coders/cmyk.c SetQuantumImageType(image,quantum_type); image 1127 coders/cmyk.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 1134 coders/cmyk.c AcquireNextImage(image_info,image); image 1135 coders/cmyk.c if (GetNextImageInList(image) == (Image *) NULL) image 1137 coders/cmyk.c image=DestroyImageList(image); image 1140 coders/cmyk.c image=SyncNextImageInList(image); image 1141 coders/cmyk.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 1142 coders/cmyk.c GetBlobSize(image)); image 1149 coders/cmyk.c InheritException(&image->exception,&canvas_image->exception); image 1151 coders/cmyk.c (void) CloseBlob(image); image 1152 coders/cmyk.c return(GetFirstImageInList(image)); image 1256 coders/cmyk.c Image *image) image 1285 coders/cmyk.c assert(image != (Image *) NULL); image 1286 coders/cmyk.c assert(image->signature == MagickSignature); image 1287 coders/cmyk.c if (image->debug != MagickFalse) image 1288 coders/cmyk.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1294 coders/cmyk.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1302 coders/cmyk.c image->matte=MagickTrue; image 1310 coders/cmyk.c if (image->colorspace != CMYKColorspace) image 1311 coders/cmyk.c (void) TransformImageColorspace(image,CMYKColorspace); image 1313 coders/cmyk.c (image->matte == MagickFalse)) image 1314 coders/cmyk.c (void) SetImageAlphaChannel(image,ResetAlphaChannel); image 1315 coders/cmyk.c quantum_info=AcquireQuantumInfo(image_info,image); image 1327 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1332 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1335 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1336 coders/cmyk.c quantum_info,quantum_type,pixels,&image->exception); image 1337 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1340 coders/cmyk.c if (image->previous == (Image *) NULL) image 1342 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1343 coders/cmyk.c image->rows); image 1355 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1360 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1363 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1364 coders/cmyk.c quantum_info,CyanQuantum,pixels,&image->exception); image 1365 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1368 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1369 coders/cmyk.c quantum_info,MagentaQuantum,pixels,&image->exception); image 1370 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1373 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1374 coders/cmyk.c quantum_info,YellowQuantum,pixels,&image->exception); image 1375 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1378 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1379 coders/cmyk.c quantum_info,BlackQuantum,pixels,&image->exception); image 1380 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1385 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1386 coders/cmyk.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1387 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1391 coders/cmyk.c if (image->previous == (Image *) NULL) image 1393 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1394 coders/cmyk.c image->rows); image 1406 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1411 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1414 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1415 coders/cmyk.c quantum_info,CyanQuantum,pixels,&image->exception); image 1416 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1420 coders/cmyk.c if (image->previous == (Image *) NULL) image 1422 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,1,6); image 1426 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1431 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1434 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1435 coders/cmyk.c quantum_info,MagentaQuantum,pixels,&image->exception); image 1436 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1440 coders/cmyk.c if (image->previous == (Image *) NULL) image 1442 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,2,6); image 1446 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1451 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1454 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1455 coders/cmyk.c quantum_info,YellowQuantum,pixels,&image->exception); image 1456 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1460 coders/cmyk.c if (image->previous == (Image *) NULL) image 1462 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,3,6); image 1466 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1471 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1474 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1475 coders/cmyk.c quantum_info,BlackQuantum,pixels,&image->exception); image 1476 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1480 coders/cmyk.c if (image->previous == (Image *) NULL) image 1482 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,4,6); image 1488 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1493 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1496 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1497 coders/cmyk.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1498 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1502 coders/cmyk.c if (image->previous == (Image *) NULL) image 1504 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,5,6); image 1510 coders/cmyk.c (void) CopyMagickString(image->filename,image_info->filename, image 1512 coders/cmyk.c if (image->previous == (Image *) NULL) image 1514 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,6,6); image 1525 coders/cmyk.c AppendImageFormat("C",image->filename); image 1526 coders/cmyk.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1527 coders/cmyk.c AppendBinaryBlobMode,&image->exception); image 1530 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1535 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1538 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1539 coders/cmyk.c quantum_info,CyanQuantum,pixels,&image->exception); image 1540 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1544 coders/cmyk.c if (image->previous == (Image *) NULL) image 1546 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,1,6); image 1550 coders/cmyk.c (void) CloseBlob(image); image 1551 coders/cmyk.c AppendImageFormat("M",image->filename); image 1552 coders/cmyk.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1553 coders/cmyk.c AppendBinaryBlobMode,&image->exception); image 1556 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1561 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1564 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1565 coders/cmyk.c quantum_info,MagentaQuantum,pixels,&image->exception); image 1566 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1570 coders/cmyk.c if (image->previous == (Image *) NULL) image 1572 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,2,6); image 1576 coders/cmyk.c (void) CloseBlob(image); image 1577 coders/cmyk.c AppendImageFormat("Y",image->filename); image 1578 coders/cmyk.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1579 coders/cmyk.c AppendBinaryBlobMode,&image->exception); image 1582 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1587 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1590 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1591 coders/cmyk.c quantum_info,YellowQuantum,pixels,&image->exception); image 1592 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1596 coders/cmyk.c if (image->previous == (Image *) NULL) image 1598 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,3,6); image 1602 coders/cmyk.c (void) CloseBlob(image); image 1603 coders/cmyk.c AppendImageFormat("K",image->filename); image 1604 coders/cmyk.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1605 coders/cmyk.c AppendBinaryBlobMode,&image->exception); image 1608 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1613 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1616 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1617 coders/cmyk.c quantum_info,BlackQuantum,pixels,&image->exception); image 1618 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1622 coders/cmyk.c if (image->previous == (Image *) NULL) image 1624 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,4,6); image 1630 coders/cmyk.c (void) CloseBlob(image); image 1631 coders/cmyk.c AppendImageFormat("A",image->filename); image 1632 coders/cmyk.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1633 coders/cmyk.c AppendBinaryBlobMode,&image->exception); image 1636 coders/cmyk.c for (y=0; y < (ssize_t) image->rows; y++) image 1641 coders/cmyk.c p=GetVirtualPixels(image,0,y,image->columns,1, image 1642 coders/cmyk.c &image->exception); image 1645 coders/cmyk.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1646 coders/cmyk.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1647 coders/cmyk.c count=WriteBlob(image,length,pixels); image 1651 coders/cmyk.c if (image->previous == (Image *) NULL) image 1653 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,5,6); image 1658 coders/cmyk.c (void) CloseBlob(image); image 1659 coders/cmyk.c (void) CopyMagickString(image->filename,image_info->filename, image 1661 coders/cmyk.c if (image->previous == (Image *) NULL) image 1663 coders/cmyk.c status=SetImageProgress(image,SaveImageTag,6,6); image 1671 coders/cmyk.c if (GetNextImageInList(image) == (Image *) NULL) image 1673 coders/cmyk.c image=SyncNextImageInList(image); image 1674 coders/cmyk.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1675 coders/cmyk.c GetImageListLength(image)); image 1679 coders/cmyk.c (void) CloseBlob(image); image 98 coders/cut.c static void InsertRow(ssize_t depth,unsigned char *p,ssize_t y,Image *image) image 109 coders/cut.c exception=(&image->exception); image 114 coders/cut.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 117 coders/cut.c indexes=GetAuthenticIndexQueue(image); image 118 coders/cut.c for (x=0; x < ((ssize_t) image->columns-7); x+=8) image 127 coders/cut.c if ((image->columns % 8) != 0) image 129 coders/cut.c for (bit=0; bit < (image->columns % 8); bit++) image 136 coders/cut.c (void) SyncAuthenticPixels(image,exception); image 141 coders/cut.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 144 coders/cut.c indexes=GetAuthenticIndexQueue(image); image 145 coders/cut.c for (x=0; x < ((ssize_t) image->columns-1); x+=2) image 147 coders/cut.c index=ConstrainColormapIndex(image,(*p >> 6) & 0x3); image 149 coders/cut.c index=ConstrainColormapIndex(image,(*p >> 4) & 0x3); image 151 coders/cut.c index=ConstrainColormapIndex(image,(*p >> 2) & 0x3); image 153 coders/cut.c index=ConstrainColormapIndex(image,(*p) & 0x3); image 157 coders/cut.c if ((image->columns % 4) != 0) image 159 coders/cut.c index=ConstrainColormapIndex(image,(*p >> 6) & 0x3); image 161 coders/cut.c if ((image->columns % 4) >= 1) image 164 coders/cut.c index=ConstrainColormapIndex(image,(*p >> 4) & 0x3); image 166 coders/cut.c if ((image->columns % 4) >= 2) image 169 coders/cut.c index=ConstrainColormapIndex(image,(*p >> 2) & 0x3); image 175 coders/cut.c (void) SyncAuthenticPixels(image,exception); image 181 coders/cut.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 184 coders/cut.c indexes=GetAuthenticIndexQueue(image); image 185 coders/cut.c for (x=0; x < ((ssize_t) image->columns-1); x+=2) image 187 coders/cut.c index=ConstrainColormapIndex(image,(*p >> 4) & 0xf); image 189 coders/cut.c index=ConstrainColormapIndex(image,(*p) & 0xf); image 193 coders/cut.c if ((image->columns % 2) != 0) image 195 coders/cut.c index=ConstrainColormapIndex(image,(*p >> 4) & 0xf); image 199 coders/cut.c (void) SyncAuthenticPixels(image,exception); image 204 coders/cut.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 206 coders/cut.c indexes=GetAuthenticIndexQueue(image); image 207 coders/cut.c for (x=0; x < (ssize_t) image->columns; x++) image 209 coders/cut.c index=ConstrainColormapIndex(image,*p); image 213 coders/cut.c (void) SyncAuthenticPixels(image,exception); image 222 coders/cut.c static int GetCutColors(Image *image) image 238 coders/cut.c exception=(&image->exception); image 241 coders/cut.c for (y=0; y < (ssize_t) image->rows; y++) image 243 coders/cut.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 246 coders/cut.c for (x=0; x < (ssize_t) image->columns; x++) image 290 coders/cut.c Image *image,*palette; image 317 coders/cut.c image=AcquireImage(image_info); image 318 coders/cut.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 321 coders/cut.c image=DestroyImageList(image); image 329 coders/cut.c Header.Width=ReadBlobLSBShort(image); image 330 coders/cut.c Header.Height=ReadBlobLSBShort(image); image 331 coders/cut.c Header.Reserved=ReadBlobLSBShort(image); image 337 coders/cut.c EncodedByte=ReadBlobLSBShort(image); image 338 coders/cut.c RunCount=(unsigned char) ReadBlobByte(image); image 345 coders/cut.c offset=SeekBlob(image,TellBlob(image)+i,SEEK_SET); image 348 coders/cut.c if(EOFBlob(image) != MagickFalse) goto CUT_KO; /*wrong data*/ image 352 coders/cut.c RunCount=(unsigned char) ReadBlobByte(image); image 353 coders/cut.c if(EOFBlob(image) != MagickFalse) goto CUT_KO; /*wrong data: unexpected eof in line*/ image 364 coders/cut.c image->columns=Header.Width; image 365 coders/cut.c image->rows=Header.Height; image 366 coders/cut.c image->depth=8; image 367 coders/cut.c image->colors=(size_t) (GetQuantumRange(1UL*i)+1); image 370 coders/cut.c status=SetImageExtent(image,image->columns,image->rows); image 373 coders/cut.c InheritException(exception,&image->exception); image 374 coders/cut.c return(DestroyImageList(image)); image 443 coders/cut.c image->colors=PalHeader.MaxIndex+1; image 444 coders/cut.c if (AcquireImageColormap(image,image->colors) == MagickFalse) goto NoMemory; image 460 coders/cut.c image->colormap[i].red=(Quantum) ReadBlobLSBShort(palette); image 463 coders/cut.c image->colormap[i].red=ClampToQuantum(((double) image 464 coders/cut.c image->colormap[i].red*QuantumRange+(PalHeader.MaxRed>>1))/ image 467 coders/cut.c image->colormap[i].green=(Quantum) ReadBlobLSBShort(palette); image 470 coders/cut.c image->colormap[i].green=ClampToQuantum image 471 coders/cut.c (((double) image->colormap[i].green*QuantumRange+(PalHeader.MaxGreen>>1))/PalHeader.MaxGreen); image 473 coders/cut.c image->colormap[i].blue=(Quantum) ReadBlobLSBShort(palette); image 476 coders/cut.c image->colormap[i].blue=ClampToQuantum image 477 coders/cut.c (((double)image->colormap[i].blue*QuantumRange+(PalHeader.MaxBlue>>1))/PalHeader.MaxBlue); image 489 coders/cut.c image->colors=256; image 490 coders/cut.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 496 coders/cut.c for (i=0; i < (ssize_t)image->colors; i++) image 498 coders/cut.c image->colormap[i].red=ScaleCharToQuantum((unsigned char) i); image 499 coders/cut.c image->colormap[i].green=ScaleCharToQuantum((unsigned char) i); image 500 coders/cut.c image->colormap[i].blue=ScaleCharToQuantum((unsigned char) i); image 510 coders/cut.c offset=SeekBlob(image,6 /*sizeof(Header)*/,SEEK_SET); image 515 coders/cut.c EncodedByte=ReadBlobLSBShort(image); image 520 coders/cut.c RunCount=(unsigned char) ReadBlobByte(image); image 536 coders/cut.c RunValue=(unsigned char) ReadBlobByte(image); image 540 coders/cut.c (void) ReadBlob(image,(size_t) RunCountMasked,ptrB); image 546 coders/cut.c if (EOFBlob(image) != MagickFalse) goto Finish; /* wrong data: unexpected eof in line */ image 547 coders/cut.c RunCount=(unsigned char) ReadBlobByte(image); image 551 coders/cut.c InsertRow(depth,BImgBuff,i,image); image 553 coders/cut.c (void) SyncImage(image); image 560 coders/cut.c if ((image->storage_class == PseudoClass) && image 561 coders/cut.c (SetImageGray(image,&image->exception) != MagickFalse)) image 563 coders/cut.c if(GetCutColors(image)==2) image 565 coders/cut.c for (i=0; i < (ssize_t)image->colors; i++) image 570 coders/cut.c if(image->colormap[i].red!=sample) goto Finish; image 571 coders/cut.c if(image->colormap[i].green!=sample) goto Finish; image 572 coders/cut.c if(image->colormap[i].blue!=sample) goto Finish; image 575 coders/cut.c image->colormap[1].red=image->colormap[1].green= image 576 coders/cut.c image->colormap[1].blue=QuantumRange; image 577 coders/cut.c for (i=0; i < (ssize_t)image->rows; i++) image 579 coders/cut.c q=QueueAuthenticPixels(image,0,i,image->columns,1,exception); image 580 coders/cut.c for (j=0; j < (ssize_t)image->columns; j++) image 590 coders/cut.c if (SyncAuthenticPixels(image,exception) == MagickFalse) goto Finish; image 603 coders/cut.c if (EOFBlob(image) != MagickFalse) image 605 coders/cut.c image->filename); image 606 coders/cut.c (void) CloseBlob(image); image 607 coders/cut.c return(GetFirstImageInList(image)); image 2703 coders/dcm.c static int ReadDCMByte(DCMStreamInfo *stream_info,Image *image) image 2705 coders/dcm.c if (image->compression != RLECompression) image 2706 coders/dcm.c return(ReadBlobByte(image)); image 2719 coders/dcm.c count=(ssize_t) ReadBlobByte(image); image 2720 coders/dcm.c byte=ReadBlobByte(image); image 2748 coders/dcm.c return(ReadBlobByte(image)); image 2751 coders/dcm.c static unsigned short ReadDCMShort(DCMStreamInfo *stream_info,Image *image) image 2759 coders/dcm.c if (image->compression != RLECompression) image 2760 coders/dcm.c return(ReadBlobLSBShort(image)); image 2761 coders/dcm.c shift=image->depth < 16 ? 4 : 8; image 2762 coders/dcm.c value=ReadDCMByte(stream_info,image) | (unsigned short) image 2763 coders/dcm.c (ReadDCMByte(stream_info,image) << shift); image 2779 coders/dcm.c *image; image 2858 coders/dcm.c image=AcquireImage(image_info); image 2859 coders/dcm.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 2862 coders/dcm.c image=DestroyImageList(image); image 2865 coders/dcm.c image->depth=8UL; image 2866 coders/dcm.c image->endian=LSBEndian; image 2874 coders/dcm.c count=ReadBlob(image,128,(unsigned char *) magick); image 2877 coders/dcm.c count=ReadBlob(image,4,(unsigned char *) magick); image 2880 coders/dcm.c offset=SeekBlob(image,0L,SEEK_SET); image 2923 coders/dcm.c image->offset=(ssize_t) TellBlob(image); image 2924 coders/dcm.c group=ReadBlobLSBShort(image); image 2925 coders/dcm.c element=ReadBlobLSBShort(image); image 2926 coders/dcm.c if ((group != 0x0002) && (image->endian == MSBEndian)) image 2939 coders/dcm.c count=ReadBlob(image,2,(unsigned char *) explicit_vr); image 2955 coders/dcm.c offset=SeekBlob(image,(MagickOffsetType) -2,SEEK_CUR); image 2971 coders/dcm.c (void) ReadBlobLSBShort(image); image 2979 coders/dcm.c datum=(int) ReadBlobLSBLong(image); image 2981 coders/dcm.c datum=(int) ReadBlobLong(image); image 2987 coders/dcm.c datum=(int) ReadBlobLSBShort(image); image 2989 coders/dcm.c datum=(int) ReadBlobShort(image); image 3031 coders/dcm.c (unsigned long) image->offset,(long) length,implicit_vr,explicit_vr, image 3048 coders/dcm.c datum=(int) ReadBlobByte(image); image 3053 coders/dcm.c datum=(int) ReadBlobLSBShort(image); image 3055 coders/dcm.c datum=(int) ReadBlobShort(image); image 3061 coders/dcm.c datum=(int) ReadBlobLSBLong(image); image 3063 coders/dcm.c datum=(int) ReadBlobLong(image); image 3074 coders/dcm.c count=ReadBlob(image,(size_t) quantum*length,data); image 3122 coders/dcm.c (void) SeekBlob(image,(MagickOffsetType) 0,SEEK_SET); image 3157 coders/dcm.c image->endian=LSBEndian; image 3162 coders/dcm.c image->endian=MSBEndian; image 3168 coders/dcm.c image->compression=JPEGCompression; image 3171 coders/dcm.c image->compression=JPEG2000Compression; image 3173 coders/dcm.c image->compression=JPEGCompression; image 3178 coders/dcm.c image->compression=RLECompression; image 3220 coders/dcm.c image->interlace=PlaneInterlace; image 3369 coders/dcm.c if (image->endian == MSBEndian) image 3397 coders/dcm.c if (image->endian == MSBEndian) image 3425 coders/dcm.c if (image->endian == MSBEndian) image 3477 coders/dcm.c (void) SetImageProperty(image,attribute,(char *) data); image 3515 coders/dcm.c if (EOFBlob(image) != MagickFalse) image 3518 coders/dcm.c image->filename); image 3524 coders/dcm.c image->columns=(size_t) width; image 3525 coders/dcm.c image->rows=(size_t) height; image 3528 coders/dcm.c if ((image->compression == JPEGCompression) || image 3529 coders/dcm.c (image->compression == JPEG2000Compression)) image 3550 coders/dcm.c (void) ReadBlobByte(image); image 3551 coders/dcm.c tag=(ReadBlobLSBShort(image) << 16) | ReadBlobLSBShort(image); image 3553 coders/dcm.c length=(size_t) ReadBlobLSBLong(image); image 3565 coders/dcm.c stream_info->offsets[i]=(ssize_t) ((int) ReadBlobLSBLong(image)); image 3566 coders/dcm.c offset=TellBlob(image); image 3596 coders/dcm.c tag=(ReadBlobLSBShort(image) << 16) | ReadBlobLSBShort(image); image 3597 coders/dcm.c length=(size_t) ReadBlobLSBLong(image); image 3615 coders/dcm.c c=ReadBlobByte(image); image 3619 coders/dcm.c "UnexpectedEndOfFile",image->filename); image 3627 coders/dcm.c if (image->compression == JPEG2000Compression) image 3633 coders/dcm.c ResetImagePropertyIterator(image); image 3634 coders/dcm.c property=GetNextImageProperty(image); image 3638 coders/dcm.c GetImageProperty(image,property)); image 3639 coders/dcm.c property=GetNextImageProperty(image); image 3646 coders/dcm.c image=DestroyImage(image); image 3668 coders/dcm.c if (image->compression == RLECompression) image 3680 coders/dcm.c (void) ReadBlobByte(image); image 3681 coders/dcm.c tag=(ReadBlobLSBShort(image) << 16) | ReadBlobLSBShort(image); image 3683 coders/dcm.c length=(size_t) ReadBlobLSBLong(image); image 3695 coders/dcm.c stream_info->offsets[i]=(ssize_t) ((int) ReadBlobLSBLong(image)); image 3696 coders/dcm.c offset=TellBlob(image); image 3705 coders/dcm.c image->columns=(size_t) width; image 3706 coders/dcm.c image->rows=(size_t) height; image 3707 coders/dcm.c image->depth=depth; image 3708 coders/dcm.c status=SetImageExtent(image,image->columns,image->rows); image 3711 coders/dcm.c InheritException(exception,&image->exception); image 3714 coders/dcm.c image->colorspace=RGBColorspace; image 3715 coders/dcm.c if ((image->colormap == (PixelPacket *) NULL) && (samples_per_pixel == 1)) image 3723 coders/dcm.c if (AcquireImageColormap(image,one << depth) == MagickFalse) image 3731 coders/dcm.c image->colormap[i].red=(Quantum) index; image 3739 coders/dcm.c image->colormap[i].green=(Quantum) index; image 3747 coders/dcm.c image->colormap[i].blue=(Quantum) index; image 3755 coders/dcm.c image->colormap[i].red=(Quantum) index; image 3756 coders/dcm.c image->colormap[i].green=(Quantum) index; image 3757 coders/dcm.c image->colormap[i].blue=(Quantum) index; image 3760 coders/dcm.c if (image->compression == RLECompression) image 3769 coders/dcm.c (void) ReadBlobByte(image); image 3770 coders/dcm.c tag=(ReadBlobLSBShort(image) << 16) | ReadBlobLSBShort(image); image 3771 coders/dcm.c stream_info->remaining=(size_t) ReadBlobLSBLong(image); image 3773 coders/dcm.c (EOFBlob(image) != MagickFalse)) image 3776 coders/dcm.c stream_info->segment_count=ReadBlobLSBLong(image); image 3783 coders/dcm.c stream_info->segments[i]=(ssize_t) ((int) ReadBlobLSBLong(image)); image 3786 coders/dcm.c if ((samples_per_pixel > 1) && (image->interlace == PlaneInterlace)) image 3793 coders/dcm.c for (y=0; y < (ssize_t) image->rows; y++) image 3795 coders/dcm.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 3798 coders/dcm.c for (x=0; x < (ssize_t) image->columns; x++) image 3805 coders/dcm.c ReadDCMByte(stream_info,image))); image 3811 coders/dcm.c ReadDCMByte(stream_info,image))); image 3817 coders/dcm.c ReadDCMByte(stream_info,image))); image 3823 coders/dcm.c ReadDCMByte(stream_info,image))); image 3831 coders/dcm.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3833 coders/dcm.c if (image->previous == (Image *) NULL) image 3835 coders/dcm.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 3836 coders/dcm.c image->rows); image 3868 coders/dcm.c for (y=0; y < (ssize_t) image->rows; y++) image 3870 coders/dcm.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 3873 coders/dcm.c indexes=GetAuthenticIndexQueue(image); image 3874 coders/dcm.c for (x=0; x < (ssize_t) image->columns; x++) image 3883 coders/dcm.c ReadDCMByte(stream_info,image)) : image 3884 coders/dcm.c ReadDCMByte(stream_info,image); image 3890 coders/dcm.c image); image 3892 coders/dcm.c pixel_value=ReadDCMShort(stream_info,image); image 3899 coders/dcm.c pixel_value=(ReadDCMByte(stream_info,image) << 8) | image 3903 coders/dcm.c pixel_value=(int) ReadDCMShort(stream_info,image); image 3935 coders/dcm.c index=(int) ConstrainColormapIndex(image,(size_t) index); image 3937 coders/dcm.c pixel.red=1U*image->colormap[index].red; image 3938 coders/dcm.c pixel.green=1U*image->colormap[index].green; image 3939 coders/dcm.c pixel.blue=1U*image->colormap[index].blue; image 3945 coders/dcm.c pixel.red=(unsigned int) ReadDCMByte(stream_info,image); image 3946 coders/dcm.c pixel.green=(unsigned int) ReadDCMByte(stream_info,image); image 3947 coders/dcm.c pixel.blue=(unsigned int) ReadDCMByte(stream_info,image); image 3951 coders/dcm.c pixel.red=ReadDCMShort(stream_info,image); image 3952 coders/dcm.c pixel.green=ReadDCMShort(stream_info,image); image 3953 coders/dcm.c pixel.blue=ReadDCMShort(stream_info,image); image 3970 coders/dcm.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3972 coders/dcm.c if (image->previous == (Image *) NULL) image 3974 coders/dcm.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 3975 coders/dcm.c image->rows); image 3981 coders/dcm.c for (y=0; y < (ssize_t) image->rows; y++) image 3983 coders/dcm.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 3986 coders/dcm.c indexes=GetAuthenticIndexQueue(image); image 3987 coders/dcm.c for (x=0; x < (ssize_t) image->columns; x++) image 3996 coders/dcm.c ReadDCMByte(stream_info,image)) : image 3997 coders/dcm.c ReadDCMByte(stream_info,image); image 4002 coders/dcm.c ReadDCMShort(stream_info,image)) : image 4003 coders/dcm.c ReadDCMShort(stream_info,image)); image 4010 coders/dcm.c pixel_value=(ReadDCMByte(stream_info,image) << 8) | image 4014 coders/dcm.c pixel_value=(int) ReadDCMShort(stream_info,image); image 4046 coders/dcm.c index=(int) ConstrainColormapIndex(image,(size_t) index); image 4049 coders/dcm.c pixel.red=1U*image->colormap[index].red; image 4050 coders/dcm.c pixel.green=1U*image->colormap[index].green; image 4051 coders/dcm.c pixel.blue=1U*image->colormap[index].blue; image 4057 coders/dcm.c pixel.red=(unsigned int) ReadDCMByte(stream_info,image); image 4058 coders/dcm.c pixel.green=(unsigned int) ReadDCMByte(stream_info,image); image 4059 coders/dcm.c pixel.blue=(unsigned int) ReadDCMByte(stream_info,image); image 4063 coders/dcm.c pixel.red=ReadDCMShort(stream_info,image); image 4064 coders/dcm.c pixel.green=ReadDCMShort(stream_info,image); image 4065 coders/dcm.c pixel.blue=ReadDCMShort(stream_info,image); image 4085 coders/dcm.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 4087 coders/dcm.c if (image->previous == (Image *) NULL) image 4089 coders/dcm.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 4090 coders/dcm.c image->rows); image 4096 coders/dcm.c if (SetImageGray(image,exception) != MagickFalse) image 4097 coders/dcm.c (void) SetImageColorspace(image,GRAYColorspace); image 4098 coders/dcm.c if (EOFBlob(image) != MagickFalse) image 4101 coders/dcm.c image->filename); image 4108 coders/dcm.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 4115 coders/dcm.c AcquireNextImage(image_info,image); image 4116 coders/dcm.c if (GetNextImageInList(image) == (Image *) NULL) image 4118 coders/dcm.c image=DestroyImageList(image); image 4121 coders/dcm.c image=SyncNextImageInList(image); image 4122 coders/dcm.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 4123 coders/dcm.c GetBlobSize(image)); image 4145 coders/dcm.c (void) CloseBlob(image); image 4146 coders/dcm.c return(GetFirstImageInList(image)); image 1634 coders/dds.c *image; image 1665 coders/dds.c image=AcquireImage(image_info); image 1666 coders/dds.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 1669 coders/dds.c image=DestroyImageList(image); image 1676 coders/dds.c if (ReadDDSInfo(image, &dds_info) != MagickTrue) { image 1686 coders/dds.c (void) SeekBlob(image, 128, SEEK_SET); image 1779 coders/dds.c if (EOFBlob(image) != MagickFalse) image 1782 coders/dds.c AcquireNextImage(image_info,image); image 1783 coders/dds.c if (GetNextImageInList(image) == (Image *) NULL) image 1784 coders/dds.c return(DestroyImageList(image)); image 1785 coders/dds.c image=SyncNextImageInList(image); image 1788 coders/dds.c image->matte = matte; image 1789 coders/dds.c image->compression = compression; image 1790 coders/dds.c image->columns = dds_info.width; image 1791 coders/dds.c image->rows = dds_info.height; image 1792 coders/dds.c image->storage_class = DirectClass; image 1793 coders/dds.c image->endian = LSBEndian; image 1794 coders/dds.c image->depth = 8; image 1797 coders/dds.c (void) CloseBlob(image); image 1798 coders/dds.c return(GetFirstImageInList(image)); image 1800 coders/dds.c status=SetImageExtent(image,image->columns,image->rows); image 1803 coders/dds.c InheritException(exception,&image->exception); image 1804 coders/dds.c return(DestroyImageList(image)); image 1807 coders/dds.c if ((decoder)(image, &dds_info, exception) != MagickTrue) image 1809 coders/dds.c (void) CloseBlob(image); image 1810 coders/dds.c return(GetFirstImageInList(image)); image 1814 coders/dds.c (void) CloseBlob(image); image 1815 coders/dds.c return(GetFirstImageInList(image)); image 1818 coders/dds.c static MagickBooleanType ReadDDSInfo(Image *image, DDSInfo *dds_info) image 1825 coders/dds.c (void) SeekBlob(image, 4, SEEK_SET); image 1828 coders/dds.c hdr_size = ReadBlobLSBLong(image); image 1833 coders/dds.c dds_info->flags = ReadBlobLSBLong(image); image 1840 coders/dds.c dds_info->height = ReadBlobLSBLong(image); image 1841 coders/dds.c dds_info->width = ReadBlobLSBLong(image); image 1842 coders/dds.c dds_info->pitchOrLinearSize = ReadBlobLSBLong(image); image 1843 coders/dds.c dds_info->depth = ReadBlobLSBLong(image); image 1844 coders/dds.c dds_info->mipmapcount = ReadBlobLSBLong(image); image 1846 coders/dds.c (void) SeekBlob(image, 44, SEEK_CUR); /* reserved region of 11 DWORDs */ image 1849 coders/dds.c hdr_size = ReadBlobLSBLong(image); image 1853 coders/dds.c dds_info->pixelformat.flags = ReadBlobLSBLong(image); image 1854 coders/dds.c dds_info->pixelformat.fourcc = ReadBlobLSBLong(image); image 1855 coders/dds.c dds_info->pixelformat.rgb_bitcount = ReadBlobLSBLong(image); image 1856 coders/dds.c dds_info->pixelformat.r_bitmask = ReadBlobLSBLong(image); image 1857 coders/dds.c dds_info->pixelformat.g_bitmask = ReadBlobLSBLong(image); image 1858 coders/dds.c dds_info->pixelformat.b_bitmask = ReadBlobLSBLong(image); image 1859 coders/dds.c dds_info->pixelformat.alpha_bitmask = ReadBlobLSBLong(image); image 1861 coders/dds.c dds_info->ddscaps1 = ReadBlobLSBLong(image); image 1862 coders/dds.c dds_info->ddscaps2 = ReadBlobLSBLong(image); image 1863 coders/dds.c (void) SeekBlob(image, 12, SEEK_CUR); /* 3 reserved DWORDs */ image 1868 coders/dds.c static MagickBooleanType ReadDXT1(Image *image, DDSInfo *dds_info, image 1900 coders/dds.c q = QueueAuthenticPixels(image, x, y, MagickMin(4, dds_info->width - x), image 1907 coders/dds.c c0 = ReadBlobLSBShort(image); image 1908 coders/dds.c c1 = ReadBlobLSBShort(image); image 1909 coders/dds.c bits = ReadBlobLSBLong(image); image 1925 coders/dds.c if (colors.a[code] && image->matte == MagickFalse) image 1927 coders/dds.c image->matte = MagickTrue; image 1933 coders/dds.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1938 coders/dds.c return(SkipDXTMipmaps(image,dds_info,8,exception)); image 1941 coders/dds.c static MagickBooleanType ReadDXT3(Image *image, DDSInfo *dds_info, image 1976 coders/dds.c q = QueueAuthenticPixels(image, x, y, MagickMin(4, dds_info->width - x), image 1983 coders/dds.c a0 = ReadBlobLSBLong(image); image 1984 coders/dds.c a1 = ReadBlobLSBLong(image); image 1987 coders/dds.c c0 = ReadBlobLSBShort(image); image 1988 coders/dds.c c1 = ReadBlobLSBShort(image); image 1989 coders/dds.c bits = ReadBlobLSBLong(image); image 2018 coders/dds.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2023 coders/dds.c return(SkipDXTMipmaps(image,dds_info,16,exception)); image 2026 coders/dds.c static MagickBooleanType ReadDXT5(Image *image, DDSInfo *dds_info, image 2065 coders/dds.c q = QueueAuthenticPixels(image, x, y, MagickMin(4, dds_info->width - x), image 2072 coders/dds.c a0 = (unsigned char) ReadBlobByte(image); image 2073 coders/dds.c a1 = (unsigned char) ReadBlobByte(image); image 2075 coders/dds.c alpha_bits = (MagickSizeType)ReadBlobLSBLong(image); image 2076 coders/dds.c alpha_bits = alpha_bits | ((MagickSizeType)ReadBlobLSBShort(image) << 32); image 2079 coders/dds.c c0 = ReadBlobLSBShort(image); image 2080 coders/dds.c c1 = ReadBlobLSBShort(image); image 2081 coders/dds.c bits = ReadBlobLSBLong(image); image 2117 coders/dds.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2122 coders/dds.c return(SkipDXTMipmaps(image,dds_info,16,exception)); image 2125 coders/dds.c static MagickBooleanType ReadUncompressedRGB(Image *image, DDSInfo *dds_info, image 2138 coders/dds.c (void) SetImageType(image,GrayscaleType); image 2142 coders/dds.c image->filename); image 2146 coders/dds.c q = QueueAuthenticPixels(image, 0, y, dds_info->width, 1,exception); image 2154 coders/dds.c SetPixelGray(q,ScaleCharToQuantum(ReadBlobByte(image))); image 2157 coders/dds.c color=ReadBlobShort(image); image 2168 coders/dds.c ReadBlobByte(image))); image 2170 coders/dds.c ReadBlobByte(image))); image 2172 coders/dds.c ReadBlobByte(image))); image 2174 coders/dds.c (void) ReadBlobByte(image); image 2180 coders/dds.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2184 coders/dds.c return(SkipRGBMipmaps(image,dds_info,3,exception)); image 2187 coders/dds.c static MagickBooleanType ReadUncompressedRGBA(Image *image, DDSInfo *dds_info, image 2209 coders/dds.c (void) SetImageType(image,GrayscaleMatteType); image 2215 coders/dds.c image->filename); image 2220 coders/dds.c q = QueueAuthenticPixels(image, 0, y, dds_info->width, 1,exception); image 2229 coders/dds.c color=ReadBlobShort(image); image 2261 coders/dds.c ReadBlobByte(image))); image 2263 coders/dds.c ReadBlobByte(image))); image 2265 coders/dds.c ReadBlobByte(image))); image 2267 coders/dds.c ReadBlobByte(image))); image 2272 coders/dds.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2276 coders/dds.c return(SkipRGBMipmaps(image,dds_info,4,exception)); image 2352 coders/dds.c static MagickBooleanType SkipDXTMipmaps(Image *image,DDSInfo *dds_info, image 2368 coders/dds.c if (EOFBlob(image) != MagickFalse) image 2371 coders/dds.c image->filename); image 2387 coders/dds.c if (SeekBlob(image,offset,SEEK_CUR) < 0) image 2399 coders/dds.c static MagickBooleanType SkipRGBMipmaps(Image *image,DDSInfo *dds_info, image 2415 coders/dds.c if (EOFBlob(image) != MagickFalse) image 2418 coders/dds.c image->filename); image 2434 coders/dds.c if (SeekBlob(image,offset,SEEK_CUR) < 0) image 2469 coders/dds.c static void WriteAlphas(Image *image, const ssize_t* alphas, size_t min5, image 2510 coders/dds.c (void) WriteBlobByte(image,(unsigned char) min5); image 2511 coders/dds.c (void) WriteBlobByte(image,(unsigned char) max5); image 2527 coders/dds.c (void) WriteBlobByte(image,(unsigned char) byte); image 2532 coders/dds.c static void WriteCompressed(Image *image, const size_t count, image 2561 coders/dds.c WriteIndices(image,start,end,indices); image 2589 coders/dds.c Image *image) image 2609 coders/dds.c assert(image != (Image *) NULL); image 2610 coders/dds.c assert(image->signature == MagickSignature); image 2611 coders/dds.c if (image->debug != MagickFalse) image 2612 coders/dds.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2613 coders/dds.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 2616 coders/dds.c (void) TransformImageColorspace(image,sRGBColorspace); image 2620 coders/dds.c if (!image->matte) image 2655 coders/dds.c if ((image->columns & (image->columns - 1)) == 0 && image 2656 coders/dds.c (image->rows & (image->rows - 1)) == 0) image 2664 coders/dds.c columns=image->columns; image 2665 coders/dds.c rows=image->rows; image 2675 coders/dds.c WriteDDSInfo(image,pixelFormat,compression,mipmaps); image 2677 coders/dds.c WriteImageData(image,pixelFormat,compression,clusterFit,weightByAlpha, image 2678 coders/dds.c &image->exception); image 2680 coders/dds.c if (mipmaps > 0 && WriteMipmaps(image,pixelFormat,compression,mipmaps, image 2681 coders/dds.c clusterFit,weightByAlpha,&image->exception) == MagickFalse) image 2684 coders/dds.c (void) CloseBlob(image); image 2688 coders/dds.c static void WriteDDSInfo(Image *image, const size_t pixelFormat, image 2713 coders/dds.c if (format != DDPF_FOURCC && image->matte) image 2716 coders/dds.c (void) WriteBlob(image,4,(unsigned char *) "DDS "); image 2717 coders/dds.c (void) WriteBlobLSBLong(image,124); image 2718 coders/dds.c (void) WriteBlobLSBLong(image,flags); image 2719 coders/dds.c (void) WriteBlobLSBLong(image,(unsigned int) image->rows); image 2720 coders/dds.c (void) WriteBlobLSBLong(image,(unsigned int) image->columns); image 2723 coders/dds.c (void) WriteBlobLSBLong(image, image 2724 coders/dds.c (unsigned int) (MagickMax(1,(image->columns+3)/4) * 8)); image 2726 coders/dds.c (void) WriteBlobLSBLong(image, image 2727 coders/dds.c (unsigned int) (MagickMax(1,(image->columns+3)/4) * 16)); image 2729 coders/dds.c (void) WriteBlobLSBLong(image,0x00); image 2730 coders/dds.c (void) WriteBlobLSBLong(image,(unsigned int) mipmaps+1); image 2733 coders/dds.c (void) WriteBlob(image,44,(unsigned char *) software); image 2735 coders/dds.c (void) WriteBlobLSBLong(image,32); image 2736 coders/dds.c (void) WriteBlobLSBLong(image,format); image 2740 coders/dds.c (void) WriteBlobLSBLong(image,(unsigned int) compression); image 2742 coders/dds.c (void) WriteBlobLSBLong(image,0x00); image 2746 coders/dds.c (void) WriteBlobLSBLong(image,0x00); image 2747 coders/dds.c if (image->matte) image 2749 coders/dds.c (void) WriteBlobLSBLong(image,32); image 2750 coders/dds.c (void) WriteBlobLSBLong(image,0xff0000); image 2751 coders/dds.c (void) WriteBlobLSBLong(image,0xff00); image 2752 coders/dds.c (void) WriteBlobLSBLong(image,0xff); image 2753 coders/dds.c (void) WriteBlobLSBLong(image,0xff000000); image 2757 coders/dds.c (void) WriteBlobLSBLong(image,24); image 2758 coders/dds.c (void) WriteBlobLSBLong(image,0xff); image 2759 coders/dds.c (void) WriteBlobLSBLong(image,0x00); image 2760 coders/dds.c (void) WriteBlobLSBLong(image,0x00); image 2761 coders/dds.c (void) WriteBlobLSBLong(image,0x00); image 2765 coders/dds.c (void) WriteBlobLSBLong(image,caps); image 2767 coders/dds.c (void) WriteBlobLSBLong(image,0x00); image 2770 coders/dds.c static void WriteFourCC(Image *image, const size_t compression, image 2786 coders/dds.c for (y=0; y < (ssize_t) image->rows; y+=4) image 2788 coders/dds.c for (x=0; x < (ssize_t) image->columns; x+=4) image 2813 coders/dds.c if (x + columns >= image->columns) image 2814 coders/dds.c columns = image->columns - x; image 2816 coders/dds.c if (y + rows >= image->rows) image 2817 coders/dds.c rows = image->rows - y; image 2819 coders/dds.c p=GetVirtualPixels(image,x,y,columns,rows,exception); image 2889 coders/dds.c WriteAlphas(image,alphas,min5,max5,min7,max7); image 2892 coders/dds.c WriteSingleColorFit(image,points,map); image 2894 coders/dds.c WriteCompressed(image,count,points,map,clusterFit); image 2899 coders/dds.c static void WriteImageData(Image *image, const size_t pixelFormat, image 2904 coders/dds.c WriteFourCC(image,compression,clusterFit,weightByAlpha,exception); image 2906 coders/dds.c WriteUncompressed(image,exception); image 2931 coders/dds.c static void WriteIndices(Image *image, const DDSVector3 start, image 2963 coders/dds.c (void) WriteBlobByte(image,(unsigned char) (a & 0xff)); image 2964 coders/dds.c (void) WriteBlobByte(image,(unsigned char) (a >> 8)); image 2965 coders/dds.c (void) WriteBlobByte(image,(unsigned char) (b & 0xff)); image 2966 coders/dds.c (void) WriteBlobByte(image,(unsigned char) (b >> 8)); image 2971 coders/dds.c (void) WriteBlobByte(image,ind[0] | (ind[1] << 2) | (ind[2] << 4) | image 2976 coders/dds.c static MagickBooleanType WriteMipmaps(Image *image, const size_t pixelFormat, image 2991 coders/dds.c columns = image->columns; image 2992 coders/dds.c rows = image->rows; image 2996 coders/dds.c resize_image = ResizeImage(image,columns/2,rows/2,TriangleFilter,1.0, image 3003 coders/dds.c resize_image->blob=ReferenceBlob(image->blob); image 3017 coders/dds.c static void WriteSingleColorFit(Image *image, const DDSVector4* points, image 3043 coders/dds.c WriteIndices(image,start,end,indices); image 3046 coders/dds.c static void WriteUncompressed(Image *image, ExceptionInfo *exception) image 3057 coders/dds.c for (y=0; y < (ssize_t) image->rows; y++) image 3059 coders/dds.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 3063 coders/dds.c for (x=0; x < (ssize_t) image->columns; x++) image 3065 coders/dds.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelBlue(p))); image 3066 coders/dds.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelGreen(p))); image 3067 coders/dds.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelRed(p))); image 3068 coders/dds.c if (image->matte) image 3069 coders/dds.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelAlpha(p))); image 165 coders/debug.c Image *image) image 198 coders/debug.c assert(image != (Image *) NULL); image 199 coders/debug.c assert(image->signature == MagickSignature); image 200 coders/debug.c if (image->debug != MagickFalse) image 201 coders/debug.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 202 coders/debug.c status=OpenBlob(image_info,image,WriteBlobMode,&image->exception); image 209 coders/debug.c MagickColorspaceOptions,(ssize_t) image->colorspace),MaxTextExtent); image 211 coders/debug.c image->depth=GetImageQuantumDepth(image,MagickTrue); image 212 coders/debug.c if (image->matte != MagickFalse) image 216 coders/debug.c image->columns,(double) image->rows,(double) ((MagickOffsetType) image 217 coders/debug.c GetQuantumRange(image->depth)),colorspace); image 218 coders/debug.c (void) WriteBlobString(image,buffer); image 219 coders/debug.c GetMagickPixelPacket(image,&pixel); image 220 coders/debug.c for (y=0; y < (ssize_t) image->rows; y++) image 222 coders/debug.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 225 coders/debug.c indexes=GetVirtualIndexQueue(image); image 226 coders/debug.c for (x=0; x < (ssize_t) image->columns; x++) image 230 coders/debug.c (void) WriteBlobString(image,buffer); image 231 coders/debug.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 252 coders/debug.c (void) WriteBlobString(image,tuple); image 253 coders/debug.c (void) WriteBlobString(image,"\n"); image 256 coders/debug.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 257 coders/debug.c image->rows); image 261 coders/debug.c if (GetNextImageInList(image) == (Image *) NULL) image 263 coders/debug.c image=SyncNextImageInList(image); image 264 coders/debug.c status=SetImageProgress(image,SaveImagesTag,scene++, image 265 coders/debug.c GetImageListLength(image)); image 269 coders/debug.c (void) CloseBlob(image); image 146 coders/dib.c static MagickBooleanType DecodeImage(Image *image, image 177 coders/dib.c assert(image != (Image *) NULL); image 178 coders/dib.c assert(image->signature == MagickSignature); image 179 coders/dib.c if (image->debug != MagickFalse) image 180 coders/dib.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 182 coders/dib.c (void) ResetMagickMemory(pixels,0,(size_t) image->columns*image->rows* image 187 coders/dib.c q=pixels+(size_t) image->columns*image->rows; image 188 coders/dib.c for (y=0; y < (ssize_t) image->rows; ) image 192 coders/dib.c count=ReadBlobByte(image); image 201 coders/dib.c byte=(unsigned char) ReadBlobByte(image); image 220 coders/dib.c count=ReadBlobByte(image); image 232 coders/dib.c p=pixels+y*image->columns; image 240 coders/dib.c x+=ReadBlobByte(image); image 241 coders/dib.c y+=ReadBlobByte(image); image 242 coders/dib.c p=pixels+y*image->columns+x; image 253 coders/dib.c *p++=(unsigned char) ReadBlobByte(image); image 258 coders/dib.c byte=(unsigned char) ReadBlobByte(image); image 269 coders/dib.c (void) ReadBlobByte(image); image 273 coders/dib.c (void) ReadBlobByte(image); image 278 coders/dib.c if (SetImageProgress(image,LoadImageTag,y,image->rows) == MagickFalse) image 281 coders/dib.c (void) ReadBlobByte(image); /* end of line */ image 282 coders/dib.c (void) ReadBlobByte(image); image 318 coders/dib.c static size_t EncodeImage(Image *image,const size_t bytes_per_line, image 337 coders/dib.c assert(image != (Image *) NULL); image 338 coders/dib.c assert(image->signature == MagickSignature); image 339 coders/dib.c if (image->debug != MagickFalse) image 340 coders/dib.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 346 coders/dib.c for (y=0; y < (ssize_t) image->rows; y++) image 365 coders/dib.c if (SetImageProgress(image,LoadImageTag,y,image->rows) == MagickFalse) image 442 coders/dib.c *image; image 492 coders/dib.c image=AcquireImage(image_info); image 493 coders/dib.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 496 coders/dib.c image=DestroyImageList(image); image 503 coders/dib.c dib_info.size=ReadBlobLSBLong(image); image 509 coders/dib.c dib_info.width=(short) ReadBlobLSBLong(image); image 510 coders/dib.c dib_info.height=(short) ReadBlobLSBLong(image); image 511 coders/dib.c dib_info.planes=ReadBlobLSBShort(image); image 512 coders/dib.c dib_info.bits_per_pixel=ReadBlobLSBShort(image); image 513 coders/dib.c dib_info.compression=ReadBlobLSBLong(image); image 514 coders/dib.c dib_info.image_size=ReadBlobLSBLong(image); image 515 coders/dib.c dib_info.x_pixels=ReadBlobLSBLong(image); image 516 coders/dib.c dib_info.y_pixels=ReadBlobLSBLong(image); image 517 coders/dib.c dib_info.number_colors=ReadBlobLSBLong(image); image 518 coders/dib.c dib_info.colors_important=ReadBlobLSBLong(image); image 526 coders/dib.c dib_info.red_mask=ReadBlobLSBLong(image); image 527 coders/dib.c dib_info.green_mask=ReadBlobLSBLong(image); image 528 coders/dib.c dib_info.blue_mask=ReadBlobLSBLong(image); image 530 coders/dib.c if (EOFBlob(image) != MagickFalse) image 565 coders/dib.c image->columns=(size_t) MagickAbsoluteValue(dib_info.width); image 566 coders/dib.c image->rows=(size_t) MagickAbsoluteValue(dib_info.height); image 567 coders/dib.c image->matte=dib_info.bits_per_pixel == 32 ? MagickTrue : MagickFalse; image 568 coders/dib.c image->depth=8; image 576 coders/dib.c image->storage_class=PseudoClass; image 577 coders/dib.c image->colors=dib_info.number_colors; image 579 coders/dib.c if (image->colors == 0) image 580 coders/dib.c image->colors=one << dib_info.bits_per_pixel; image 592 coders/dib.c if ((geometry.width != 0) && (geometry.width < image->columns)) image 593 coders/dib.c image->columns=geometry.width; image 595 coders/dib.c if ((geometry.height != 0) && (geometry.height < image->rows)) image 596 coders/dib.c image->rows=geometry.height; image 598 coders/dib.c status=SetImageExtent(image,image->columns,image->rows); image 601 coders/dib.c InheritException(exception,&image->exception); image 602 coders/dib.c return(DestroyImageList(image)); image 604 coders/dib.c if (image->storage_class == PseudoClass) image 616 coders/dib.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 618 coders/dib.c length=(size_t) image->colors; image 624 coders/dib.c count=ReadBlob(image,packet_size*image->colors,dib_colormap); image 625 coders/dib.c if (count != (ssize_t) (packet_size*image->colors)) image 628 coders/dib.c for (i=0; i < (ssize_t) image->colors; i++) image 630 coders/dib.c image->colormap[i].blue=ScaleCharToQuantum(*p++); image 631 coders/dib.c image->colormap[i].green=ScaleCharToQuantum(*p++); image 632 coders/dib.c image->colormap[i].red=ScaleCharToQuantum(*p++); image 643 coders/dib.c bytes_per_line=4*((image->columns*dib_info.bits_per_pixel+31)/32); image 644 coders/dib.c length=bytes_per_line*image->rows; image 645 coders/dib.c pixel_info=AcquireVirtualMemory((size_t) image->rows,MagickMax( image 646 coders/dib.c bytes_per_line,image->columns+256UL)*sizeof(*pixels)); image 653 coders/dib.c count=ReadBlob(image,length,pixels); image 662 coders/dib.c status=DecodeImage(image,dib_info.compression ? MagickTrue : MagickFalse, image 670 coders/dib.c image->units=PixelsPerCentimeterResolution; image 671 coders/dib.c image->x_resolution=(double) dib_info.x_pixels/100.0; image 672 coders/dib.c image->y_resolution=(double) dib_info.y_pixels/100.0; image 683 coders/dib.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 685 coders/dib.c p=pixels+(image->rows-y-1)*bytes_per_line; image 686 coders/dib.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 689 coders/dib.c indexes=GetAuthenticIndexQueue(image); image 690 coders/dib.c for (x=0; x < ((ssize_t) image->columns-7); x+=8) image 699 coders/dib.c if ((image->columns % 8) != 0) image 701 coders/dib.c for (bit=0; bit < (ssize_t) (image->columns % 8); bit++) image 708 coders/dib.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 710 coders/dib.c if (image->previous == (Image *) NULL) image 712 coders/dib.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 713 coders/dib.c image->rows); image 718 coders/dib.c (void) SyncImage(image); image 726 coders/dib.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 728 coders/dib.c p=pixels+(image->rows-y-1)*bytes_per_line; image 729 coders/dib.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 732 coders/dib.c indexes=GetAuthenticIndexQueue(image); image 733 coders/dib.c for (x=0; x < ((ssize_t) image->columns-1); x+=2) image 735 coders/dib.c index=ConstrainColormapIndex(image,(*p >> 4) & 0xf); image 737 coders/dib.c index=ConstrainColormapIndex(image,*p & 0xf); image 741 coders/dib.c if ((image->columns % 2) != 0) image 743 coders/dib.c index=ConstrainColormapIndex(image,(*p >> 4) & 0xf); image 747 coders/dib.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 749 coders/dib.c if (image->previous == (Image *) NULL) image 751 coders/dib.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 752 coders/dib.c image->rows); image 757 coders/dib.c (void) SyncImage(image); image 767 coders/dib.c bytes_per_line=image->columns; image 768 coders/dib.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 770 coders/dib.c p=pixels+(image->rows-y-1)*bytes_per_line; image 771 coders/dib.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 774 coders/dib.c indexes=GetAuthenticIndexQueue(image); image 775 coders/dib.c for (x=0; x < (ssize_t) image->columns; x++) image 777 coders/dib.c index=ConstrainColormapIndex(image,*p); image 782 coders/dib.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 784 coders/dib.c if (image->previous == (Image *) NULL) image 786 coders/dib.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 787 coders/dib.c image->rows); image 792 coders/dib.c (void) SyncImage(image); image 803 coders/dib.c image->storage_class=DirectClass; image 805 coders/dib.c bytes_per_line=2*image->columns; image 806 coders/dib.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 808 coders/dib.c p=pixels+(image->rows-y-1)*bytes_per_line; image 809 coders/dib.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 812 coders/dib.c for (x=0; x < (ssize_t) image->columns; x++) image 836 coders/dib.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 838 coders/dib.c if (image->previous == (Image *) NULL) image 840 coders/dib.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 841 coders/dib.c image->rows); image 854 coders/dib.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 856 coders/dib.c p=pixels+(image->rows-y-1)*bytes_per_line; image 857 coders/dib.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 860 coders/dib.c for (x=0; x < (ssize_t) image->columns; x++) image 865 coders/dib.c if (image->matte != MagickFalse) image 869 coders/dib.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 871 coders/dib.c if (image->previous == (Image *) NULL) image 873 coders/dib.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 874 coders/dib.c image->rows); image 885 coders/dib.c if (EOFBlob(image) != MagickFalse) image 887 coders/dib.c image->filename); image 896 coders/dib.c flipped_image=FlipImage(image,exception); image 899 coders/dib.c DuplicateBlob(flipped_image,image); image 900 coders/dib.c image=DestroyImage(image); image 901 coders/dib.c image=flipped_image; image 904 coders/dib.c (void) CloseBlob(image); image 905 coders/dib.c return(GetFirstImageInList(image)); image 998 coders/dib.c static MagickBooleanType WriteDIBImage(const ImageInfo *image_info,Image *image) image 1034 coders/dib.c assert(image != (Image *) NULL); image 1035 coders/dib.c assert(image->signature == MagickSignature); image 1036 coders/dib.c if (image->debug != MagickFalse) image 1037 coders/dib.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1038 coders/dib.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1044 coders/dib.c (void) TransformImageColorspace(image,sRGBColorspace); image 1045 coders/dib.c if (image->storage_class == DirectClass) image 1051 coders/dib.c dib_info.bits_per_pixel=(unsigned short) (image->matte ? 32 : 24); image 1061 coders/dib.c if (SetImageMonochrome(image,&image->exception) != MagickFalse) image 1066 coders/dib.c bytes_per_line=4*((image->columns*dib_info.bits_per_pixel+31)/32); image 1068 coders/dib.c dib_info.width=(ssize_t) image->columns; image 1069 coders/dib.c dib_info.height=(ssize_t) image->rows; image 1073 coders/dib.c dib_info.image_size=bytes_per_line*image->rows; image 1076 coders/dib.c switch (image->units) image 1081 coders/dib.c dib_info.x_pixels=(size_t) (100.0*image->x_resolution/2.54); image 1082 coders/dib.c dib_info.y_pixels=(size_t) (100.0*image->y_resolution/2.54); image 1087 coders/dib.c dib_info.x_pixels=(size_t) (100.0*image->x_resolution); image 1088 coders/dib.c dib_info.y_pixels=(size_t) (100.0*image->y_resolution); image 1112 coders/dib.c for (y=0; y < (ssize_t) image->rows; y++) image 1114 coders/dib.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1117 coders/dib.c indexes=GetVirtualIndexQueue(image); image 1118 coders/dib.c q=pixels+(image->rows-y-1)*bytes_per_line; image 1121 coders/dib.c for (x=0; x < (ssize_t) image->columns; x++) image 1139 coders/dib.c for (x=(ssize_t) (image->columns+7)/8; x < (ssize_t) bytes_per_line; x++) image 1141 coders/dib.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1142 coders/dib.c image->rows); image 1153 coders/dib.c for (y=0; y < (ssize_t) image->rows; y++) image 1155 coders/dib.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1158 coders/dib.c indexes=GetVirtualIndexQueue(image); image 1159 coders/dib.c q=pixels+(image->rows-y-1)*bytes_per_line; image 1160 coders/dib.c for (x=0; x < (ssize_t) image->columns; x++) image 1164 coders/dib.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1165 coders/dib.c image->rows); image 1178 coders/dib.c for (y=0; y < (ssize_t) image->rows; y++) image 1180 coders/dib.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1183 coders/dib.c q=pixels+(image->rows-y-1)*bytes_per_line; image 1184 coders/dib.c for (x=0; x < (ssize_t) image->columns; x++) image 1196 coders/dib.c for (x=(ssize_t) (2*image->columns); x < (ssize_t) bytes_per_line; x++) image 1198 coders/dib.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1199 coders/dib.c image->rows); image 1211 coders/dib.c for (y=0; y < (ssize_t) image->rows; y++) image 1213 coders/dib.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1216 coders/dib.c q=pixels+(image->rows-y-1)*bytes_per_line; image 1217 coders/dib.c for (x=0; x < (ssize_t) image->columns; x++) image 1222 coders/dib.c if (image->matte != MagickFalse) image 1227 coders/dib.c for (x=(ssize_t) (3*image->columns); x < (ssize_t) bytes_per_line; x++) image 1229 coders/dib.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1230 coders/dib.c image->rows); image 1248 coders/dib.c (image->rows+2UL)*sizeof(*dib_data)); image 1254 coders/dib.c dib_info.image_size=(size_t) EncodeImage(image,bytes_per_line, image 1263 coders/dib.c (void) WriteBlobLSBLong(image,(unsigned int) dib_info.size); image 1264 coders/dib.c (void) WriteBlobLSBLong(image,dib_info.width); image 1265 coders/dib.c (void) WriteBlobLSBLong(image,(unsigned short) dib_info.height); image 1266 coders/dib.c (void) WriteBlobLSBShort(image,(unsigned short) dib_info.planes); image 1267 coders/dib.c (void) WriteBlobLSBShort(image,dib_info.bits_per_pixel); image 1268 coders/dib.c (void) WriteBlobLSBLong(image,(unsigned int) dib_info.compression); image 1269 coders/dib.c (void) WriteBlobLSBLong(image,(unsigned int) dib_info.image_size); image 1270 coders/dib.c (void) WriteBlobLSBLong(image,(unsigned int) dib_info.x_pixels); image 1271 coders/dib.c (void) WriteBlobLSBLong(image,(unsigned int) dib_info.y_pixels); image 1272 coders/dib.c (void) WriteBlobLSBLong(image,(unsigned int) dib_info.number_colors); image 1273 coders/dib.c (void) WriteBlobLSBLong(image,(unsigned int) dib_info.colors_important); image 1274 coders/dib.c if (image->storage_class == PseudoClass) image 1289 coders/dib.c for (i=0; i < (ssize_t) MagickMin(image->colors,dib_info.number_colors); i++) image 1291 coders/dib.c *q++=ScaleQuantumToChar(image->colormap[i].blue); image 1292 coders/dib.c *q++=ScaleQuantumToChar(image->colormap[i].green); image 1293 coders/dib.c *q++=ScaleQuantumToChar(image->colormap[i].red); image 1303 coders/dib.c (void) WriteBlob(image,(size_t) (4*(1 << dib_info.bits_per_pixel)), image 1311 coders/dib.c (void) WriteBlobLSBLong(image,0xf800); image 1312 coders/dib.c (void) WriteBlobLSBLong(image,0x07e0); image 1313 coders/dib.c (void) WriteBlobLSBLong(image,0x001f); image 1316 coders/dib.c (void) WriteBlob(image,dib_info.image_size,pixels); image 1318 coders/dib.c (void) CloseBlob(image); image 141 coders/djvu.c Image *image; image 147 coders/djvu.c pump_data(Image *image, LoadContext* lc) image 154 coders/djvu.c while ((size = (size_t) ReadBlob(image,(size_t) blocksize,data)) == blocksize) { image 165 coders/djvu.c pump_data_until_message(LoadContext *lc,Image *image) /* ddjvu_context_t *context, type ddjvu_document_type_t */ image 175 coders/djvu.c && (size = (size_t) ReadBlob(image,(size_t) blocksize,data)) == blocksize) { image 333 coders/djvu.c *image; image 348 coders/djvu.c image = lc->image; image 353 coders/djvu.c (image->columns + 7)/8 : image->columns *3; image 355 coders/djvu.c q = (unsigned char *) AcquireQuantumMemory(image->rows,stride); image 397 coders/djvu.c for (y=0; y < (ssize_t) image->rows; y++) image 399 coders/djvu.c PixelPacket * o = QueueAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 402 coders/djvu.c indexes=GetAuthenticIndexQueue(image); image 407 coders/djvu.c for (x= 0; x < (ssize_t) image->columns; x++) image 418 coders/djvu.c if (SyncAuthenticPixels(image,&image->exception) == MagickFalse) image 421 coders/djvu.c if (image->ping == MagickFalse) image 422 coders/djvu.c SyncImage(image); image 437 coders/djvu.c for (i = 0;i< (ssize_t) image->rows; i++) image 442 coders/djvu.c r = QueueAuthenticPixels(image,0,i,image->columns,1,&image->exception); image 445 coders/djvu.c for (x=0; x < (ssize_t) image->columns; x++) image 453 coders/djvu.c (void) SyncAuthenticPixels(image,&image->exception); image 481 coders/djvu.c rect.w = lc->image->columns; /* /10 */ image 486 coders/djvu.c pagerect.w = lc->image->columns; image 487 coders/djvu.c pagerect.h = lc->image->rows; image 505 coders/djvu.c q = (unsigned char *) AcquireQuantumMemory(lc->image->columns,stride); image 515 coders/djvu.c ImportQuantumPixels(lc->image, image 523 coders/djvu.c ,q,&lc->image->exception); image 577 coders/djvu.c Image *image; image 585 coders/djvu.c image = lc->image; image 609 coders/djvu.c message = pump_data_until_message(lc,image); image 620 coders/djvu.c image->x_resolution = (float) info.dpi; image 621 coders/djvu.c image->y_resolution =(float) info.dpi; image 634 coders/djvu.c image->x_resolution=geometry_info.rho; image 635 coders/djvu.c image->y_resolution=geometry_info.sigma; image 637 coders/djvu.c image->y_resolution=image->x_resolution; image 638 coders/djvu.c info.width=(int) (info.width*image->x_resolution/info.dpi); image 639 coders/djvu.c info.height=(int) (info.height*image->y_resolution/info.dpi); image 640 coders/djvu.c info.dpi=(int) MagickMax(image->x_resolution,image->y_resolution); image 650 coders/djvu.c image->columns=(size_t) info.width; image 651 coders/djvu.c image->rows=(size_t) info.height; image 655 coders/djvu.c image->colorspace = GRAYColorspace; image 656 coders/djvu.c image->storage_class = PseudoClass; image 657 coders/djvu.c image->depth = 8UL; /* i only support that? */ image 658 coders/djvu.c image->colors= 2; image 659 coders/djvu.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 663 coders/djvu.c image->colorspace = RGBColorspace; image 664 coders/djvu.c image->storage_class = DirectClass; image 666 coders/djvu.c image->depth = 8UL; /* i only support that? */ image 668 coders/djvu.c image->matte = MagickTrue; image 671 coders/djvu.c status=SetImageExtent(image,image->columns,image->rows); image 674 coders/djvu.c InheritException(exception,&image->exception); image 675 coders/djvu.c return(DestroyImageList(image)); image 678 coders/djvu.c printf("now filling %.20g x %.20g\n",(double) image->columns,(double) image 679 coders/djvu.c image->rows); image 689 coders/djvu.c for (i = 0;i< image->rows; i++) image 692 coders/djvu.c q = QueueAuthenticPixels(image,0,i,image->columns,1); image 694 coders/djvu.c SyncAuthenticPixels(image); image 701 coders/djvu.c printf("END: finished filling %.20g x %.20g\n",(double) image->columns, image 702 coders/djvu.c (double) image->rows); image 705 coders/djvu.c if (!image->ping) image 706 coders/djvu.c SyncImage(image); image 720 coders/djvu.c image=DestroyImage(image); image 721 coders/djvu.c return image; image 727 coders/djvu.c if (AcquireImageColormap(image,2) == MagickFalse) image 732 coders/djvu.c image->colormap[0].red=QuantumRange; image 733 coders/djvu.c image->colormap[0].green=QuantumRange; image 734 coders/djvu.c image->colormap[0].blue=QuantumRange; image 735 coders/djvu.c image->colormap[1].red=0; image 736 coders/djvu.c image->colormap[1].green=0; image 737 coders/djvu.c image->colormap[1].blue=0; image 761 coders/djvu.c *image, image 794 coders/djvu.c image = AcquireImage(image_info); /* mmc: ?? */ image 798 coders/djvu.c status = OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 805 coders/djvu.c count = ReadBlob(image,8,(unsigned char *) magic_number); image 826 coders/djvu.c lc->image = image; image 856 coders/djvu.c message = pump_data_until_message(lc,image); image 879 coders/djvu.c image=ReadOneDJVUImage(lc,i,image_info,exception); image 880 coders/djvu.c if (image == (Image *) NULL) image 882 coders/djvu.c image->scene=i; image 883 coders/djvu.c AppendImageToList(&images,CloneImageList(image,exception)); image 884 coders/djvu.c images->extent=GetBlobSize(image); image 886 coders/djvu.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 891 coders/djvu.c if (image != (Image *) NULL) image 892 coders/djvu.c image=DestroyImageList(image); image 895 coders/djvu.c if ((image->page.width == 0) && (image->page.height == 0)) image 897 coders/djvu.c image->page.width = image->columns+image->page.x; image 898 coders/djvu.c image->page.height = image->rows+image->page.y; image 900 coders/djvu.c if (image->columns == 0 || image->rows == 0) image 99 coders/dng.c *image; image 117 coders/dng.c image=AcquireImage(image_info); image 118 coders/dng.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 121 coders/dng.c image=DestroyImageList(image); image 124 coders/dng.c (void) CloseBlob(image); image 125 coders/dng.c (void) DestroyImageList(image); image 129 coders/dng.c image=AcquireImage(image_info); image 132 coders/dng.c (void) InvokeDelegate(read_info,image,"dng:decode",(char *) NULL,exception); image 133 coders/dng.c image=DestroyImage(image); image 137 coders/dng.c image=ReadImage(read_info,sans_exception); image 139 coders/dng.c if (image == (Image *) NULL) image 143 coders/dng.c image=ReadImage(read_info,exception); image 146 coders/dng.c if (image != (Image *) NULL) image 155 coders/dng.c (void) CopyMagickString(image->magick,read_info->magick,MaxTextExtent); image 182 coders/dng.c if (image->properties == (void *) NULL) image 183 coders/dng.c ((Image *) image)->properties=NewSplayTree( image 201 coders/dng.c ((Image *) image)->properties,ConstantString(property), image 212 coders/dng.c return(image); image 111 coders/dot.c *image; image 130 coders/dot.c image=AcquireImage(image_info); image 131 coders/dot.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 141 coders/dot.c graph=agread(GetBlobFileHandle(image)); image 143 coders/dot.c graph=agread(GetBlobFileHandle(image),(Agdisc_t *) NULL); image 161 coders/dot.c image=ReadImage(read_info,exception); image 164 coders/dot.c if (image == (Image *) NULL) image 166 coders/dot.c return(GetFirstImageInList(image)); image 107 coders/dps.c *image; image 177 coders/dps.c image=AcquireImage(image_info); image 178 coders/dps.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 206 coders/dps.c image=DestroyImage(image); image 216 coders/dps.c if ((image->x_resolution != 0.0) && (image->y_resolution != 0.0)) image 217 coders/dps.c pixels_per_point=MagickMin(image->x_resolution,image->y_resolution)/ image 220 coders/dps.c GetBlobFileHandle(image),visual_info->depth,pixels_per_point,&pixmap, image 224 coders/dps.c image=DestroyImage(image); image 233 coders/dps.c GetBlobFileHandle(image),(int) bits_per_pixel.height,visual_info->depth, image 238 coders/dps.c image=DestroyImage(image); image 251 coders/dps.c image=DestroyImage(image); image 263 coders/dps.c image=DestroyImage(image); image 315 coders/dps.c image->storage_class=PseudoClass; image 316 coders/dps.c image->columns=(size_t) dps_image->width; image 317 coders/dps.c image->rows=(size_t) dps_image->height; image 320 coders/dps.c (void) CloseBlob(image); image 321 coders/dps.c return(GetFirstImageInList(image)); image 323 coders/dps.c status=SetImageExtent(image,image->columns,image->rows); image 326 coders/dps.c InheritException(exception,&image->exception); image 327 coders/dps.c return(DestroyImageList(image)); image 329 coders/dps.c switch (image->storage_class) image 375 coders/dps.c for (y=0; y < (ssize_t) image->rows; y++) image 377 coders/dps.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 380 coders/dps.c for (x=0; x < (ssize_t) image->columns; x++) image 391 coders/dps.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 393 coders/dps.c if (SetImageProgress(image,LoadImageTag,y,image->rows) == MagickFalse) image 397 coders/dps.c for (y=0; y < (ssize_t) image->rows; y++) image 399 coders/dps.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 402 coders/dps.c for (x=0; x < (ssize_t) image->columns; x++) image 418 coders/dps.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 420 coders/dps.c if (SetImageProgress(image,LoadImageTag,y,image->rows) == MagickFalse) image 430 coders/dps.c if (AcquireImageColormap(image,(size_t) visual_info->colormap_size) == MagickFalse) image 432 coders/dps.c image=DestroyImage(image); image 439 coders/dps.c for (i=0; i < (ssize_t) image->colors; i++) image 441 coders/dps.c image->colormap[colors[i].pixel].red=ScaleShortToQuantum(colors[i].red); image 442 coders/dps.c image->colormap[colors[i].pixel].green= image 444 coders/dps.c image->colormap[colors[i].pixel].blue= image 450 coders/dps.c for (y=0; y < (ssize_t) image->rows; y++) image 452 coders/dps.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 455 coders/dps.c indexes=GetAuthenticIndexQueue(image); image 456 coders/dps.c for (x=0; x < (ssize_t) image->columns; x++) image 459 coders/dps.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 461 coders/dps.c if (SetImageProgress(image,LoadImageTag,y,image->rows) == MagickFalse) image 469 coders/dps.c if (image->storage_class == PseudoClass) image 470 coders/dps.c (void) SyncImage(image); image 475 coders/dps.c GetBlobFileHandle(image),1,pixels_per_point,&pixmap,&bits_per_pixel,&page); image 479 coders/dps.c GetBlobFileHandle(image),(int) bits_per_pixel.height,1,&page,-page.x, image 494 coders/dps.c image->storage_class=DirectClass; image 495 coders/dps.c image->matte=MagickTrue; image 496 coders/dps.c for (y=0; y < (ssize_t) image->rows; y++) image 498 coders/dps.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 501 coders/dps.c for (x=0; x < (ssize_t) image->columns; x++) image 508 coders/dps.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 520 coders/dps.c (void) CloseBlob(image); image 521 coders/dps.c return(GetFirstImageInList(image)); image 314 coders/dpx.c image; image 663 coders/dpx.c *image; image 703 coders/dpx.c image=AcquireImage(image_info); image 704 coders/dpx.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 707 coders/dpx.c image=DestroyImageList(image); image 714 coders/dpx.c count=ReadBlob(image,4,(unsigned char *) magick); image 719 coders/dpx.c image->endian=LSBEndian; image 721 coders/dpx.c image->endian=MSBEndian; image 723 coders/dpx.c dpx.file.image_offset=ReadBlobLong(image); image 725 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.file.version),(unsigned char *) image 727 coders/dpx.c (void) FormatImageProperty(image,"dpx:file.version","%.8s",dpx.file.version); image 728 coders/dpx.c dpx.file.file_size=ReadBlobLong(image); image 730 coders/dpx.c dpx.file.ditto_key=ReadBlobLong(image); image 733 coders/dpx.c (void) FormatImageProperty(image,"dpx:file.ditto.key","%u", image 735 coders/dpx.c dpx.file.generic_size=ReadBlobLong(image); image 737 coders/dpx.c dpx.file.industry_size=ReadBlobLong(image); image 739 coders/dpx.c dpx.file.user_size=ReadBlobLong(image); image 741 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.file.filename),(unsigned char *) image 743 coders/dpx.c (void) FormatImageProperty(image,"dpx:file.filename","%.100s", image 745 coders/dpx.c (void) FormatImageProperty(image,"document","%.100s",dpx.file.filename); image 746 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.file.timestamp),(unsigned char *) image 749 coders/dpx.c (void) FormatImageProperty(image,"dpx:file.timestamp","%.24s", image 751 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.file.creator),(unsigned char *) image 755 coders/dpx.c (void) FormatImageProperty(image,"dpx:file.creator","%.100s", image 757 coders/dpx.c (void) FormatImageProperty(image,"software","%.100s", image 762 coders/dpx.c (void) FormatImageProperty(image,"dpx:file.creator","%.100s", image 764 coders/dpx.c (void) FormatImageProperty(image,"software","%.100s",dpx.file.creator); image 766 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.file.project),(unsigned char *) image 770 coders/dpx.c (void) FormatImageProperty(image,"dpx:file.project","%.200s", image 772 coders/dpx.c (void) FormatImageProperty(image,"comment","%.100s",dpx.file.project); image 774 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.file.copyright),(unsigned char *) image 778 coders/dpx.c (void) FormatImageProperty(image,"dpx:file.copyright","%.200s", image 780 coders/dpx.c (void) FormatImageProperty(image,"copyright","%.100s", image 783 coders/dpx.c dpx.file.encrypt_key=ReadBlobLong(image); image 786 coders/dpx.c (void) FormatImageProperty(image,"dpx:file.encrypt_key","%u", image 788 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.file.reserve),(unsigned char *) image 793 coders/dpx.c dpx.image.orientation=ReadBlobShort(image); image 794 coders/dpx.c if (dpx.image.orientation > 7) image 797 coders/dpx.c if (dpx.image.orientation != (unsigned short) ~0) image 798 coders/dpx.c (void) FormatImageProperty(image,"dpx:image.orientation","%d", image 799 coders/dpx.c dpx.image.orientation); image 800 coders/dpx.c switch (dpx.image.orientation) image 803 coders/dpx.c case 0: image->orientation=TopLeftOrientation; break; image 804 coders/dpx.c case 1: image->orientation=TopRightOrientation; break; image 805 coders/dpx.c case 2: image->orientation=BottomLeftOrientation; break; image 806 coders/dpx.c case 3: image->orientation=BottomRightOrientation; break; image 807 coders/dpx.c case 4: image->orientation=LeftTopOrientation; break; image 808 coders/dpx.c case 5: image->orientation=RightTopOrientation; break; image 809 coders/dpx.c case 6: image->orientation=LeftBottomOrientation; break; image 810 coders/dpx.c case 7: image->orientation=RightBottomOrientation; break; image 812 coders/dpx.c dpx.image.number_elements=ReadBlobShort(image); image 813 coders/dpx.c if (dpx.image.number_elements > MaxNumberImageElements) image 816 coders/dpx.c dpx.image.pixels_per_line=ReadBlobLong(image); image 818 coders/dpx.c image->columns=dpx.image.pixels_per_line; image 819 coders/dpx.c dpx.image.lines_per_element=ReadBlobLong(image); image 821 coders/dpx.c image->rows=dpx.image.lines_per_element; image 827 coders/dpx.c dpx.image.image_element[i].data_sign=ReadBlobLong(image); image 829 coders/dpx.c dpx.image.image_element[i].low_data=ReadBlobLong(image); image 831 coders/dpx.c dpx.image.image_element[i].low_quantity=ReadBlobFloat(image); image 833 coders/dpx.c dpx.image.image_element[i].high_data=ReadBlobLong(image); image 835 coders/dpx.c dpx.image.image_element[i].high_quantity=ReadBlobFloat(image); image 837 coders/dpx.c dpx.image.image_element[i].descriptor=(unsigned char) ReadBlobByte(image); image 839 coders/dpx.c dpx.image.image_element[i].transfer_characteristic=(unsigned char) image 840 coders/dpx.c ReadBlobByte(image); image 843 coders/dpx.c (void) FormatImageProperty(image,property,"%s", image 845 coders/dpx.c dpx.image.image_element[i].transfer_characteristic)); image 847 coders/dpx.c dpx.image.image_element[i].colorimetric=(unsigned char) ReadBlobByte(image); image 849 coders/dpx.c dpx.image.image_element[i].bit_size=(unsigned char) ReadBlobByte(image); image 851 coders/dpx.c dpx.image.image_element[i].packing=ReadBlobShort(image); image 853 coders/dpx.c dpx.image.image_element[i].encoding=ReadBlobShort(image); image 855 coders/dpx.c dpx.image.image_element[i].data_offset=ReadBlobLong(image); image 857 coders/dpx.c dpx.image.image_element[i].end_of_line_padding=ReadBlobLong(image); image 859 coders/dpx.c dpx.image.image_element[i].end_of_image_padding=ReadBlobLong(image); image 861 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.image.image_element[i].description), image 862 coders/dpx.c (unsigned char *) dpx.image.image_element[i].description); image 864 coders/dpx.c (void) SetImageColorspace(image,RGBColorspace); image 865 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.image.reserve),(unsigned char *) image 866 coders/dpx.c dpx.image.reserve); image 872 coders/dpx.c dpx.orientation.x_offset=ReadBlobLong(image); image 875 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.x_offset","%u", image 877 coders/dpx.c dpx.orientation.y_offset=ReadBlobLong(image); image 880 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.y_offset","%u", image 882 coders/dpx.c dpx.orientation.x_center=ReadBlobFloat(image); image 885 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.x_center","%g", image 887 coders/dpx.c dpx.orientation.y_center=ReadBlobFloat(image); image 890 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.y_center","%g", image 892 coders/dpx.c dpx.orientation.x_size=ReadBlobLong(image); image 895 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.x_size","%u", image 897 coders/dpx.c dpx.orientation.y_size=ReadBlobLong(image); image 900 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.y_size","%u", image 902 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.orientation.filename),(unsigned char *) image 905 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.filename","%.100s", image 907 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.orientation.timestamp),(unsigned char *) image 910 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.timestamp","%.24s", image 912 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.orientation.device),(unsigned char *) image 915 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.device","%.32s", image 917 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.orientation.serial),(unsigned char *) image 920 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.serial","%.32s", image 924 coders/dpx.c dpx.orientation.border[i]=ReadBlobShort(image); image 929 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.border","%dx%d%+d%+d", dpx.orientation.border[0],dpx.orientation.border[1], image 933 coders/dpx.c dpx.orientation.aspect_ratio[i]=ReadBlobLong(image); image 938 coders/dpx.c (void) FormatImageProperty(image,"dpx:orientation.aspect_ratio", image 941 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.orientation.reserve),(unsigned char *) image 949 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.film.id),(unsigned char *) dpx.film.id); image 951 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.id","%.2s",dpx.film.id); image 952 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.film.type),(unsigned char *) image 955 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.type","%.2s",dpx.film.type); image 956 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.film.offset),(unsigned char *) image 959 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.offset","%.2s", image 961 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.film.prefix),(unsigned char *) image 964 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.prefix","%.6s", image 966 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.film.count),(unsigned char *) image 969 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.count","%.4s", image 971 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.film.format),(unsigned char *) image 974 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.format","%.4s", image 976 coders/dpx.c dpx.film.frame_position=ReadBlobLong(image); image 979 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.frame_position","%u", image 981 coders/dpx.c dpx.film.sequence_extent=ReadBlobLong(image); image 984 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.sequence_extent","%u", image 986 coders/dpx.c dpx.film.held_count=ReadBlobLong(image); image 989 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.held_count","%u", image 991 coders/dpx.c dpx.film.frame_rate=ReadBlobFloat(image); image 994 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.frame_rate","%g", image 996 coders/dpx.c dpx.film.shutter_angle=ReadBlobFloat(image); image 999 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.shutter_angle","%g", image 1001 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.film.frame_id),(unsigned char *) image 1004 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.frame_id","%.32s", image 1006 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.film.slate),(unsigned char *) image 1009 coders/dpx.c (void) FormatImageProperty(image,"dpx:film.slate","%.100s", image 1011 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.film.reserve),(unsigned char *) image 1019 coders/dpx.c dpx.television.time_code=(unsigned int) ReadBlobLong(image); image 1022 coders/dpx.c (void) SetImageProperty(image,"dpx:television.time.code",value); image 1023 coders/dpx.c dpx.television.user_bits=(unsigned int) ReadBlobLong(image); image 1026 coders/dpx.c (void) SetImageProperty(image,"dpx:television.user.bits",value); image 1027 coders/dpx.c dpx.television.interlace=(unsigned char) ReadBlobByte(image); image 1030 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.interlace","%.20g", image 1032 coders/dpx.c dpx.television.field_number=(unsigned char) ReadBlobByte(image); image 1035 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.field_number","%.20g", image 1037 coders/dpx.c dpx.television.video_signal=(unsigned char) ReadBlobByte(image); image 1040 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.video_signal","%.20g", image 1042 coders/dpx.c dpx.television.padding=(unsigned char) ReadBlobByte(image); image 1045 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.padding","%d", image 1047 coders/dpx.c dpx.television.horizontal_sample_rate=ReadBlobFloat(image); image 1050 coders/dpx.c (void) FormatImageProperty(image, image 1053 coders/dpx.c dpx.television.vertical_sample_rate=ReadBlobFloat(image); image 1056 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.vertical_sample_rate", image 1058 coders/dpx.c dpx.television.frame_rate=ReadBlobFloat(image); image 1061 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.frame_rate","%g", image 1063 coders/dpx.c dpx.television.time_offset=ReadBlobFloat(image); image 1066 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.time_offset","%g", image 1068 coders/dpx.c dpx.television.gamma=ReadBlobFloat(image); image 1071 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.gamma","%g", image 1073 coders/dpx.c dpx.television.black_level=ReadBlobFloat(image); image 1076 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.black_level","%g", image 1078 coders/dpx.c dpx.television.black_gain=ReadBlobFloat(image); image 1081 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.black_gain","%g", image 1083 coders/dpx.c dpx.television.break_point=ReadBlobFloat(image); image 1086 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.break_point","%g", image 1088 coders/dpx.c dpx.television.white_level=ReadBlobFloat(image); image 1091 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.white_level","%g", image 1093 coders/dpx.c dpx.television.integration_times=ReadBlobFloat(image); image 1096 coders/dpx.c (void) FormatImageProperty(image,"dpx:television.integration_times", image 1098 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.television.reserve),(unsigned char *) image 1106 coders/dpx.c offset+=ReadBlob(image,sizeof(dpx.user.id),(unsigned char *) dpx.user.id); image 1108 coders/dpx.c (void) FormatImageProperty(image,"dpx:user.id","%.32s",dpx.user.id); image 1119 coders/dpx.c offset+=ReadBlob(image,GetStringInfoLength(profile), image 1121 coders/dpx.c (void) SetImageProfile(image,"dpx:user-data",profile); image 1126 coders/dpx.c (void) ReadBlobByte(image); image 1132 coders/dpx.c (void) CloseBlob(image); image 1133 coders/dpx.c return(GetFirstImageInList(image)); image 1135 coders/dpx.c status=SetImageExtent(image,image->columns,image->rows); image 1138 coders/dpx.c InheritException(exception,&image->exception); image 1139 coders/dpx.c return(DestroyImageList(image)); image 1141 coders/dpx.c for (n=0; n < (ssize_t) dpx.image.number_elements; n++) image 1146 coders/dpx.c if ((dpx.image.image_element[n].data_offset != ~0U) && image 1147 coders/dpx.c (dpx.image.image_element[n].data_offset != 0U)) image 1152 coders/dpx.c data_offset=(MagickOffsetType) dpx.image.image_element[n].data_offset; image 1154 coders/dpx.c offset=SeekBlob(image,data_offset,SEEK_SET); image 1157 coders/dpx.c (void) ReadBlobByte(image); image 1162 coders/dpx.c dpx.image.image_element[n].colorimetric,&image->chromaticity); image 1163 coders/dpx.c image->depth=dpx.image.image_element[n].bit_size; image 1166 coders/dpx.c component_type=dpx.image.image_element[n].descriptor; image 1191 coders/dpx.c image->matte=MagickTrue; image 1205 coders/dpx.c (void) SetImageColorspace(image,Rec709YCbCrColorspace); image 1210 coders/dpx.c (void) SetImageColorspace(image,GRAYColorspace); image 1215 coders/dpx.c (void) SetImageColorspace(image,RGBColorspace); image 1216 coders/dpx.c if (dpx.image.image_element[n].transfer_characteristic == LogarithmicColorimetric) image 1217 coders/dpx.c (void) SetImageColorspace(image,LogColorspace); image 1218 coders/dpx.c if (dpx.image.image_element[n].transfer_characteristic == PrintingDensityColorimetric) image 1219 coders/dpx.c (void) SetImageColorspace(image,LogColorspace); image 1223 coders/dpx.c extent=GetBytesPerRow(image->columns,samples_per_pixel,image->depth, image 1224 coders/dpx.c dpx.image.image_element[n].packing == 0 ? MagickFalse : MagickTrue); image 1230 coders/dpx.c quantum_info=AcquireQuantumInfo(image_info,image); image 1234 coders/dpx.c SetQuantumPack(quantum_info,dpx.image.image_element[n].packing == 0 ? image 1236 coders/dpx.c for (y=0; y < (ssize_t) image->rows; y++) image 1256 coders/dpx.c pixels=(const unsigned char *) ReadBlobStream(image,extent, image 1260 coders/dpx.c if ((image->progress_monitor != (MagickProgressMonitor) NULL) && image 1261 coders/dpx.c (image->previous == (Image *) NULL)) image 1266 coders/dpx.c proceed=SetImageProgress(image,LoadImageTag,(MagickOffsetType) row, image 1267 coders/dpx.c image->rows); image 1272 coders/dpx.c q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception); image 1278 coders/dpx.c length=ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1281 coders/dpx.c sync=SyncAuthenticPixels(image,exception); image 1288 coders/dpx.c SetQuantumImageType(image,quantum_type); image 1289 coders/dpx.c if (EOFBlob(image) != MagickFalse) image 1291 coders/dpx.c image->filename); image 1293 coders/dpx.c (void) CloseBlob(image); image 1294 coders/dpx.c return(GetFirstImageInList(image)); image 1422 coders/dpx.c static inline const char *GetDPXProperty(const Image *image, image 1428 coders/dpx.c value=GetImageArtifact(image,property); image 1431 coders/dpx.c return(GetImageProperty(image,property)); image 1435 coders/dpx.c Image *image) image 1490 coders/dpx.c assert(image != (Image *) NULL); image 1491 coders/dpx.c assert(image->signature == MagickSignature); image 1492 coders/dpx.c if (image->debug != MagickFalse) image 1493 coders/dpx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1514 coders/dpx.c if ((image->colorspace == YCbCrColorspace) && image 1516 coders/dpx.c if ((image->columns % 2) != 0) image 1517 coders/dpx.c image->columns++; image 1518 coders/dpx.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1527 coders/dpx.c offset+=WriteBlobLong(image,dpx.file.magic); image 1529 coders/dpx.c profile=GetImageProfile(image,"dpx:user-data"); image 1537 coders/dpx.c offset+=WriteBlobLong(image,dpx.file.image_offset); image 1539 coders/dpx.c offset+=WriteBlob(image,8,(unsigned char *) &dpx.file.version); image 1540 coders/dpx.c dpx.file.file_size=(unsigned int) (4U*image->columns*image->rows+ image 1542 coders/dpx.c offset+=WriteBlobLong(image,dpx.file.file_size); image 1544 coders/dpx.c offset+=WriteBlobLong(image,dpx.file.ditto_key); image 1546 coders/dpx.c offset+=WriteBlobLong(image,dpx.file.generic_size); image 1548 coders/dpx.c offset+=WriteBlobLong(image,dpx.file.industry_size); image 1555 coders/dpx.c offset+=WriteBlobLong(image,dpx.file.user_size); image 1556 coders/dpx.c value=GetDPXProperty(image,"dpx:file.filename"); image 1559 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.file.filename),(unsigned char *) image 1564 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.file.timestamp),(unsigned char *) image 1568 coders/dpx.c value=GetDPXProperty(image,"dpx:file.creator"); image 1571 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.file.creator),(unsigned char *) image 1573 coders/dpx.c value=GetDPXProperty(image,"dpx:file.project"); image 1576 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.file.project),(unsigned char *) image 1578 coders/dpx.c value=GetDPXProperty(image,"dpx:file.copyright"); image 1581 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.file.copyright),(unsigned char *) image 1584 coders/dpx.c offset+=WriteBlobLong(image,dpx.file.encrypt_key); image 1585 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.file.reserve),(unsigned char *) image 1590 coders/dpx.c switch (image->orientation) image 1593 coders/dpx.c case TopLeftOrientation: dpx.image.orientation=0; break; image 1594 coders/dpx.c case TopRightOrientation: dpx.image.orientation=1; break; image 1595 coders/dpx.c case BottomLeftOrientation: dpx.image.orientation=2; break; image 1596 coders/dpx.c case BottomRightOrientation: dpx.image.orientation=3; break; image 1597 coders/dpx.c case LeftTopOrientation: dpx.image.orientation=4; break; image 1598 coders/dpx.c case RightTopOrientation: dpx.image.orientation=5; break; image 1599 coders/dpx.c case LeftBottomOrientation: dpx.image.orientation=6; break; image 1600 coders/dpx.c case RightBottomOrientation: dpx.image.orientation=7; break; image 1602 coders/dpx.c offset+=WriteBlobShort(image,dpx.image.orientation); image 1603 coders/dpx.c dpx.image.number_elements=1; image 1604 coders/dpx.c offset+=WriteBlobShort(image,dpx.image.number_elements); image 1605 coders/dpx.c if ((image->columns != (unsigned int) image->columns) || image 1606 coders/dpx.c (image->rows != (unsigned int) image->rows)) image 1608 coders/dpx.c offset+=WriteBlobLong(image,(unsigned int) image->columns); image 1609 coders/dpx.c offset+=WriteBlobLong(image,(unsigned int) image->rows); image 1612 coders/dpx.c dpx.image.image_element[i].data_sign=0U; image 1613 coders/dpx.c offset+=WriteBlobLong(image,dpx.image.image_element[i].data_sign); image 1614 coders/dpx.c dpx.image.image_element[i].low_data=0U; image 1615 coders/dpx.c offset+=WriteBlobLong(image,dpx.image.image_element[i].low_data); image 1616 coders/dpx.c dpx.image.image_element[i].low_quantity=0.0f; image 1617 coders/dpx.c offset+=WriteBlobFloat(image,dpx.image.image_element[i].low_quantity); image 1618 coders/dpx.c dpx.image.image_element[i].high_data=0U; image 1619 coders/dpx.c offset+=WriteBlobLong(image,dpx.image.image_element[i].high_data); image 1620 coders/dpx.c dpx.image.image_element[i].high_quantity=0.0f; image 1621 coders/dpx.c offset+=WriteBlobFloat(image,dpx.image.image_element[i].high_quantity); image 1622 coders/dpx.c dpx.image.image_element[i].descriptor=0; image 1624 coders/dpx.c switch (image->colorspace) image 1630 coders/dpx.c dpx.image.image_element[i].descriptor=CbYCr444ComponentType; image 1631 coders/dpx.c if (image->matte != MagickFalse) image 1632 coders/dpx.c dpx.image.image_element[i].descriptor=CbYCrA4444ComponentType; image 1637 coders/dpx.c dpx.image.image_element[i].descriptor=RGBComponentType; image 1638 coders/dpx.c if (image->matte != MagickFalse) image 1639 coders/dpx.c dpx.image.image_element[i].descriptor=RGBAComponentType; image 1641 coders/dpx.c (image->matte == MagickFalse) && image 1642 coders/dpx.c (SetImageGray(image,&image->exception) != MagickFalse)) image 1643 coders/dpx.c dpx.image.image_element[i].descriptor=LumaComponentType; image 1647 coders/dpx.c offset+=WriteBlobByte(image,dpx.image.image_element[i].descriptor); image 1648 coders/dpx.c dpx.image.image_element[i].transfer_characteristic=0; image 1649 coders/dpx.c if (image->colorspace == LogColorspace) image 1650 coders/dpx.c dpx.image.image_element[0].transfer_characteristic= image 1652 coders/dpx.c offset+=WriteBlobByte(image, image 1653 coders/dpx.c dpx.image.image_element[i].transfer_characteristic); image 1654 coders/dpx.c dpx.image.image_element[i].colorimetric=0; image 1655 coders/dpx.c offset+=WriteBlobByte(image,dpx.image.image_element[i].colorimetric); image 1656 coders/dpx.c dpx.image.image_element[i].bit_size=0; image 1658 coders/dpx.c dpx.image.image_element[i].bit_size=(unsigned char) image->depth; image 1659 coders/dpx.c offset+=WriteBlobByte(image,dpx.image.image_element[i].bit_size); image 1660 coders/dpx.c dpx.image.image_element[i].packing=0; image 1661 coders/dpx.c if ((image->depth == 10) || (image->depth == 12)) image 1662 coders/dpx.c dpx.image.image_element[i].packing=1; image 1663 coders/dpx.c offset+=WriteBlobShort(image,dpx.image.image_element[i].packing); image 1664 coders/dpx.c dpx.image.image_element[i].encoding=0; image 1665 coders/dpx.c offset+=WriteBlobShort(image,dpx.image.image_element[i].encoding); image 1666 coders/dpx.c dpx.image.image_element[i].data_offset=0U; image 1668 coders/dpx.c dpx.image.image_element[i].data_offset=dpx.file.image_offset; image 1669 coders/dpx.c offset+=WriteBlobLong(image,dpx.image.image_element[i].data_offset); image 1670 coders/dpx.c dpx.image.image_element[i].end_of_line_padding=0U; image 1671 coders/dpx.c offset+=WriteBlobLong(image,dpx.image.image_element[i].end_of_line_padding); image 1672 coders/dpx.c offset+=WriteBlobLong(image, image 1673 coders/dpx.c dpx.image.image_element[i].end_of_image_padding); image 1674 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.image.image_element[i].description), image 1675 coders/dpx.c (unsigned char *) dpx.image.image_element[i].description); image 1677 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.image.reserve),(unsigned char *) image 1678 coders/dpx.c dpx.image.reserve); image 1682 coders/dpx.c if ((image->rows != image->magick_rows) || image 1683 coders/dpx.c (image->columns != image->magick_columns)) image 1688 coders/dpx.c (void) DeleteImageProperty(image,"dpx:orientation.x_offset"); image 1689 coders/dpx.c (void) DeleteImageProperty(image,"dpx:orientation.y_offset"); image 1690 coders/dpx.c (void) DeleteImageProperty(image,"dpx:orientation.x_center"); image 1691 coders/dpx.c (void) DeleteImageProperty(image,"dpx:orientation.y_center"); image 1692 coders/dpx.c (void) DeleteImageProperty(image,"dpx:orientation.x_size"); image 1693 coders/dpx.c (void) DeleteImageProperty(image,"dpx:orientation.y_size"); image 1696 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.x_offset"); image 1699 coders/dpx.c offset+=WriteBlobLong(image,dpx.orientation.x_offset); image 1701 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.y_offset"); image 1704 coders/dpx.c offset+=WriteBlobLong(image,dpx.orientation.y_offset); image 1706 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.x_center"); image 1709 coders/dpx.c offset+=WriteBlobFloat(image,dpx.orientation.x_center); image 1711 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.y_center"); image 1714 coders/dpx.c offset+=WriteBlobFloat(image,dpx.orientation.y_center); image 1716 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.x_size"); image 1719 coders/dpx.c offset+=WriteBlobLong(image,dpx.orientation.x_size); image 1721 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.y_size"); image 1724 coders/dpx.c offset+=WriteBlobLong(image,dpx.orientation.y_size); image 1725 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.filename"); image 1729 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.orientation.filename),(unsigned char *) image 1731 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.orientation.timestamp),(unsigned char *) image 1733 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.device"); image 1737 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.orientation.device),(unsigned char *) image 1739 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.serial"); image 1743 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.orientation.serial),(unsigned char *) image 1747 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.border"); image 1759 coders/dpx.c offset+=WriteBlobShort(image,dpx.orientation.border[i]); image 1762 coders/dpx.c value=GetDPXProperty(image,"dpx:orientation.aspect_ratio"); image 1772 coders/dpx.c offset+=WriteBlobLong(image,dpx.orientation.aspect_ratio[i]); image 1773 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.orientation.reserve),(unsigned char *) image 1779 coders/dpx.c value=GetDPXProperty(image,"dpx:film.id"); image 1782 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.film.id),(unsigned char *) dpx.film.id); image 1784 coders/dpx.c value=GetDPXProperty(image,"dpx:film.type"); image 1787 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.film.type),(unsigned char *) image 1790 coders/dpx.c value=GetDPXProperty(image,"dpx:film.offset"); image 1793 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.film.offset),(unsigned char *) image 1796 coders/dpx.c value=GetDPXProperty(image,"dpx:film.prefix"); image 1799 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.film.prefix),(unsigned char *) image 1802 coders/dpx.c value=GetDPXProperty(image,"dpx:film.count"); image 1805 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.film.count),(unsigned char *) image 1808 coders/dpx.c value=GetDPXProperty(image,"dpx:film.format"); image 1811 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.film.format),(unsigned char *) image 1814 coders/dpx.c value=GetDPXProperty(image,"dpx:film.frame_position"); image 1817 coders/dpx.c offset+=WriteBlobLong(image,dpx.film.frame_position); image 1819 coders/dpx.c value=GetDPXProperty(image,"dpx:film.sequence_extent"); image 1822 coders/dpx.c offset+=WriteBlobLong(image,dpx.film.sequence_extent); image 1824 coders/dpx.c value=GetDPXProperty(image,"dpx:film.held_count"); image 1827 coders/dpx.c offset+=WriteBlobLong(image,dpx.film.held_count); image 1829 coders/dpx.c value=GetDPXProperty(image,"dpx:film.frame_rate"); image 1832 coders/dpx.c offset+=WriteBlobFloat(image,dpx.film.frame_rate); image 1834 coders/dpx.c value=GetDPXProperty(image,"dpx:film.shutter_angle"); image 1837 coders/dpx.c offset+=WriteBlobFloat(image,dpx.film.shutter_angle); image 1839 coders/dpx.c value=GetDPXProperty(image,"dpx:film.frame_id"); image 1842 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.film.frame_id),(unsigned char *) image 1844 coders/dpx.c value=GetDPXProperty(image,"dpx:film.slate"); image 1847 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.film.slate),(unsigned char *) image 1849 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.film.reserve),(unsigned char *) image 1854 coders/dpx.c value=GetDPXProperty(image,"dpx:television.time.code"); image 1857 coders/dpx.c offset+=WriteBlobLong(image,dpx.television.time_code); image 1858 coders/dpx.c value=GetDPXProperty(image,"dpx:television.user.bits"); image 1861 coders/dpx.c offset+=WriteBlobLong(image,dpx.television.user_bits); image 1862 coders/dpx.c value=GetDPXProperty(image,"dpx:television.interlace"); image 1865 coders/dpx.c offset+=WriteBlobByte(image,dpx.television.interlace); image 1866 coders/dpx.c value=GetDPXProperty(image,"dpx:television.field_number"); image 1869 coders/dpx.c offset+=WriteBlobByte(image,dpx.television.field_number); image 1871 coders/dpx.c value=GetDPXProperty(image,"dpx:television.video_signal"); image 1874 coders/dpx.c offset+=WriteBlobByte(image,dpx.television.video_signal); image 1876 coders/dpx.c value=GetDPXProperty(image,"dpx:television.padding"); image 1879 coders/dpx.c offset+=WriteBlobByte(image,dpx.television.padding); image 1881 coders/dpx.c value=GetDPXProperty(image,"dpx:television.horizontal_sample_rate"); image 1885 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.horizontal_sample_rate); image 1887 coders/dpx.c value=GetDPXProperty(image,"dpx:television.vertical_sample_rate"); image 1891 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.vertical_sample_rate); image 1893 coders/dpx.c value=GetDPXProperty(image,"dpx:television.frame_rate"); image 1896 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.frame_rate); image 1898 coders/dpx.c value=GetDPXProperty(image,"dpx:television.time_offset"); image 1901 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.time_offset); image 1903 coders/dpx.c value=GetDPXProperty(image,"dpx:television.gamma"); image 1906 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.gamma); image 1908 coders/dpx.c value=GetDPXProperty(image,"dpx:television.black_level"); image 1911 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.black_level); image 1913 coders/dpx.c value=GetDPXProperty(image,"dpx:television.black_gain"); image 1916 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.black_gain); image 1918 coders/dpx.c value=GetDPXProperty(image,"dpx:television.break_point"); image 1921 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.break_point); image 1923 coders/dpx.c value=GetDPXProperty(image,"dpx:television.white_level"); image 1926 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.white_level); image 1928 coders/dpx.c value=GetDPXProperty(image,"dpx:television.integration_times"); image 1931 coders/dpx.c offset+=WriteBlobFloat(image,dpx.television.integration_times); image 1932 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.television.reserve),(unsigned char *) image 1937 coders/dpx.c value=GetDPXProperty(image,"dpx:user.id"); image 1940 coders/dpx.c offset+=WriteBlob(image,sizeof(dpx.user.id),(unsigned char *) dpx.user.id); image 1942 coders/dpx.c offset+=WriteBlob(image,GetStringInfoLength(profile), image 1944 coders/dpx.c while (offset < (MagickOffsetType) dpx.image.image_element[0].data_offset) image 1946 coders/dpx.c count=WriteBlobByte(image,0x00); image 1949 coders/dpx.c ThrowFileException(&image->exception,FileOpenError,"UnableToWriteFile", image 1950 coders/dpx.c image->filename); image 1958 coders/dpx.c quantum_info=AcquireQuantumInfo(image_info,image); image 1960 coders/dpx.c SetQuantumPack(quantum_info,dpx.image.image_element[0].packing == 0 ? image 1963 coders/dpx.c if (image->matte != MagickFalse) image 1965 coders/dpx.c if (image->colorspace == YCbCrColorspace) image 1968 coders/dpx.c if (image->matte != MagickFalse) image 1973 coders/dpx.c extent=GetBytesPerRow(image->columns,image->matte != MagickFalse ? 4UL : 3UL, image 1974 coders/dpx.c image->depth,dpx.image.image_element[0].packing == 0 ? MagickFalse : image 1976 coders/dpx.c if ((image_info->type != TrueColorType) && (image->matte == MagickFalse) && image 1977 coders/dpx.c (SetImageGray(image,&image->exception) != MagickFalse)) image 1980 coders/dpx.c extent=GetBytesPerRow(image->columns,1UL,image->depth, image 1981 coders/dpx.c dpx.image.image_element[0].packing == 0 ? MagickFalse : MagickTrue); image 1984 coders/dpx.c for (y=0; y < (ssize_t) image->rows; y++) image 1986 coders/dpx.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1989 coders/dpx.c (void) ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 1990 coders/dpx.c quantum_type,pixels,&image->exception); image 1991 coders/dpx.c count=WriteBlob(image,extent,pixels); image 1994 coders/dpx.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1995 coders/dpx.c image->rows); image 2000 coders/dpx.c (void) CloseBlob(image); image 450 coders/emf.c *image; image 473 coders/emf.c image=AcquireImage(image_info); image 477 coders/emf.c if ((image->columns == 0) || (image->rows == 0)) image 485 coders/emf.c if (image->y_resolution > 0) image 487 coders/emf.c y_resolution=image->y_resolution; image 488 coders/emf.c if (image->units == PixelsPerCentimeterResolution) image 491 coders/emf.c if (image->x_resolution > 0) image 493 coders/emf.c x_resolution=image->x_resolution; image 494 coders/emf.c if (image->units == PixelsPerCentimeterResolution) image 497 coders/emf.c image->rows=(size_t) ((height/1000.0/CENTIMETERS_INCH)*y_resolution+0.5); image 498 coders/emf.c image->columns=(size_t) ((width/1000.0/CENTIMETERS_INCH)* image 506 coders/emf.c image->columns=width; image 507 coders/emf.c image->rows=height; image 510 coders/emf.c (void) GetGeometry(image_info->size,&x,&y,&image->columns,&image->rows); image 512 coders/emf.c status=SetImageExtent(image,image->columns,image->rows); image 515 coders/emf.c InheritException(exception,&image->exception); image 516 coders/emf.c return(DestroyImageList(image)); image 536 coders/emf.c flags=ParseMetaGeometry(geometry,&sans,&sans,&image->columns, image 537 coders/emf.c &image->rows); image 538 coders/emf.c if (image->x_resolution != 0.0) image 539 coders/emf.c image->columns=(size_t) floor((image->columns*image->x_resolution)+ image 541 coders/emf.c if (image->y_resolution != 0.0) image 542 coders/emf.c image->rows=(size_t) floor((image->rows*image->y_resolution)+0.5); image 547 coders/emf.c flags=ParseMetaGeometry(geometry,&sans,&sans,&image->columns, image 548 coders/emf.c &image->rows); image 549 coders/emf.c if (image->x_resolution != 0.0) image 550 coders/emf.c image->columns=(size_t) floor(((image->columns*image->x_resolution)/ image 552 coders/emf.c if (image->y_resolution != 0.0) image 553 coders/emf.c image->rows=(size_t) floor(((image->rows*image->y_resolution)/ image 570 coders/emf.c DIBinfo.bmiHeader.biWidth=(LONG) image->columns; image 571 coders/emf.c DIBinfo.bmiHeader.biHeight=(-1)*(LONG) image->rows; image 602 coders/emf.c for (y=0; y < (ssize_t) image->rows; y++) image 604 coders/emf.c for (x=0; x < (ssize_t) image->columns; x++) image 606 coders/emf.c pBits->rgbRed=ScaleQuantumToChar(image->background_color.red); image 607 coders/emf.c pBits->rgbGreen=ScaleQuantumToChar(image->background_color.green); image 608 coders/emf.c pBits->rgbBlue=ScaleQuantumToChar(image->background_color.blue); image 614 coders/emf.c rect.right=(LONG) image->columns; image 615 coders/emf.c rect.bottom=(LONG) image->rows; image 621 coders/emf.c for (y=0; y < (ssize_t) image->rows; y++) image 623 coders/emf.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 626 coders/emf.c for (x=0; x < (ssize_t) image->columns; x++) image 635 coders/emf.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 642 coders/emf.c return(GetFirstImageInList(image)); image 670 coders/emf.c *image; image 700 coders/emf.c image=AcquireImage(image_info); image 704 coders/emf.c MultiByteToWideChar(CP_UTF8,0,image->filename,-1,fileName,MaxTextExtent); image 712 coders/emf.c image->x_resolution=source->GetHorizontalResolution(); image 713 coders/emf.c image->y_resolution=source->GetVerticalResolution(); image 714 coders/emf.c image->columns=(size_t) source->GetWidth(); image 715 coders/emf.c image->rows=(size_t) source->GetHeight(); image 719 coders/emf.c image->x_resolution=geometry_info.rho; image 720 coders/emf.c image->y_resolution=geometry_info.sigma; image 722 coders/emf.c image->y_resolution=image->x_resolution; image 723 coders/emf.c if ((image->x_resolution > 0.0) && (image->y_resolution > 0.0)) image 725 coders/emf.c image->columns=(size_t) floor((Gdiplus::REAL) source->GetWidth() / image 726 coders/emf.c source->GetHorizontalResolution() * image->x_resolution + 0.5); image 727 coders/emf.c image->rows=(size_t)floor((Gdiplus::REAL) source->GetHeight() / image 728 coders/emf.c source->GetVerticalResolution() * image->y_resolution + 0.5); image 732 coders/emf.c bitmap=new Gdiplus::Bitmap((INT) image->columns,(INT) image->rows, image 739 coders/emf.c image->background_color.opacity),(BYTE) ScaleQuantumToChar( image 740 coders/emf.c image->background_color.red),(BYTE) ScaleQuantumToChar( image 741 coders/emf.c image->background_color.green),(BYTE) ScaleQuantumToChar( image 742 coders/emf.c image->background_color.blue))); image 743 coders/emf.c graphics->DrawImage(source,0,0,(INT) image->columns,(INT) image->rows); image 747 coders/emf.c rect=Gdiplus::Rect(0,0,(INT) image->columns,(INT) image->rows); image 756 coders/emf.c image->matte=MagickTrue; image 757 coders/emf.c for (y=0; y < (ssize_t) image->rows; y++) image 761 coders/emf.c q=GetAuthenticPixels(image,0,image->rows-y-1,image->columns,1,exception); image 763 coders/emf.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 767 coders/emf.c for (x=0; x < (ssize_t) image->columns; x++) image 776 coders/emf.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 783 coders/emf.c return(image); image 164 coders/ept.c *image; image 188 coders/ept.c image=AcquireImage(image_info); image 189 coders/ept.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 192 coders/ept.c image=DestroyImageList(image); image 195 coders/ept.c ept_info.magick=ReadBlobLSBLong(image); image 198 coders/ept.c ept_info.postscript_offset=(MagickOffsetType) ReadBlobLSBLong(image); image 199 coders/ept.c ept_info.postscript_length=ReadBlobLSBLong(image); image 200 coders/ept.c (void) ReadBlobLSBLong(image); image 201 coders/ept.c (void) ReadBlobLSBLong(image); image 202 coders/ept.c ept_info.tiff_offset=(MagickOffsetType) ReadBlobLSBLong(image); image 203 coders/ept.c ept_info.tiff_length=ReadBlobLSBLong(image); image 204 coders/ept.c (void) ReadBlobLSBShort(image); image 217 coders/ept.c offset=SeekBlob(image,ept_info.tiff_offset,SEEK_SET); image 220 coders/ept.c count=ReadBlob(image,ept_info.tiff_length,ept_info.tiff); image 223 coders/ept.c "InsufficientImageDataInFile","`%s'",image->filename); image 224 coders/ept.c offset=SeekBlob(image,ept_info.postscript_offset,SEEK_SET); image 227 coders/ept.c count=ReadBlob(image,ept_info.postscript_length,ept_info.postscript); image 230 coders/ept.c "InsufficientImageDataInFile","`%s'",image->filename); image 231 coders/ept.c (void) CloseBlob(image); image 232 coders/ept.c image=DestroyImage(image); image 235 coders/ept.c image=BlobToImage(read_info,ept_info.postscript,ept_info.postscript_length, image 237 coders/ept.c if (image == (Image *) NULL) image 240 coders/ept.c image=BlobToImage(read_info,ept_info.tiff,ept_info.tiff_length,exception); image 243 coders/ept.c if (image != (Image *) NULL) image 245 coders/ept.c (void) CopyMagickString(image->filename,image_info->filename, image 247 coders/ept.c (void) CopyMagickString(image->magick,"EPT",MaxTextExtent); image 252 coders/ept.c return(image); image 367 coders/ept.c static MagickBooleanType WriteEPTImage(const ImageInfo *image_info,Image *image) image 389 coders/ept.c assert(image != (Image *) NULL); image 390 coders/ept.c assert(image->signature == MagickSignature); image 391 coders/ept.c if (image->debug != MagickFalse) image 392 coders/ept.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 393 coders/ept.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 396 coders/ept.c write_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 409 coders/ept.c &ept_info.postscript_length,&image->exception); image 414 coders/ept.c write_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 433 coders/ept.c quantize_info.dither=IsPaletteImage(write_image,&image->exception) == image 439 coders/ept.c &ept_info.tiff_length,&image->exception); image 451 coders/ept.c (void) WriteBlobLSBLong(image,(unsigned int) ept_info.magick); image 452 coders/ept.c (void) WriteBlobLSBLong(image,30); image 453 coders/ept.c (void) WriteBlobLSBLong(image,(unsigned int) ept_info.postscript_length); image 454 coders/ept.c (void) WriteBlobLSBLong(image,0); image 455 coders/ept.c (void) WriteBlobLSBLong(image,0); image 456 coders/ept.c (void) WriteBlobLSBLong(image,(unsigned int) ept_info.postscript_length+30); image 457 coders/ept.c (void) WriteBlobLSBLong(image,(unsigned int) ept_info.tiff_length); image 458 coders/ept.c (void) WriteBlobLSBShort(image,0xffff); image 459 coders/ept.c (void) WriteBlob(image,ept_info.postscript_length,ept_info.postscript); image 460 coders/ept.c (void) WriteBlob(image,ept_info.tiff_length,ept_info.tiff); image 467 coders/ept.c (void) CloseBlob(image); image 139 coders/exr.c *image; image 178 coders/exr.c image=AcquireImage(image_info); image 179 coders/exr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 182 coders/exr.c image=DestroyImageList(image); image 189 coders/exr.c (void) ImageToFile(image,read_info->filename,exception); image 203 coders/exr.c image->columns=max_x-min_x+1UL; image 204 coders/exr.c image->rows=max_y-min_y+1UL; image 205 coders/exr.c image->matte=MagickTrue; image 206 coders/exr.c SetImageColorspace(image,RGBColorspace); image 207 coders/exr.c image->gamma=1.0; image 214 coders/exr.c (void) CloseBlob(image); image 215 coders/exr.c return(GetFirstImageInList(image)); image 217 coders/exr.c status=SetImageExtent(image,image->columns,image->rows); image 220 coders/exr.c InheritException(exception,&image->exception); image 221 coders/exr.c return(DestroyImageList(image)); image 223 coders/exr.c scanline=(ImfRgba *) AcquireQuantumMemory(image->columns,sizeof(*scanline)); image 232 coders/exr.c for (y=0; y < (ssize_t) image->rows; y++) image 234 coders/exr.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 237 coders/exr.c ResetMagickMemory(scanline,0,image->columns*sizeof(*scanline)); image 238 coders/exr.c ImfInputSetFrameBuffer(file,scanline-min_x-image->columns*(min_y+y),1, image 239 coders/exr.c image->columns); image 241 coders/exr.c for (x=0; x < (ssize_t) image->columns; x++) image 253 coders/exr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 261 coders/exr.c (void) CloseBlob(image); image 262 coders/exr.c return(GetFirstImageInList(image)); image 358 coders/exr.c static MagickBooleanType WriteEXRImage(const ImageInfo *image_info,Image *image) image 401 coders/exr.c assert(image != (Image *) NULL); image 402 coders/exr.c assert(image->signature == MagickSignature); image 403 coders/exr.c if (image->debug != MagickFalse) image 404 coders/exr.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 405 coders/exr.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 408 coders/exr.c (void) SetImageColorspace(image,RGBColorspace); image 412 coders/exr.c ImfHeaderSetDataWindow(hdr_info,0,0,(int) image->columns-1,(int) image 413 coders/exr.c image->rows-1); image 414 coders/exr.c ImfHeaderSetDisplayWindow(hdr_info,0,0,(int) image->columns-1,(int) image 415 coders/exr.c image->rows-1); image 458 coders/exr.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 485 coders/exr.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 495 coders/exr.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 506 coders/exr.c channels=image->matte ? IMF_WRITE_YCA : IMF_WRITE_YC; image 508 coders/exr.c channels=image->matte ? IMF_WRITE_RGBA : IMF_WRITE_RGB; image 518 coders/exr.c ThrowFileException(&image->exception,BlobError,"UnableToOpenBlob", image 522 coders/exr.c scanline=(ImfRgba *) AcquireQuantumMemory(image->columns,sizeof(*scanline)); image 530 coders/exr.c ResetMagickMemory(scanline,0,image->columns*sizeof(*scanline)); image 531 coders/exr.c for (y=0; y < (ssize_t) image->rows; y++) image 533 coders/exr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 536 coders/exr.c for (x=0; x < (ssize_t) image->columns; x++) image 544 coders/exr.c if (image->matte == MagickFalse) image 551 coders/exr.c ImfOutputSetFrameBuffer(file,scanline-(y*image->columns),1,image->columns); image 556 coders/exr.c (void) FileToImage(image,write_info->filename); image 559 coders/exr.c (void) CloseBlob(image); image 134 coders/fax.c *image; image 149 coders/fax.c image=AcquireImage(image_info); image 150 coders/fax.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 153 coders/fax.c image=DestroyImageList(image); image 159 coders/fax.c image->storage_class=PseudoClass; image 160 coders/fax.c if (image->columns == 0) image 161 coders/fax.c image->columns=2592; image 162 coders/fax.c if (image->rows == 0) image 163 coders/fax.c image->rows=3508; image 164 coders/fax.c image->depth=8; image 165 coders/fax.c if (AcquireImageColormap(image,2) == MagickFalse) image 170 coders/fax.c image->colormap[0].red=QuantumRange; image 171 coders/fax.c image->colormap[0].green=QuantumRange; image 172 coders/fax.c image->colormap[0].blue=QuantumRange; image 173 coders/fax.c image->colormap[1].red=(Quantum) 0; image 174 coders/fax.c image->colormap[1].green=(Quantum) 0; image 175 coders/fax.c image->colormap[1].blue=(Quantum) 0; image 178 coders/fax.c (void) CloseBlob(image); image 179 coders/fax.c return(GetFirstImageInList(image)); image 181 coders/fax.c status=SetImageExtent(image,image->columns,image->rows); image 184 coders/fax.c InheritException(exception,&image->exception); image 185 coders/fax.c return(DestroyImageList(image)); image 187 coders/fax.c status=HuffmanDecodeImage(image); image 190 coders/fax.c if (EOFBlob(image) != MagickFalse) image 192 coders/fax.c image->filename); image 193 coders/fax.c (void) CloseBlob(image); image 194 coders/fax.c return(GetFirstImageInList(image)); image 303 coders/fax.c static MagickBooleanType WriteFAXImage(const ImageInfo *image_info,Image *image) image 319 coders/fax.c assert(image != (Image *) NULL); image 320 coders/fax.c assert(image->signature == MagickSignature); image 321 coders/fax.c if (image->debug != MagickFalse) image 322 coders/fax.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 323 coders/fax.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 334 coders/fax.c (void) TransformImageColorspace(image,sRGBColorspace); image 335 coders/fax.c status=HuffmanEncodeImage(write_info,image,image); image 336 coders/fax.c if (GetNextImageInList(image) == (Image *) NULL) image 338 coders/fax.c image=SyncNextImageInList(image); image 339 coders/fax.c status=SetImageProgress(image,SaveImagesTag,scene++, image 340 coders/fax.c GetImageListLength(image)); image 345 coders/fax.c (void) CloseBlob(image); image 92 coders/fd.c *image; image 118 coders/fd.c image=ReadImage(read_info,exception); image 121 coders/fd.c if (image == (Image *) NULL) image 127 coders/fd.c return(GetFirstImageInList(image)); image 145 coders/fits.c static inline double GetFITSPixel(Image *image,int bits_per_pixel) image 147 coders/fits.c switch (image->depth >> 3) image 150 coders/fits.c return((double) ReadBlobByte(image)); image 152 coders/fits.c return((double) ((short) ReadBlobShort(image))); image 156 coders/fits.c return((double) ((int) ReadBlobLong(image))); image 157 coders/fits.c return((double) ReadBlobFloat(image)); image 162 coders/fits.c return((double) ((MagickOffsetType) ReadBlobLongLong(image))); image 167 coders/fits.c return(ReadBlobDouble(image)); image 170 coders/fits.c static MagickOffsetType GetFITSPixelExtrema(Image *image, image 185 coders/fits.c offset=TellBlob(image); image 188 coders/fits.c number_pixels=(MagickSizeType) image->columns*image->rows; image 189 coders/fits.c *minima=GetFITSPixel(image,bits_per_pixel); image 193 coders/fits.c pixel=GetFITSPixel(image,bits_per_pixel); image 199 coders/fits.c return(SeekBlob(image,offset,SEEK_SET)); image 262 coders/fits.c *image; image 295 coders/fits.c image=AcquireImage(image_info); image 296 coders/fits.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 299 coders/fits.c image=DestroyImageList(image); image 320 coders/fits.c for (comment=(char *) NULL; EOFBlob(image) == MagickFalse; ) image 322 coders/fits.c for ( ; EOFBlob(image) == MagickFalse; ) image 327 coders/fits.c count=ReadBlob(image,8,(unsigned char *) keyword); image 337 coders/fits.c count=ReadBlob(image,72,(unsigned char *) value); image 387 coders/fits.c (void) SetImageProperty(image,property,p); image 390 coders/fits.c while (((TellBlob(image) % FITSBlocksize) != 0) && (c != EOF)) image 391 coders/fits.c c=ReadBlobByte(image); image 408 coders/fits.c (void) SetImageProperty(image,"comment",comment); image 411 coders/fits.c if (EOFBlob(image) != MagickFalse) image 413 coders/fits.c image->filename); image 420 coders/fits.c image->columns=(size_t) fits_info.columns; image 421 coders/fits.c image->rows=(size_t) fits_info.rows; image 422 coders/fits.c image->depth=(size_t) (fits_info.bits_per_pixel < 0 ? -1 : 1)* image 424 coders/fits.c image->endian=fits_info.endian; image 425 coders/fits.c image->scene=(size_t) scene; image 427 coders/fits.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 429 coders/fits.c status=SetImageExtent(image,image->columns,image->rows); image 432 coders/fits.c InheritException(exception,&image->exception); image 433 coders/fits.c return(DestroyImageList(image)); image 438 coders/fits.c (void) SetImageColorspace(image,GRAYColorspace); image 442 coders/fits.c (void) GetFITSPixelExtrema(image,fits_info.bits_per_pixel, image 454 coders/fits.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 456 coders/fits.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 459 coders/fits.c for (x=0; x < (ssize_t) image->columns; x++) image 461 coders/fits.c pixel=GetFITSPixel(image,fits_info.bits_per_pixel); image 462 coders/fits.c if ((image->depth == 16) || (image->depth == 32) || image 463 coders/fits.c (image->depth == 64)) image 464 coders/fits.c SetFITSUnsignedPixels(1,image->depth,image->endian,(unsigned char *) image 472 coders/fits.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 474 coders/fits.c if (image->previous == (Image *) NULL) image 476 coders/fits.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 477 coders/fits.c image->rows); image 482 coders/fits.c if (EOFBlob(image) != MagickFalse) image 485 coders/fits.c image->filename); image 492 coders/fits.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 499 coders/fits.c AcquireNextImage(image_info,image); image 500 coders/fits.c if (GetNextImageInList(image) == (Image *) NULL) image 502 coders/fits.c image=DestroyImageList(image); image 505 coders/fits.c image=SyncNextImageInList(image); image 506 coders/fits.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 507 coders/fits.c GetBlobSize(image)); image 512 coders/fits.c (void) CloseBlob(image); image 513 coders/fits.c return(GetFirstImageInList(image)); image 617 coders/fits.c Image *image) image 648 coders/fits.c assert(image != (Image *) NULL); image 649 coders/fits.c assert(image->signature == MagickSignature); image 650 coders/fits.c if (image->debug != MagickFalse) image 651 coders/fits.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 652 coders/fits.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 655 coders/fits.c (void) TransformImageColorspace(image,sRGBColorspace); image 666 coders/fits.c image->depth=GetImageQuantumDepth(image,MagickFalse); image 667 coders/fits.c image->endian=MSBEndian; image 668 coders/fits.c quantum_info=AcquireQuantumInfo(image_info,image); image 678 coders/fits.c image->depth)); image 682 coders/fits.c SetImageGray(image,&image->exception) != MagickFalse ? 2UL : 3UL); image 686 coders/fits.c (unsigned long) image->columns); image 690 coders/fits.c (unsigned long) image->rows); image 693 coders/fits.c if (SetImageGray(image,&image->exception) == MagickFalse) image 704 coders/fits.c image->depth > 8 ? GetFITSPixelRange(image->depth)/2.0 : 0.0); image 708 coders/fits.c 1.0*((MagickOffsetType) GetQuantumRange(image->depth))); image 714 coders/fits.c if (image->endian == LSBEndian) image 727 coders/fits.c (void) WriteBlob(image,FITSBlocksize,(unsigned char *) fits_info); image 732 coders/fits.c if (SetImageGray(image,&image->exception) != MagickFalse) image 734 coders/fits.c length=GetQuantumExtent(image,quantum_info,GrayQuantum); image 735 coders/fits.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 737 coders/fits.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 740 coders/fits.c length=ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 741 coders/fits.c GrayQuantum,pixels,&image->exception); image 742 coders/fits.c if (image->depth == 16) image 743 coders/fits.c SetFITSUnsignedPixels(image->columns,image->depth,image->endian, image 745 coders/fits.c if (((image->depth == 32) || (image->depth == 64)) && image 747 coders/fits.c SetFITSUnsignedPixels(image->columns,image->depth,image->endian, image 749 coders/fits.c count=WriteBlob(image,length,pixels); image 752 coders/fits.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 753 coders/fits.c image->rows); image 760 coders/fits.c length=GetQuantumExtent(image,quantum_info,RedQuantum); image 761 coders/fits.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 763 coders/fits.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 766 coders/fits.c length=ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 767 coders/fits.c RedQuantum,pixels,&image->exception); image 768 coders/fits.c if (image->depth == 16) image 769 coders/fits.c SetFITSUnsignedPixels(image->columns,image->depth,image->endian, image 771 coders/fits.c if (((image->depth == 32) || (image->depth == 64)) && image 773 coders/fits.c SetFITSUnsignedPixels(image->columns,image->depth,image->endian, image 775 coders/fits.c count=WriteBlob(image,length,pixels); image 778 coders/fits.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 779 coders/fits.c image->rows); image 783 coders/fits.c length=GetQuantumExtent(image,quantum_info,GreenQuantum); image 784 coders/fits.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 786 coders/fits.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 789 coders/fits.c length=ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 790 coders/fits.c GreenQuantum,pixels,&image->exception); image 791 coders/fits.c if (image->depth == 16) image 792 coders/fits.c SetFITSUnsignedPixels(image->columns,image->depth,image->endian, image 794 coders/fits.c if (((image->depth == 32) || (image->depth == 64)) && image 796 coders/fits.c SetFITSUnsignedPixels(image->columns,image->depth,image->endian, image 798 coders/fits.c count=WriteBlob(image,length,pixels); image 801 coders/fits.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 802 coders/fits.c image->rows); image 806 coders/fits.c length=GetQuantumExtent(image,quantum_info,BlueQuantum); image 807 coders/fits.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 809 coders/fits.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 812 coders/fits.c length=ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 813 coders/fits.c BlueQuantum,pixels,&image->exception); image 814 coders/fits.c if (image->depth == 16) image 815 coders/fits.c SetFITSUnsignedPixels(image->columns,image->depth,image->endian, image 817 coders/fits.c if (((image->depth == 32) || (image->depth == 64)) && image 819 coders/fits.c SetFITSUnsignedPixels(image->columns,image->depth,image->endian, image 821 coders/fits.c count=WriteBlob(image,length,pixels); image 824 coders/fits.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 825 coders/fits.c image->rows); image 831 coders/fits.c length=(size_t) (FITSBlocksize-TellBlob(image) % FITSBlocksize); image 835 coders/fits.c (void) WriteBlob(image,length,(unsigned char *) fits_info); image 838 coders/fits.c (void) CloseBlob(image); image 137 coders/fpx.c *image; image 189 coders/fpx.c image=AcquireImage(image_info); image 190 coders/fpx.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 193 coders/fpx.c image=DestroyImageList(image); image 196 coders/fpx.c (void) CloseBlob(image); image 218 coders/fpx.c FilenameToFSSpec(image->filename,&fsspec); image 221 coders/fpx.c fpx_status=FPX_OpenImageByFilename(image->filename,(char *) NULL, image 234 coders/fpx.c image->filename); image 235 coders/fpx.c image=DestroyImageList(image); image 285 coders/fpx.c (void) SetImageProperty(image,"label",label); image 309 coders/fpx.c (void) SetImageProperty(image,"comment",comments); image 327 coders/fpx.c while ((width > image->columns) || (height > image->rows)) image 333 coders/fpx.c image->depth=8; image 334 coders/fpx.c image->columns=width; image 335 coders/fpx.c image->rows=height; image 337 coders/fpx.c image->matte=MagickTrue; image 343 coders/fpx.c if (AcquireImageColormap(image,MaxColormapSize) == MagickFalse) image 353 coders/fpx.c return(GetFirstImageInList(image)); image 355 coders/fpx.c status=SetImageExtent(image,image->columns,image->rows); image 358 coders/fpx.c InheritException(exception,&image->exception); image 359 coders/fpx.c return(DestroyImageList(image)); image 364 coders/fpx.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns,(tile_height+ image 382 coders/fpx.c fpx_info.components[i].lineStride=image->columns* image 400 coders/fpx.c for (y=0; y < (ssize_t) image->rows; y++) image 402 coders/fpx.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 405 coders/fpx.c indexes=GetAuthenticIndexQueue(image); image 412 coders/fpx.c fpx_status=FPX_ReadImageRectangle(flashpix,0,y,image->columns,y+ image 416 coders/fpx.c (float) y/image->rows,(float) image->columns/image->rows, image 417 coders/fpx.c (float) (y+tile_height-1)/image->rows,(ssize_t) image->columns, image 434 coders/fpx.c for (x=0; x < (ssize_t) image->columns; x++) image 451 coders/fpx.c if (image->matte != MagickFalse) image 459 coders/fpx.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 461 coders/fpx.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 462 coders/fpx.c image->rows); image 469 coders/fpx.c return(GetFirstImageInList(image)); image 747 coders/fpx.c static MagickBooleanType WriteFPXImage(const ImageInfo *image_info,Image *image) image 816 coders/fpx.c assert(image != (Image *) NULL); image 817 coders/fpx.c assert(image->signature == MagickSignature); image 818 coders/fpx.c if (image->debug != MagickFalse) image 819 coders/fpx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 820 coders/fpx.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 823 coders/fpx.c (void) TransformImageColorspace(image,sRGBColorspace); image 824 coders/fpx.c (void) CloseBlob(image); image 828 coders/fpx.c image->depth=8; image 836 coders/fpx.c if (image->matte != MagickFalse) image 839 coders/fpx.c SetImageGray(image,&image->exception)) image 849 coders/fpx.c if (image->compression == JPEGCompression) image 859 coders/fpx.c fpx_status=FPX_CreateImageByFilename((const FSSpec &) fsspec,image->columns, image 861 coders/fpx.c fpx_status=FPX_CreateImageByFilename(image->filename,image->columns, image 863 coders/fpx.c image->rows,tile_width,tile_height,colorspace,background_color, image 874 coders/fpx.c image->quality == UndefinedCompressionQuality ? 75 : image->quality); image 900 coders/fpx.c label=GetImageProperty(image,"label"); image 920 coders/fpx.c comment=GetImageProperty(image,"comment"); image 936 coders/fpx.c quantum_info=AcquireQuantumInfo(image_info,image); image 948 coders/fpx.c image->columns*fpx_info.components[i].columnStride; image 960 coders/fpx.c if (image->matte != MagickFalse) image 964 coders/fpx.c for (y=0; y < (ssize_t) image->rows; y++) image 969 coders/fpx.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 972 coders/fpx.c length=ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 973 coders/fpx.c quantum_type,pixels,&image->exception); image 978 coders/fpx.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 979 coders/fpx.c image->rows); image 1036 coders/fpx.c aspect_ratio=(double) image->columns/image->rows; image 106 coders/gif.c *image; image 198 coders/gif.c static LZWInfo *AcquireLZWInfo(Image *image,const size_t data_size) image 213 coders/gif.c lzw_info->image=image; image 282 coders/gif.c count=ReadBlobBlock(lzw_info->image,&lzw_info->code_info.buffer[ image 389 coders/gif.c static MagickBooleanType DecodeImage(Image *image,const ssize_t opacity) image 416 coders/gif.c assert(image != (Image *) NULL); image 417 coders/gif.c assert(image->signature == MagickSignature); image 418 coders/gif.c if (image->debug != MagickFalse) image 419 coders/gif.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 420 coders/gif.c data_size=(unsigned char) ReadBlobByte(image); image 422 coders/gif.c ThrowBinaryException(CorruptImageError,"CorruptImage",image->filename); image 423 coders/gif.c lzw_info=AcquireLZWInfo(image,data_size); image 426 coders/gif.c image->filename); image 427 coders/gif.c exception=(&image->exception); image 430 coders/gif.c for (y=0; y < (ssize_t) image->rows; y++) image 441 coders/gif.c q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception); image 444 coders/gif.c indexes=GetAuthenticIndexQueue(image); image 445 coders/gif.c for (x=0; x < (ssize_t) image->columns; ) image 450 coders/gif.c index=ConstrainColormapIndex(image,(size_t) c); image 452 coders/gif.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 458 coders/gif.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 460 coders/gif.c if (x < (ssize_t) image->columns) image 462 coders/gif.c if (image->interlace == NoInterlace) image 490 coders/gif.c if ((pass == 0) && (offset >= (ssize_t) image->rows)) image 495 coders/gif.c if ((pass == 1) && (offset >= (ssize_t) image->rows)) image 500 coders/gif.c if ((pass == 2) && (offset >= (ssize_t) image->rows)) image 508 coders/gif.c if (y < (ssize_t) image->rows) image 509 coders/gif.c ThrowBinaryException(CorruptImageError,"CorruptImage",image->filename); image 540 coders/gif.c static MagickBooleanType EncodeImage(const ImageInfo *image_info,Image *image, image 565 coders/gif.c (void) WriteBlobByte(image,(unsigned char) length); \ image 566 coders/gif.c (void) WriteBlob(image,length,packet); \ image 616 coders/gif.c assert(image != (Image *) NULL); image 658 coders/gif.c for (y=0; y < (ssize_t) image->rows; y++) image 669 coders/gif.c p=GetVirtualPixels(image,0,offset,image->columns,1,&image->exception); image 672 coders/gif.c indexes=GetVirtualIndexQueue(image); image 675 coders/gif.c for (x=(ssize_t) (y == 0 ? 1 : 0); x < (ssize_t) image->columns; x++) image 748 coders/gif.c if (offset >= (ssize_t) image->rows) image 758 coders/gif.c if (offset >= (ssize_t) image->rows) image 768 coders/gif.c if (offset >= (ssize_t) image->rows) image 795 coders/gif.c (void) WriteBlobByte(image,(unsigned char) length); image 796 coders/gif.c (void) WriteBlob(image,length,packet); image 805 coders/gif.c (void) WriteBlobByte(image,(unsigned char) length); image 806 coders/gif.c (void) WriteBlob(image,length,packet); image 879 coders/gif.c static ssize_t ReadBlobBlock(Image *image,unsigned char *data) image 887 coders/gif.c assert(image != (Image *) NULL); image 888 coders/gif.c assert(image->signature == MagickSignature); image 890 coders/gif.c count=ReadBlob(image,1,&block_count); image 893 coders/gif.c count=ReadBlob(image,(size_t) block_count,data); image 925 coders/gif.c static MagickBooleanType PingGIFImage(Image *image) image 932 coders/gif.c assert(image != (Image *) NULL); image 933 coders/gif.c assert(image->signature == MagickSignature); image 934 coders/gif.c if (image->debug != MagickFalse) image 935 coders/gif.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 936 coders/gif.c if (ReadBlob(image,1,&data_size) != 1) image 937 coders/gif.c ThrowBinaryException(CorruptImageError,"CorruptImage",image->filename); image 939 coders/gif.c ThrowBinaryException(CorruptImageError,"CorruptImage",image->filename); image 940 coders/gif.c if (ReadBlob(image,1,&length) != 1) image 941 coders/gif.c ThrowBinaryException(CorruptImageError,"CorruptImage",image->filename); image 944 coders/gif.c if (ReadBlob(image,length,buffer) != (ssize_t) length) image 945 coders/gif.c ThrowBinaryException(CorruptImageError,"CorruptImage",image->filename); image 946 coders/gif.c if (ReadBlob(image,1,&length) != 1) image 947 coders/gif.c ThrowBinaryException(CorruptImageError,"CorruptImage",image->filename); image 958 coders/gif.c *image, image 1007 coders/gif.c image=AcquireImage(image_info); image 1008 coders/gif.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 1011 coders/gif.c image=DestroyImageList(image); image 1017 coders/gif.c count=ReadBlob(image,6,magick); image 1021 coders/gif.c page.width=ReadBlobLSBShort(image); image 1022 coders/gif.c page.height=ReadBlobLSBShort(image); image 1023 coders/gif.c flag=(unsigned char) ReadBlobByte(image); image 1024 coders/gif.c background=(unsigned char) ReadBlobByte(image); image 1025 coders/gif.c c=(unsigned char) ReadBlobByte(image); /* reserved */ image 1034 coders/gif.c count=ReadBlob(image,(size_t) (3*global_colors),global_colormap); image 1051 coders/gif.c count=ReadBlob(image,1,&c); image 1062 coders/gif.c count=ReadBlob(image,1,&c); image 1077 coders/gif.c while (ReadBlobBlock(image,header) != 0) ; image 1098 coders/gif.c count=(ssize_t) ReadBlobBlock(image,header); image 1117 coders/gif.c if (ReadBlobBlock(image,header) != 0) image 1122 coders/gif.c while (ReadBlobBlock(image,header) != 0) image 1170 coders/gif.c block_length=(int) ReadBlobBlock(image,&info[info_length]); image 1214 coders/gif.c while (ReadBlobBlock(image,header) != 0) ; image 1226 coders/gif.c AcquireNextImage(image_info,image); image 1227 coders/gif.c if (GetNextImageInList(image) == (Image *) NULL) image 1229 coders/gif.c image=DestroyImageList(image); image 1234 coders/gif.c image=SyncNextImageInList(image); image 1240 coders/gif.c meta_image->scene=image->scene; image 1241 coders/gif.c (void) CloneImageProperties(image,meta_image); image 1243 coders/gif.c (void) CloneImageProfiles(image,meta_image); image 1245 coders/gif.c image->storage_class=PseudoClass; image 1246 coders/gif.c image->compression=LZWCompression; image 1247 coders/gif.c page.x=(ssize_t) ReadBlobLSBShort(image); image 1248 coders/gif.c page.y=(ssize_t) ReadBlobLSBShort(image); image 1249 coders/gif.c image->columns=ReadBlobLSBShort(image); image 1250 coders/gif.c image->rows=ReadBlobLSBShort(image); image 1251 coders/gif.c image->depth=8; image 1252 coders/gif.c flag=(unsigned char) ReadBlobByte(image); image 1253 coders/gif.c image->interlace=BitSet((int) flag,0x40) != 0 ? GIFInterlace : NoInterlace; image 1254 coders/gif.c image->colors=BitSet((int) flag,0x80) == 0 ? global_colors : one << image 1256 coders/gif.c if (opacity >= (ssize_t) image->colors) image 1258 coders/gif.c image->page.width=page.width; image 1259 coders/gif.c image->page.height=page.height; image 1260 coders/gif.c image->page.y=page.y; image 1261 coders/gif.c image->page.x=page.x; image 1262 coders/gif.c image->delay=delay; image 1263 coders/gif.c image->iterations=iterations; image 1264 coders/gif.c image->ticks_per_second=100; image 1265 coders/gif.c image->dispose=(DisposeType) dispose; image 1266 coders/gif.c image->matte=opacity >= 0 ? MagickTrue : MagickFalse; image 1269 coders/gif.c if ((image->columns == 0) || (image->rows == 0)) image 1278 coders/gif.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 1290 coders/gif.c for (i=0; i < (ssize_t) image->colors; i++) image 1292 coders/gif.c image->colormap[i].red=ScaleCharToQuantum(*p++); image 1293 coders/gif.c image->colormap[i].green=ScaleCharToQuantum(*p++); image 1294 coders/gif.c image->colormap[i].blue=ScaleCharToQuantum(*p++); image 1297 coders/gif.c image->colormap[i].opacity=(Quantum) TransparentOpacity; image 1298 coders/gif.c image->transparent_color=image->colormap[opacity]; image 1301 coders/gif.c image->background_color=image->colormap[MagickMin((ssize_t) background, image 1302 coders/gif.c (ssize_t) image->colors-1)]; image 1312 coders/gif.c colormap=(unsigned char *) AcquireQuantumMemory(image->colors,3* image 1320 coders/gif.c count=ReadBlob(image,(3*image->colors)*sizeof(*colormap),colormap); image 1321 coders/gif.c if (count != (ssize_t) (3*image->colors)) image 1330 coders/gif.c for (i=0; i < (ssize_t) image->colors; i++) image 1332 coders/gif.c image->colormap[i].red=ScaleCharToQuantum(*p++); image 1333 coders/gif.c image->colormap[i].green=ScaleCharToQuantum(*p++); image 1334 coders/gif.c image->colormap[i].blue=ScaleCharToQuantum(*p++); image 1336 coders/gif.c image->colormap[i].opacity=(Quantum) TransparentOpacity; image 1340 coders/gif.c if (image->gamma == 1.0) image 1342 coders/gif.c for (i=0; i < (ssize_t) image->colors; i++) image 1343 coders/gif.c if (IsGrayPixel(image->colormap+i) == MagickFalse) image 1345 coders/gif.c (void) SetImageColorspace(image,i == (ssize_t) image->colors ? image 1349 coders/gif.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 1351 coders/gif.c status=SetImageExtent(image,image->columns,image->rows); image 1354 coders/gif.c InheritException(exception,&image->exception); image 1355 coders/gif.c return(DestroyImageList(image)); image 1361 coders/gif.c status=PingGIFImage(image); image 1363 coders/gif.c status=DecodeImage(image,opacity); image 1370 coders/gif.c duration+=image->delay*image->iterations; image 1372 coders/gif.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 1375 coders/gif.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image->scene- image 1376 coders/gif.c 1,image->scene); image 1380 coders/gif.c image->duration=duration; image 1383 coders/gif.c if ((image->columns == 0) || (image->rows == 0)) image 1385 coders/gif.c (void) CloseBlob(image); image 1386 coders/gif.c return(GetFirstImageInList(image)); image 1489 coders/gif.c static MagickBooleanType WriteGIFImage(const ImageInfo *image_info,Image *image) image 1534 coders/gif.c assert(image != (Image *) NULL); image 1535 coders/gif.c assert(image->signature == MagickSignature); image 1536 coders/gif.c if (image->debug != MagickFalse) image 1537 coders/gif.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1538 coders/gif.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1557 coders/gif.c (void) WriteBlob(image,6,(unsigned char *) "GIF89a"); image 1560 coders/gif.c (void) WriteBlob(image,6,(unsigned char *) "GIF87a"); image 1566 coders/gif.c page.width=image->columns; image 1567 coders/gif.c if (image->page.width > page.width) image 1568 coders/gif.c page.width=image->page.width; image 1569 coders/gif.c page.height=image->rows; image 1570 coders/gif.c if (image->page.height > page.height) image 1571 coders/gif.c page.height=image->page.height; image 1572 coders/gif.c page.x=image->page.x; image 1573 coders/gif.c page.y=image->page.y; image 1574 coders/gif.c (void) WriteBlobLSBShort(image,(unsigned short) page.width); image 1575 coders/gif.c (void) WriteBlobLSBShort(image,(unsigned short) page.height); image 1581 coders/gif.c (GetNextImageInList(image) != (Image *) NULL)) image 1587 coders/gif.c (void) TransformImageColorspace(image,sRGBColorspace); image 1589 coders/gif.c if (IsOpaqueImage(image,&image->exception) != MagickFalse) image 1591 coders/gif.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 1592 coders/gif.c (void) SetImageType(image,PaletteType); image 1603 coders/gif.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 1604 coders/gif.c (void) SetImageType(image,PaletteBilevelMatteType); image 1605 coders/gif.c for (i=0; i < (ssize_t) image->colors; i++) image 1606 coders/gif.c if (image->colormap[i].opacity != OpaqueOpacity) image 1613 coders/gif.c alpha=fabs((double) image->colormap[i].opacity- image 1615 coders/gif.c beta=fabs((double) image->colormap[opacity].opacity- image 1622 coders/gif.c (void) SetImageType(image,PaletteBilevelMatteType); image 1623 coders/gif.c for (i=0; i < (ssize_t) image->colors; i++) image 1624 coders/gif.c if (image->colormap[i].opacity != OpaqueOpacity) image 1631 coders/gif.c alpha=fabs((double) image->colormap[i].opacity- image 1633 coders/gif.c beta=fabs((double) image->colormap[opacity].opacity- image 1641 coders/gif.c image->colormap[opacity].red=image->transparent_color.red; image 1642 coders/gif.c image->colormap[opacity].green=image->transparent_color.green; image 1643 coders/gif.c image->colormap[opacity].blue=image->transparent_color.blue; image 1646 coders/gif.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 1649 coders/gif.c if ((one << bits_per_pixel) >= image->colors) image 1652 coders/gif.c for (i=0; i < (ssize_t) image->colors; i++) image 1654 coders/gif.c *q++=ScaleQuantumToChar(image->colormap[i].red); image 1655 coders/gif.c *q++=ScaleQuantumToChar(image->colormap[i].green); image 1656 coders/gif.c *q++=ScaleQuantumToChar(image->colormap[i].blue); image 1664 coders/gif.c if ((GetPreviousImageInList(image) == (Image *) NULL) || image 1673 coders/gif.c (void) WriteBlobByte(image,(unsigned char) c); image 1674 coders/gif.c for (j=0; j < (ssize_t) image->colors; j++) image 1675 coders/gif.c if (IsColorEqual(&image->background_color,image->colormap+j)) image 1677 coders/gif.c (void) WriteBlobByte(image,(unsigned char) image 1678 coders/gif.c (j == (ssize_t) image->colors ? 0 : j)); /* background color */ image 1679 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x00); /* reserved */ image 1681 coders/gif.c (void) WriteBlob(image,length,colormap); image 1693 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x21); image 1694 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0xf9); image 1695 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x04); image 1696 coders/gif.c c=image->dispose << 2; image 1699 coders/gif.c (void) WriteBlobByte(image,(unsigned char) c); image 1700 coders/gif.c delay=(size_t) (100*image->delay/MagickMax((size_t) image 1701 coders/gif.c image->ticks_per_second,1)); image 1702 coders/gif.c (void) WriteBlobLSBShort(image,(unsigned short) delay); image 1703 coders/gif.c (void) WriteBlobByte(image,(unsigned char) (opacity >= 0 ? opacity : image 1705 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x00); image 1706 coders/gif.c value=GetImageProperty(image,"comment"); image 1719 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x21); image 1720 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0xfe); image 1724 coders/gif.c (void) WriteBlobByte(image,(unsigned char) count); image 1726 coders/gif.c (void) WriteBlobByte(image,(unsigned char) *p++); image 1728 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x00); image 1730 coders/gif.c if ((GetPreviousImageInList(image) == (Image *) NULL) && image 1731 coders/gif.c (GetNextImageInList(image) != (Image *) NULL) && image 1732 coders/gif.c (image->iterations != 1)) image 1739 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x21); image 1740 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0xff); image 1741 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x0b); image 1742 coders/gif.c (void) WriteBlob(image,11,(unsigned char *) "NETSCAPE2.0"); image 1743 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x03); image 1744 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x01); image 1745 coders/gif.c (void) WriteBlobLSBShort(image,(unsigned short) image->iterations); image 1746 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x00); image 1748 coders/gif.c if ((image->gamma != 1.0f/2.2f)) image 1761 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x21); image 1762 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0xff); image 1763 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x0b); image 1764 coders/gif.c (void) WriteBlob(image,11,(unsigned char *) "ImageMagick"); image 1766 coders/gif.c image->gamma); image 1767 coders/gif.c (void) WriteBlobByte(image,(unsigned char) count); image 1768 coders/gif.c (void) WriteBlob(image,(size_t) count,(unsigned char *) attributes); image 1769 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x00); image 1771 coders/gif.c ResetImageProfileIterator(image); image 1780 coders/gif.c name=GetNextImageProfile(image); image 1783 coders/gif.c profile=GetImageProfile(image,name); image 1803 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x21); image 1804 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0xff); image 1805 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x0b); image 1812 coders/gif.c (void) WriteBlob(image,11,(unsigned char *) "ICCRGBG1012"); image 1822 coders/gif.c (void) WriteBlob(image,11,(unsigned char *) "MGKIPTC0000"); image 1832 coders/gif.c (void) WriteBlob(image,11,(unsigned char *) image 1847 coders/gif.c (void) WriteBlob(image,11,(unsigned char *) extension); image 1861 coders/gif.c (void) WriteBlobByte(image,(unsigned char) block_length); image 1862 coders/gif.c (void) WriteBlob(image,(size_t) block_length,datum+offset); image 1865 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x00); image 1870 coders/gif.c (void) WriteBlobByte(image,','); /* image separator */ image 1874 coders/gif.c page.x=image->page.x; image 1875 coders/gif.c page.y=image->page.y; image 1876 coders/gif.c if ((image->page.width != 0) && (image->page.height != 0)) image 1877 coders/gif.c page=image->page; image 1878 coders/gif.c (void) WriteBlobLSBShort(image,(unsigned short) (page.x < 0 ? 0 : page.x)); image 1879 coders/gif.c (void) WriteBlobLSBShort(image,(unsigned short) (page.y < 0 ? 0 : page.y)); image 1880 coders/gif.c (void) WriteBlobLSBShort(image,(unsigned short) image->columns); image 1881 coders/gif.c (void) WriteBlobLSBShort(image,(unsigned short) image->rows); image 1885 coders/gif.c for (j=0; j < (ssize_t) (3*image->colors); j++) image 1888 coders/gif.c if (j == (ssize_t) (3*image->colors)) image 1889 coders/gif.c (void) WriteBlobByte(image,(unsigned char) c); image 1894 coders/gif.c (void) WriteBlobByte(image,(unsigned char) c); image 1896 coders/gif.c (void) WriteBlob(image,length,colormap); image 1902 coders/gif.c (void) WriteBlobByte(image,(unsigned char) c); image 1903 coders/gif.c status=EncodeImage(write_info,image,(size_t) MagickMax(bits_per_pixel,2)+1); image 1912 coders/gif.c (void) WriteBlobByte(image,(unsigned char) 0x00); image 1913 coders/gif.c if (GetNextImageInList(image) == (Image *) NULL) image 1915 coders/gif.c image=SyncNextImageInList(image); image 1917 coders/gif.c status=SetImageProgress(image,SaveImagesTag,scene, image 1918 coders/gif.c GetImageListLength(image)); image 1922 coders/gif.c (void) WriteBlobByte(image,';'); /* terminator */ image 1926 coders/gif.c (void) CloseBlob(image); image 101 coders/gradient.c *image; image 134 coders/gradient.c image=ReadImage(read_info,exception); image 136 coders/gradient.c if (image == (Image *) NULL) image 138 coders/gradient.c (void) SetImageOpacity(image,(Quantum) TransparentOpacity); image 139 coders/gradient.c (void) CopyMagickString(image->filename,image_info->filename,MaxTextExtent); image 149 coders/gradient.c image=DestroyImage(image); image 154 coders/gradient.c if (GetPixelLuma(image,&start_color) > (QuantumRange/2.0)) image 162 coders/gradient.c image=DestroyImage(image); image 166 coders/gradient.c (void) SetImageColorspace(image,start_pixel.colorspace); image 167 coders/gradient.c image->matte=start_pixel.matte; image 169 coders/gradient.c image->matte=MagickTrue; image 170 coders/gradient.c status=GradientImage(image,LocaleCompare(image_info->magick,"GRADIENT") == 0 ? image 174 coders/gradient.c image=DestroyImageList(image); image 177 coders/gradient.c return(GetFirstImageInList(image)); image 109 coders/gray.c *image; image 140 coders/gray.c image=AcquireImage(image_info); image 141 coders/gray.c if ((image->columns == 0) || (image->rows == 0)) image 143 coders/gray.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 146 coders/gray.c image=DestroyImageList(image); image 149 coders/gray.c if (DiscardBlobBytes(image,(size_t) image->offset) == MagickFalse) image 151 coders/gray.c image->filename); image 155 coders/gray.c SetImageColorspace(image,GRAYColorspace); image 156 coders/gray.c canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, image 165 coders/gray.c while (image->scene < image_info->scene) image 170 coders/gray.c image->scene++; image 172 coders/gray.c for (y=0; y < (ssize_t) image->rows; y++) image 174 coders/gray.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 189 coders/gray.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 191 coders/gray.c status=SetImageExtent(image,image->columns,image->rows); image 194 coders/gray.c InheritException(exception,&image->exception); image 195 coders/gray.c return(DestroyImageList(image)); image 197 coders/gray.c SetImageColorspace(image,GRAYColorspace); image 201 coders/gray.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 204 coders/gray.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 218 coders/gray.c "UnexpectedEndOfFile",image->filename); image 228 coders/gray.c if (((y-image->extract_info.y) >= 0) && image 229 coders/gray.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 232 coders/gray.c image->columns,1,exception); image 233 coders/gray.c q=QueueAuthenticPixels(image,0,y-image->extract_info.y,image->columns, image 237 coders/gray.c for (x=0; x < (ssize_t) image->columns; x++) image 245 coders/gray.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 248 coders/gray.c if (image->previous == (Image *) NULL) image 250 coders/gray.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 251 coders/gray.c image->rows); image 255 coders/gray.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 258 coders/gray.c SetQuantumImageType(image,quantum_type); image 263 coders/gray.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 270 coders/gray.c AcquireNextImage(image_info,image); image 271 coders/gray.c if (GetNextImageInList(image) == (Image *) NULL) image 273 coders/gray.c image=DestroyImageList(image); image 276 coders/gray.c image=SyncNextImageInList(image); image 277 coders/gray.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 278 coders/gray.c GetBlobSize(image)); image 285 coders/gray.c InheritException(&image->exception,&canvas_image->exception); image 287 coders/gray.c (void) CloseBlob(image); image 288 coders/gray.c return(GetFirstImageInList(image)); image 381 coders/gray.c Image *image) image 410 coders/gray.c assert(image != (Image *) NULL); image 411 coders/gray.c assert(image->signature == MagickSignature); image 412 coders/gray.c if (image->debug != MagickFalse) image 413 coders/gray.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 414 coders/gray.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 423 coders/gray.c (void) TransformImageColorspace(image,sRGBColorspace); image 425 coders/gray.c quantum_info=AcquireQuantumInfo(image_info,image); image 429 coders/gray.c for (y=0; y < (ssize_t) image->rows; y++) image 434 coders/gray.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 437 coders/gray.c length=ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 438 coders/gray.c quantum_type,pixels,&image->exception); image 439 coders/gray.c count=WriteBlob(image,length,pixels); image 442 coders/gray.c if (image->previous == (Image *) NULL) image 444 coders/gray.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 445 coders/gray.c image->rows); image 451 coders/gray.c if (GetNextImageInList(image) == (Image *) NULL) image 453 coders/gray.c image=SyncNextImageInList(image); image 454 coders/gray.c status=SetImageProgress(image,SaveImagesTag,scene++, image 455 coders/gray.c GetImageListLength(image)); image 459 coders/gray.c (void) CloseBlob(image); image 96 coders/hald.c *image; image 118 coders/hald.c image=AcquireImage(image_info); image 126 coders/hald.c image->columns=(size_t) (level*cube_size); image 127 coders/hald.c image->rows=(size_t) (level*cube_size); image 128 coders/hald.c status=SetImageExtent(image,image->columns,image->rows); image 131 coders/hald.c InheritException(exception,&image->exception); image 132 coders/hald.c return(DestroyImageList(image)); image 134 coders/hald.c for (y=0; y < (ssize_t) image->rows; y+=(ssize_t) level) image 146 coders/hald.c q=QueueAuthenticPixels(image,0,y,image->columns,(size_t) level,exception); image 167 coders/hald.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 170 coders/hald.c return(GetFirstImageInList(image)); image 147 coders/hdr.c *image; image 185 coders/hdr.c image=AcquireImage(image_info); image 186 coders/hdr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 189 coders/hdr.c image=DestroyImageList(image); image 195 coders/hdr.c image->columns=0; image 196 coders/hdr.c image->rows=0; image 198 coders/hdr.c c=ReadBlobByte(image); image 201 coders/hdr.c image=DestroyImage(image); image 204 coders/hdr.c while (isgraph(c) && (image->columns == 0) && (image->rows == 0)) image 224 coders/hdr.c c=ReadBlobByte(image); image 242 coders/hdr.c (void) SetImageProperty(image,"comment",comment); image 244 coders/hdr.c c=ReadBlobByte(image); image 248 coders/hdr.c c=ReadBlobByte(image); image 262 coders/hdr.c c=ReadBlobByte(image); image 270 coders/hdr.c c=ReadBlobByte(image); image 281 coders/hdr.c c=ReadBlobByte(image); image 298 coders/hdr.c (void) SetImageProperty(image,tag,value); image 306 coders/hdr.c image->gamma=StringToDouble(value,(char **) NULL); image 310 coders/hdr.c (void) SetImageProperty(image,tag,value); image 331 coders/hdr.c image->chromaticity.red_primary.x=chromaticity[0]; image 332 coders/hdr.c image->chromaticity.red_primary.y=chromaticity[1]; image 333 coders/hdr.c image->chromaticity.green_primary.x=chromaticity[2]; image 334 coders/hdr.c image->chromaticity.green_primary.y=chromaticity[3]; image 335 coders/hdr.c image->chromaticity.blue_primary.x=chromaticity[4]; image 336 coders/hdr.c image->chromaticity.blue_primary.y=chromaticity[5]; image 337 coders/hdr.c image->chromaticity.white_point.x=white_point[0], image 338 coders/hdr.c image->chromaticity.white_point.y=white_point[1]; image 343 coders/hdr.c (void) SetImageProperty(image,tag,value); image 360 coders/hdr.c image->columns=(size_t) width; image 361 coders/hdr.c image->rows=(size_t) height; image 366 coders/hdr.c (void) SetImageProperty(image,tag,value); image 372 coders/hdr.c (void) SetImageProperty(image,tag,value); image 377 coders/hdr.c if ((image->columns == 0) && (image->rows == 0)) image 379 coders/hdr.c c=ReadBlobByte(image); image 384 coders/hdr.c if ((image->columns == 0) || (image->rows == 0)) image 386 coders/hdr.c (void) SetImageColorspace(image,RGBColorspace); image 388 coders/hdr.c (void) SetImageColorspace(image,XYZColorspace); image 389 coders/hdr.c image->compression=(image->columns < 8) || (image->columns > 0x7ffff) ? image 393 coders/hdr.c (void) CloseBlob(image); image 394 coders/hdr.c return(GetFirstImageInList(image)); image 396 coders/hdr.c status=SetImageExtent(image,image->columns,image->rows); image 399 coders/hdr.c InheritException(exception,&image->exception); image 400 coders/hdr.c return(DestroyImageList(image)); image 405 coders/hdr.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns,4* image 409 coders/hdr.c for (y=0; y < (ssize_t) image->rows; y++) image 411 coders/hdr.c if (image->compression != RLECompression) image 413 coders/hdr.c count=ReadBlob(image,4*image->columns*sizeof(*pixels),pixels); image 414 coders/hdr.c if (count != (ssize_t) (4*image->columns*sizeof(*pixels))) image 419 coders/hdr.c count=ReadBlob(image,4*sizeof(*pixel),pixel); image 422 coders/hdr.c if ((size_t) ((((size_t) pixel[2]) << 8) | pixel[3]) != image->columns) image 425 coders/hdr.c (void) ReadBlob(image,4*(image->columns-1)*sizeof(*pixels),pixels+4); image 426 coders/hdr.c image->compression=NoCompression; image 433 coders/hdr.c end=&pixels[(i+1)*image->columns]; image 436 coders/hdr.c count=ReadBlob(image,2*sizeof(*pixel),pixel); image 455 coders/hdr.c count=ReadBlob(image,(size_t) count*sizeof(*p),p); image 465 coders/hdr.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 469 coders/hdr.c for (x=0; x < (ssize_t) image->columns; x++) image 471 coders/hdr.c if (image->compression == RLECompression) image 474 coders/hdr.c pixel[1]=pixels[x+image->columns]; image 475 coders/hdr.c pixel[2]=pixels[x+2*image->columns]; image 476 coders/hdr.c pixel[3]=pixels[x+3*image->columns]; image 497 coders/hdr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 499 coders/hdr.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 500 coders/hdr.c image->rows); image 505 coders/hdr.c if (EOFBlob(image) != MagickFalse) image 507 coders/hdr.c image->filename); image 508 coders/hdr.c (void) CloseBlob(image); image 509 coders/hdr.c return(GetFirstImageInList(image)); image 599 coders/hdr.c static size_t HDRWriteRunlengthPixels(Image *image,unsigned char *pixels) image 617 coders/hdr.c for (p=0; p < image->columns; ) image 622 coders/hdr.c while ((runlength < MinimumRunlength) && (q < image->columns)) image 628 coders/hdr.c ((q+runlength) < image->columns) && (runlength < 127)) image 635 coders/hdr.c if (WriteBlob(image,2*sizeof(*pixel),pixel) < 1) image 645 coders/hdr.c if (WriteBlob(image,sizeof(*pixel),pixel) < 1) image 647 coders/hdr.c if (WriteBlob(image,(size_t) count*sizeof(*pixel),&pixels[p]) < 1) image 655 coders/hdr.c if (WriteBlob(image,2*sizeof(*pixel),pixel) < 1) image 663 coders/hdr.c static MagickBooleanType WriteHDRImage(const ImageInfo *image_info,Image *image) image 697 coders/hdr.c assert(image != (Image *) NULL); image 698 coders/hdr.c assert(image->signature == MagickSignature); image 699 coders/hdr.c if (image->debug != MagickFalse) image 700 coders/hdr.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 701 coders/hdr.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 704 coders/hdr.c if (IsRGBColorspace(image->colorspace) == MagickFalse) image 705 coders/hdr.c (void) TransformImageColorspace(image,sRGBColorspace); image 711 coders/hdr.c (void) WriteBlob(image,length,(unsigned char *) header); image 712 coders/hdr.c property=GetImageProperty(image,"comment"); image 717 coders/hdr.c (void) WriteBlob(image,(size_t) count,(unsigned char *) header); image 719 coders/hdr.c property=GetImageProperty(image,"hdr:exposure"); image 724 coders/hdr.c (void) WriteBlob(image,(size_t) count,(unsigned char *) header); image 726 coders/hdr.c if (image->gamma != 0.0) image 728 coders/hdr.c count=FormatLocaleString(header,MaxTextExtent,"GAMMA=%g\n",image->gamma); image 729 coders/hdr.c (void) WriteBlob(image,(size_t) count,(unsigned char *) header); image 733 coders/hdr.c image->chromaticity.red_primary.x,image->chromaticity.red_primary.y, image 734 coders/hdr.c image->chromaticity.green_primary.x,image->chromaticity.green_primary.y, image 735 coders/hdr.c image->chromaticity.blue_primary.x,image->chromaticity.blue_primary.y, image 736 coders/hdr.c image->chromaticity.white_point.x,image->chromaticity.white_point.y); image 737 coders/hdr.c (void) WriteBlob(image,(size_t) count,(unsigned char *) header); image 739 coders/hdr.c (void) WriteBlob(image,length,(unsigned char *) header); image 741 coders/hdr.c (double) image->rows,(double) image->columns); image 742 coders/hdr.c (void) WriteBlob(image,(size_t) count,(unsigned char *) header); image 746 coders/hdr.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns,4* image 750 coders/hdr.c for (y=0; y < (ssize_t) image->rows; y++) image 752 coders/hdr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 755 coders/hdr.c if ((image->columns >= 8) && (image->columns <= 0x7ffff)) image 759 coders/hdr.c pixel[2]=(unsigned char) (image->columns >> 8); image 760 coders/hdr.c pixel[3]=(unsigned char) (image->columns & 0xff); image 761 coders/hdr.c count=WriteBlob(image,4*sizeof(*pixel),pixel); image 766 coders/hdr.c for (x=0; x < (ssize_t) image->columns; x++) image 791 coders/hdr.c if ((image->columns >= 8) && (image->columns <= 0x7ffff)) image 794 coders/hdr.c pixels[x+image->columns]=pixel[1]; image 795 coders/hdr.c pixels[x+2*image->columns]=pixel[2]; image 796 coders/hdr.c pixels[x+3*image->columns]=pixel[3]; image 807 coders/hdr.c if ((image->columns >= 8) && (image->columns <= 0x7ffff)) image 810 coders/hdr.c length=HDRWriteRunlengthPixels(image,&pixels[i*image->columns]); image 814 coders/hdr.c count=WriteBlob(image,4*image->columns*sizeof(*pixels),pixels); image 815 coders/hdr.c if (count != (ssize_t) (4*image->columns*sizeof(*pixels))) image 818 coders/hdr.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 819 coders/hdr.c image->rows); image 824 coders/hdr.c (void) CloseBlob(image); image 173 coders/histogram.c Image *image) image 229 coders/histogram.c assert(image != (Image *) NULL); image 230 coders/histogram.c assert(image->signature == MagickSignature); image 231 coders/histogram.c if (image->debug != MagickFalse) image 234 coders/histogram.c SetGeometry(image,&geometry); image 239 coders/histogram.c histogram_image=CloneImage(image,geometry.width,geometry.height,MagickTrue, image 240 coders/histogram.c &image->exception); image 261 coders/histogram.c for (y=0; y < (ssize_t) image->rows; y++) image 263 coders/histogram.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 266 coders/histogram.c for (x=0; x < (ssize_t) image->columns; x++) image 293 coders/histogram.c exception=(&image->exception); image 295 coders/histogram.c &image->exception); image 334 coders/histogram.c status=SetImageProgress(image,SaveImageTag,y,histogram_image->rows); image 363 coders/histogram.c (void) GetNumberColors(image,file,&image->exception); image 365 coders/histogram.c property=FileToString(filename,~0UL,&image->exception); image 381 coders/histogram.c (void) SetImageInfo(write_info,1,&image->exception); image 98 coders/hrz.c *image; image 132 coders/hrz.c image=AcquireImage(image_info); image 133 coders/hrz.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 136 coders/hrz.c image=DestroyImageList(image); image 142 coders/hrz.c image->columns=256; image 143 coders/hrz.c image->rows=240; image 144 coders/hrz.c image->depth=8; image 145 coders/hrz.c status=SetImageExtent(image,image->columns,image->rows); image 148 coders/hrz.c InheritException(exception,&image->exception); image 149 coders/hrz.c return(DestroyImageList(image)); image 151 coders/hrz.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns,3* image 155 coders/hrz.c length=(size_t) (3*image->columns); image 156 coders/hrz.c for (y=0; y < (ssize_t) image->rows; y++) image 158 coders/hrz.c count=ReadBlob(image,length,pixels); image 162 coders/hrz.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 165 coders/hrz.c for (x=0; x < (ssize_t) image->columns; x++) image 173 coders/hrz.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 175 coders/hrz.c if (SetImageProgress(image,LoadImageTag,y,image->rows) == MagickFalse) image 179 coders/hrz.c if (EOFBlob(image) != MagickFalse) image 181 coders/hrz.c image->filename); image 182 coders/hrz.c (void) CloseBlob(image); image 183 coders/hrz.c return(GetFirstImageInList(image)); image 271 coders/hrz.c static MagickBooleanType WriteHRZImage(const ImageInfo *image_info,Image *image) image 300 coders/hrz.c assert(image != (Image *) NULL); image 301 coders/hrz.c assert(image->signature == MagickSignature); image 302 coders/hrz.c if (image->debug != MagickFalse) image 303 coders/hrz.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 304 coders/hrz.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 307 coders/hrz.c hrz_image=ResizeImage(image,256,240,image->filter,image->blur, image 308 coders/hrz.c &image->exception); image 327 coders/hrz.c p=GetVirtualPixels(hrz_image,0,y,hrz_image->columns,1,&image->exception); image 338 coders/hrz.c count=WriteBlob(image,(size_t) (q-pixels),pixels); image 341 coders/hrz.c status=SetImageProgress(image,SaveImageTag,y,hrz_image->rows); image 347 coders/hrz.c (void) CloseBlob(image); image 212 coders/html.c Image *image) image 241 coders/html.c assert(image != (Image *) NULL); image 242 coders/html.c assert(image->signature == MagickSignature); image 243 coders/html.c if (image->debug != MagickFalse) image 246 coders/html.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 249 coders/html.c (void) CloseBlob(image); image 250 coders/html.c (void) TransformImageColorspace(image,sRGBColorspace); image 258 coders/html.c p=strrchr(image->filename,'/'); image 264 coders/html.c url[strlen(url)+p-image->filename]='\0'; image 265 coders/html.c (void) ConcatenateMagickString(url,image->filename, image 266 coders/html.c p-image->filename+2); image 267 coders/html.c (void) CopyMagickString(image->filename,p,MaxTextExtent); image 273 coders/html.c (void) CopyMagickString(filename,image->filename,MaxTextExtent); image 277 coders/html.c (void) CopyMagickString(image->filename,image_info->filename,MaxTextExtent); image 278 coders/html.c (void) CopyMagickString(filename,image->filename,MaxTextExtent); image 291 coders/html.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 297 coders/html.c (void) WriteBlobString(image,"<?xml version=\"1.0\" " image 299 coders/html.c (void) WriteBlobString(image,"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML " image 302 coders/html.c (void) WriteBlobString(image,"<html>\n"); image 303 coders/html.c (void) WriteBlobString(image,"<head>\n"); image 304 coders/html.c value=GetImageProperty(image,"label"); image 314 coders/html.c (void) WriteBlobString(image,buffer); image 315 coders/html.c (void) WriteBlobString(image,"</head>\n"); image 316 coders/html.c (void) WriteBlobString(image,"<body style=\"text-align: center;\">\n"); image 318 coders/html.c image->filename); image 319 coders/html.c (void) WriteBlobString(image,buffer); image 320 coders/html.c (void) WriteBlobString(image,"<div>\n"); image 321 coders/html.c (void) CopyMagickString(filename,image->filename,MaxTextExtent); image 326 coders/html.c (void) WriteBlobString(image,buffer); image 330 coders/html.c SetGeometry(image,&geometry); image 331 coders/html.c if (image->montage != (char *) NULL) image 332 coders/html.c (void) ParseAbsoluteGeometry(image->montage,&geometry); image 338 coders/html.c (void) WriteBlobString(image,buffer); image 340 coders/html.c (void) WriteBlobString(image,buffer); image 341 coders/html.c if (image->directory == (char *) NULL) image 345 coders/html.c image->filename,(double) geometry.width-1,(double) geometry.height- image 347 coders/html.c (void) WriteBlobString(image,buffer); image 350 coders/html.c for (p=image->directory; *p != '\0'; p++) image 352 coders/html.c (void) WriteBlobByte(image,(unsigned char) *p); image 359 coders/html.c (void) WriteBlobString(image,buffer); image 364 coders/html.c (void) WriteBlobString(image,buffer); image 367 coders/html.c if ((geometry.x+4) >= (ssize_t) image->columns) image 373 coders/html.c (void) WriteBlobString(image,"</map>\n"); image 374 coders/html.c (void) CopyMagickString(filename,image->filename,MaxTextExtent); image 375 coders/html.c (void) WriteBlobString(image,"</div>\n"); image 376 coders/html.c (void) WriteBlobString(image,"</body>\n"); image 377 coders/html.c (void) WriteBlobString(image,"</html>\n"); image 378 coders/html.c (void) CloseBlob(image); image 382 coders/html.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 383 coders/html.c AppendImageFormat("png",image->filename); image 384 coders/html.c next=GetNextImageInList(image); image 385 coders/html.c image->next=NewImageList(); image 386 coders/html.c (void) CopyMagickString(image->magick,"PNG",MaxTextExtent); image 387 coders/html.c (void) WriteImage(write_info,image); image 388 coders/html.c image->next=next; image 392 coders/html.c GetPathComponent(image->filename,BasePath,filename); image 394 coders/html.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 399 coders/html.c status=OpenBlob(write_info,image,WriteBinaryBlobMode,&image->exception); image 406 coders/html.c SetGeometry(image,&geometry); image 407 coders/html.c if (image->montage != (char *) NULL) image 408 coders/html.c (void) ParseAbsoluteGeometry(image->montage,&geometry); image 414 coders/html.c (void) WriteBlobString(image,buffer); image 416 coders/html.c (void) WriteBlobString(image,buffer); image 417 coders/html.c if (image->directory == (char *) NULL) image 421 coders/html.c image->filename,(double) geometry.width-1,(double) geometry.height-1); image 422 coders/html.c (void) WriteBlobString(image,buffer); image 425 coders/html.c for (p=image->directory; *p != '\0'; p++) image 427 coders/html.c (void) WriteBlobByte(image,(unsigned char) *p); image 434 coders/html.c (void) WriteBlobString(image,buffer); image 439 coders/html.c (void) WriteBlobString(image,buffer); image 442 coders/html.c if ((geometry.x+4) >= (ssize_t) image->columns) image 448 coders/html.c (void) WriteBlobString(image,"</map>\n"); image 449 coders/html.c (void) CloseBlob(image); image 450 coders/html.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 153 coders/icon.c Image *AutoResizeImage(const Image *image,const char *option, image 202 coders/icon.c resized=ResizeImage(image,sizes[i],sizes[i],image->filter,image->blur, image 252 coders/icon.c *image; image 290 coders/icon.c image=AcquireImage(image_info); image 291 coders/icon.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 294 coders/icon.c image=DestroyImageList(image); image 297 coders/icon.c icon_file.reserved=(short) ReadBlobLSBShort(image); image 298 coders/icon.c icon_file.resource_type=(short) ReadBlobLSBShort(image); image 299 coders/icon.c icon_file.count=(short) ReadBlobLSBShort(image); image 306 coders/icon.c icon_file.directory[i].width=(unsigned char) ReadBlobByte(image); image 307 coders/icon.c icon_file.directory[i].height=(unsigned char) ReadBlobByte(image); image 308 coders/icon.c icon_file.directory[i].colors=(unsigned char) ReadBlobByte(image); image 309 coders/icon.c icon_file.directory[i].reserved=(unsigned char) ReadBlobByte(image); image 310 coders/icon.c icon_file.directory[i].planes=(unsigned short) ReadBlobLSBShort(image); image 312 coders/icon.c ReadBlobLSBShort(image); image 313 coders/icon.c icon_file.directory[i].size=ReadBlobLSBLong(image); image 314 coders/icon.c icon_file.directory[i].offset=ReadBlobLSBLong(image); image 315 coders/icon.c if (EOFBlob(image) != MagickFalse) image 318 coders/icon.c image->filename); image 328 coders/icon.c offset=(ssize_t) SeekBlob(image,(MagickOffsetType) image 332 coders/icon.c icon_info.size=ReadBlobLSBLong(image); image 333 coders/icon.c icon_info.width=(unsigned char) ((int) ReadBlobLSBLong(image)); image 334 coders/icon.c icon_info.height=(unsigned char) ((int) ReadBlobLSBLong(image)/2); image 335 coders/icon.c icon_info.planes=ReadBlobLSBShort(image); image 336 coders/icon.c icon_info.bits_per_pixel=ReadBlobLSBShort(image); image 337 coders/icon.c if (EOFBlob(image) != MagickFalse) image 340 coders/icon.c image->filename); image 372 coders/icon.c count=ReadBlob(image,length-16,png+16); image 387 coders/icon.c image=DestroyImageList(image); image 391 coders/icon.c icon_image->blob=ReferenceBlob(image->blob); image 392 coders/icon.c ReplaceImageInList(&image,icon_image); image 399 coders/icon.c icon_info.compression=ReadBlobLSBLong(image); image 400 coders/icon.c icon_info.image_size=ReadBlobLSBLong(image); image 401 coders/icon.c icon_info.x_pixels=ReadBlobLSBLong(image); image 402 coders/icon.c icon_info.y_pixels=ReadBlobLSBLong(image); image 403 coders/icon.c icon_info.number_colors=ReadBlobLSBLong(image); image 404 coders/icon.c icon_info.colors_important=ReadBlobLSBLong(image); image 405 coders/icon.c image->matte=MagickTrue; image 406 coders/icon.c image->columns=(size_t) icon_file.directory[i].width; image 407 coders/icon.c if ((ssize_t) image->columns > icon_info.width) image 408 coders/icon.c image->columns=(size_t) icon_info.width; image 409 coders/icon.c if (image->columns == 0) image 410 coders/icon.c image->columns=256; image 411 coders/icon.c image->rows=(size_t) icon_file.directory[i].height; image 412 coders/icon.c if ((ssize_t) image->rows > icon_info.height) image 413 coders/icon.c image->rows=(size_t) icon_info.height; image 414 coders/icon.c if (image->rows == 0) image 415 coders/icon.c image->rows=256; image 416 coders/icon.c image->depth=icon_info.bits_per_pixel; image 417 coders/icon.c if (image->debug != MagickFalse) image 436 coders/icon.c image->storage_class=PseudoClass; image 437 coders/icon.c image->colors=icon_info.number_colors; image 438 coders/icon.c if (image->colors == 0) image 439 coders/icon.c image->colors=one << icon_info.bits_per_pixel; image 441 coders/icon.c if (image->storage_class == PseudoClass) image 452 coders/icon.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 455 coders/icon.c image->colors,4UL*sizeof(*icon_colormap)); image 458 coders/icon.c count=ReadBlob(image,(size_t) (4*image->colors),icon_colormap); image 459 coders/icon.c if (count != (ssize_t) (4*image->colors)) image 463 coders/icon.c for (i=0; i < (ssize_t) image->colors; i++) image 465 coders/icon.c image->colormap[i].blue=(Quantum) ScaleCharToQuantum(*p++); image 466 coders/icon.c image->colormap[i].green=(Quantum) ScaleCharToQuantum(*p++); image 467 coders/icon.c image->colormap[i].red=(Quantum) ScaleCharToQuantum(*p++); image 477 coders/icon.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 479 coders/icon.c status=SetImageExtent(image,image->columns,image->rows); image 482 coders/icon.c InheritException(exception,&image->exception); image 483 coders/icon.c return(DestroyImageList(image)); image 485 coders/icon.c bytes_per_line=(((image->columns*icon_info.bits_per_pixel)+31) & image 488 coders/icon.c scanline_pad=((((image->columns*icon_info.bits_per_pixel)+31) & ~31)- image 489 coders/icon.c (image->columns*icon_info.bits_per_pixel)) >> 3; image 497 coders/icon.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 499 coders/icon.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 502 coders/icon.c indexes=GetAuthenticIndexQueue(image); image 503 coders/icon.c for (x=0; x < (ssize_t) (image->columns-7); x+=8) image 505 coders/icon.c byte=(size_t) ReadBlobByte(image); image 510 coders/icon.c if ((image->columns % 8) != 0) image 512 coders/icon.c byte=(size_t) ReadBlobByte(image); image 513 coders/icon.c for (bit=0; bit < (image->columns % 8); bit++) image 518 coders/icon.c (void) ReadBlobByte(image); image 519 coders/icon.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 521 coders/icon.c if (image->previous == (Image *) NULL) image 523 coders/icon.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 524 coders/icon.c image->rows); image 536 coders/icon.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 538 coders/icon.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 541 coders/icon.c indexes=GetAuthenticIndexQueue(image); image 542 coders/icon.c for (x=0; x < ((ssize_t) image->columns-1); x+=2) image 544 coders/icon.c byte=(size_t) ReadBlobByte(image); image 548 coders/icon.c if ((image->columns % 2) != 0) image 550 coders/icon.c byte=(size_t) ReadBlobByte(image); image 554 coders/icon.c (void) ReadBlobByte(image); image 555 coders/icon.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 557 coders/icon.c if (image->previous == (Image *) NULL) image 559 coders/icon.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 560 coders/icon.c image->rows); image 572 coders/icon.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 574 coders/icon.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 577 coders/icon.c indexes=GetAuthenticIndexQueue(image); image 578 coders/icon.c for (x=0; x < (ssize_t) image->columns; x++) image 580 coders/icon.c byte=(size_t) ReadBlobByte(image); image 584 coders/icon.c (void) ReadBlobByte(image); image 585 coders/icon.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 587 coders/icon.c if (image->previous == (Image *) NULL) image 589 coders/icon.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 590 coders/icon.c image->rows); image 602 coders/icon.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 604 coders/icon.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 607 coders/icon.c indexes=GetAuthenticIndexQueue(image); image 608 coders/icon.c for (x=0; x < (ssize_t) image->columns; x++) image 610 coders/icon.c byte=(size_t) ReadBlobByte(image); image 611 coders/icon.c byte|=(size_t) (ReadBlobByte(image) << 8); image 615 coders/icon.c (void) ReadBlobByte(image); image 616 coders/icon.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 618 coders/icon.c if (image->previous == (Image *) NULL) image 620 coders/icon.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 621 coders/icon.c image->rows); image 634 coders/icon.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 636 coders/icon.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 639 coders/icon.c for (x=0; x < (ssize_t) image->columns; x++) image 642 coders/icon.c ReadBlobByte(image))); image 644 coders/icon.c ReadBlobByte(image))); image 646 coders/icon.c ReadBlobByte(image))); image 649 coders/icon.c ReadBlobByte(image))); image 654 coders/icon.c (void) ReadBlobByte(image); image 655 coders/icon.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 657 coders/icon.c if (image->previous == (Image *) NULL) image 659 coders/icon.c status=SetImageProgress(image,LoadImageTag,image->rows-y-1, image 660 coders/icon.c image->rows); image 671 coders/icon.c (void) SyncImage(image); image 677 coders/icon.c image->storage_class=DirectClass; image 678 coders/icon.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 680 coders/icon.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 683 coders/icon.c for (x=0; x < ((ssize_t) image->columns-7); x+=8) image 685 coders/icon.c byte=(size_t) ReadBlobByte(image); image 690 coders/icon.c if ((image->columns % 8) != 0) image 692 coders/icon.c byte=(size_t) ReadBlobByte(image); image 693 coders/icon.c for (bit=0; bit < (image->columns % 8); bit++) image 697 coders/icon.c if ((image->columns % 32) != 0) image 698 coders/icon.c for (x=0; x < (ssize_t) ((32-(image->columns % 32))/8); x++) image 699 coders/icon.c (void) ReadBlobByte(image); image 700 coders/icon.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 704 coders/icon.c if (EOFBlob(image) != MagickFalse) image 707 coders/icon.c "UnexpectedEndOfFile",image->filename); image 715 coders/icon.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 722 coders/icon.c AcquireNextImage(image_info,image); image 723 coders/icon.c if (GetNextImageInList(image) == (Image *) NULL) image 725 coders/icon.c image=DestroyImageList(image); image 728 coders/icon.c image=SyncNextImageInList(image); image 729 coders/icon.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 730 coders/icon.c GetBlobSize(image)); image 735 coders/icon.c (void) CloseBlob(image); image 736 coders/icon.c return(GetFirstImageInList(image)); image 852 coders/icon.c Image *image) image 904 coders/icon.c assert(image != (Image *) NULL); image 905 coders/icon.c assert(image->signature == MagickSignature); image 906 coders/icon.c (void) LogMagickEvent(CoderEvent,GetMagickModule(),"%s",image->filename); image 907 coders/icon.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 914 coders/icon.c images=AutoResizeImage(image,option,&scene,&image->exception); image 921 coders/icon.c next=image; image 924 coders/icon.c if ((image->columns > 256L) || (image->rows > 256L)) image 934 coders/icon.c (void) WriteBlobLSBShort(image,0); image 935 coders/icon.c (void) WriteBlobLSBShort(image,1); image 936 coders/icon.c (void) WriteBlobLSBShort(image,(unsigned char) scene); image 940 coders/icon.c next=(images != (Image *) NULL) ? images : image; image 943 coders/icon.c (void) WriteBlobByte(image,icon_file.directory[scene].width); image 944 coders/icon.c (void) WriteBlobByte(image,icon_file.directory[scene].height); image 945 coders/icon.c (void) WriteBlobByte(image,icon_file.directory[scene].colors); image 946 coders/icon.c (void) WriteBlobByte(image,icon_file.directory[scene].reserved); image 947 coders/icon.c (void) WriteBlobLSBShort(image,icon_file.directory[scene].planes); image 948 coders/icon.c (void) WriteBlobLSBShort(image,icon_file.directory[scene].bits_per_pixel); image 949 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) image 951 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) image 957 coders/icon.c next=(images != (Image *) NULL) ? images : image; image 976 coders/icon.c write_image=CloneImage(next,0,0,MagickTrue,&image->exception); image 992 coders/icon.c &image->exception); image 1007 coders/icon.c icon_file.directory[scene].offset=(size_t) TellBlob(image); image 1008 coders/icon.c (void) WriteBlob(image,(size_t) length,png); image 1016 coders/icon.c (void) TransformImageColorspace(image,sRGBColorspace); image 1263 coders/icon.c icon_file.directory[scene].offset=(size_t) TellBlob(image); image 1264 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) 40); image 1265 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) icon_info.width); image 1266 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) icon_info.height*2); image 1267 coders/icon.c (void) WriteBlobLSBShort(image,icon_info.planes); image 1268 coders/icon.c (void) WriteBlobLSBShort(image,icon_info.bits_per_pixel); image 1269 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) icon_info.compression); image 1270 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) icon_info.image_size); image 1271 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) icon_info.x_pixels); image 1272 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) icon_info.y_pixels); image 1273 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) icon_info.number_colors); image 1274 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) icon_info.colors_important); image 1306 coders/icon.c (void) WriteBlob(image,(size_t) (4UL*(1UL << image 1311 coders/icon.c (void) WriteBlob(image,(size_t) icon_info.image_size,pixels); image 1333 coders/icon.c (void) WriteBlobByte(image,(unsigned char) byte); image 1340 coders/icon.c (void) WriteBlobByte(image,(unsigned char) (byte << (8-bit))); image 1342 coders/icon.c (void) WriteBlobByte(image,(unsigned char) 0); image 1353 coders/icon.c offset=SeekBlob(image,0,SEEK_SET); image 1355 coders/icon.c (void) WriteBlobLSBShort(image,0); image 1356 coders/icon.c (void) WriteBlobLSBShort(image,1); image 1357 coders/icon.c (void) WriteBlobLSBShort(image,(unsigned short) (scene+1)); image 1359 coders/icon.c next=(images != (Image *) NULL) ? images : image; image 1362 coders/icon.c (void) WriteBlobByte(image,icon_file.directory[scene].width); image 1363 coders/icon.c (void) WriteBlobByte(image,icon_file.directory[scene].height); image 1364 coders/icon.c (void) WriteBlobByte(image,icon_file.directory[scene].colors); image 1365 coders/icon.c (void) WriteBlobByte(image,icon_file.directory[scene].reserved); image 1366 coders/icon.c (void) WriteBlobLSBShort(image,icon_file.directory[scene].planes); image 1367 coders/icon.c (void) WriteBlobLSBShort(image,icon_file.directory[scene].bits_per_pixel); image 1368 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) image 1370 coders/icon.c (void) WriteBlobLSBLong(image,(unsigned int) image 1375 coders/icon.c (void) CloseBlob(image); image 159 coders/info.c Image *image) image 175 coders/info.c assert(image != (Image *) NULL); image 176 coders/info.c assert(image->signature == MagickSignature); image 177 coders/info.c if (image->debug != MagickFalse) image 178 coders/info.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 179 coders/info.c status=OpenBlob(image_info,image,WriteBlobMode,&image->exception); image 188 coders/info.c (void) CopyMagickString(image->filename,image->magick_filename, image 190 coders/info.c image->magick_columns=image->columns; image 191 coders/info.c image->magick_rows=image->rows; image 192 coders/info.c (void) IdentifyImage(image,GetBlobFileHandle(image), image 200 coders/info.c text=InterpretImageProperties(image_info,image,format); image 203 coders/info.c (void) WriteBlobString(image,text); image 207 coders/info.c if (GetNextImageInList(image) == (Image *) NULL) image 209 coders/info.c image=SyncNextImageInList(image); image 210 coders/info.c status=SetImageProgress(image,SaveImagesTag,scene++, image 211 coders/info.c GetImageListLength(image)); image 215 coders/info.c (void) CloseBlob(image); image 99 coders/inline.c *image; image 141 coders/inline.c image=AcquireImage(image_info); image 142 coders/inline.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 145 coders/inline.c image=DestroyImageList(image); image 148 coders/inline.c quantum=MagickMin((size_t) GetBlobSize(image),MagickMaxBufferExtent); image 156 coders/inline.c count=(ssize_t) ReadBlob(image,quantum,inline_image+i); image 174 coders/inline.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 178 coders/inline.c image=DestroyImageList(image); image 179 coders/inline.c image=ReadInlineImage(image_info,(char *) inline_image,exception); image 181 coders/inline.c return(image); image 280 coders/inline.c Image *image) image 313 coders/inline.c assert(image != (Image *) NULL); image 314 coders/inline.c assert(image->signature == MagickSignature); image 315 coders/inline.c if (image->debug != MagickFalse) image 316 coders/inline.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 317 coders/inline.c exception=(&image->exception); image 321 coders/inline.c (void) CopyMagickString(write_info->magick,image->magick,MaxTextExtent); image 326 coders/inline.c (void) CopyMagickString(image->filename,write_info->filename,MaxTextExtent); image 328 coders/inline.c write_image=CloneImage(image,0,0,MagickTrue,exception); image 348 coders/inline.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); image 356 coders/inline.c (void) WriteBlobString(image,message); image 357 coders/inline.c (void) WriteBlobString(image,base64); image 167 coders/ipl.c static void SetHeaderFromIPL(Image *image, IPLInfo *ipl){ image 168 coders/ipl.c image->columns = ipl->width; image 169 coders/ipl.c image->rows = ipl->height; image 170 coders/ipl.c image->depth = ipl->depth; image 171 coders/ipl.c image->x_resolution = 1; image 172 coders/ipl.c image->y_resolution = 1; image 182 coders/ipl.c Image *image; image 211 coders/ipl.c image=AcquireImage(image_info); image 212 coders/ipl.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 215 coders/ipl.c image=DestroyImageList(image); image 227 coders/ipl.c count=ReadBlob(image,4,magick); image 230 coders/ipl.c image->endian=LSBEndian; image 233 coders/ipl.c image->endian=MSBEndian; image 239 coders/ipl.c count=ReadBlob(image, 8, magick); image 243 coders/ipl.c count=ReadBlob(image,4,magick); image 246 coders/ipl.c ipl_info.size=ReadBlobLong(image); image 247 coders/ipl.c ipl_info.width=ReadBlobLong(image); image 248 coders/ipl.c ipl_info.height=ReadBlobLong(image); image 251 coders/ipl.c ipl_info.colors=ReadBlobLong(image); image 252 coders/ipl.c if(ipl_info.colors == 3){ SetImageColorspace(image,sRGBColorspace);} image 253 coders/ipl.c else { image->colorspace = GRAYColorspace; } image 254 coders/ipl.c ipl_info.z=ReadBlobLong(image); image 255 coders/ipl.c ipl_info.time=ReadBlobLong(image); image 257 coders/ipl.c ipl_info.byteType=ReadBlobLong(image); image 304 coders/ipl.c SetHeaderFromIPL(image, &ipl_info); image 309 coders/ipl.c (void) CloseBlob(image); image 310 coders/ipl.c return(GetFirstImageInList(image)); image 312 coders/ipl.c length=image->columns; image 313 coders/ipl.c quantum_type=GetQuantumType(image,exception); image 316 coders/ipl.c SetHeaderFromIPL(image, &ipl_info); image 319 coders/ipl.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 321 coders/ipl.c status=SetImageExtent(image,image->columns,image->rows); image 324 coders/ipl.c InheritException(exception,&image->exception); image 325 coders/ipl.c return(DestroyImageList(image)); image 331 coders/ipl.c quantum_info=AcquireQuantumInfo(image_info,image); image 334 coders/ipl.c status=SetQuantumFormat(image,quantum_info,quantum_format); image 338 coders/ipl.c if(image->columns != ipl_info.width){ image 350 coders/ipl.c for(y = 0; y < (ssize_t) image->rows; y++){ image 351 coders/ipl.c (void) ReadBlob(image, length*image->depth/8, pixels); image 352 coders/ipl.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 355 coders/ipl.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 357 coders/ipl.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 362 coders/ipl.c for(y = 0; y < (ssize_t) image->rows; y++){ image 363 coders/ipl.c (void) ReadBlob(image, length*image->depth/8, pixels); image 364 coders/ipl.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 367 coders/ipl.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 369 coders/ipl.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 372 coders/ipl.c for(y = 0; y < (ssize_t) image->rows; y++){ image 373 coders/ipl.c (void) ReadBlob(image, length*image->depth/8, pixels); image 374 coders/ipl.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 377 coders/ipl.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 379 coders/ipl.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 382 coders/ipl.c for(y = 0; y < (ssize_t) image->rows; y++){ image 383 coders/ipl.c (void) ReadBlob(image, length*image->depth/8, pixels); image 384 coders/ipl.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 387 coders/ipl.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 389 coders/ipl.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 393 coders/ipl.c SetQuantumImageType(image,quantum_type); image 398 coders/ipl.c if (EOFBlob(image) != MagickFalse) image 401 coders/ipl.c image->filename); image 408 coders/ipl.c AcquireNextImage(image_info, image); image 409 coders/ipl.c if (GetNextImageInList(image) == (Image *) NULL) image 411 coders/ipl.c image=DestroyImageList(image); image 414 coders/ipl.c image=SyncNextImageInList(image); image 415 coders/ipl.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 416 coders/ipl.c GetBlobSize(image)); image 421 coders/ipl.c CloseBlob(image); image 422 coders/ipl.c return(GetFirstImageInList(image)); image 507 coders/ipl.c static MagickBooleanType WriteIPLImage(const ImageInfo *image_info,Image *image) image 538 coders/ipl.c assert(image != (Image *) NULL); image 539 coders/ipl.c assert(image->signature == MagickSignature); image 540 coders/ipl.c if (image->debug != MagickFalse) image 541 coders/ipl.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 542 coders/ipl.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 547 coders/ipl.c quantum_info=AcquireQuantumInfo(image_info, image); image 549 coders/ipl.c (IsHighDynamicRangeImage(image,&image->exception) != MagickFalse)) image 550 coders/ipl.c SetQuantumFormat(image,quantum_info,FloatingPointQuantumFormat); image 579 coders/ipl.c ipl_info.z = (unsigned int) GetImageListLength(image); image 582 coders/ipl.c ipl_info.width = (unsigned int) image->columns; image 583 coders/ipl.c ipl_info.height = (unsigned int) image->rows; image 584 coders/ipl.c (void) TransformImageColorspace(image,sRGBColorspace); image 585 coders/ipl.c if(IssRGBCompatibleColorspace(image->colorspace) != MagickFalse) { ipl_info.colors = 3; } image 589 coders/ipl.c ((image->depth)/8)*ipl_info.height*ipl_info.width*ipl_info.colors*ipl_info.z); image 601 coders/ipl.c (void) WriteBlob(image, 4, (const unsigned char *) "mmmm"); image 603 coders/ipl.c image->endian = LSBEndian; image 604 coders/ipl.c (void) WriteBlob(image, 4, (const unsigned char *) "iiii"); image 606 coders/ipl.c (void) WriteBlobLong(image, 4); image 607 coders/ipl.c (void) WriteBlob(image, 4, (const unsigned char *) "100f"); image 608 coders/ipl.c (void) WriteBlob(image, 4, (const unsigned char *) "data"); image 609 coders/ipl.c (void) WriteBlobLong(image, ipl_info.size); image 610 coders/ipl.c (void) WriteBlobLong(image, ipl_info.width); image 611 coders/ipl.c (void) WriteBlobLong(image, ipl_info.height); image 612 coders/ipl.c (void) WriteBlobLong(image, ipl_info.colors); image 614 coders/ipl.c (void) WriteBlobLong(image, 1); image 616 coders/ipl.c (void) WriteBlobLong(image, ipl_info.z); image 617 coders/ipl.c (void) WriteBlobLong(image, ipl_info.time); image 618 coders/ipl.c (void) WriteBlobLong(image, ipl_info.byteType); image 620 coders/ipl.c exception=(&image->exception); image 630 coders/ipl.c p=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 633 coders/ipl.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, quantum_info, image 634 coders/ipl.c GrayQuantum, pixels,&image->exception); image 635 coders/ipl.c (void) WriteBlob(image, image->columns*image->depth/8, pixels); image 642 coders/ipl.c p=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 645 coders/ipl.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, quantum_info, image 646 coders/ipl.c RedQuantum, pixels,&image->exception); image 647 coders/ipl.c (void) WriteBlob(image, image->columns*image->depth/8, pixels); image 652 coders/ipl.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 655 coders/ipl.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, quantum_info, image 656 coders/ipl.c GreenQuantum, pixels,&image->exception); image 657 coders/ipl.c (void) WriteBlob(image, image->columns*image->depth/8, pixels); image 661 coders/ipl.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 664 coders/ipl.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, quantum_info, image 665 coders/ipl.c BlueQuantum, pixels,&image->exception); image 666 coders/ipl.c (void) WriteBlob(image, image->columns*image->depth/8, pixels); image 667 coders/ipl.c if (image->previous == (Image *) NULL) image 669 coders/ipl.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 670 coders/ipl.c image->rows); image 677 coders/ipl.c if (GetNextImageInList(image) == (Image *) NULL) image 679 coders/ipl.c image=SyncNextImageInList(image); image 680 coders/ipl.c status=SetImageProgress(image,SaveImagesTag,scene++, image 681 coders/ipl.c GetImageListLength(image)); image 686 coders/ipl.c (void) WriteBlob(image, 4, (const unsigned char *) "fini"); image 687 coders/ipl.c (void) WriteBlobLong(image, 0); image 689 coders/ipl.c CloseBlob(image); image 120 coders/jbig.c *image; image 162 coders/jbig.c image=AcquireImage(image_info); image 163 coders/jbig.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 166 coders/jbig.c image=DestroyImageList(image); image 173 coders/jbig.c jbg_dec_maxsize(&jbig_info,(unsigned long) image->columns,(unsigned long) image 174 coders/jbig.c image->rows); image 175 coders/jbig.c image->columns=jbg_dec_getwidth(&jbig_info); image 176 coders/jbig.c image->rows=jbg_dec_getheight(&jbig_info); image 177 coders/jbig.c image->depth=8; image 178 coders/jbig.c image->storage_class=PseudoClass; image 179 coders/jbig.c image->colors=2; image 193 coders/jbig.c length=(ssize_t) ReadBlob(image,MagickMaxBufferExtent,buffer); image 210 coders/jbig.c image->columns=jbg_dec_getwidth(&jbig_info); image 211 coders/jbig.c image->rows=jbg_dec_getheight(&jbig_info); image 212 coders/jbig.c image->compression=JBIG2Compression; image 213 coders/jbig.c if (AcquireImageColormap(image,2) == MagickFalse) image 219 coders/jbig.c image->colormap[0].red=0; image 220 coders/jbig.c image->colormap[0].green=0; image 221 coders/jbig.c image->colormap[0].blue=0; image 222 coders/jbig.c image->colormap[1].red=QuantumRange; image 223 coders/jbig.c image->colormap[1].green=QuantumRange; image 224 coders/jbig.c image->colormap[1].blue=QuantumRange; image 225 coders/jbig.c image->x_resolution=300; image 226 coders/jbig.c image->y_resolution=300; image 231 coders/jbig.c (void) CloseBlob(image); image 232 coders/jbig.c return(GetFirstImageInList(image)); image 234 coders/jbig.c status=SetImageExtent(image,image->columns,image->rows); image 239 coders/jbig.c InheritException(exception,&image->exception); image 240 coders/jbig.c return(DestroyImageList(image)); image 246 coders/jbig.c for (y=0; y < (ssize_t) image->rows; y++) image 248 coders/jbig.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 251 coders/jbig.c indexes=GetAuthenticIndexQueue(image); image 254 coders/jbig.c for (x=0; x < (ssize_t) image->columns; x++) image 264 coders/jbig.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 267 coders/jbig.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 269 coders/jbig.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 270 coders/jbig.c image->rows); image 279 coders/jbig.c (void) CloseBlob(image); image 280 coders/jbig.c return(GetFirstImageInList(image)); image 411 coders/jbig.c *image; image 413 coders/jbig.c image=(Image *) data; image 414 coders/jbig.c (void) WriteBlob(image,length,pixels); image 418 coders/jbig.c Image *image) image 460 coders/jbig.c assert(image != (Image *) NULL); image 461 coders/jbig.c assert(image->signature == MagickSignature); image 462 coders/jbig.c if (image->debug != MagickFalse) image 463 coders/jbig.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 464 coders/jbig.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 474 coders/jbig.c (void) TransformImageColorspace(image,sRGBColorspace); image 475 coders/jbig.c number_packets=(image->columns+7)/8; image 476 coders/jbig.c pixel_info=AcquireVirtualMemory(number_packets,image->rows*sizeof(*pixels)); image 483 coders/jbig.c (void) SetImageType(image,BilevelType); image 485 coders/jbig.c for (y=0; y < (ssize_t) image->rows; y++) image 487 coders/jbig.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 492 coders/jbig.c for (x=0; x < (ssize_t) image->columns; x++) image 495 coders/jbig.c if (GetPixelLuma(image,p) < (QuantumRange/2.0)) image 508 coders/jbig.c if (image->previous == (Image *) NULL) image 510 coders/jbig.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 511 coders/jbig.c image->rows); image 519 coders/jbig.c jbg_enc_init(&jbig_info,(unsigned long) image->columns,(unsigned long) image 520 coders/jbig.c image->rows,1,&pixels,(void (*)(unsigned char *,size_t,void *)) image 521 coders/jbig.c JBIGEncode,image); image 546 coders/jbig.c if (image->units == PixelsPerCentimeterResolution) image 563 coders/jbig.c if (GetNextImageInList(image) == (Image *) NULL) image 565 coders/jbig.c image=SyncNextImageInList(image); image 566 coders/jbig.c status=SetImageProgress(image,SaveImagesTag,scene++, image 567 coders/jbig.c GetImageListLength(image)); image 571 coders/jbig.c (void) CloseBlob(image); image 136 coders/jnx.c *image, image 161 coders/jnx.c image=AcquireImage(image_info); image 162 coders/jnx.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 165 coders/jnx.c image=DestroyImageList(image); image 172 coders/jnx.c jnx_info.version=(int) ReadBlobLSBLong(image); image 175 coders/jnx.c jnx_info.serial=(int) ReadBlobLSBLong(image); image 176 coders/jnx.c jnx_info.northeast.x=180.0*((int) ReadBlobLSBLong(image))/0x7fffffff; image 177 coders/jnx.c jnx_info.northeast.y=180.0*((int) ReadBlobLSBLong(image))/0x7fffffff; image 178 coders/jnx.c jnx_info.southwest.x=180.0*((int) ReadBlobLSBLong(image))/0x7fffffff; image 179 coders/jnx.c jnx_info.southwest.y=180.0*((int) ReadBlobLSBLong(image))/0x7fffffff; image 180 coders/jnx.c jnx_info.levels=(int) ReadBlobLSBLong(image); image 183 coders/jnx.c jnx_info.expire=(int) ReadBlobLSBLong(image); image 184 coders/jnx.c jnx_info.id=(int) ReadBlobLSBLong(image); image 185 coders/jnx.c jnx_info.crc=(int) ReadBlobLSBLong(image); image 186 coders/jnx.c jnx_info.signature=(int) ReadBlobLSBLong(image); image 187 coders/jnx.c jnx_info.offset=ReadBlobLSBLong(image); image 189 coders/jnx.c jnx_info.order=(int) ReadBlobLSBLong(image); image 199 coders/jnx.c jnx_level_info[i].count=(int) ReadBlobLSBLong(image); image 202 coders/jnx.c jnx_level_info[i].offset=(int) ReadBlobLSBLong(image); image 203 coders/jnx.c jnx_level_info[i].scale=ReadBlobLSBLong(image); image 212 coders/jnx.c (void) ReadBlobLSBLong(image); image 214 coders/jnx.c while ((c=ReadBlobLSBShort(image)) != 0) image 232 coders/jnx.c offset=SeekBlob(image,(MagickOffsetType) jnx_level_info[i].offset,SEEK_SET); image 262 coders/jnx.c northeast.x=180.0*((int) ReadBlobLSBLong(image))/0x7fffffff; image 263 coders/jnx.c northeast.y=180.0*((int) ReadBlobLSBLong(image))/0x7fffffff; image 264 coders/jnx.c southwest.x=180.0*((int) ReadBlobLSBLong(image))/0x7fffffff; image 265 coders/jnx.c southwest.y=180.0*((int) ReadBlobLSBLong(image))/0x7fffffff; image 266 coders/jnx.c (void) ReadBlobLSBShort(image); /* width */ image 267 coders/jnx.c (void) ReadBlobLSBShort(image); /* height */ image 268 coders/jnx.c tile_length=ReadBlobLSBLong(image); image 269 coders/jnx.c tile_offset=(int) ReadBlobLSBLong(image); image 272 coders/jnx.c restore_offset=TellBlob(image); image 275 coders/jnx.c offset=SeekBlob(image,(MagickOffsetType) tile_offset,SEEK_SET); image 291 coders/jnx.c count=ReadBlob(image,tile_length,blob+2); image 304 coders/jnx.c (void) SeekBlob(image,restore_offset,SEEK_SET); image 307 coders/jnx.c (void) CopyMagickString(tile_image->magick,image->magick,MaxTextExtent); image 314 coders/jnx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 319 coders/jnx.c proceed=SetImageProgress(image,LoadImageTag,(MagickOffsetType) i, image 325 coders/jnx.c (void) CloseBlob(image); image 326 coders/jnx.c image=DestroyImage(image); image 200 coders/jp2.c *image; image 205 coders/jp2.c image=(Image *) context; image 206 coders/jp2.c count=ReadBlob(image,(ssize_t) length,(unsigned char *) buffer); image 215 coders/jp2.c *image; image 217 coders/jp2.c image=(Image *) context; image 218 coders/jp2.c return(SeekBlob(image,offset,SEEK_SET) < 0 ? OPJ_FALSE : OPJ_TRUE); image 224 coders/jp2.c *image; image 226 coders/jp2.c image=(Image *) context; image 227 coders/jp2.c return(SeekBlob(image,offset,SEEK_CUR) < 0 ? -1 : offset); image 243 coders/jp2.c *image; image 248 coders/jp2.c image=(Image *) context; image 249 coders/jp2.c count=WriteBlob(image,(ssize_t) length,(unsigned char *) buffer); image 259 coders/jp2.c *image; image 301 coders/jp2.c image=AcquireImage(image_info); image 302 coders/jp2.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 305 coders/jp2.c image=DestroyImageList(image); image 311 coders/jp2.c if (ReadBlob(image,4,sans) != 4) image 313 coders/jp2.c image=DestroyImageList(image); image 316 coders/jp2.c (void) SeekBlob(image,SEEK_SET,0); image 343 coders/jp2.c opj_stream_set_user_data(jp2_stream,image,NULL); image 344 coders/jp2.c opj_stream_set_user_data_length(jp2_stream,GetBlobSize(image)); image 352 coders/jp2.c if ((image->columns != 0) && (image->rows != 0)) image 358 coders/jp2.c (OPJ_INT32) image->extract_info.x,(OPJ_INT32) image->extract_info.y, image 359 coders/jp2.c (OPJ_INT32) image->extract_info.x+(ssize_t) image->columns, image 360 coders/jp2.c (OPJ_INT32) image->extract_info.y+(ssize_t) image->rows); image 373 coders/jp2.c if (image->ping == MagickFalse) image 399 coders/jp2.c image->columns=(size_t) jp2_image->comps[0].w; image 400 coders/jp2.c image->rows=(size_t) jp2_image->comps[0].h; image 401 coders/jp2.c image->depth=jp2_image->comps[0].prec; image 402 coders/jp2.c status=SetImageExtent(image,image->columns,image->rows); image 405 coders/jp2.c InheritException(exception,&image->exception); image 406 coders/jp2.c return(DestroyImageList(image)); image 408 coders/jp2.c image->compression=JPEG2000Compression; image 411 coders/jp2.c SetImageColorspace(image,GRAYColorspace); image 413 coders/jp2.c image->matte=MagickTrue; image 416 coders/jp2.c image->matte=MagickTrue; image 419 coders/jp2.c SetImageColorspace(image,YUVColorspace); image 428 coders/jp2.c SetImageProfile(image,"icc",profile); image 430 coders/jp2.c if (image->ping != MagickFalse) image 435 coders/jp2.c return(GetFirstImageInList(image)); image 437 coders/jp2.c for (y=0; y < (ssize_t) image->rows; y++) image 445 coders/jp2.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 448 coders/jp2.c for (x=0; x < (ssize_t) image->columns; x++) image 461 coders/jp2.c image->columns/jp2_image->comps[i].dx+x/jp2_image->comps[i].dx]+ image 497 coders/jp2.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 499 coders/jp2.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 500 coders/jp2.c image->rows); image 510 coders/jp2.c return(GetFirstImageInList(image)); image 761 coders/jp2.c static MagickBooleanType WriteJP2Image(const ImageInfo *image_info,Image *image) image 805 coders/jp2.c assert(image != (Image *) NULL); image 806 coders/jp2.c assert(image->signature == MagickSignature); image 807 coders/jp2.c if (image->debug != MagickFalse) image 808 coders/jp2.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 809 coders/jp2.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 817 coders/jp2.c if (((ssize_t) (1 << (i+2)) > image->columns) && image 818 coders/jp2.c ((ssize_t) (1 << (i+2)) > image->rows)) image 917 coders/jp2.c property=GetImageProperty(image,"comment"); image 922 coders/jp2.c if (image->colorspace == YUVColorspace) image 929 coders/jp2.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 935 coders/jp2.c (void) TransformImageColorspace(image,sRGBColorspace); image 936 coders/jp2.c if (image->matte != MagickFalse) image 943 coders/jp2.c jp2_info[i].prec=(unsigned int) image->depth; image 944 coders/jp2.c jp2_info[i].bpp=(unsigned int) image->depth; image 945 coders/jp2.c if ((image->depth == 1) && image 955 coders/jp2.c jp2_info[i].w=(unsigned int) image->columns; image 956 coders/jp2.c jp2_info[i].h=(unsigned int) image->rows; image 963 coders/jp2.c jp2_image->x1=(unsigned int) (2*parameters.image_offset_x0+(image->columns-1)* image 965 coders/jp2.c jp2_image->y1=(unsigned int) (2*parameters.image_offset_y0+(image->rows-1)* image 967 coders/jp2.c if ((image->depth == 12) && image 968 coders/jp2.c ((image->columns == 2048) || (image->rows == 1080) || image 969 coders/jp2.c (image->columns == 4096) || (image->rows == 2160))) image 979 coders/jp2.c for (y=0; y < (ssize_t) image->rows; y++) image 987 coders/jp2.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 990 coders/jp2.c for (x=0; x < (ssize_t) image->columns; x++) image 1002 coders/jp2.c image->columns/jp2_image->comps[i].dx+x/jp2_image->comps[i].dx); image 1009 coders/jp2.c *q=(int) (scale*GetPixelLuma(image,p)); image 1039 coders/jp2.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1040 coders/jp2.c image->rows); image 1051 coders/jp2.c opj_set_warning_handler(jp2_codec,JP2WarningHandler,&image->exception); image 1052 coders/jp2.c opj_set_error_handler(jp2_codec,JP2ErrorHandler,&image->exception); image 1059 coders/jp2.c opj_stream_set_user_data(jp2_stream,image,NULL); image 1079 coders/jp2.c (void) CloseBlob(image); image 116 coders/jpeg.c *image; image 125 coders/jpeg.c *image; image 143 coders/jpeg.c *image; image 247 coders/jpeg.c source->manager.bytes_in_buffer=(size_t) ReadBlob(source->image, image 280 coders/jpeg.c static MagickBooleanType IsITUFaxImage(const Image *image) image 288 coders/jpeg.c profile=GetImageProfile(image,"8bim"); image 309 coders/jpeg.c *image; image 313 coders/jpeg.c image=error_manager->image; image 315 coders/jpeg.c if (image->debug != MagickFalse) image 317 coders/jpeg.c "[%s] JPEG Trace: \"%s\"",image->filename,message); image 319 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 320 coders/jpeg.c CorruptImageWarning,(char *) message,"`%s'",image->filename); image 322 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 323 coders/jpeg.c CorruptImageError,(char *) message,"`%s'",image->filename); image 338 coders/jpeg.c *image; image 342 coders/jpeg.c image=error_manager->image; image 352 coders/jpeg.c image->filename); image 355 coders/jpeg.c if ((image->debug != MagickFalse) && image 363 coders/jpeg.c "[%s] JPEG Trace: \"%s\"",image->filename,message); image 374 coders/jpeg.c *image; image 392 coders/jpeg.c image=error_manager->image; image 401 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 402 coders/jpeg.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 415 coders/jpeg.c (void) SetImageProperty(image,"comment",(const char *) p); image 429 coders/jpeg.c *image; image 474 coders/jpeg.c image=error_manager->image; image 478 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 479 coders/jpeg.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 487 coders/jpeg.c icc_profile=(StringInfo *) GetImageProfile(image,"icc"); image 495 coders/jpeg.c status=SetImageProfile(image,"icc",profile); image 499 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 500 coders/jpeg.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 504 coders/jpeg.c if (image->debug != MagickFalse) image 519 coders/jpeg.c *image; image 576 coders/jpeg.c image=error_manager->image; image 580 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 581 coders/jpeg.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 589 coders/jpeg.c iptc_profile=(StringInfo *) GetImageProfile(image,"8bim"); image 597 coders/jpeg.c status=SetImageProfile(image,"8bim",profile); image 601 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 602 coders/jpeg.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 606 coders/jpeg.c if (image->debug != MagickFalse) image 624 coders/jpeg.c *image; image 655 coders/jpeg.c image=error_manager->image; image 659 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 660 coders/jpeg.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 693 coders/jpeg.c previous_profile=GetImageProfile(image,name); image 709 coders/jpeg.c status=SetImageProfile(image,name,profile); image 713 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 714 coders/jpeg.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 717 coders/jpeg.c if (image->debug != MagickFalse) image 745 coders/jpeg.c static void JPEGSourceManager(j_decompress_ptr cinfo,Image *image) image 763 coders/jpeg.c source->image=image; image 767 coders/jpeg.c Image *image) image 769 coders/jpeg.c image->quality=UndefinedCompressionQuality; image 771 coders/jpeg.c if (image->compression == LosslessJPEGCompression) image 773 coders/jpeg.c image->quality=100; image 841 coders/jpeg.c image->quality=(size_t) i+1; image 842 coders/jpeg.c if (image->debug != MagickFalse) image 890 coders/jpeg.c image->quality=(size_t) i+1; image 891 coders/jpeg.c if (image->debug != MagickFalse) image 901 coders/jpeg.c static void JPEGSetImageSamplingFactor(struct jpeg_decompress_struct *jpeg_info, Image *image) image 959 coders/jpeg.c (void) SetImageProperty(image,"jpeg:sampling-factor",sampling_factor); image 977 coders/jpeg.c *image; image 1028 coders/jpeg.c image=AcquireImage(image_info); image 1029 coders/jpeg.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 1032 coders/jpeg.c image=DestroyImageList(image); image 1045 coders/jpeg.c error_manager.image=image; image 1051 coders/jpeg.c (void) CloseBlob(image); image 1052 coders/jpeg.c number_pixels=(MagickSizeType) image->columns*image->rows; image 1054 coders/jpeg.c return(GetFirstImageInList(image)); image 1055 coders/jpeg.c InheritException(exception,&image->exception); image 1056 coders/jpeg.c return(DestroyImage(image)); image 1060 coders/jpeg.c JPEGSourceManager(&jpeg_info,image); image 1083 coders/jpeg.c image->x_resolution=(double) jpeg_info.X_density; image 1084 coders/jpeg.c image->y_resolution=(double) jpeg_info.Y_density; image 1088 coders/jpeg.c image->units=PixelsPerInchResolution; image 1090 coders/jpeg.c image->units=PixelsPerCentimeterResolution; image 1091 coders/jpeg.c number_pixels=(MagickSizeType) image->columns*image->rows; image 1112 coders/jpeg.c image->magick_columns=jpeg_info.output_width; image 1113 coders/jpeg.c image->magick_rows=jpeg_info.output_height; image 1123 coders/jpeg.c if (image->debug != MagickFalse) image 1129 coders/jpeg.c image->interlace=jpeg_info.process == JPROC_PROGRESSIVE ? image 1131 coders/jpeg.c image->compression=jpeg_info.process == JPROC_LOSSLESS ? image 1136 coders/jpeg.c image->filename); image 1140 coders/jpeg.c image->interlace=jpeg_info.progressive_mode != 0 ? JPEGInterlace : image 1142 coders/jpeg.c image->compression=JPEGCompression; image 1145 coders/jpeg.c image->compression=JPEGCompression; image 1146 coders/jpeg.c image->interlace=JPEGInterlace; image 1197 coders/jpeg.c image->columns=jpeg_info.output_width; image 1198 coders/jpeg.c image->rows=jpeg_info.output_height; image 1199 coders/jpeg.c image->depth=(size_t) jpeg_info.data_precision; image 1205 coders/jpeg.c (void) SetImageColorspace(image,sRGBColorspace); image 1210 coders/jpeg.c (void) SetImageColorspace(image,GRAYColorspace); image 1215 coders/jpeg.c (void) SetImageColorspace(image,YCbCrColorspace); image 1220 coders/jpeg.c (void) SetImageColorspace(image,CMYKColorspace); image 1224 coders/jpeg.c if (IsITUFaxImage(image) != MagickFalse) image 1226 coders/jpeg.c (void) SetImageColorspace(image,LabColorspace); image 1230 coders/jpeg.c if (AcquireImageColormap(image,StringToUnsignedLong(option)) == MagickFalse) image 1238 coders/jpeg.c colors=(size_t) GetQuantumRange(image->depth)+1; image 1239 coders/jpeg.c if (AcquireImageColormap(image,colors) == MagickFalse) image 1242 coders/jpeg.c if (image->debug != MagickFalse) image 1244 coders/jpeg.c if (image->interlace != NoInterlace) image 1255 coders/jpeg.c JPEGSetImageQuality(&jpeg_info,image); image 1256 coders/jpeg.c JPEGSetImageSamplingFactor(&jpeg_info,image); image 1259 coders/jpeg.c (void) SetImageProperty(image,"jpeg:colorspace",value); image 1263 coders/jpeg.c (void) CloseBlob(image); image 1264 coders/jpeg.c return(GetFirstImageInList(image)); image 1266 coders/jpeg.c status=SetImageExtent(image,image->columns,image->rows); image 1270 coders/jpeg.c InheritException(exception,&image->exception); image 1271 coders/jpeg.c return(DestroyImageList(image)); image 1279 coders/jpeg.c memory_info=AcquireVirtualMemory((size_t) image->columns, image 1295 coders/jpeg.c (void) CloseBlob(image); image 1296 coders/jpeg.c number_pixels=(MagickSizeType) image->columns*image->rows; image 1298 coders/jpeg.c return(GetFirstImageInList(image)); image 1299 coders/jpeg.c return(DestroyImage(image)); image 1303 coders/jpeg.c image->colors=(size_t) jpeg_info.actual_number_of_colors; image 1305 coders/jpeg.c for (i=0; i < (ssize_t) image->colors; i++) image 1307 coders/jpeg.c image->colormap[i].red=ScaleCharToQuantum(jpeg_info.colormap[0][i]); image 1308 coders/jpeg.c image->colormap[i].green=image->colormap[i].red; image 1309 coders/jpeg.c image->colormap[i].blue=image->colormap[i].red; image 1310 coders/jpeg.c image->colormap[i].opacity=OpaqueOpacity; image 1313 coders/jpeg.c for (i=0; i < (ssize_t) image->colors; i++) image 1315 coders/jpeg.c image->colormap[i].red=ScaleCharToQuantum(jpeg_info.colormap[0][i]); image 1316 coders/jpeg.c image->colormap[i].green=ScaleCharToQuantum(jpeg_info.colormap[1][i]); image 1317 coders/jpeg.c image->colormap[i].blue=ScaleCharToQuantum(jpeg_info.colormap[2][i]); image 1318 coders/jpeg.c image->colormap[i].opacity=OpaqueOpacity; image 1322 coders/jpeg.c for (y=0; y < (ssize_t) image->rows; y++) image 1336 coders/jpeg.c CorruptImageWarning,"SkipToSyncByte","`%s'",image->filename); image 1340 coders/jpeg.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1343 coders/jpeg.c indexes=GetAuthenticIndexQueue(image); image 1352 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 1358 coders/jpeg.c index=ConstrainColormapIndex(image,pixel); image 1360 coders/jpeg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 1365 coders/jpeg.c if (image->colorspace != CMYKColorspace) image 1366 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 1378 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 1394 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 1396 coders/jpeg.c index=ConstrainColormapIndex(image,(size_t) GETJSAMPLE(*p)); image 1398 coders/jpeg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 1403 coders/jpeg.c if (image->colorspace != CMYKColorspace) image 1404 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 1416 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 1429 coders/jpeg.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1431 coders/jpeg.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 1432 coders/jpeg.c image->rows); image 1450 coders/jpeg.c (void) CloseBlob(image); image 1451 coders/jpeg.c return(GetFirstImageInList(image)); image 1651 coders/jpeg.c destination->manager.free_in_buffer=(size_t) WriteBlob(destination->image, image 1879 coders/jpeg.c count=WriteBlob(destination->image,MaxBufferExtent- image 1887 coders/jpeg.c static void WriteProfile(j_compress_ptr jpeg_info,Image *image) image 1913 coders/jpeg.c ResetImageProfileIterator(image); image 1914 coders/jpeg.c for (name=GetNextImageProfile(image); name != (const char *) NULL; ) image 1919 coders/jpeg.c profile=GetImageProfile(image,name); image 2004 coders/jpeg.c name=GetNextImageProfile(image); image 2009 coders/jpeg.c static void JPEGDestinationManager(j_compress_ptr cinfo,Image * image) image 2020 coders/jpeg.c destination->image=image; image 2069 coders/jpeg.c Image *image) image 2124 coders/jpeg.c assert(image != (Image *) NULL); image 2125 coders/jpeg.c assert(image->signature == MagickSignature); image 2126 coders/jpeg.c if (image->debug != MagickFalse) image 2127 coders/jpeg.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2128 coders/jpeg.c exception=(&image->exception); image 2130 coders/jpeg.c (image->next != (Image *) NULL)) image 2131 coders/jpeg.c image=AppendImages(image,MagickFalse,exception); image 2132 coders/jpeg.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); image 2141 coders/jpeg.c volatile_image=image; image 2146 coders/jpeg.c error_manager.image=volatile_image; image 2156 coders/jpeg.c JPEGDestinationManager(&jpeg_info,image); image 2157 coders/jpeg.c if ((image->columns != (unsigned int) image->columns) || image 2158 coders/jpeg.c (image->rows != (unsigned int) image->rows)) image 2160 coders/jpeg.c jpeg_info.image_width=(unsigned int) image->columns; image 2161 coders/jpeg.c jpeg_info.image_height=(unsigned int) image->rows; image 2165 coders/jpeg.c switch (image->colorspace) image 2192 coders/jpeg.c (void) TransformImageColorspace(image,sRGBColorspace); image 2195 coders/jpeg.c if (SetImageGray(image,&image->exception) != MagickFalse) image 2206 coders/jpeg.c if ((jpeg_info.data_precision != 12) && (image->depth <= 8)) image 2210 coders/jpeg.c if (image->debug != MagickFalse) image 2212 coders/jpeg.c "Image resolution: %.20g,%.20g",image->x_resolution,image->y_resolution); image 2213 coders/jpeg.c if ((image->x_resolution != 0.0) && (image->y_resolution != 0.0)) image 2219 coders/jpeg.c jpeg_info.X_density=(UINT16) image->x_resolution; image 2220 coders/jpeg.c jpeg_info.Y_density=(UINT16) image->y_resolution; image 2224 coders/jpeg.c if (image->units == PixelsPerInchResolution) image 2226 coders/jpeg.c if (image->units == PixelsPerCentimeterResolution) image 2269 coders/jpeg.c length=(MagickSizeType) jpeg_info.input_components*image->columns* image 2270 coders/jpeg.c image->rows*sizeof(JSAMPLE); image 2285 coders/jpeg.c if (image->debug != MagickFalse) image 2291 coders/jpeg.c if (image->debug != MagickFalse) image 2295 coders/jpeg.c if (image->debug != MagickFalse) image 2301 coders/jpeg.c (image->quality <= 100)) image 2303 coders/jpeg.c if (image->quality != UndefinedCompressionQuality) image 2304 coders/jpeg.c quality=(int) image->quality; image 2305 coders/jpeg.c if (image->debug != MagickFalse) image 2307 coders/jpeg.c (double) image->quality); image 2313 coders/jpeg.c if (image->debug != MagickFalse) image 2316 coders/jpeg.c if (image->quality < 100) image 2317 coders/jpeg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 2318 coders/jpeg.c CoderWarning,"LosslessToLossyJPEGConversion",image->filename); image 2325 coders/jpeg.c predictor=image->quality/100; /* range 1-7 */ image 2326 coders/jpeg.c point_transform=image->quality % 20; /* range 0-15 */ image 2328 coders/jpeg.c if (image->debug != MagickFalse) image 2351 coders/jpeg.c jpeg_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 2415 coders/jpeg.c value=GetImageProperty(image,"jpeg:colorspace"); image 2423 coders/jpeg.c value=GetImageProperty(image,"jpeg:sampling-factor"); image 2427 coders/jpeg.c if (image->debug != MagickFalse) image 2489 coders/jpeg.c table=GetQuantizationTable(option,"0",&image->exception); image 2498 coders/jpeg.c table=GetQuantizationTable(option,"1",&image->exception); image 2507 coders/jpeg.c table=GetQuantizationTable(option,"2",&image->exception); image 2516 coders/jpeg.c table=GetQuantizationTable(option,"3",&image->exception); image 2527 coders/jpeg.c if (image->debug != MagickFalse) image 2529 coders/jpeg.c if (image->storage_class == PseudoClass) image 2536 coders/jpeg.c (double) image->depth); image 2537 coders/jpeg.c if (image->colors != 0) image 2539 coders/jpeg.c "Number of colors: %.20g",(double) image->colors); image 2545 coders/jpeg.c switch (image->colorspace) image 2566 coders/jpeg.c switch (image->colorspace) image 2629 coders/jpeg.c image->colorspace); image 2647 coders/jpeg.c value=GetImageProperty(image,"comment"); image 2652 coders/jpeg.c if (image->profiles != (void *) NULL) image 2653 coders/jpeg.c WriteProfile(&jpeg_info,image); image 2657 coders/jpeg.c memory_info=AcquireVirtualMemory((size_t) image->columns, image 2667 coders/jpeg.c (void) CloseBlob(image); image 2679 coders/jpeg.c for (y=0; y < (ssize_t) image->rows; y++) image 2687 coders/jpeg.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2691 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 2699 coders/jpeg.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2700 coders/jpeg.c image->rows); image 2706 coders/jpeg.c for (y=0; y < (ssize_t) image->rows; y++) image 2714 coders/jpeg.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2718 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 2721 coders/jpeg.c GetPixelLuma(image,p))); image 2725 coders/jpeg.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2726 coders/jpeg.c image->rows); image 2731 coders/jpeg.c for (y=0; y < (ssize_t) image->rows; y++) image 2742 coders/jpeg.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2746 coders/jpeg.c indexes=GetVirtualIndexQueue(image); image 2747 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 2763 coders/jpeg.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2764 coders/jpeg.c image->rows); image 2771 coders/jpeg.c for (y=0; y < (ssize_t) image->rows; y++) image 2779 coders/jpeg.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2783 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 2786 coders/jpeg.c GetPixelLuma(image,p)))/scale); image 2790 coders/jpeg.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2791 coders/jpeg.c image->rows); image 2798 coders/jpeg.c for (y=0; y < (ssize_t) image->rows; y++) image 2806 coders/jpeg.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2810 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 2818 coders/jpeg.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2819 coders/jpeg.c image->rows); image 2824 coders/jpeg.c for (y=0; y < (ssize_t) image->rows; y++) image 2835 coders/jpeg.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2839 coders/jpeg.c indexes=GetVirtualIndexQueue(image); image 2840 coders/jpeg.c for (x=0; x < (ssize_t) image->columns; x++) image 2856 coders/jpeg.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2857 coders/jpeg.c image->rows); image 2861 coders/jpeg.c if (y == (ssize_t) image->rows) image 2868 coders/jpeg.c (void) CloseBlob(image); image 269 coders/json.c static void ColorFormatLocaleFile(FILE *file,const char *format,Image *image, image 278 coders/json.c GetMagickPixelPacket(image,&pixel); image 279 coders/json.c SetMagickPixelPacket(image,p,index,&pixel); image 284 coders/json.c static ChannelStatistics *GetLocationStatistics(const Image *image, image 299 coders/json.c assert(image != (Image *) NULL); image 300 coders/json.c assert(image->signature == MagickSignature); image 301 coders/json.c if (image->debug != MagickFalse) image 302 coders/json.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 327 coders/json.c for (y=0; y < (ssize_t) image->rows; y++) image 338 coders/json.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 341 coders/json.c indexes=GetVirtualIndexQueue(image); image 342 coders/json.c for (x=0; x < (ssize_t) image->columns; x++) image 355 coders/json.c if ((image->matte != MagickFalse) && image 359 coders/json.c if ((image->colorspace == CMYKColorspace) && image 373 coders/json.c if ((image->matte != MagickFalse) && image 377 coders/json.c if ((image->colorspace == CMYKColorspace) && image 526 coders/json.c static ssize_t PrintChannelLocations(FILE *file,const Image *image, image 564 coders/json.c for (y=0; y < (ssize_t) image->rows; y++) image 572 coders/json.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 575 coders/json.c for (x=0; x < (ssize_t) image->columns; x++) image 622 coders/json.c if (x < (ssize_t) image->columns) image 736 coders/json.c static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file) image 790 coders/json.c assert(image != (Image *) NULL); image 791 coders/json.c assert(image->signature == MagickSignature); image 792 coders/json.c if (image->debug != MagickFalse) image 793 coders/json.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 798 coders/json.c elapsed_time=GetElapsedTime(&image->timer); image 799 coders/json.c user_time=GetUserTime(&image->timer); image 800 coders/json.c GetTimerInfo(&image->timer); image 801 coders/json.c (void) GetVirtualPixels(image,0,0,1,1,exception); image 803 coders/json.c exception=(&image->exception); image 804 coders/json.c type=GetImageType(image,exception); image 805 coders/json.c (void) SignatureImage(image); image 807 coders/json.c image->filename); image 808 coders/json.c if (*image->magick_filename != '\0') image 809 coders/json.c if (LocaleCompare(image->magick_filename,image->filename) != 0) image 814 coders/json.c GetPathComponent(image->magick_filename,TailPath,filename); image 817 coders/json.c magick_info=GetMagickInfo(image->magick,exception); image 818 coders/json.c JsonFormatLocaleFile(file," \"format\": %s,\n",image->magick); image 828 coders/json.c MagickClassOptions,(ssize_t) image->storage_class)); image 832 coders/json.c (double) image->columns,(double) image->rows,(double) image->tile_offset.x, image 833 coders/json.c (double) image->tile_offset.y); image 834 coders/json.c if ((image->magick_columns != 0) || (image->magick_rows != 0)) image 835 coders/json.c if ((image->magick_columns != image->columns) || image 836 coders/json.c (image->magick_rows != image->rows)) image 839 coders/json.c (double) image->magick_columns,(double) image->magick_rows); image 840 coders/json.c if ((image->x_resolution != 0.0) && (image->y_resolution != 0.0)) image 844 coders/json.c image->x_resolution,image->y_resolution); image 847 coders/json.c image->columns/image->x_resolution,(double) image->rows/ image 848 coders/json.c image->y_resolution); image 851 coders/json.c MagickResolutionOptions,(ssize_t) image->units)); image 854 coders/json.c if (image->type != UndefinedType) image 856 coders/json.c CommandOptionToMnemonic(MagickTypeOptions,(ssize_t) image->type)); image 858 coders/json.c CommandOptionToMnemonic(MagickEndianOptions,(ssize_t) image->endian)); image 859 coders/json.c locate=GetImageArtifact(image,"identify:locate"); image 861 coders/json.c locate=GetImageArtifact(image,"json:locate"); image 882 coders/json.c limit=GetImageArtifact(image,"identify:limit"); image 884 coders/json.c limit=GetImageArtifact(image,"json:limit"); image 887 coders/json.c channel_statistics=GetLocationStatistics(image,type,exception); image 890 coders/json.c colorspace=image->colorspace; image 891 coders/json.c if (SetImageGray(image,exception) != MagickFalse) image 896 coders/json.c if (image->matte != MagickFalse) image 897 coders/json.c (void) PrintChannelLocations(file,image,AlphaChannel,"alpha", image 904 coders/json.c (void) PrintChannelLocations(file,image,RedChannel,"red", image 906 coders/json.c (void) PrintChannelLocations(file,image,GreenChannel,"Green", image 908 coders/json.c (void) PrintChannelLocations(file,image,BlueChannel,"blue", image 914 coders/json.c (void) PrintChannelLocations(file,image,CyanChannel,"cyan", image 916 coders/json.c (void) PrintChannelLocations(file,image,MagentaChannel,"magenta", image 918 coders/json.c (void) PrintChannelLocations(file,image,YellowChannel,"yellow", image 920 coders/json.c (void) PrintChannelLocations(file,image,BlackChannel,"black", image 926 coders/json.c (void) PrintChannelLocations(file,image,GrayChannel,"gray", image 940 coders/json.c image->colorspace)); image 945 coders/json.c colorspace=image->colorspace; image 947 coders/json.c channel_statistics=GetImageChannelStatistics(image,exception); image 950 coders/json.c artifact=GetImageArtifact(image,"identify:moments"); image 952 coders/json.c artifact=GetImageArtifact(image,"json:moments"); image 955 coders/json.c channel_moments=GetImageChannelMoments(image,exception); image 956 coders/json.c channel_phash=GetImageChannelPerceptualHash(image,exception); image 958 coders/json.c artifact=GetImageArtifact(image,"identify:features"); image 960 coders/json.c artifact=GetImageArtifact(image,"json:features"); image 964 coders/json.c channel_features=GetImageChannelFeatures(image,distance,exception); image 966 coders/json.c depth=GetImageDepth(image,exception); image 969 coders/json.c image->depth); image 971 coders/json.c if (SetImageGray(image,exception) != MagickFalse) image 973 coders/json.c if (image->matte != MagickFalse) image 1010 coders/json.c if (image->depth <= MAGICKCORE_QUANTUM_DEPTH) image 1012 coders/json.c MAGICKCORE_QUANTUM_DEPTH-image->depth)); image 1016 coders/json.c (double) image->columns*image->rows); image 1025 coders/json.c if (image->matte != MagickFalse) image 1067 coders/json.c if (image->matte != MagickFalse) image 1109 coders/json.c if (image->matte != MagickFalse) image 1125 coders/json.c if (image->matte != MagickFalse) image 1164 coders/json.c if (image->colorspace == CMYKColorspace) image 1166 coders/json.c GetMagickPrecision(),100.0*GetImageTotalInkDensity(image)/(double) image 1169 coders/json.c if (image->matte != MagickFalse) image 1179 coders/json.c for (y=0; y < (ssize_t) image->rows; y++) image 1181 coders/json.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 1184 coders/json.c indexes=GetVirtualIndexQueue(image); image 1185 coders/json.c for (x=0; x < (ssize_t) image->columns; x++) image 1191 coders/json.c if (x < (ssize_t) image->columns) image 1194 coders/json.c if ((x < (ssize_t) image->columns) || (y < (ssize_t) image->rows)) image 1195 coders/json.c ColorFormatLocaleFile(file," \"alpha\": \"%s\",\n",image,p, image 1198 coders/json.c if (image->storage_class == PseudoClass) image 1204 coders/json.c (double) image->colors); image 1206 coders/json.c p=image->colormap; image 1207 coders/json.c for (i=0; i < (ssize_t) image->colors; i++) image 1209 coders/json.c ColorFormatLocaleFile(file,"\"%s\"",image,p,(IndexPacket *) NULL); image 1210 coders/json.c if (i < (ssize_t) (image->colors-1)) image 1218 coders/json.c if (image->error.mean_error_per_pixel != 0.0) image 1220 coders/json.c image->error.mean_error_per_pixel); image 1221 coders/json.c if (image->error.normalized_mean_error != 0.0) image 1223 coders/json.c image->error.normalized_mean_error); image 1224 coders/json.c if (image->error.normalized_maximum_error != 0.0) image 1226 coders/json.c image->error.normalized_maximum_error); image 1229 coders/json.c image->rendering_intent)); image 1230 coders/json.c if (image->gamma != 0.0) image 1231 coders/json.c (void) FormatLocaleFile(file," \"gamma\": %g,\n",image->gamma); image 1232 coders/json.c if ((image->chromaticity.red_primary.x != 0.0) || image 1233 coders/json.c (image->chromaticity.green_primary.x != 0.0) || image 1234 coders/json.c (image->chromaticity.blue_primary.x != 0.0) || image 1235 coders/json.c (image->chromaticity.white_point.x != 0.0)) image 1243 coders/json.c image->chromaticity.red_primary.x,image->chromaticity.red_primary.y); image 1246 coders/json.c image->chromaticity.green_primary.x, image 1247 coders/json.c image->chromaticity.green_primary.y); image 1250 coders/json.c image->chromaticity.blue_primary.x,image->chromaticity.blue_primary.y); image 1253 coders/json.c image->chromaticity.white_point.x,image->chromaticity.white_point.y); image 1256 coders/json.c if ((image->extract_info.width*image->extract_info.height) != 0) image 1260 coders/json.c (double) image->extract_info.width,(double) image->extract_info.height, image 1261 coders/json.c (double) image->extract_info.x,(double) image->extract_info.y); image 1262 coders/json.c ColorFormatLocaleFile(file," \"backgroundColor\": \"%s\",\n",image, image 1263 coders/json.c &image->background_color,(IndexPacket *) NULL); image 1264 coders/json.c ColorFormatLocaleFile(file," \"borderColor\": \"%s\",\n",image, image 1265 coders/json.c &image->border_color,(IndexPacket *) NULL); image 1266 coders/json.c ColorFormatLocaleFile(file," \"matteColor\": \"%s\",\n",image, image 1267 coders/json.c &image->matte_color,(IndexPacket *) NULL); image 1268 coders/json.c ColorFormatLocaleFile(file," \"transparentColor\": \"%s\",\n",image, image 1269 coders/json.c &image->transparent_color,(IndexPacket *) NULL); image 1271 coders/json.c MagickInterlaceOptions,(ssize_t) image->interlace)); image 1274 coders/json.c image->intensity)); image 1276 coders/json.c CommandOptionToMnemonic(MagickComposeOptions,(ssize_t) image->compose)); image 1277 coders/json.c if ((image->page.width != 0) || (image->page.height != 0) || image 1278 coders/json.c (image->page.x != 0) || (image->page.y != 0)) image 1282 coders/json.c (double) image->page.width,(double) image->page.height, image 1283 coders/json.c (double) image->page.x,(double) image->page.y); image 1284 coders/json.c if ((image->page.x != 0) || (image->page.y != 0)) image 1286 coders/json.c (double) image->page.x,(double) image->page.y); image 1288 coders/json.c CommandOptionToMnemonic(MagickDisposeOptions,(ssize_t) image->dispose)); image 1289 coders/json.c if (image->delay != 0) image 1291 coders/json.c (double) image->delay,(double) image->ticks_per_second); image 1292 coders/json.c if (image->iterations != 1) image 1294 coders/json.c image->iterations); image 1295 coders/json.c if ((image->next != (Image *) NULL) || (image->previous != (Image *) NULL)) image 1297 coders/json.c "%.20g\n",(double) image->scene,(double) GetImageListLength(image)); image 1299 coders/json.c if (image->scene != 0) image 1301 coders/json.c image->scene); image 1304 coders/json.c image->compression)); image 1305 coders/json.c if (image->quality != UndefinedCompressionQuality) image 1307 coders/json.c image->quality); image 1310 coders/json.c image->orientation)); image 1311 coders/json.c if (image->montage != (char *) NULL) image 1312 coders/json.c JsonFormatLocaleFile(file," \"montage\": \"%s\",\n",image->montage); image 1313 coders/json.c if (image->directory != (char *) NULL) image 1334 coders/json.c p=image->directory; image 1374 coders/json.c (void) GetImageProperty(image,"exif:*"); image 1375 coders/json.c (void) GetImageProperty(image,"icc:*"); image 1376 coders/json.c (void) GetImageProperty(image,"iptc:*"); image 1377 coders/json.c (void) GetImageProperty(image,"xmp:*"); image 1378 coders/json.c ResetImagePropertyIterator(image); image 1379 coders/json.c property=GetNextImageProperty(image); image 1395 coders/json.c value=GetImageProperty(image,property); image 1397 coders/json.c property=GetNextImageProperty(image); image 1402 coders/json.c value=GetImageProperty(image,key); image 1412 coders/json.c ResetImageProfileIterator(image); image 1413 coders/json.c name=GetNextImageProfile(image); image 1429 coders/json.c profile=GetImageProfile(image,name); image 1561 coders/json.c name=GetNextImageProfile(image); image 1565 coders/json.c ResetImageArtifactIterator(image); image 1566 coders/json.c artifact=GetNextImageArtifact(image); image 1582 coders/json.c value=GetImageArtifact(image,artifact); image 1584 coders/json.c artifact=GetNextImageArtifact(image); image 1613 coders/json.c image->taint != MagickFalse ? "true" : "false"); image 1614 coders/json.c (void) FormatMagickSize(GetBlobSize(image),MagickFalse,format); image 1616 coders/json.c (void) FormatMagickSize((MagickSizeType) image->columns*image->rows, image 1621 coders/json.c (void) FormatMagickSize((MagickSizeType) ((double) image->columns*image->rows/ image 1637 coders/json.c Image *image) image 1650 coders/json.c assert(image != (Image *) NULL); image 1651 coders/json.c assert(image->signature == MagickSignature); image 1652 coders/json.c if (image->debug != MagickFalse) image 1653 coders/json.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1654 coders/json.c status=OpenBlob(image_info,image,WriteBlobMode,&image->exception); image 1660 coders/json.c (void) CopyMagickString(image->filename,image->magick_filename, image 1662 coders/json.c image->magick_columns=image->columns; image 1663 coders/json.c image->magick_rows=image->rows; image 1664 coders/json.c (void) EncodeImageAttributes(image,GetBlobFileHandle(image)); image 1665 coders/json.c if (GetNextImageInList(image) == (Image *) NULL) image 1667 coders/json.c image=SyncNextImageInList(image); image 1668 coders/json.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1669 coders/json.c GetImageListLength(image)); image 1673 coders/json.c (void) CloseBlob(image); image 104 coders/label.c *image; image 126 coders/label.c image=AcquireImage(image_info); image 127 coders/label.c (void) ResetImagePage(image,"0x0+0+0"); image 128 coders/label.c property=InterpretImageProperties(image_info,image,image_info->filename); image 129 coders/label.c (void) SetImageProperty(image,"label",property); image 131 coders/label.c label=GetImageProperty(image,"label"); image 136 coders/label.c status=GetMultilineTypeMetrics(image,draw_info,&metrics); image 137 coders/label.c if ((image->columns == 0) && (image->rows == 0)) image 139 coders/label.c image->columns=(size_t) (metrics.width+draw_info->stroke_width+0.5); image 140 coders/label.c image->rows=(size_t) floor(metrics.height+draw_info->stroke_width+0.5); image 143 coders/label.c if (((image->columns == 0) || (image->rows == 0)) || image 159 coders/label.c (void) GetMultilineTypeMetrics(image,draw_info,&metrics); image 162 coders/label.c if ((image->columns != 0) && (image->rows != 0)) image 164 coders/label.c if ((width >= image->columns) && (height >= image->rows)) image 168 coders/label.c if (((image->columns != 0) && (width >= image->columns)) || image 169 coders/label.c ((image->rows != 0) && (height >= image->rows))) image 180 coders/label.c (void) GetMultilineTypeMetrics(image,draw_info,&metrics); image 183 coders/label.c if ((image->columns != 0) && (image->rows != 0)) image 185 coders/label.c if ((width < image->columns) && (height < image->rows)) image 191 coders/label.c if (((image->columns != 0) && (width < image->columns)) || image 192 coders/label.c ((image->rows != 0) && (height < image->rows))) image 199 coders/label.c status=GetMultilineTypeMetrics(image,draw_info,&metrics); image 203 coders/label.c InheritException(exception,&image->exception); image 204 coders/label.c image=DestroyImageList(image); image 207 coders/label.c if (image->columns == 0) image 208 coders/label.c image->columns=(size_t) (metrics.width+draw_info->stroke_width+0.5); image 209 coders/label.c if (image->columns == 0) image 210 coders/label.c image->columns=(size_t) (draw_info->pointsize+draw_info->stroke_width+0.5); image 211 coders/label.c if (image->rows == 0) image 212 coders/label.c image->rows=(size_t) (metrics.ascent-metrics.descent+ image 214 coders/label.c if (image->rows == 0) image 215 coders/label.c image->rows=(size_t) (draw_info->pointsize+draw_info->stroke_width+0.5); image 216 coders/label.c status=SetImageExtent(image,image->columns,image->rows); image 220 coders/label.c InheritException(exception,&image->exception); image 221 coders/label.c return(DestroyImageList(image)); image 223 coders/label.c if (SetImageBackgroundColor(image) == MagickFalse) image 226 coders/label.c InheritException(exception,&image->exception); image 227 coders/label.c image=DestroyImageList(image); image 234 coders/label.c draw_info->direction == RightToLeftDirection ? image->columns- image 238 coders/label.c status=AnnotateImage(image,draw_info); image 246 coders/label.c (void) SetImageProperty(image,"label:pointsize",pointsize); image 251 coders/label.c image=DestroyImageList(image); image 254 coders/label.c return(GetFirstImageInList(image)); image 93 coders/mac.c *image; image 133 coders/mac.c image=AcquireImage(image_info); image 134 coders/mac.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 137 coders/mac.c image=DestroyImageList(image); image 143 coders/mac.c length=ReadBlobLSBShort(image); image 147 coders/mac.c if (ReadBlobByte(image) == EOF) image 149 coders/mac.c image->columns=576; image 150 coders/mac.c image->rows=720; image 151 coders/mac.c image->depth=1; image 152 coders/mac.c if (AcquireImageColormap(image,2) == MagickFalse) image 156 coders/mac.c (void) CloseBlob(image); image 157 coders/mac.c return(GetFirstImageInList(image)); image 159 coders/mac.c status=SetImageExtent(image,image->columns,image->rows); image 162 coders/mac.c InheritException(exception,&image->exception); image 163 coders/mac.c return(DestroyImageList(image)); image 168 coders/mac.c length=(image->columns+7)/8; image 174 coders/mac.c for (y=0; y < (ssize_t) image->rows; ) image 176 coders/mac.c count=(unsigned char) ReadBlobByte(image); image 177 coders/mac.c if (EOFBlob(image) != MagickFalse) image 181 coders/mac.c byte=(unsigned char) (~ReadBlobByte(image)); image 190 coders/mac.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 193 coders/mac.c indexes=GetAuthenticIndexQueue(image); image 197 coders/mac.c for (x=0; x < (ssize_t) image->columns; x++) image 207 coders/mac.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 219 coders/mac.c byte=(unsigned char) (~ReadBlobByte(image)); image 225 coders/mac.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 228 coders/mac.c indexes=GetAuthenticIndexQueue(image); image 232 coders/mac.c for (x=0; x < (ssize_t) image->columns; x++) image 242 coders/mac.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 251 coders/mac.c (void) SyncImage(image); image 252 coders/mac.c (void) CloseBlob(image); image 253 coders/mac.c return(GetFirstImageInList(image)); image 13042 coders/magick.c *image; image 13057 coders/magick.c image=(Image *) NULL; image 13071 coders/magick.c image=BlobToImage(blob_info,blob,extent,exception); image 13073 coders/magick.c if (image == (Image *) NULL) image 13074 coders/magick.c return(image); image 13075 coders/magick.c return(GetFirstImageInList(image)); image 13221 coders/magick.c Image *image) image 13258 coders/magick.c assert(image != (Image *) NULL); image 13259 coders/magick.c assert(image->signature == MagickSignature); image 13260 coders/magick.c magick_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 13262 coders/magick.c ThrowWriterException(ResourceLimitError,image->exception.reason); image 13282 coders/magick.c blob=ImageToBlob(write_info,magick_image,&length,&image->exception); image 13289 coders/magick.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 13295 coders/magick.c (void) WriteBlobString(image,"/*\n"); image 13297 coders/magick.c image->filename, write_info->magick); image 13299 coders/magick.c (void) WriteBlobString(image,buffer); image 13300 coders/magick.c (void) WriteBlobString(image,"*/\n"); image 13301 coders/magick.c (void) WriteBlobString(image,"static unsigned char\n"); image 13302 coders/magick.c (void) WriteBlobString(image," MagickImage[] =\n"); image 13303 coders/magick.c (void) WriteBlobString(image," {\n"); image 13304 coders/magick.c (void) WriteBlobString(image," "); image 13309 coders/magick.c (void) WriteBlobString(image,buffer); image 13313 coders/magick.c (void) WriteBlobString(image,buffer); image 13317 coders/magick.c (void) WriteBlobString(image,"\n };\n"); image 13318 coders/magick.c (void) CloseBlob(image); image 103 coders/map.c *image; image 149 coders/map.c image=AcquireImage(image_info); image 150 coders/map.c if ((image->columns == 0) || (image->rows == 0)) image 152 coders/map.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 155 coders/map.c image=DestroyImageList(image); image 161 coders/map.c image->storage_class=PseudoClass; image 162 coders/map.c status=AcquireImageColormap(image,(size_t) image 163 coders/map.c (image->offset != 0 ? image->offset : 256)); image 166 coders/map.c depth=GetImageQuantumDepth(image,MagickTrue); image 168 coders/map.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* image 170 coders/map.c packet_size=(size_t) (image->colors > 256 ? 6UL : 3UL); image 171 coders/map.c colormap=(unsigned char *) AcquireQuantumMemory(image->colors,packet_size* image 179 coders/map.c count=ReadBlob(image,packet_size*image->colors,colormap); image 180 coders/map.c if (count != (ssize_t) (packet_size*image->colors)) image 183 coders/map.c if (image->depth <= 8) image 184 coders/map.c for (i=0; i < (ssize_t) image->colors; i++) image 186 coders/map.c image->colormap[i].red=ScaleCharToQuantum(*p++); image 187 coders/map.c image->colormap[i].green=ScaleCharToQuantum(*p++); image 188 coders/map.c image->colormap[i].blue=ScaleCharToQuantum(*p++); image 191 coders/map.c for (i=0; i < (ssize_t) image->colors; i++) image 195 coders/map.c image->colormap[i].red=(Quantum) quantum; image 198 coders/map.c image->colormap[i].green=(Quantum) quantum; image 201 coders/map.c image->colormap[i].blue=(Quantum) quantum; image 206 coders/map.c (void) CloseBlob(image); image 207 coders/map.c return(GetFirstImageInList(image)); image 209 coders/map.c status=SetImageExtent(image,image->columns,image->rows); image 212 coders/map.c InheritException(exception,&image->exception); image 213 coders/map.c return(DestroyImageList(image)); image 219 coders/map.c for (y=0; y < (ssize_t) image->rows; y++) image 222 coders/map.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 225 coders/map.c indexes=GetAuthenticIndexQueue(image); image 226 coders/map.c count=ReadBlob(image,(size_t) packet_size*image->columns,pixels); image 227 coders/map.c if (count != (ssize_t) (packet_size*image->columns)) image 229 coders/map.c for (x=0; x < (ssize_t) image->columns; x++) image 231 coders/map.c index=ConstrainColormapIndex(image,*p); image 233 coders/map.c if (image->colors > 256) image 235 coders/map.c index=ConstrainColormapIndex(image,((size_t) index << 8)+(*p)); image 239 coders/map.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 241 coders/map.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 245 coders/map.c if (y < (ssize_t) image->rows) image 247 coders/map.c image->filename); image 248 coders/map.c (void) CloseBlob(image); image 249 coders/map.c return(GetFirstImageInList(image)); image 343 coders/map.c static MagickBooleanType WriteMAPImage(const ImageInfo *image_info,Image *image) image 377 coders/map.c assert(image != (Image *) NULL); image 378 coders/map.c assert(image->signature == MagickSignature); image 379 coders/map.c if (image->debug != MagickFalse) image 380 coders/map.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 381 coders/map.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 384 coders/map.c (void) TransformImageColorspace(image,sRGBColorspace); image 388 coders/map.c if (IsPaletteImage(image,&image->exception) == MagickFalse) image 389 coders/map.c (void) SetImageType(image,PaletteType); image 390 coders/map.c depth=GetImageQuantumDepth(image,MagickTrue); image 392 coders/map.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* image 394 coders/map.c packet_size=(size_t) (image->colors > 256 ? 6UL : 3UL); image 395 coders/map.c colormap=(unsigned char *) AcquireQuantumMemory(image->colors,packet_size* image 404 coders/map.c if (image->depth <= 8) image 405 coders/map.c for (i=0; i < (ssize_t) image->colors; i++) image 407 coders/map.c *q++=(unsigned char) image->colormap[i].red; image 408 coders/map.c *q++=(unsigned char) image->colormap[i].green; image 409 coders/map.c *q++=(unsigned char) image->colormap[i].blue; image 412 coders/map.c for (i=0; i < (ssize_t) image->colors; i++) image 414 coders/map.c *q++=(unsigned char) ((size_t) image->colormap[i].red >> 8); image 415 coders/map.c *q++=(unsigned char) image->colormap[i].red; image 416 coders/map.c *q++=(unsigned char) ((size_t) image->colormap[i].green >> 8); image 417 coders/map.c *q++=(unsigned char) image->colormap[i].green; image 418 coders/map.c *q++=(unsigned char) ((size_t) image->colormap[i].blue >> 8); image 419 coders/map.c *q++=(unsigned char) image->colormap[i].blue; image 421 coders/map.c (void) WriteBlob(image,packet_size*image->colors,colormap); image 426 coders/map.c for (y=0; y < (ssize_t) image->rows; y++) image 428 coders/map.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 431 coders/map.c indexes=GetVirtualIndexQueue(image); image 433 coders/map.c for (x=0; x < (ssize_t) image->columns; x++) image 435 coders/map.c if (image->colors > 256) image 439 coders/map.c (void) WriteBlob(image,(size_t) (q-pixels),pixels); image 442 coders/map.c (void) CloseBlob(image); image 96 coders/mask.c *image; image 114 coders/mask.c image=ReadImage(read_info,exception); image 116 coders/mask.c if (image != (Image *) NULL) image 121 coders/mask.c status=GrayscaleImage(image,image->intensity); image 123 coders/mask.c image=DestroyImage(image); image 125 coders/mask.c return(GetFirstImageInList(image)); image 215 coders/mask.c Image *image) image 226 coders/mask.c if (image->mask == (Image *) NULL) image 228 coders/mask.c mask_image=CloneImage(image->mask,0,0,MagickTrue,&image->exception); image 232 coders/mask.c (void) CopyMagickString(mask_image->filename,image->filename,MaxTextExtent); image 235 coders/mask.c (void) SetImageInfo(write_info,1,&image->exception); image 181 coders/mat.c static void InsertComplexDoubleRow(double *p, int y, Image * image, double MinVal, image 196 coders/mat.c exception=(&image->exception); image 197 coders/mat.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 200 coders/mat.c for (x = 0; x < (ssize_t) image->columns; x++) image 241 coders/mat.c if (!SyncAuthenticPixels(image,exception)) image 247 coders/mat.c static void InsertComplexFloatRow(float *p, int y, Image * image, double MinVal, image 262 coders/mat.c exception=(&image->exception); image 263 coders/mat.c q = QueueAuthenticPixels(image, 0, y, image->columns, 1,exception); image 266 coders/mat.c for (x = 0; x < (ssize_t) image->columns; x++) image 307 coders/mat.c if (!SyncAuthenticPixels(image,exception)) image 316 coders/mat.c static void ReadBlobFloatsLSB(Image * image, size_t len, float *data) image 320 coders/mat.c *data++ = ReadBlobFloat(image); image 324 coders/mat.c (void) SeekBlob(image, len, SEEK_CUR); image 327 coders/mat.c static void ReadBlobFloatsMSB(Image * image, size_t len, float *data) image 331 coders/mat.c *data++ = ReadBlobFloat(image); image 335 coders/mat.c (void) SeekBlob(image, len, SEEK_CUR); image 339 coders/mat.c static void ReadBlobDoublesLSB(Image * image, size_t len, double *data) image 343 coders/mat.c *data++ = ReadBlobDouble(image); image 347 coders/mat.c (void) SeekBlob(image, len, SEEK_CUR); image 350 coders/mat.c static void ReadBlobDoublesMSB(Image * image, size_t len, double *data) image 354 coders/mat.c *data++ = ReadBlobDouble(image); image 358 coders/mat.c (void) SeekBlob(image, len, SEEK_CUR); image 362 coders/mat.c static void CalcMinMax(Image *image, int endian_indicator, int SizeX, int SizeY, size_t CellType, unsigned ldblk, void *BImgBuff, double *Min, double *Max) image 366 coders/mat.c void (*ReadBlobDoublesXXX)(Image * image, size_t len, double *data); image 367 coders/mat.c void (*ReadBlobFloatsXXX)(Image * image, size_t len, float *data); image 382 coders/mat.c filepos = TellBlob(image); /* Please note that file seeking occurs only in the case of doubles */ image 387 coders/mat.c ReadBlobDoublesXXX(image, ldblk, (double *)BImgBuff); image 404 coders/mat.c ReadBlobFloatsXXX(image, ldblk, (float *)BImgBuff); image 420 coders/mat.c (void) SeekBlob(image, filepos, SEEK_SET); image 606 coders/mat.c Image *image, *image2=NULL, image 629 coders/mat.c unsigned int (*ReadBlobXXXLong)(Image *image); image 630 coders/mat.c unsigned short (*ReadBlobXXXShort)(Image *image); image 631 coders/mat.c void (*ReadBlobDoublesXXX)(Image * image, size_t len, double *data); image 632 coders/mat.c void (*ReadBlobFloatsXXX)(Image * image, size_t len, float *data); image 644 coders/mat.c image = AcquireImage(image_info); image 646 coders/mat.c status = OpenBlob(image_info, image, ReadBinaryBlobMode, exception); image 649 coders/mat.c image=DestroyImageList(image); image 656 coders/mat.c if(ReadBlob(image,124,(unsigned char *) &MATLAB_HDR.identific) != 124) image 658 coders/mat.c MATLAB_HDR.Version = ReadBlobLSBShort(image); image 659 coders/mat.c if(ReadBlob(image,2,(unsigned char *) &MATLAB_HDR.EndianIndicator) != 2) image 670 coders/mat.c image->endian = LSBEndian; image 678 coders/mat.c image->endian = MSBEndian; image 686 coders/mat.c filepos = TellBlob(image); image 687 coders/mat.c while(!EOFBlob(image)) /* object parser loop */ image 690 coders/mat.c (void) SeekBlob(image,filepos,SEEK_SET); image 693 coders/mat.c MATLAB_HDR.DataType = ReadBlobXXXLong(image); image 694 coders/mat.c if(EOFBlob(image)) break; image 695 coders/mat.c MATLAB_HDR.ObjectSize = ReadBlobXXXLong(image); image 696 coders/mat.c if(EOFBlob(image)) break; image 699 coders/mat.c image2 = image; image 703 coders/mat.c image2 = DecompressBlock(image,MATLAB_HDR.ObjectSize,clone_info,exception); image 719 coders/mat.c if(image!=image2) image 792 coders/mat.c image->depth = 1; image 794 coders/mat.c image->depth = 8; /* Byte type cell */ image 800 coders/mat.c image->depth = 16; /* Word type cell */ image 806 coders/mat.c image->depth = 32; /* Dword type cell */ image 812 coders/mat.c image->depth = 64; /* Qword type cell */ image 817 coders/mat.c image->depth = 32; /* double type cell */ image 826 coders/mat.c image->depth = 64; /* double type cell */ image 841 coders/mat.c image->columns = MATLAB_HDR.SizeX; image 842 coders/mat.c image->rows = MATLAB_HDR.SizeY; image 843 coders/mat.c quantum_info=AcquireQuantumInfo(clone_info,image); image 847 coders/mat.c image->colors = one << image->depth; image 848 coders/mat.c if (image->columns == 0 || image->rows == 0) image 854 coders/mat.c SetImageColorspace(image,GRAYColorspace); image 855 coders/mat.c image->type=GrayscaleType; image 865 coders/mat.c size_t temp = image->columns; image 866 coders/mat.c image->columns = image->rows; image 867 coders/mat.c image->rows = temp; image 870 coders/mat.c status=SetImageExtent(image,image->columns,image->rows); image 873 coders/mat.c InheritException(exception,&image->exception); image 874 coders/mat.c return(DestroyImageList(image)); image 896 coders/mat.c q=GetAuthenticPixels(image,0,MATLAB_HDR.SizeY-i-1,image->columns,1,exception); image 912 coders/mat.c if(ImportQuantumPixels(image,(CacheView *) NULL,quantum_info,z2qtype[z],BImgBuff,exception) <= 0) image 922 coders/mat.c if(ImportQuantumPixels(image,(CacheView *) NULL,quantum_info,z2qtype[z],BImgBuff,exception) <= 0) image 931 coders/mat.c if (!SyncAuthenticPixels(image,exception)) image 957 coders/mat.c InsertComplexDoubleRow((double *)BImgBuff, i, image, MinVal, MaxVal); image 964 coders/mat.c InsertComplexFloatRow((float *)BImgBuff, i, image, MinVal, MaxVal); image 971 coders/mat.c image->type=GrayscaleType; image 972 coders/mat.c if (image->depth == 1) image 973 coders/mat.c image->type=BilevelType; image 975 coders/mat.c if(image2==image) image 979 coders/mat.c rotated_image = RotateImage(image, 90.0, exception); image 987 coders/mat.c rotated_image->blob = image->blob; image 988 coders/mat.c rotated_image->colors = image->colors; image 989 coders/mat.c image->blob = blob; image 990 coders/mat.c AppendImageToList(&image,rotated_image); image 991 coders/mat.c DeleteImageFromList(&image); image 997 coders/mat.c if(image2!=image) image 1012 coders/mat.c AcquireNextImage(image_info,image); image 1013 coders/mat.c if (image->next == (Image *) NULL) break; image 1014 coders/mat.c image=SyncNextImageInList(image); image 1015 coders/mat.c image->columns=image->rows=0; image 1016 coders/mat.c image->colors=0; image 1025 coders/mat.c if(image2==NULL) image2 = image; image 1030 coders/mat.c if(image2!=image) /* Does shadow temporary decompressed image exist? */ image 1048 coders/mat.c CloseBlob(image); image 1058 coders/mat.c p=image; image 1059 coders/mat.c image=NULL; image 1067 coders/mat.c image=p; image 1075 coders/mat.c for (p=image; p != (Image *) NULL; p=p->next) image 1091 coders/mat.c if(image==NULL) image 1093 coders/mat.c return (image); image 1187 coders/mat.c static MagickBooleanType WriteMATImage(const ImageInfo *image_info,Image *image) image 1217 coders/mat.c assert(image != (Image *) NULL); image 1218 coders/mat.c assert(image->signature == MagickSignature); image 1221 coders/mat.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1224 coders/mat.c image->depth=8; image 1242 coders/mat.c (void) WriteBlob(image,sizeof(MATLAB_HDR),(unsigned char *) MATLAB_HDR); image 1246 coders/mat.c (void) TransformImageColorspace(image,sRGBColorspace); image 1247 coders/mat.c is_gray = SetImageGray(image,&image->exception); image 1253 coders/mat.c DataSize = image->rows /*Y*/ * image->columns /*X*/; image 1257 coders/mat.c (void) WriteBlobLSBLong(image, miMATRIX); image 1258 coders/mat.c (void) WriteBlobLSBLong(image, (unsigned int) DataSize+padding+(is_gray ? 48 : 56)); image 1259 coders/mat.c (void) WriteBlobLSBLong(image, 0x6); /* 0x88 */ image 1260 coders/mat.c (void) WriteBlobLSBLong(image, 0x8); /* 0x8C */ image 1261 coders/mat.c (void) WriteBlobLSBLong(image, 0x6); /* 0x90 */ image 1262 coders/mat.c (void) WriteBlobLSBLong(image, 0); image 1263 coders/mat.c (void) WriteBlobLSBLong(image, 0x5); /* 0x98 */ image 1264 coders/mat.c (void) WriteBlobLSBLong(image, is_gray ? 0x8 : 0xC); /* 0x9C - DimFlag */ image 1265 coders/mat.c (void) WriteBlobLSBLong(image, (unsigned int) image->rows); /* x: 0xA0 */ image 1266 coders/mat.c (void) WriteBlobLSBLong(image, (unsigned int) image->columns); /* y: 0xA4 */ image 1269 coders/mat.c (void) WriteBlobLSBLong(image, 3); /* z: 0xA8 */ image 1270 coders/mat.c (void) WriteBlobLSBLong(image, 0); image 1272 coders/mat.c (void) WriteBlobLSBShort(image, 1); /* 0xB0 */ image 1273 coders/mat.c (void) WriteBlobLSBShort(image, 1); /* 0xB2 */ image 1274 coders/mat.c (void) WriteBlobLSBLong(image, 'M'); /* 0xB4 */ image 1275 coders/mat.c (void) WriteBlobLSBLong(image, 0x2); /* 0xB8 */ image 1276 coders/mat.c (void) WriteBlobLSBLong(image, (unsigned int) DataSize); /* 0xBC */ image 1281 coders/mat.c exception=(&image->exception); image 1282 coders/mat.c quantum_info=AcquireQuantumInfo(image_info,image); image 1288 coders/mat.c for (y=0; y < (ssize_t)image->columns; y++) image 1290 coders/mat.c p=GetVirtualPixels(image,y,0,1,image->rows,&image->exception); image 1293 coders/mat.c (void) ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 1295 coders/mat.c (void) WriteBlob(image,image->rows,pixels); image 1297 coders/mat.c if (!SyncAuthenticPixels(image,exception)) image 1300 coders/mat.c while(padding-->0) (void) WriteBlobByte(image,0); image 1302 coders/mat.c if (GetNextImageInList(image) == (Image *) NULL) image 1304 coders/mat.c image=SyncNextImageInList(image); image 1305 coders/mat.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1306 coders/mat.c GetImageListLength(image)); image 1310 coders/mat.c (void) CloseBlob(image); image 156 coders/matte.c Image *image) image 182 coders/matte.c if (image->matte == MagickFalse) image 184 coders/matte.c matte_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 185 coders/matte.c &image->exception); image 193 coders/matte.c exception=(&image->exception); image 194 coders/matte.c for (y=0; y < (ssize_t) image->rows; y++) image 196 coders/matte.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 200 coders/matte.c for (x=0; x < (ssize_t) image->columns; x++) image 211 coders/matte.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 212 coders/matte.c image->rows); image 219 coders/matte.c "MIFF:%s",image->filename); image 1144 coders/meta.c *image; image 1168 coders/meta.c image=AcquireImage(image_info); image 1169 coders/meta.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 1172 coders/meta.c image=DestroyImageList(image); image 1175 coders/meta.c image->columns=1; image 1176 coders/meta.c image->rows=1; image 1177 coders/meta.c if (SetImageBackgroundColor(image) == MagickFalse) image 1179 coders/meta.c InheritException(exception,&image->exception); image 1180 coders/meta.c image=DestroyImageList(image); image 1201 coders/meta.c length=(size_t) parse8BIM(image, buff); image 1207 coders/meta.c length=(size_t) parse8BIMW(image, buff); image 1212 coders/meta.c CopyBlob(image,buff); image 1217 coders/meta.c status=SetImageProfile(image,"8bim",profile); image 1267 coders/meta.c result=jpeg_embed(image,buff,iptc); image 1280 coders/meta.c CopyBlob(image,buff); image 1285 coders/meta.c status=SetImageProfile(image,name,profile); image 1306 coders/meta.c CopyBlob(image,buff); image 1311 coders/meta.c (void) SetImageProfile(image,"icc",profile); image 1329 coders/meta.c CopyBlob(image,buff); image 1334 coders/meta.c (void) SetImageProfile(image,"iptc",profile); image 1352 coders/meta.c CopyBlob(image,buff); image 1357 coders/meta.c (void) SetImageProfile(image,"xmp",profile); image 1363 coders/meta.c (void) CloseBlob(image); image 1364 coders/meta.c return(GetFirstImageInList(image)); image 2226 coders/meta.c Image *image) image 2242 coders/meta.c assert(image != (Image *) NULL); image 2243 coders/meta.c assert(image->signature == MagickSignature); image 2244 coders/meta.c if (image->debug != MagickFalse) image 2245 coders/meta.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2252 coders/meta.c profile=GetImageProfile(image,"8bim"); image 2255 coders/meta.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 2258 coders/meta.c (void) WriteBlob(image,GetStringInfoLength(profile), image 2260 coders/meta.c (void) CloseBlob(image); image 2271 coders/meta.c profile=GetImageProfile(image,"iptc"); image 2273 coders/meta.c profile=GetImageProfile(image,"8bim"); image 2276 coders/meta.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 2282 coders/meta.c (void) WriteBlob(image,length,info); image 2283 coders/meta.c (void) CloseBlob(image); image 2291 coders/meta.c profile=GetImageProfile(image,"8bim"); image 2294 coders/meta.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 2302 coders/meta.c format8BIM(buff,image); image 2305 coders/meta.c (void) CloseBlob(image); image 2318 coders/meta.c profile=GetImageProfile(image,"8bim"); image 2326 coders/meta.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 2333 coders/meta.c formatIPTC(buff,image); image 2336 coders/meta.c (void) CloseBlob(image); image 2348 coders/meta.c profile=GetImageProfile(image,image_info->magick); image 2351 coders/meta.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 2354 coders/meta.c (void) WriteBlob(image,GetStringInfoLength(profile), image 2356 coders/meta.c (void) CloseBlob(image); image 2365 coders/meta.c profile=GetImageProfile(image,"icc"); image 2368 coders/meta.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 2371 coders/meta.c (void) WriteBlob(image,GetStringInfoLength(profile), image 2373 coders/meta.c (void) CloseBlob(image); image 189 coders/miff.c static void PushRunlengthPacket(Image *image,const unsigned char *pixels, image 196 coders/miff.c if (image->storage_class == PseudoClass) image 199 coders/miff.c switch (image->depth) image 203 coders/miff.c *index=ConstrainColormapIndex(image,((size_t) *p << 24) | image 210 coders/miff.c *index=ConstrainColormapIndex(image,(*p << 8) | *(p+1)); image 216 coders/miff.c *index=ConstrainColormapIndex(image,*p); image 221 coders/miff.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 222 coders/miff.c CorruptImageError,"ImageDepthNotSupported","`%s'",image->filename); image 224 coders/miff.c *pixel=image->colormap[(ssize_t) *index]; image 225 coders/miff.c switch (image->depth) image 232 coders/miff.c if (image->matte != MagickFalse) image 244 coders/miff.c if (image->matte != MagickFalse) image 247 coders/miff.c pixel->opacity=(Quantum) (quantum >> (image->depth- image 257 coders/miff.c if (image->matte != MagickFalse) image 260 coders/miff.c pixel->opacity=(Quantum) (quantum >> (image->depth- image 266 coders/miff.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 267 coders/miff.c CorruptImageError,"ImageDepthNotSupported","`%s'",image->filename); image 272 coders/miff.c switch (image->depth) image 283 coders/miff.c if (IsGrayColorspace(image->colorspace) == MagickFalse) image 290 coders/miff.c if (image->colorspace == CMYKColorspace) image 295 coders/miff.c if (image->matte != MagickFalse) image 308 coders/miff.c SetPixelRed(pixel,quantum >> (image->depth-MAGICKCORE_QUANTUM_DEPTH)); image 311 coders/miff.c if (IsGrayColorspace(image->colorspace) == MagickFalse) image 314 coders/miff.c SetPixelGreen(pixel,quantum >> (image->depth- image 317 coders/miff.c SetPixelBlue(pixel,quantum >> (image->depth- image 320 coders/miff.c if (image->colorspace == CMYKColorspace) image 323 coders/miff.c SetPixelBlack(index,quantum >> (image->depth- image 326 coders/miff.c if (image->matte != MagickFalse) image 329 coders/miff.c SetPixelOpacity(pixel,quantum >> (image->depth- image 340 coders/miff.c SetPixelRed(pixel,quantum >> (image->depth-MAGICKCORE_QUANTUM_DEPTH)); image 343 coders/miff.c if (IsGrayColorspace(image->colorspace) == MagickFalse) image 346 coders/miff.c SetPixelGreen(pixel,quantum >> (image->depth- image 349 coders/miff.c SetPixelBlue(pixel,quantum >> (image->depth- image 352 coders/miff.c if (image->colorspace == CMYKColorspace) image 355 coders/miff.c SetPixelIndex(index,quantum >> (image->depth- image 358 coders/miff.c if (image->matte != MagickFalse) image 361 coders/miff.c SetPixelOpacity(pixel,quantum >> (image->depth- image 367 coders/miff.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 368 coders/miff.c CorruptImageError,"ImageDepthNotSupported","`%s'",image->filename); image 424 coders/miff.c *image; image 495 coders/miff.c image=AcquireImage(image_info); image 496 coders/miff.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 499 coders/miff.c image=DestroyImageList(image); image 505 coders/miff.c c=ReadBlobByte(image); image 522 coders/miff.c image->depth=8UL; image 523 coders/miff.c image->compression=NoCompression; image 541 coders/miff.c c=ReadBlobByte(image); image 543 coders/miff.c c=ReadBlobByte(image); image 562 coders/miff.c (void) SetImageProperty(image,"comment",comment); image 564 coders/miff.c c=ReadBlobByte(image); image 580 coders/miff.c c=ReadBlobByte(image); image 585 coders/miff.c c=ReadBlobByte(image); image 591 coders/miff.c c=ReadBlobByte(image); image 605 coders/miff.c c=ReadBlobByte(image); image 608 coders/miff.c c=ReadBlobByte(image); image 612 coders/miff.c c=ReadBlobByte(image); image 636 coders/miff.c (void) QueryColorDatabase(options,&image->background_color, image 643 coders/miff.c image->chromaticity.blue_primary.x=geometry_info.rho; image 644 coders/miff.c image->chromaticity.blue_primary.y=geometry_info.sigma; image 646 coders/miff.c image->chromaticity.blue_primary.y= image 647 coders/miff.c image->chromaticity.blue_primary.x; image 652 coders/miff.c (void) QueryColorDatabase(options,&image->border_color, image 656 coders/miff.c (void) SetImageProperty(image,keyword,options); image 671 coders/miff.c image->storage_class=(ClassType) storage_class; image 688 coders/miff.c image->colorspace=(ColorspaceType) colorspace; image 700 coders/miff.c image->compression=(CompressionType) compression; image 705 coders/miff.c image->columns=StringToUnsignedLong(options); image 708 coders/miff.c (void) SetImageProperty(image,keyword,options); image 716 coders/miff.c image->delay=StringToUnsignedLong(options); image 721 coders/miff.c image->depth=StringToUnsignedLong(options); image 733 coders/miff.c image->dispose=(DisposeType) dispose; image 736 coders/miff.c (void) SetImageProperty(image,keyword,options); image 751 coders/miff.c image->endian=(EndianType) endian; image 754 coders/miff.c (void) SetImageProperty(image,keyword,options); image 762 coders/miff.c image->gamma=StringToDouble(options,(char **) NULL); image 774 coders/miff.c image->gravity=(GravityType) gravity; image 780 coders/miff.c image->chromaticity.green_primary.x=geometry_info.rho; image 781 coders/miff.c image->chromaticity.green_primary.y=geometry_info.sigma; image 783 coders/miff.c image->chromaticity.green_primary.y= image 784 coders/miff.c image->chromaticity.green_primary.x; image 787 coders/miff.c (void) SetImageProperty(image,keyword,options); image 800 coders/miff.c image->iterations=StringToUnsignedLong(options); image 803 coders/miff.c (void) SetImageProperty(image,keyword,options); image 818 coders/miff.c image->matte=(MagickBooleanType) matte; image 823 coders/miff.c (void) QueryColorDatabase(options,&image->matte_color, image 829 coders/miff.c (void) CloneString(&image->montage,options); image 832 coders/miff.c (void) SetImageProperty(image,keyword,options); image 847 coders/miff.c image->matte=(MagickBooleanType) matte; image 859 coders/miff.c image->orientation=(OrientationType) orientation; image 862 coders/miff.c (void) SetImageProperty(image,keyword,options); image 874 coders/miff.c (void) ParseAbsoluteGeometry(geometry,&image->page); image 887 coders/miff.c image->intensity=(PixelIntensityMethod) intensity; image 905 coders/miff.c (void) SetImageProfile(image,keyword+8,profile); image 909 coders/miff.c (void) SetImageProperty(image,keyword,options); image 917 coders/miff.c image->quality=StringToUnsignedLong(options); image 933 coders/miff.c (void) SetImageProperty(image,keyword,options); image 942 coders/miff.c image->chromaticity.red_primary.x=geometry_info.rho; image 943 coders/miff.c image->chromaticity.red_primary.y=geometry_info.sigma; image 945 coders/miff.c image->chromaticity.red_primary.y= image 946 coders/miff.c image->chromaticity.red_primary.x; image 958 coders/miff.c image->rendering_intent=(RenderingIntent) rendering_intent; image 964 coders/miff.c image->x_resolution=geometry_info.rho; image 965 coders/miff.c image->y_resolution=geometry_info.sigma; image 967 coders/miff.c image->y_resolution=image->x_resolution; image 972 coders/miff.c image->rows=StringToUnsignedLong(options); image 975 coders/miff.c (void) SetImageProperty(image,keyword,options); image 983 coders/miff.c image->scene=StringToUnsignedLong(options); image 986 coders/miff.c (void) SetImageProperty(image,keyword,options); image 994 coders/miff.c image->ticks_per_second=(ssize_t) StringToLong(options); image 1003 coders/miff.c (void) ParseAbsoluteGeometry(geometry,&image->tile_offset); image 1016 coders/miff.c image->type=(ImageType) type; image 1019 coders/miff.c (void) SetImageProperty(image,keyword,options); image 1034 coders/miff.c image->units=(ResolutionType) units; image 1037 coders/miff.c (void) SetImageProperty(image,keyword,options); image 1048 coders/miff.c (void) SetImageProperty(image,keyword,options); image 1057 coders/miff.c image->chromaticity.white_point.x=geometry_info.rho; image 1058 coders/miff.c image->chromaticity.white_point.y=geometry_info.sigma; image 1060 coders/miff.c image->chromaticity.white_point.y= image 1061 coders/miff.c image->chromaticity.white_point.x; image 1064 coders/miff.c (void) SetImageProperty(image,keyword,options); image 1069 coders/miff.c (void) SetImageProperty(image,keyword,options); image 1075 coders/miff.c c=ReadBlobByte(image); image 1077 coders/miff.c c=ReadBlobByte(image); image 1080 coders/miff.c (void) ReadBlobByte(image); image 1085 coders/miff.c (image->storage_class == UndefinedClass) || image 1086 coders/miff.c (image->columns == 0) || (image->rows == 0)) image 1088 coders/miff.c if (image->montage != (char *) NULL) image 1097 coders/miff.c image->directory=AcquireString((char *) NULL); image 1098 coders/miff.c p=image->directory; image 1102 coders/miff.c if ((strlen(image->directory)+MaxTextExtent) >= length) image 1108 coders/miff.c image->directory=(char *) ResizeQuantumMemory(image->directory, image 1109 coders/miff.c length+MaxTextExtent,sizeof(*image->directory)); image 1110 coders/miff.c if (image->directory == (char *) NULL) image 1112 coders/miff.c p=image->directory+strlen(image->directory); image 1114 coders/miff.c c=ReadBlobByte(image); image 1133 coders/miff.c profile=GetImageProfile(image,name); image 1140 coders/miff.c (void) ReadBlob(image,GetStringInfoLength(profile),p); image 1146 coders/miff.c image->depth=GetImageQuantumDepth(image,MagickFalse); image 1147 coders/miff.c if (image->storage_class == PseudoClass) image 1152 coders/miff.c status=AcquireImageColormap(image,colors != 0 ? colors : 256); image 1166 coders/miff.c packet_size=(size_t) (3UL*image->depth/8UL); image 1167 coders/miff.c colormap=(unsigned char *) AcquireQuantumMemory(image->colors, image 1171 coders/miff.c (void) ReadBlob(image,packet_size*image->colors,colormap); image 1173 coders/miff.c switch (image->depth) image 1183 coders/miff.c for (i=0; i < (ssize_t) image->colors; i++) image 1186 coders/miff.c image->colormap[i].red=ScaleCharToQuantum(pixel); image 1188 coders/miff.c image->colormap[i].green=ScaleCharToQuantum(pixel); image 1190 coders/miff.c image->colormap[i].blue=ScaleCharToQuantum(pixel); image 1199 coders/miff.c for (i=0; i < (ssize_t) image->colors; i++) image 1202 coders/miff.c image->colormap[i].red=ScaleShortToQuantum(pixel); image 1204 coders/miff.c image->colormap[i].green=ScaleShortToQuantum(pixel); image 1206 coders/miff.c image->colormap[i].blue=ScaleShortToQuantum(pixel); image 1215 coders/miff.c for (i=0; i < (ssize_t) image->colors; i++) image 1218 coders/miff.c image->colormap[i].red=ScaleLongToQuantum(pixel); image 1220 coders/miff.c image->colormap[i].green=ScaleLongToQuantum(pixel); image 1222 coders/miff.c image->colormap[i].blue=ScaleLongToQuantum(pixel); image 1231 coders/miff.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 1233 coders/miff.c status=SetImageExtent(image,image->columns,image->rows); image 1236 coders/miff.c InheritException(exception,&image->exception); image 1237 coders/miff.c return(DestroyImageList(image)); image 1242 coders/miff.c quantum_info=AcquireQuantumInfo(image_info,image); image 1247 coders/miff.c status=SetQuantumFormat(image,quantum_info,quantum_format); image 1252 coders/miff.c if (image->storage_class == DirectClass) image 1254 coders/miff.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 1256 coders/miff.c if (image->matte != MagickFalse) image 1258 coders/miff.c if (image->colorspace == CMYKColorspace) image 1260 coders/miff.c if (image->compression == RLECompression) image 1263 coders/miff.c image->columns),LZMAMaxExtent(packet_size*image->columns)), image 1264 coders/miff.c ZipMaxExtent(packet_size*image->columns)); image 1273 coders/miff.c if (image->matte != MagickFalse) image 1275 coders/miff.c if (image->colorspace == CMYKColorspace) image 1278 coders/miff.c if (image->matte != MagickFalse) image 1281 coders/miff.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 1284 coders/miff.c if (image->matte != MagickFalse) image 1287 coders/miff.c if (image->storage_class == PseudoClass) image 1290 coders/miff.c if (image->matte != MagickFalse) image 1304 coders/miff.c switch (image->compression) image 1371 coders/miff.c for (y=0; y < (ssize_t) image->rows; y++) image 1384 coders/miff.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1387 coders/miff.c indexes=GetAuthenticIndexQueue(image); image 1388 coders/miff.c switch (image->compression) image 1394 coders/miff.c bzip_info.avail_out=(unsigned int) (packet_size*image->columns); image 1403 coders/miff.c length=(size_t) BZipMaxExtent(packet_size*image->columns); image 1405 coders/miff.c length=(size_t) ReadBlobMSBLong(image); image 1412 coders/miff.c bzip_info.avail_in=(unsigned int) ReadBlob(image,length, image 1424 coders/miff.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1433 coders/miff.c lzma_info.avail_out=packet_size*image->columns; image 1442 coders/miff.c length=(size_t) ReadBlobMSBLong(image); image 1449 coders/miff.c lzma_info.avail_in=(unsigned int) ReadBlob(image,length, image 1461 coders/miff.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1471 coders/miff.c zip_info.avail_out=(uInt) (packet_size*image->columns); image 1480 coders/miff.c length=(size_t) ZipMaxExtent(packet_size*image->columns); image 1482 coders/miff.c length=(size_t) ReadBlobMSBLong(image); image 1489 coders/miff.c zip_info.avail_in=(unsigned int) ReadBlob(image,length, image 1501 coders/miff.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1508 coders/miff.c for (x=0; x < (ssize_t) image->columns; x++) image 1512 coders/miff.c (void) ReadBlob(image,packet_size,pixels); image 1513 coders/miff.c PushRunlengthPacket(image,pixels,&length,&pixel,&index); image 1516 coders/miff.c if ((image->storage_class == PseudoClass) || image 1517 coders/miff.c (image->colorspace == CMYKColorspace)) image 1529 coders/miff.c (void) ReadBlob(image,packet_size*image->columns,pixels); image 1530 coders/miff.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1535 coders/miff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1538 coders/miff.c SetQuantumImageType(image,quantum_type); image 1539 coders/miff.c switch (image->compression) image 1552 coders/miff.c offset=SeekBlob(image,-((MagickOffsetType) bzip_info.avail_in), image 1588 coders/miff.c offset=SeekBlob(image,-((MagickOffsetType) zip_info.avail_in), image 1604 coders/miff.c if (((y != (ssize_t) image->rows)) || (status == MagickFalse)) image 1606 coders/miff.c image=DestroyImageList(image); image 1609 coders/miff.c if (EOFBlob(image) != MagickFalse) image 1612 coders/miff.c image->filename); image 1619 coders/miff.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 1623 coders/miff.c c=ReadBlobByte(image); image 1630 coders/miff.c AcquireNextImage(image_info,image); image 1631 coders/miff.c if (GetNextImageInList(image) == (Image *) NULL) image 1633 coders/miff.c image=DestroyImageList(image); image 1636 coders/miff.c image=SyncNextImageInList(image); image 1637 coders/miff.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 1638 coders/miff.c GetBlobSize(image)); image 1643 coders/miff.c (void) CloseBlob(image); image 1644 coders/miff.c return(GetFirstImageInList(image)); image 1753 coders/miff.c static unsigned char *PopRunlengthPacket(Image *image,unsigned char *pixels, image 1756 coders/miff.c if (image->storage_class != DirectClass) image 1762 coders/miff.c switch (image->depth) image 1777 coders/miff.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1778 coders/miff.c CorruptImageError,"ImageDepthNotSupported","`%s'",image->filename); image 1780 coders/miff.c switch (image->depth) image 1787 coders/miff.c if (image->matte != MagickFalse) image 1799 coders/miff.c if (image->matte != MagickFalse) image 1811 coders/miff.c if (image->matte != MagickFalse) image 1819 coders/miff.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1820 coders/miff.c CorruptImageError,"ImageDepthNotSupported","`%s'",image->filename); image 1825 coders/miff.c switch (image->depth) image 1834 coders/miff.c if (IsGrayColorspace(image->colorspace) == MagickFalse) image 1841 coders/miff.c if (image->colorspace == CMYKColorspace) image 1846 coders/miff.c if (image->matte != MagickFalse) image 1860 coders/miff.c if (IsGrayColorspace(image->colorspace) == MagickFalse) image 1867 coders/miff.c if (image->colorspace == CMYKColorspace) image 1872 coders/miff.c if (image->matte != MagickFalse) image 1886 coders/miff.c if (IsGrayColorspace(image->colorspace) == MagickFalse) image 1893 coders/miff.c if (image->colorspace == CMYKColorspace) image 1898 coders/miff.c if (image->matte != MagickFalse) image 1906 coders/miff.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1907 coders/miff.c CorruptImageError,"ImageDepthNotSupported","`%s'",image->filename); image 1914 coders/miff.c Image *image) image 1983 coders/miff.c assert(image != (Image *) NULL); image 1984 coders/miff.c assert(image->signature == MagickSignature); image 1985 coders/miff.c if (image->debug != MagickFalse) image 1986 coders/miff.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1987 coders/miff.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1996 coders/miff.c if ((image->storage_class == PseudoClass) && image 1997 coders/miff.c (image->colors > (size_t) (GetQuantumRange(image->depth)+1))) image 1998 coders/miff.c (void) SetImageStorageClass(image,DirectClass); image 1999 coders/miff.c image->depth=image->depth <= 8 ? 8UL : image->depth <= 16 ? 16UL : image 2000 coders/miff.c image->depth <= 32 ? 32UL : 64UL; image 2001 coders/miff.c quantum_info=AcquireQuantumInfo(image_info,image); image 2004 coders/miff.c if ((image->storage_class != PseudoClass) && (image->depth >= 32) && image 2006 coders/miff.c (IsHighDynamicRangeImage(image,&image->exception) != MagickFalse)) image 2008 coders/miff.c status=SetQuantumFormat(image,quantum_info,FloatingPointQuantumFormat); image 2037 coders/miff.c if (image->storage_class == DirectClass) image 2039 coders/miff.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 2041 coders/miff.c if (image->matte != MagickFalse) image 2043 coders/miff.c if (image->colorspace == CMYKColorspace) image 2047 coders/miff.c length=MagickMax(BZipMaxExtent(packet_size*image->columns),ZipMaxExtent( image 2048 coders/miff.c packet_size*image->columns)); image 2059 coders/miff.c (void) WriteBlobString(image,"id=ImageMagick version=1.0\n"); image 2062 coders/miff.c MagickClassOptions,image->storage_class),(double) image->colors, image 2063 coders/miff.c CommandOptionToMnemonic(MagickBooleanOptions,(ssize_t) image->matte)); image 2064 coders/miff.c (void) WriteBlobString(image,buffer); image 2066 coders/miff.c "depth=%.20g\n",(double) image->columns,(double) image->rows,(double) image 2067 coders/miff.c image->depth); image 2068 coders/miff.c (void) WriteBlobString(image,buffer); image 2069 coders/miff.c if (image->type != UndefinedType) image 2072 coders/miff.c CommandOptionToMnemonic(MagickTypeOptions,image->type)); image 2073 coders/miff.c (void) WriteBlobString(image,buffer); image 2075 coders/miff.c if (image->colorspace != UndefinedColorspace) image 2078 coders/miff.c CommandOptionToMnemonic(MagickColorspaceOptions,image->colorspace)); image 2079 coders/miff.c (void) WriteBlobString(image,buffer); image 2081 coders/miff.c if (image->intensity != UndefinedPixelIntensityMethod) image 2085 coders/miff.c image->intensity)); image 2086 coders/miff.c (void) WriteBlobString(image,buffer); image 2088 coders/miff.c if (image->endian != UndefinedEndian) image 2091 coders/miff.c CommandOptionToMnemonic(MagickEndianOptions,image->endian)); image 2092 coders/miff.c (void) WriteBlobString(image,buffer); image 2098 coders/miff.c compression),(double) image->quality); image 2099 coders/miff.c (void) WriteBlobString(image,buffer); image 2101 coders/miff.c if (image->units != UndefinedResolution) image 2104 coders/miff.c CommandOptionToMnemonic(MagickResolutionOptions,image->units)); image 2105 coders/miff.c (void) WriteBlobString(image,buffer); image 2107 coders/miff.c if ((image->x_resolution != 0) || (image->y_resolution != 0)) image 2110 coders/miff.c "resolution=%gx%g\n",image->x_resolution,image->y_resolution); image 2111 coders/miff.c (void) WriteBlobString(image,buffer); image 2113 coders/miff.c if ((image->page.width != 0) || (image->page.height != 0)) image 2116 coders/miff.c "page=%.20gx%.20g%+.20g%+.20g\n",(double) image->page.width,(double) image 2117 coders/miff.c image->page.height,(double) image->page.x,(double) image->page.y); image 2118 coders/miff.c (void) WriteBlobString(image,buffer); image 2121 coders/miff.c if ((image->page.x != 0) || (image->page.y != 0)) image 2124 coders/miff.c (long) image->page.x,(long) image->page.y); image 2125 coders/miff.c (void) WriteBlobString(image,buffer); image 2127 coders/miff.c if ((image->tile_offset.x != 0) || (image->tile_offset.y != 0)) image 2130 coders/miff.c (long) image->tile_offset.x,(long) image->tile_offset.y); image 2131 coders/miff.c (void) WriteBlobString(image,buffer); image 2133 coders/miff.c if ((GetNextImageInList(image) != (Image *) NULL) || image 2134 coders/miff.c (GetPreviousImageInList(image) != (Image *) NULL)) image 2136 coders/miff.c if (image->scene == 0) image 2138 coders/miff.c "delay=%.20g ticks-per-second=%.20g\n",(double) image->iterations, image 2139 coders/miff.c (double) image->delay,(double) image->ticks_per_second); image 2143 coders/miff.c image->scene,(double) image->iterations,(double) image->delay, image 2144 coders/miff.c (double) image->ticks_per_second); image 2145 coders/miff.c (void) WriteBlobString(image,buffer); image 2149 coders/miff.c if (image->scene != 0) image 2152 coders/miff.c (double) image->scene); image 2153 coders/miff.c (void) WriteBlobString(image,buffer); image 2155 coders/miff.c if (image->iterations != 0) image 2158 coders/miff.c (double) image->iterations); image 2159 coders/miff.c (void) WriteBlobString(image,buffer); image 2161 coders/miff.c if (image->delay != 0) image 2164 coders/miff.c (double) image->delay); image 2165 coders/miff.c (void) WriteBlobString(image,buffer); image 2167 coders/miff.c if (image->ticks_per_second != UndefinedTicksPerSecond) image 2170 coders/miff.c "ticks-per-second=%.20g\n",(double) image->ticks_per_second); image 2171 coders/miff.c (void) WriteBlobString(image,buffer); image 2174 coders/miff.c if (image->gravity != UndefinedGravity) image 2177 coders/miff.c CommandOptionToMnemonic(MagickGravityOptions,image->gravity)); image 2178 coders/miff.c (void) WriteBlobString(image,buffer); image 2180 coders/miff.c if (image->dispose != UndefinedDispose) image 2183 coders/miff.c CommandOptionToMnemonic(MagickDisposeOptions,image->dispose)); image 2184 coders/miff.c (void) WriteBlobString(image,buffer); image 2186 coders/miff.c if (image->rendering_intent != UndefinedIntent) image 2190 coders/miff.c CommandOptionToMnemonic(MagickIntentOptions,image->rendering_intent)); image 2191 coders/miff.c (void) WriteBlobString(image,buffer); image 2193 coders/miff.c if (image->gamma != 0.0) image 2196 coders/miff.c image->gamma); image 2197 coders/miff.c (void) WriteBlobString(image,buffer); image 2199 coders/miff.c if (image->chromaticity.white_point.x != 0.0) image 2206 coders/miff.c image->chromaticity.red_primary.x,image->chromaticity.red_primary.y, image 2207 coders/miff.c image->chromaticity.green_primary.x, image 2208 coders/miff.c image->chromaticity.green_primary.y, image 2209 coders/miff.c image->chromaticity.blue_primary.x, image 2210 coders/miff.c image->chromaticity.blue_primary.y); image 2211 coders/miff.c (void) WriteBlobString(image,buffer); image 2213 coders/miff.c "white-point=%g,%g\n",image->chromaticity.white_point.x, image 2214 coders/miff.c image->chromaticity.white_point.y); image 2215 coders/miff.c (void) WriteBlobString(image,buffer); image 2217 coders/miff.c if (image->orientation != UndefinedOrientation) image 2220 coders/miff.c CommandOptionToMnemonic(MagickOrientationOptions,image->orientation)); image 2221 coders/miff.c (void) WriteBlobString(image,buffer); image 2223 coders/miff.c if (image->profiles != (void *) NULL) image 2234 coders/miff.c ResetImageProfileIterator(image); image 2235 coders/miff.c name=GetNextImageProfile(image); image 2238 coders/miff.c profile=GetImageProfile(image,name); image 2244 coders/miff.c (void) WriteBlobString(image,buffer); image 2246 coders/miff.c name=GetNextImageProfile(image); image 2249 coders/miff.c if (image->montage != (char *) NULL) image 2252 coders/miff.c image->montage); image 2253 coders/miff.c (void) WriteBlobString(image,buffer); image 2256 coders/miff.c (void) SetImageProperty(image,"quantum:format","floating-point"); image 2257 coders/miff.c ResetImagePropertyIterator(image); image 2258 coders/miff.c property=GetNextImageProperty(image); image 2262 coders/miff.c (void) WriteBlobString(image,buffer); image 2263 coders/miff.c value=GetImageProperty(image,property); image 2274 coders/miff.c (void) WriteBlob(image,length,(const unsigned char *) value); image 2277 coders/miff.c (void) WriteBlobByte(image,'{'); image 2279 coders/miff.c (void) WriteBlob(image,length,(const unsigned char *) value); image 2284 coders/miff.c (void) WriteBlobByte(image,'\\'); image 2285 coders/miff.c (void) WriteBlobByte(image,value[i]); image 2287 coders/miff.c (void) WriteBlobByte(image,'}'); image 2290 coders/miff.c (void) WriteBlobByte(image,'\n'); image 2291 coders/miff.c property=GetNextImageProperty(image); image 2293 coders/miff.c (void) WriteBlobString(image,"\f\n:\032"); image 2294 coders/miff.c if (image->montage != (char *) NULL) image 2299 coders/miff.c if (image->directory != (char *) NULL) image 2300 coders/miff.c (void) WriteBlob(image,strlen(image->directory),(unsigned char *) image 2301 coders/miff.c image->directory); image 2302 coders/miff.c (void) WriteBlobByte(image,'\0'); image 2304 coders/miff.c if (image->profiles != (void *) NULL) image 2315 coders/miff.c ResetImageProfileIterator(image); image 2316 coders/miff.c name=GetNextImageProfile(image); image 2319 coders/miff.c profile=GetImageProfile(image,name); image 2320 coders/miff.c (void) WriteBlob(image,GetStringInfoLength(profile), image 2322 coders/miff.c name=GetNextImageProfile(image); image 2325 coders/miff.c if (image->storage_class == PseudoClass) image 2338 coders/miff.c colormap=(unsigned char *) AcquireQuantumMemory(image->colors, image 2346 coders/miff.c for (i=0; i < (ssize_t) image->colors; i++) image 2357 coders/miff.c pixel=ScaleQuantumToLong(image->colormap[i].red); image 2359 coders/miff.c pixel=ScaleQuantumToLong(image->colormap[i].green); image 2361 coders/miff.c pixel=ScaleQuantumToLong(image->colormap[i].blue); image 2370 coders/miff.c pixel=ScaleQuantumToShort(image->colormap[i].red); image 2372 coders/miff.c pixel=ScaleQuantumToShort(image->colormap[i].green); image 2374 coders/miff.c pixel=ScaleQuantumToShort(image->colormap[i].blue); image 2383 coders/miff.c pixel=(unsigned char) ScaleQuantumToChar(image->colormap[i].red); image 2386 coders/miff.c image->colormap[i].green); image 2388 coders/miff.c pixel=(unsigned char) ScaleQuantumToChar(image->colormap[i].blue); image 2394 coders/miff.c (void) WriteBlob(image,packet_size*image->colors,colormap); image 2412 coders/miff.c code=BZ2_bzCompressInit(&bzip_info,(int) (image->quality == image 2413 coders/miff.c UndefinedCompressionQuality ? 7 : MagickMin(image->quality/10, image 2431 coders/miff.c code=lzma_easy_encoder(&lzma_info,image->quality/10,LZMA_CHECK_SHA256); image 2447 coders/miff.c code=deflateInit(&zip_info,(int) (image->quality == image 2448 coders/miff.c UndefinedCompressionQuality ? 7 : MagickMin(image->quality/10,9))); image 2457 coders/miff.c quantum_type=GetQuantumType(image,&image->exception); image 2459 coders/miff.c for (y=0; y < (ssize_t) image->rows; y++) image 2472 coders/miff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2475 coders/miff.c indexes=GetVirtualIndexQueue(image); image 2483 coders/miff.c bzip_info.avail_in=(unsigned int) (packet_size*image->columns); image 2484 coders/miff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 2485 coders/miff.c quantum_info,quantum_type,pixels,&image->exception); image 2493 coders/miff.c image->columns); image 2500 coders/miff.c (void) WriteBlobMSBLong(image,(unsigned int) length); image 2501 coders/miff.c (void) WriteBlob(image,length,compress_pixels); image 2511 coders/miff.c lzma_info.avail_in=packet_size*image->columns; image 2512 coders/miff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 2513 coders/miff.c quantum_info,quantum_type,pixels,&image->exception); image 2520 coders/miff.c lzma_info.avail_out=packet_size*image->columns; image 2527 coders/miff.c (void) WriteBlobMSBLong(image,(unsigned int) length); image 2528 coders/miff.c (void) WriteBlob(image,length,compress_pixels); image 2539 coders/miff.c zip_info.avail_in=(uInt) (packet_size*image->columns); image 2540 coders/miff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 2541 coders/miff.c quantum_info,quantum_type,pixels,&image->exception); image 2548 coders/miff.c zip_info.avail_out=(uInt) ZipMaxExtent(packet_size*image->columns); image 2555 coders/miff.c (void) WriteBlobMSBLong(image,(unsigned int) length); image 2556 coders/miff.c (void) WriteBlob(image,length,compress_pixels); image 2569 coders/miff.c for (x=0; x < (ssize_t) image->columns; x++) image 2571 coders/miff.c if ((length < 255) && (x < (ssize_t) (image->columns-1)) && image 2573 coders/miff.c ((image->matte == MagickFalse) || image 2581 coders/miff.c q=PopRunlengthPacket(image,q,length,pixel,index); image 2589 coders/miff.c q=PopRunlengthPacket(image,q,length,pixel,index); image 2590 coders/miff.c (void) WriteBlob(image,(size_t) (q-pixels),pixels); image 2595 coders/miff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 2596 coders/miff.c quantum_info,quantum_type,pixels,&image->exception); image 2597 coders/miff.c (void) WriteBlob(image,packet_size*image->columns,pixels); image 2601 coders/miff.c if (image->previous == (Image *) NULL) image 2603 coders/miff.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2604 coders/miff.c image->rows); image 2623 coders/miff.c image->columns); image 2628 coders/miff.c (void) WriteBlobMSBLong(image,(unsigned int) length); image 2629 coders/miff.c (void) WriteBlob(image,length,compress_pixels); image 2651 coders/miff.c lzma_info.avail_out=packet_size*image->columns; image 2656 coders/miff.c (void) WriteBlobMSBLong(image,(unsigned int) length); image 2657 coders/miff.c (void) WriteBlob(image,length,compress_pixels); image 2678 coders/miff.c zip_info.avail_out=(uInt) ZipMaxExtent(packet_size*image->columns); image 2683 coders/miff.c (void) WriteBlobMSBLong(image,(unsigned int) length); image 2684 coders/miff.c (void) WriteBlob(image,length,compress_pixels); image 2700 coders/miff.c if (GetNextImageInList(image) == (Image *) NULL) image 2702 coders/miff.c image=SyncNextImageInList(image); image 2703 coders/miff.c status=SetImageProgress(image,SaveImagesTag,scene++, image 2704 coders/miff.c GetImageListLength(image)); image 2708 coders/miff.c (void) CloseBlob(image); image 103 coders/mono.c *image; image 134 coders/mono.c image=AcquireImage(image_info); image 135 coders/mono.c if ((image->columns == 0) || (image->rows == 0)) image 137 coders/mono.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 140 coders/mono.c image=DestroyImageList(image); image 143 coders/mono.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 145 coders/mono.c image->filename); image 149 coders/mono.c image->depth=1; image 150 coders/mono.c if (AcquireImageColormap(image,2) == MagickFalse) image 154 coders/mono.c (void) CloseBlob(image); image 155 coders/mono.c return(GetFirstImageInList(image)); image 157 coders/mono.c status=SetImageExtent(image,image->columns,image->rows); image 160 coders/mono.c InheritException(exception,&image->exception); image 161 coders/mono.c return(DestroyImageList(image)); image 166 coders/mono.c for (y=0; y < (ssize_t) image->rows; y++) image 168 coders/mono.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 171 coders/mono.c indexes=GetAuthenticIndexQueue(image); image 174 coders/mono.c for (x=0; x < (ssize_t) image->columns; x++) image 177 coders/mono.c byte=(size_t) ReadBlobByte(image); image 187 coders/mono.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 189 coders/mono.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 190 coders/mono.c image->rows); image 194 coders/mono.c (void) SyncImage(image); image 195 coders/mono.c if (EOFBlob(image) != MagickFalse) image 197 coders/mono.c image->filename); image 198 coders/mono.c (void) CloseBlob(image); image 199 coders/mono.c return(GetFirstImageInList(image)); image 292 coders/mono.c Image *image) image 315 coders/mono.c assert(image != (Image *) NULL); image 316 coders/mono.c assert(image->signature == MagickSignature); image 317 coders/mono.c if (image->debug != MagickFalse) image 318 coders/mono.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 319 coders/mono.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 322 coders/mono.c (void) TransformImageColorspace(image,sRGBColorspace); image 326 coders/mono.c (void) SetImageType(image,BilevelType); image 327 coders/mono.c for (y=0; y < (ssize_t) image->rows; y++) image 329 coders/mono.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 334 coders/mono.c for (x=0; x < (ssize_t) image->columns; x++) image 337 coders/mono.c if (image->endian == LSBEndian) image 339 coders/mono.c if (GetPixelLuma(image,p) < (QuantumRange/2.0)) image 343 coders/mono.c if (GetPixelLuma(image,p) >= (QuantumRange/2.0)) image 348 coders/mono.c (void) WriteBlobByte(image,(unsigned char) byte); image 355 coders/mono.c (void) WriteBlobByte(image,(unsigned char) (byte >> (8-bit))); image 356 coders/mono.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 357 coders/mono.c image->rows); image 361 coders/mono.c (void) CloseBlob(image); image 160 coders/mpc.c *image; image 203 coders/mpc.c image=AcquireImage(image_info); image 204 coders/mpc.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 207 coders/mpc.c image=DestroyImageList(image); image 210 coders/mpc.c (void) CopyMagickString(cache_filename,image->filename,MaxTextExtent); image 212 coders/mpc.c c=ReadBlobByte(image); image 215 coders/mpc.c image=DestroyImage(image); image 230 coders/mpc.c image->depth=8; image 231 coders/mpc.c image->compression=NoCompression; image 249 coders/mpc.c c=ReadBlobByte(image); image 251 coders/mpc.c c=ReadBlobByte(image); image 270 coders/mpc.c (void) SetImageProperty(image,"comment",comment); image 272 coders/mpc.c c=ReadBlobByte(image); image 288 coders/mpc.c c=ReadBlobByte(image); image 293 coders/mpc.c c=ReadBlobByte(image); image 299 coders/mpc.c c=ReadBlobByte(image); image 313 coders/mpc.c c=ReadBlobByte(image); image 316 coders/mpc.c c=ReadBlobByte(image); image 320 coders/mpc.c c=ReadBlobByte(image); image 344 coders/mpc.c (void) QueryColorDatabase(options,&image->background_color, image 351 coders/mpc.c image->chromaticity.blue_primary.x=geometry_info.rho; image 352 coders/mpc.c image->chromaticity.blue_primary.y=geometry_info.sigma; image 354 coders/mpc.c image->chromaticity.blue_primary.y= image 355 coders/mpc.c image->chromaticity.blue_primary.x; image 360 coders/mpc.c (void) QueryColorDatabase(options,&image->border_color, image 364 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 379 coders/mpc.c image->storage_class=(ClassType) storage_class; image 384 coders/mpc.c image->colors=StringToUnsignedLong(options); image 396 coders/mpc.c image->colorspace=(ColorspaceType) colorspace; image 408 coders/mpc.c image->compression=(CompressionType) compression; image 413 coders/mpc.c image->columns=StringToUnsignedLong(options); image 416 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 424 coders/mpc.c image->delay=StringToUnsignedLong(options); image 429 coders/mpc.c image->depth=StringToUnsignedLong(options); image 441 coders/mpc.c image->dispose=(DisposeType) dispose; image 444 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 459 coders/mpc.c image->endian=(EndianType) endian; image 464 coders/mpc.c image->error.mean_error_per_pixel=StringToDouble(options, image 468 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 476 coders/mpc.c image->gamma=StringToDouble(options,(char **) NULL); image 482 coders/mpc.c image->chromaticity.green_primary.x=geometry_info.rho; image 483 coders/mpc.c image->chromaticity.green_primary.y=geometry_info.sigma; image 485 coders/mpc.c image->chromaticity.green_primary.y= image 486 coders/mpc.c image->chromaticity.green_primary.x; image 489 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 502 coders/mpc.c image->iterations=StringToUnsignedLong(options); image 505 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 525 coders/mpc.c image->matte=(MagickBooleanType) matte; image 530 coders/mpc.c (void) QueryColorDatabase(options,&image->matte_color, image 536 coders/mpc.c image->error.normalized_maximum_error=StringToDouble( image 542 coders/mpc.c image->error.normalized_mean_error=StringToDouble(options, image 548 coders/mpc.c (void) CloneString(&image->montage,options); image 551 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 566 coders/mpc.c image->matte=(MagickBooleanType) matte; image 578 coders/mpc.c image->orientation=(OrientationType) orientation; image 581 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 593 coders/mpc.c (void) ParseAbsoluteGeometry(geometry,&image->page); image 606 coders/mpc.c image->intensity=(PixelIntensityMethod) intensity; image 621 coders/mpc.c (void) SetImageProfile(image,keyword+8,profile); image 625 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 633 coders/mpc.c image->quality=StringToUnsignedLong(options); image 636 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 645 coders/mpc.c image->chromaticity.red_primary.x=geometry_info.rho; image 647 coders/mpc.c image->chromaticity.red_primary.y=geometry_info.sigma; image 659 coders/mpc.c image->rendering_intent=(RenderingIntent) rendering_intent; image 665 coders/mpc.c image->x_resolution=geometry_info.rho; image 666 coders/mpc.c image->y_resolution=geometry_info.sigma; image 668 coders/mpc.c image->y_resolution=image->x_resolution; image 673 coders/mpc.c image->rows=StringToUnsignedLong(options); image 676 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 684 coders/mpc.c image->scene=StringToUnsignedLong(options); image 687 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 695 coders/mpc.c image->ticks_per_second=(ssize_t) StringToLong(options); image 704 coders/mpc.c (void) ParseAbsoluteGeometry(geometry,&image->tile_offset); image 716 coders/mpc.c image->type=(ImageType) type; image 719 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 734 coders/mpc.c image->units=(ResolutionType) units; image 737 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 746 coders/mpc.c image->chromaticity.white_point.x=geometry_info.rho; image 747 coders/mpc.c image->chromaticity.white_point.y=geometry_info.sigma; image 749 coders/mpc.c image->chromaticity.white_point.y= image 750 coders/mpc.c image->chromaticity.white_point.x; image 753 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 758 coders/mpc.c (void) SetImageProperty(image,keyword,options); image 764 coders/mpc.c c=ReadBlobByte(image); image 766 coders/mpc.c c=ReadBlobByte(image); image 769 coders/mpc.c (void) ReadBlobByte(image); image 774 coders/mpc.c (image->storage_class == UndefinedClass) || image 775 coders/mpc.c (image->compression == UndefinedCompression) || (image->columns == 0) || image 776 coders/mpc.c (image->rows == 0)) image 780 coders/mpc.c if (image->montage != (char *) NULL) image 789 coders/mpc.c image->directory=AcquireString((char *) NULL); image 790 coders/mpc.c p=image->directory; image 794 coders/mpc.c if ((strlen(image->directory)+MaxTextExtent) >= length) image 800 coders/mpc.c image->directory=(char *) ResizeQuantumMemory(image->directory, image 801 coders/mpc.c length+MaxTextExtent,sizeof(*image->directory)); image 802 coders/mpc.c if (image->directory == (char *) NULL) image 804 coders/mpc.c p=image->directory+strlen(image->directory); image 806 coders/mpc.c c=ReadBlobByte(image); image 828 coders/mpc.c profile=GetImageProfile(image,name); image 832 coders/mpc.c (void) ReadBlob(image,GetStringInfoLength(profile),p); image 838 coders/mpc.c depth=GetImageQuantumDepth(image,MagickFalse); image 839 coders/mpc.c if (image->storage_class == PseudoClass) image 844 coders/mpc.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 846 coders/mpc.c if (image->colors != 0) image 858 coders/mpc.c colormap=(unsigned char *) AcquireQuantumMemory(image->colors, image 862 coders/mpc.c count=ReadBlob(image,packet_size*image->colors,colormap); image 863 coders/mpc.c if (count != (ssize_t) (packet_size*image->colors)) image 877 coders/mpc.c for (i=0; i < (ssize_t) image->colors; i++) image 880 coders/mpc.c image->colormap[i].red=ScaleCharToQuantum(pixel); image 882 coders/mpc.c image->colormap[i].green=ScaleCharToQuantum(pixel); image 884 coders/mpc.c image->colormap[i].blue=ScaleCharToQuantum(pixel); image 893 coders/mpc.c for (i=0; i < (ssize_t) image->colors; i++) image 896 coders/mpc.c image->colormap[i].red=ScaleShortToQuantum(pixel); image 898 coders/mpc.c image->colormap[i].green=ScaleShortToQuantum(pixel); image 900 coders/mpc.c image->colormap[i].blue=ScaleShortToQuantum(pixel); image 909 coders/mpc.c for (i=0; i < (ssize_t) image->colors; i++) image 912 coders/mpc.c image->colormap[i].red=ScaleLongToQuantum(pixel); image 914 coders/mpc.c image->colormap[i].green=ScaleLongToQuantum(pixel); image 916 coders/mpc.c image->colormap[i].blue=ScaleLongToQuantum(pixel); image 924 coders/mpc.c if (EOFBlob(image) != MagickFalse) image 927 coders/mpc.c image->filename); image 931 coders/mpc.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 933 coders/mpc.c status=SetImageExtent(image,image->columns,image->rows); image 936 coders/mpc.c InheritException(exception,&image->exception); image 937 coders/mpc.c return(DestroyImageList(image)); image 942 coders/mpc.c status=PersistPixelCache(image,cache_filename,MagickTrue,&offset,exception); image 950 coders/mpc.c c=ReadBlobByte(image); image 957 coders/mpc.c AcquireNextImage(image_info,image); image 958 coders/mpc.c if (GetNextImageInList(image) == (Image *) NULL) image 960 coders/mpc.c image=DestroyImageList(image); image 963 coders/mpc.c image=SyncNextImageInList(image); image 964 coders/mpc.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 965 coders/mpc.c GetBlobSize(image)); image 970 coders/mpc.c (void) CloseBlob(image); image 971 coders/mpc.c return(GetFirstImageInList(image)); image 1066 coders/mpc.c static MagickBooleanType WriteMPCImage(const ImageInfo *image_info,Image *image) image 1095 coders/mpc.c assert(image != (Image *) NULL); image 1096 coders/mpc.c assert(image->signature == MagickSignature); image 1097 coders/mpc.c if (image->debug != MagickFalse) image 1098 coders/mpc.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1099 coders/mpc.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1102 coders/mpc.c (void) CopyMagickString(cache_filename,image->filename,MaxTextExtent); image 1112 coders/mpc.c depth=GetImageQuantumDepth(image,MagickTrue); image 1113 coders/mpc.c if ((image->storage_class == PseudoClass) && image 1114 coders/mpc.c (image->colors > (one << depth))) image 1115 coders/mpc.c image->storage_class=DirectClass; image 1116 coders/mpc.c (void) WriteBlobString(image,"id=MagickCache\n"); image 1119 coders/mpc.c (void) WriteBlobString(image,buffer); image 1122 coders/mpc.c MagickClassOptions,image->storage_class),(double) image->colors, image 1123 coders/mpc.c CommandOptionToMnemonic(MagickBooleanOptions,(ssize_t) image->matte)); image 1124 coders/mpc.c (void) WriteBlobString(image,buffer); image 1126 coders/mpc.c "columns=%.20g rows=%.20g depth=%.20g\n",(double) image->columns, image 1127 coders/mpc.c (double) image->rows,(double) image->depth); image 1128 coders/mpc.c (void) WriteBlobString(image,buffer); image 1129 coders/mpc.c if (image->type != UndefinedType) image 1132 coders/mpc.c CommandOptionToMnemonic(MagickTypeOptions,image->type)); image 1133 coders/mpc.c (void) WriteBlobString(image,buffer); image 1135 coders/mpc.c if (image->colorspace != UndefinedColorspace) image 1138 coders/mpc.c CommandOptionToMnemonic(MagickColorspaceOptions,image->colorspace)); image 1139 coders/mpc.c (void) WriteBlobString(image,buffer); image 1141 coders/mpc.c if (image->intensity != UndefinedPixelIntensityMethod) image 1145 coders/mpc.c image->intensity)); image 1146 coders/mpc.c (void) WriteBlobString(image,buffer); image 1148 coders/mpc.c if (image->endian != UndefinedEndian) image 1151 coders/mpc.c CommandOptionToMnemonic(MagickEndianOptions,image->endian)); image 1152 coders/mpc.c (void) WriteBlobString(image,buffer); image 1154 coders/mpc.c if (image->compression != UndefinedCompression) image 1158 coders/mpc.c MagickCompressOptions,image->compression),(double) image->quality); image 1159 coders/mpc.c (void) WriteBlobString(image,buffer); image 1161 coders/mpc.c if (image->units != UndefinedResolution) image 1164 coders/mpc.c CommandOptionToMnemonic(MagickResolutionOptions,image->units)); image 1165 coders/mpc.c (void) WriteBlobString(image,buffer); image 1167 coders/mpc.c if ((image->x_resolution != 0) || (image->y_resolution != 0)) image 1170 coders/mpc.c "resolution=%gx%g\n",image->x_resolution,image->y_resolution); image 1171 coders/mpc.c (void) WriteBlobString(image,buffer); image 1173 coders/mpc.c if ((image->page.width != 0) || (image->page.height != 0)) image 1176 coders/mpc.c "page=%.20gx%.20g%+.20g%+.20g\n",(double) image->page.width,(double) image 1177 coders/mpc.c image->page.height,(double) image->page.x,(double) image->page.y); image 1178 coders/mpc.c (void) WriteBlobString(image,buffer); image 1181 coders/mpc.c if ((image->page.x != 0) || (image->page.y != 0)) image 1184 coders/mpc.c (long) image->page.x,(long) image->page.y); image 1185 coders/mpc.c (void) WriteBlobString(image,buffer); image 1187 coders/mpc.c if ((image->tile_offset.x != 0) || (image->tile_offset.y != 0)) image 1190 coders/mpc.c (long) image->tile_offset.x,(long) image->tile_offset.y); image 1191 coders/mpc.c (void) WriteBlobString(image,buffer); image 1193 coders/mpc.c if ((GetNextImageInList(image) != (Image *) NULL) || image 1194 coders/mpc.c (GetPreviousImageInList(image) != (Image *) NULL)) image 1196 coders/mpc.c if (image->scene == 0) image 1199 coders/mpc.c image->iterations,(double) image->delay,(double) image 1200 coders/mpc.c image->ticks_per_second); image 1204 coders/mpc.c (double) image->scene,(double) image->iterations,(double) image 1205 coders/mpc.c image->delay,(double) image->ticks_per_second); image 1206 coders/mpc.c (void) WriteBlobString(image,buffer); image 1210 coders/mpc.c if (image->scene != 0) image 1213 coders/mpc.c (double) image->scene); image 1214 coders/mpc.c (void) WriteBlobString(image,buffer); image 1216 coders/mpc.c if (image->iterations != 0) image 1219 coders/mpc.c (double) image->iterations); image 1220 coders/mpc.c (void) WriteBlobString(image,buffer); image 1222 coders/mpc.c if (image->delay != 0) image 1225 coders/mpc.c (double) image->delay); image 1226 coders/mpc.c (void) WriteBlobString(image,buffer); image 1228 coders/mpc.c if (image->ticks_per_second != UndefinedTicksPerSecond) image 1231 coders/mpc.c "ticks-per-second=%.20g\n",(double) image->ticks_per_second); image 1232 coders/mpc.c (void) WriteBlobString(image,buffer); image 1235 coders/mpc.c if (image->gravity != UndefinedGravity) image 1238 coders/mpc.c CommandOptionToMnemonic(MagickGravityOptions,image->gravity)); image 1239 coders/mpc.c (void) WriteBlobString(image,buffer); image 1241 coders/mpc.c if (image->dispose != UndefinedDispose) image 1244 coders/mpc.c CommandOptionToMnemonic(MagickDisposeOptions,image->dispose)); image 1245 coders/mpc.c (void) WriteBlobString(image,buffer); image 1247 coders/mpc.c if (image->rendering_intent != UndefinedIntent) image 1251 coders/mpc.c image->rendering_intent)); image 1252 coders/mpc.c (void) WriteBlobString(image,buffer); image 1254 coders/mpc.c if (image->gamma != 0.0) image 1257 coders/mpc.c image->gamma); image 1258 coders/mpc.c (void) WriteBlobString(image,buffer); image 1260 coders/mpc.c if (image->chromaticity.white_point.x != 0.0) image 1267 coders/mpc.c image->chromaticity.red_primary.x,image->chromaticity.red_primary.y, image 1268 coders/mpc.c image->chromaticity.green_primary.x, image 1269 coders/mpc.c image->chromaticity.green_primary.y, image 1270 coders/mpc.c image->chromaticity.blue_primary.x, image 1271 coders/mpc.c image->chromaticity.blue_primary.y); image 1272 coders/mpc.c (void) WriteBlobString(image,buffer); image 1274 coders/mpc.c "white-point=%g,%g\n",image->chromaticity.white_point.x, image 1275 coders/mpc.c image->chromaticity.white_point.y); image 1276 coders/mpc.c (void) WriteBlobString(image,buffer); image 1278 coders/mpc.c if (image->orientation != UndefinedOrientation) image 1282 coders/mpc.c image->orientation)); image 1283 coders/mpc.c (void) WriteBlobString(image,buffer); image 1285 coders/mpc.c if (image->profiles != (void *) NULL) image 1296 coders/mpc.c ResetImageProfileIterator(image); image 1297 coders/mpc.c for (name=GetNextImageProfile(image); name != (const char *) NULL; ) image 1299 coders/mpc.c profile=GetImageProfile(image,name); image 1305 coders/mpc.c (void) WriteBlobString(image,buffer); image 1307 coders/mpc.c name=GetNextImageProfile(image); image 1310 coders/mpc.c if (image->montage != (char *) NULL) image 1313 coders/mpc.c image->montage); image 1314 coders/mpc.c (void) WriteBlobString(image,buffer); image 1316 coders/mpc.c ResetImagePropertyIterator(image); image 1317 coders/mpc.c property=GetNextImageProperty(image); image 1321 coders/mpc.c (void) WriteBlobString(image,buffer); image 1322 coders/mpc.c value=GetImageProperty(image,property); image 1333 coders/mpc.c (void) WriteBlob(image,length,(const unsigned char *) value); image 1336 coders/mpc.c (void) WriteBlobByte(image,'{'); image 1338 coders/mpc.c (void) WriteBlob(image,length,(const unsigned char *) value); image 1343 coders/mpc.c (void) WriteBlobByte(image,'\\'); image 1344 coders/mpc.c (void) WriteBlobByte(image,value[i]); image 1346 coders/mpc.c (void) WriteBlobByte(image,'}'); image 1349 coders/mpc.c (void) WriteBlobByte(image,'\n'); image 1350 coders/mpc.c property=GetNextImageProperty(image); image 1352 coders/mpc.c (void) WriteBlobString(image,"\f\n:\032"); image 1353 coders/mpc.c if (image->montage != (char *) NULL) image 1358 coders/mpc.c if (image->directory != (char *) NULL) image 1359 coders/mpc.c (void) WriteBlobString(image,image->directory); image 1360 coders/mpc.c (void) WriteBlobByte(image,'\0'); image 1362 coders/mpc.c if (image->profiles != 0) image 1373 coders/mpc.c ResetImageProfileIterator(image); image 1374 coders/mpc.c name=GetNextImageProfile(image); image 1377 coders/mpc.c profile=GetImageProfile(image,name); image 1378 coders/mpc.c (void) WriteBlob(image,GetStringInfoLength(profile), image 1380 coders/mpc.c name=GetNextImageProfile(image); image 1383 coders/mpc.c if (image->storage_class == PseudoClass) image 1396 coders/mpc.c colormap=(unsigned char *) AcquireQuantumMemory(image->colors, image 1404 coders/mpc.c for (i=0; i < (ssize_t) image->colors; i++) image 1415 coders/mpc.c pixel=ScaleQuantumToLong(image->colormap[i].red); image 1417 coders/mpc.c pixel=ScaleQuantumToLong(image->colormap[i].green); image 1419 coders/mpc.c pixel=ScaleQuantumToLong(image->colormap[i].blue); image 1428 coders/mpc.c pixel=ScaleQuantumToShort(image->colormap[i].red); image 1430 coders/mpc.c pixel=ScaleQuantumToShort(image->colormap[i].green); image 1432 coders/mpc.c pixel=ScaleQuantumToShort(image->colormap[i].blue); image 1441 coders/mpc.c pixel=(unsigned char) ScaleQuantumToChar(image->colormap[i].red); image 1444 coders/mpc.c image->colormap[i].green); image 1446 coders/mpc.c pixel=(unsigned char) ScaleQuantumToChar(image->colormap[i].blue); image 1452 coders/mpc.c (void) WriteBlob(image,packet_size*image->colors,colormap); image 1458 coders/mpc.c status=PersistPixelCache(image,cache_filename,MagickFalse,&offset, image 1459 coders/mpc.c &image->exception); image 1462 coders/mpc.c if (GetNextImageInList(image) == (Image *) NULL) image 1464 coders/mpc.c image=SyncNextImageInList(image); image 1465 coders/mpc.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1467 coders/mpc.c status=image->progress_monitor(SaveImagesTag,scene, image 1468 coders/mpc.c GetImageListLength(image),image->client_data); image 1474 coders/mpc.c (void) CloseBlob(image); image 70 coders/mpeg.c WriteMPEGImage(const ImageInfo *image_info,Image *image); image 173 coders/mpeg.c *image, image 192 coders/mpeg.c image=AcquireImage(image_info); image 193 coders/mpeg.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 196 coders/mpeg.c image=DestroyImageList(image); image 199 coders/mpeg.c (void) CloseBlob(image); image 200 coders/mpeg.c (void) DestroyImageList(image); image 205 coders/mpeg.c image=AcquireImage(image_info); image 206 coders/mpeg.c (void) InvokeDelegate(read_info,image,"mpeg:decode",(char *) NULL,exception); image 207 coders/mpeg.c image=DestroyImage(image); image 452 coders/mpeg.c Image *image) image 494 coders/mpeg.c assert(image != (Image *) NULL); image 495 coders/mpeg.c assert(image->signature == MagickSignature); image 496 coders/mpeg.c if (image->debug != MagickFalse) image 497 coders/mpeg.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 498 coders/mpeg.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 501 coders/mpeg.c (void) CloseBlob(image); image 505 coders/mpeg.c coalesce_image=CoalesceImages(image,&image->exception); image 554 coders/mpeg.c &image->exception); image 561 coders/mpeg.c status=BlobToFile(filename,blob,length,&image->exception); image 565 coders/mpeg.c if (image->debug != MagickFalse) image 592 coders/mpeg.c (void) CopyMagickString(coalesce_image->magick,image->magick,MaxTextExtent); image 594 coders/mpeg.c &image->exception); image 597 coders/mpeg.c status=CopyDelegateFile(write_info->filename,image->filename); image 617 coders/mpeg.c if (image->debug != MagickFalse) image 92 coders/mpr.c *image; image 101 coders/mpr.c image=(Image *) GetImageRegistry(ImageRegistryType,image_info->filename, image 103 coders/mpr.c if (image != (Image *) NULL) image 104 coders/mpr.c (void) SyncImageSettings(image_info,image); image 105 coders/mpr.c return(image); image 208 coders/mpr.c static MagickBooleanType WriteMPRImage(const ImageInfo *image_info,Image *image) image 215 coders/mpr.c assert(image != (Image *) NULL); image 216 coders/mpr.c assert(image->signature == MagickSignature); image 218 coders/mpr.c if (image->debug != MagickFalse) image 219 coders/mpr.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 220 coders/mpr.c status=SetImageRegistry(ImageRegistryType,image->filename,image, image 221 coders/mpr.c &image->exception); image 140 coders/msl.c **image; image 211 coders/msl.c *image; image 218 coders/msl.c image=(Image *) GetImageRegistry(ImageRegistryType,key,sans_exception); image 220 coders/msl.c if (image != (Image *) NULL) image 221 coders/msl.c return(image); image 224 coders/msl.c image=ReadImage(read_info,exception); image 226 coders/msl.c if (image != (Image *) NULL) image 227 coders/msl.c (void) SetImageRegistry(ImageRegistryType,key,image,exception); image 228 coders/msl.c return(image); image 550 coders/msl.c static void MSLPushImage(MSLInfo *msl_info,Image *image) image 555 coders/msl.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 565 coders/msl.c msl_info->image=(Image **) ResizeQuantumMemory(msl_info->image,(n+1), image 566 coders/msl.c sizeof(*msl_info->image)); image 570 coders/msl.c (msl_info->image == (Image **) NULL)) image 575 coders/msl.c if (image == (Image *) NULL) image 578 coders/msl.c msl_info->attributes[n]=CloneImage(image,0,0,MagickTrue,&image->exception); image 579 coders/msl.c msl_info->image[n]=(Image *) image; image 591 coders/msl.c if (msl_info->image[msl_info->n] != (Image *) NULL) image 592 coders/msl.c msl_info->image[msl_info->n]=DestroyImage(msl_info->image[msl_info->n]); image 631 coders/msl.c *image; image 685 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 742 coders/msl.c noise_image=AddNoiseImageChannel(msl_info->image[n],channel,noise, image 743 coders/msl.c &msl_info->image[n]->exception); image 746 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 747 coders/msl.c msl_info->image[n]=noise_image; image 758 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 882 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 1081 coders/msl.c (void) AnnotateImage(msl_info->image[n],draw_info); image 1093 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 1134 coders/msl.c append_image=AppendImages(msl_info->image[n],stack, image 1135 coders/msl.c &msl_info->image[n]->exception); image 1138 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 1139 coders/msl.c msl_info->image[n]=append_image; image 1156 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 1233 coders/msl.c blur_image=BlurImageChannel(msl_info->image[n],channel, image 1235 coders/msl.c &msl_info->image[n]->exception); image 1238 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 1239 coders/msl.c msl_info->image[n]=blur_image; image 1250 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 1256 coders/msl.c SetGeometry(msl_info->image[n],&geometry); image 1276 coders/msl.c msl_info->image[n]->compose=(CompositeOperator) option; image 1289 coders/msl.c &msl_info->image[n]->border_color,exception); image 1301 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 1343 coders/msl.c border_image=BorderImage(msl_info->image[n],&geometry, image 1344 coders/msl.c &msl_info->image[n]->exception); image 1347 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 1348 coders/msl.c msl_info->image[n]=border_image; image 1370 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 1376 coders/msl.c target=msl_info->image[n]->background_color; image 1393 coders/msl.c &msl_info->image[n]->exception); image 1420 coders/msl.c colorize_image=ColorizeImage(msl_info->image[n],opacity,target, image 1421 coders/msl.c &msl_info->image[n]->exception); image 1424 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 1425 coders/msl.c msl_info->image[n]=colorize_image; image 1433 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 1489 coders/msl.c newImage=CharcoalImage(msl_info->image[n],radius,sigma, image 1490 coders/msl.c &msl_info->image[n]->exception); image 1493 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 1494 coders/msl.c msl_info->image[n]=newImage; image 1506 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 1512 coders/msl.c SetGeometry(msl_info->image[n],&geometry); image 1527 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 1593 coders/msl.c chop_image=ChopImage(msl_info->image[n],&geometry, image 1594 coders/msl.c &msl_info->image[n]->exception); image 1597 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 1598 coders/msl.c msl_info->image[n]=chop_image; image 1612 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 1620 coders/msl.c SetGeometry(msl_info->image[n],&geometry); image 1655 coders/msl.c msl_info->image[n]->fuzz=StringToDouble(value, image 1668 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 1672 coders/msl.c (void) GetOneVirtualMagickPixel(msl_info->image[n], image 1686 coders/msl.c (void) GetOneVirtualMagickPixel(msl_info->image[n], image 1700 coders/msl.c (void) GetOneVirtualMagickPixel(msl_info->image[n], image 1716 coders/msl.c (void) FloodfillPaintImage(msl_info->image[n],DefaultChannels, image 1742 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 1787 coders/msl.c composite_image=CloneImage(msl_info->image[j],0,0, image 1801 coders/msl.c SetGeometry(msl_info->image[n],&geometry); image 1853 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 1857 coders/msl.c (void) GetOneVirtualPixel(msl_info->image[n],geometry.x, image 1868 coders/msl.c msl_info->image[n]->gravity=(GravityType) option; image 1899 coders/msl.c CopyOpacityCompositeOp,msl_info->image[j],0,0); image 1932 coders/msl.c (void) SetImageArtifact(msl_info->image[n], image 1992 coders/msl.c image=msl_info->image[n]; image 1995 coders/msl.c for (y=0; y < (ssize_t) image->rows; y+=(ssize_t) height) image 1996 coders/msl.c for (x=0; x < (ssize_t) image->columns; x+=(ssize_t) width) image 1999 coders/msl.c (void) CompositeImage(image,compose,rotate_image, image 2002 coders/msl.c (void) CompositeImage(image,compose, image 2019 coders/msl.c (void) GetOneVirtualPixel(msl_info->image[n],geometry.x, image 2033 coders/msl.c (void) GetOneVirtualPixel(msl_info->image[n],geometry.x, image 2049 coders/msl.c image=msl_info->image[n]; image 2054 coders/msl.c flags=ParseGravityGeometry(image,composite_geometry,&geometry, image 2057 coders/msl.c CompositeImageChannel(image,channel,compose,composite_image, image 2067 coders/msl.c CompositeImageChannel(image,channel,compose,rotate_image, image 2082 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2123 coders/msl.c (void) ContrastImage(msl_info->image[n],sharpen); image 2134 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2140 coders/msl.c SetGeometry(msl_info->image[n],&geometry); image 2155 coders/msl.c flags=ParseGravityGeometry(msl_info->image[n],value, image 2219 coders/msl.c crop_image=CropImage(msl_info->image[n],&geometry, image 2220 coders/msl.c &msl_info->image[n]->exception); image 2223 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 2224 coders/msl.c msl_info->image[n]=crop_image; image 2235 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2271 coders/msl.c (void) CycleColormapImage(msl_info->image[n],display); image 2287 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2302 coders/msl.c despeckle_image=DespeckleImage(msl_info->image[n], image 2303 coders/msl.c &msl_info->image[n]->exception); image 2306 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 2307 coders/msl.c msl_info->image[n]=despeckle_image; image 2312 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2335 coders/msl.c (void) DisplayImages(msl_info->image_info[n],msl_info->image[n]); image 2346 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2470 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 2690 coders/msl.c (void) DrawImage(msl_info->image[n],draw_info); image 2707 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2757 coders/msl.c edge_image=EdgeImage(msl_info->image[n],geometry_info.rho, image 2758 coders/msl.c &msl_info->image[n]->exception); image 2761 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 2762 coders/msl.c msl_info->image[n]=edge_image; image 2773 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2835 coders/msl.c emboss_image=EmbossImage(msl_info->image[n],geometry_info.rho, image 2836 coders/msl.c geometry_info.sigma,&msl_info->image[n]->exception); image 2839 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 2840 coders/msl.c msl_info->image[n]=emboss_image; image 2851 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2866 coders/msl.c enhance_image=EnhanceImage(msl_info->image[n], image 2867 coders/msl.c &msl_info->image[n]->exception); image 2870 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 2871 coders/msl.c msl_info->image[n]=enhance_image; image 2879 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2902 coders/msl.c (void) EqualizeImage(msl_info->image[n]); image 2912 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2926 coders/msl.c newImage=MergeImageLayers(msl_info->image[n],FlattenLayer, image 2927 coders/msl.c &msl_info->image[n]->exception); image 2930 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 2931 coders/msl.c msl_info->image[n]=newImage; image 2943 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2958 coders/msl.c flip_image=FlipImage(msl_info->image[n], image 2959 coders/msl.c &msl_info->image[n]->exception); image 2962 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 2963 coders/msl.c msl_info->image[n]=flip_image; image 2974 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 2989 coders/msl.c flop_image=FlopImage(msl_info->image[n], image 2990 coders/msl.c &msl_info->image[n]->exception); image 2993 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 2994 coders/msl.c msl_info->image[n]=flop_image; image 3008 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3015 coders/msl.c SetGeometry(msl_info->image[n],&geometry); image 3035 coders/msl.c msl_info->image[n]->compose=(CompositeOperator) option; image 3048 coders/msl.c &msl_info->image[n]->matte_color,exception); image 3060 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 3132 coders/msl.c frame_info.width=msl_info->image[n]->columns+2*frame_info.x; image 3133 coders/msl.c frame_info.height=msl_info->image[n]->rows+2*frame_info.y; image 3134 coders/msl.c frame_image=FrameImage(msl_info->image[n],&frame_info, image 3135 coders/msl.c &msl_info->image[n]->exception); image 3138 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 3139 coders/msl.c msl_info->image[n]=frame_image; image 3158 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3250 coders/msl.c (void) GammaImage(msl_info->image[n],gamma); image 3255 coders/msl.c (void) GammaImageChannel(msl_info->image[n],RedChannel,pixel.red); image 3260 coders/msl.c (void) GammaImageChannel(msl_info->image[n],GreenChannel, image 3266 coders/msl.c (void) GammaImageChannel(msl_info->image[n],BlueChannel, image 3275 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3296 coders/msl.c (double) msl_info->image[n]->rows); image 3308 coders/msl.c (double) msl_info->image[n]->columns); image 3364 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3365 coders/msl.c msl_info->image[n]=next_image; image 3374 coders/msl.c p=msl_info->image[n]; image 3402 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3452 coders/msl.c implode_image=ImplodeImage(msl_info->image[n],geometry_info.rho, image 3453 coders/msl.c &msl_info->image[n]->exception); image 3456 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 3457 coders/msl.c msl_info->image[n]=implode_image; image 3472 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3533 coders/msl.c LevelImage ( msl_info->image[n], level ); image 3549 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3564 coders/msl.c magnify_image=MagnifyImage(msl_info->image[n], image 3565 coders/msl.c &msl_info->image[n]->exception); image 3568 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 3569 coders/msl.c msl_info->image[n]=magnify_image; image 3586 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3633 coders/msl.c affinity_image=CloneImage(msl_info->image[j],0,0, image 3650 coders/msl.c (void) RemapImages(quantize_info,msl_info->image[n], image 3671 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3677 coders/msl.c SetGeometry(msl_info->image[n],&geometry); image 3706 coders/msl.c msl_info->image[n]->fuzz=StringToDouble(value, image 3719 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 3723 coders/msl.c (void) GetOneVirtualMagickPixel(msl_info->image[n], image 3749 coders/msl.c (void) GetOneVirtualMagickPixel(msl_info->image[n], image 3763 coders/msl.c (void) GetOneVirtualMagickPixel(msl_info->image[n], image 3782 coders/msl.c (void) FloodfillPaintImage(msl_info->image[n],OpacityChannel, image 3796 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3846 coders/msl.c median_image=StatisticImage(msl_info->image[n],MedianStatistic, image 3848 coders/msl.c &msl_info->image[n]->exception); image 3851 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 3852 coders/msl.c msl_info->image[n]=median_image; image 3863 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 3878 coders/msl.c minify_image=MinifyImage(msl_info->image[n], image 3879 coders/msl.c &msl_info->image[n]->exception); image 3882 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 3883 coders/msl.c msl_info->image[n]=minify_image; image 3896 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 4007 coders/msl.c (void) ModulateImage(msl_info->image[n],modulate); image 4023 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 4080 coders/msl.c (void) NegateImageChannel(msl_info->image[n],channel,gray); image 4088 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 4127 coders/msl.c (void) NormalizeImageChannel(msl_info->image[n],channel); image 4143 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 4193 coders/msl.c paint_image=OilPaintImage(msl_info->image[n],geometry_info.rho, image 4194 coders/msl.c &msl_info->image[n]->exception); image 4197 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 4198 coders/msl.c msl_info->image[n]=paint_image; image 4210 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 4253 coders/msl.c msl_info->image[n]->fuzz=StringToDouble(value, image 4269 coders/msl.c (void) OpaquePaintImageChannel(msl_info->image[n],channel, image 4312 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 4343 coders/msl.c (void) ProfileImage(msl_info->image[n],keyword, image 4351 coders/msl.c profile=GetImageProfile(msl_info->image[n],"iptc"); image 4389 coders/msl.c (void) ProfileImage(msl_info->image[n],name, image 4402 coders/msl.c (void) ProfileImage(msl_info->image[n],name, image 4424 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 4516 coders/msl.c (void) QuantizeImage(&quantize_info,msl_info->image[n]); image 4651 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 4853 coders/msl.c *image; image 4855 coders/msl.c image=msl_info->attributes[n]; image 4856 coders/msl.c FormatImageProperty(image,"msl:font-metrics.pixels_per_em.x", image 4858 coders/msl.c FormatImageProperty(image,"msl:font-metrics.pixels_per_em.y", image 4860 coders/msl.c FormatImageProperty(image,"msl:font-metrics.ascent","%g", image 4862 coders/msl.c FormatImageProperty(image,"msl:font-metrics.descent","%g", image 4864 coders/msl.c FormatImageProperty(image,"msl:font-metrics.width","%g", image 4866 coders/msl.c FormatImageProperty(image,"msl:font-metrics.height","%g", image 4868 coders/msl.c FormatImageProperty(image,"msl:font-metrics.max_advance","%g", image 4870 coders/msl.c FormatImageProperty(image,"msl:font-metrics.bounds.x1","%g", image 4872 coders/msl.c FormatImageProperty(image,"msl:font-metrics.bounds.y1","%g", image 4874 coders/msl.c FormatImageProperty(image,"msl:font-metrics.bounds.x2","%g", image 4876 coders/msl.c FormatImageProperty(image,"msl:font-metrics.bounds.y2","%g", image 4878 coders/msl.c FormatImageProperty(image,"msl:font-metrics.origin.x","%g", image 4880 coders/msl.c FormatImageProperty(image,"msl:font-metrics.origin.y","%g", image 4899 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 4906 coders/msl.c SetGeometry(msl_info->image[n],&geometry); image 4921 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 4980 coders/msl.c (void) RaiseImage(msl_info->image[n],&geometry,raise); image 5000 coders/msl.c *image; image 5004 coders/msl.c image=ReadImage(msl_info->image_info[n],exception); image 5006 coders/msl.c if (image == (Image *) NULL) image 5008 coders/msl.c AppendImageToList(&msl_info->image[n],image); image 5031 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5081 coders/msl.c paint_image=StatisticImage(msl_info->image[n],NonpeakStatistic, image 5083 coders/msl.c &msl_info->image[n]->exception); image 5086 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 5087 coders/msl.c msl_info->image[n]=paint_image; image 5093 coders/msl.c width=msl_info->image[n]->page.width; image 5094 coders/msl.c height=msl_info->image[n]->page.height; image 5095 coders/msl.c x=msl_info->image[n]->page.x; image 5096 coders/msl.c y=msl_info->image[n]->page.y; image 5098 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5145 coders/msl.c width=msl_info->image[n]->columns+geometry.x; image 5151 coders/msl.c height=msl_info->image[n]->rows+geometry.y; image 5211 coders/msl.c msl_info->image[n]->page.width=width; image 5212 coders/msl.c msl_info->image[n]->page.height=height; image 5213 coders/msl.c msl_info->image[n]->page.x=x; image 5214 coders/msl.c msl_info->image[n]->page.y=y; image 5223 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5244 coders/msl.c msl_info->image[n]->blur=StringToDouble(value, image 5309 coders/msl.c if (msl_info->image[n]->units == PixelsPerCentimeterResolution) image 5311 coders/msl.c width=(size_t) (x_resolution*msl_info->image[n]->columns/ image 5312 coders/msl.c (factor*(msl_info->image[n]->x_resolution == 0.0 ? DefaultResolution : image 5313 coders/msl.c msl_info->image[n]->x_resolution))+0.5); image 5314 coders/msl.c height=(size_t) (y_resolution*msl_info->image[n]->rows/ image 5315 coders/msl.c (factor*(msl_info->image[n]->y_resolution == 0.0 ? DefaultResolution : image 5316 coders/msl.c msl_info->image[n]->y_resolution))+0.5); image 5317 coders/msl.c resample_image=ResizeImage(msl_info->image[n],width,height, image 5318 coders/msl.c msl_info->image[n]->filter,msl_info->image[n]->blur, image 5319 coders/msl.c &msl_info->image[n]->exception); image 5322 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 5323 coders/msl.c msl_info->image[n]=resample_image; image 5341 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5380 coders/msl.c flags=ParseRegionGeometry(msl_info->image[n],value, image 5432 coders/msl.c resize_image=ResizeImage(msl_info->image[n],geometry.width, image 5433 coders/msl.c geometry.height,filter,blur,&msl_info->image[n]->exception); image 5436 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 5437 coders/msl.c msl_info->image[n]=resize_image; image 5448 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5454 coders/msl.c SetGeometry(msl_info->image[n],&geometry); image 5469 coders/msl.c flags=ParsePageGeometry(msl_info->image[n],value, image 5511 coders/msl.c roll_image=RollImage(msl_info->image[n],geometry.x,geometry.y, image 5512 coders/msl.c &msl_info->image[n]->exception); image 5515 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 5516 coders/msl.c msl_info->image[n]=roll_image; image 5522 coders/msl.c width=msl_info->image[n]->columns; image 5523 coders/msl.c height=msl_info->image[n]->rows; image 5526 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5589 coders/msl.c newImage=RollImage(msl_info->image[n], x, y, &msl_info->image[n]->exception); image 5592 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 5593 coders/msl.c msl_info->image[n]=newImage; image 5606 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5656 coders/msl.c rotate_image=RotateImage(msl_info->image[n],geometry_info.rho, image 5657 coders/msl.c &msl_info->image[n]->exception); image 5660 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 5661 coders/msl.c msl_info->image[n]=rotate_image; image 5669 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5710 coders/msl.c newImage=RotateImage(msl_info->image[n], degrees, &msl_info->image[n]->exception); image 5713 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 5714 coders/msl.c msl_info->image[n]=newImage; image 5732 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5752 coders/msl.c flags=ParseRegionGeometry(msl_info->image[n],value, image 5792 coders/msl.c sample_image=SampleImage(msl_info->image[n],geometry.width, image 5793 coders/msl.c geometry.height,&msl_info->image[n]->exception); image 5796 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 5797 coders/msl.c msl_info->image[n]=sample_image; image 5808 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5828 coders/msl.c flags=ParseRegionGeometry(msl_info->image[n],value, image 5868 coders/msl.c scale_image=ScaleImage(msl_info->image[n],geometry.width, image 5869 coders/msl.c geometry.height,&msl_info->image[n]->exception); image 5872 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 5873 coders/msl.c msl_info->image[n]=scale_image; image 5887 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5964 coders/msl.c (void) SegmentImage(msl_info->image[n],colorspace,verbose, image 5970 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 5998 coders/msl.c SetImageMask(msl_info->image[n],msl_info->image[j]); image 6014 coders/msl.c SetImageClipMask(msl_info->image[n],msl_info->image[j]); image 6030 coders/msl.c (void) TransformImageColorspace(msl_info->image[n], image 6035 coders/msl.c (void) SetImageProperty(msl_info->image[n],keyword,value); image 6044 coders/msl.c msl_info->image[n]->x_resolution=geometry_info.rho; image 6045 coders/msl.c msl_info->image[n]->y_resolution=geometry_info.sigma; image 6047 coders/msl.c msl_info->image[n]->y_resolution= image 6048 coders/msl.c msl_info->image[n]->x_resolution; image 6052 coders/msl.c (void) SetImageProperty(msl_info->image[n],keyword,value); image 6070 coders/msl.c (void) SetImageOpacity( msl_info->image[n], (Quantum) opac ); image 6074 coders/msl.c (void) SetImageProperty(msl_info->image[n],keyword,value); image 6095 coders/msl.c image_option=GetImageArtifact(msl_info->image[n],"page"); image 6111 coders/msl.c (void) SetImageProperty(msl_info->image[n],keyword,value); image 6117 coders/msl.c (void) SetImageProperty(msl_info->image[n],keyword,value); image 6135 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6209 coders/msl.c shade_image=ShadeImage(msl_info->image[n],gray,geometry_info.rho, image 6210 coders/msl.c geometry_info.sigma,&msl_info->image[n]->exception); image 6213 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 6214 coders/msl.c msl_info->image[n]=shade_image; image 6225 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6309 coders/msl.c shadow_image=ShadowImage(msl_info->image[n],geometry_info.rho, image 6311 coders/msl.c ceil(geometry_info.psi-0.5),&msl_info->image[n]->exception); image 6314 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 6315 coders/msl.c msl_info->image[n]=shadow_image; image 6323 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6379 coders/msl.c newImage=SharpenImage(msl_info->image[n],radius,sigma,&msl_info->image[n]->exception); image 6382 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 6383 coders/msl.c msl_info->image[n]=newImage; image 6393 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6464 coders/msl.c newImage=ShaveImage(msl_info->image[n], &rectInfo, image 6465 coders/msl.c &msl_info->image[n]->exception); image 6468 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 6469 coders/msl.c msl_info->image[n]=newImage; image 6482 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6503 coders/msl.c &msl_info->image[n]->background_color,exception); image 6557 coders/msl.c shear_image=ShearImage(msl_info->image[n],geometry_info.rho, image 6558 coders/msl.c geometry_info.sigma,&msl_info->image[n]->exception); image 6561 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 6562 coders/msl.c msl_info->image[n]=shear_image; image 6570 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6593 coders/msl.c (void) SignatureImage(msl_info->image[n]); image 6601 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6650 coders/msl.c (void) SolarizeImage(msl_info->image[n],geometry_info.rho); image 6661 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6711 coders/msl.c spread_image=SpreadImage(msl_info->image[n],geometry_info.rho, image 6712 coders/msl.c &msl_info->image[n]->exception); image 6715 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 6716 coders/msl.c msl_info->image[n]=spread_image; image 6724 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6750 coders/msl.c watermark = msl_info->image[j]; image 6775 coders/msl.c newImage=SteganoImage(msl_info->image[n], watermark, &msl_info->image[n]->exception); image 6778 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 6779 coders/msl.c msl_info->image[n]=newImage; image 6789 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6814 coders/msl.c stereoImage = msl_info->image[j]; image 6839 coders/msl.c newImage=StereoImage(msl_info->image[n], stereoImage, &msl_info->image[n]->exception); image 6842 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 6843 coders/msl.c msl_info->image[n]=newImage; image 6853 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6868 coders/msl.c (void) StripImage(msl_info->image[n]); image 6882 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6925 coders/msl.c p=GetImageFromList(msl_info->image[n],index); image 6926 coders/msl.c q=GetImageFromList(msl_info->image[n],swap_index); image 6935 coders/msl.c msl_info->image[n]=GetFirstImageInList(q); image 6946 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 6996 coders/msl.c swirl_image=SwirlImage(msl_info->image[n],geometry_info.rho, image 6997 coders/msl.c &msl_info->image[n]->exception); image 7000 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 7001 coders/msl.c msl_info->image[n]=swirl_image; image 7009 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 7032 coders/msl.c (void) SyncImage(msl_info->image[n]); image 7048 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 7077 coders/msl.c texture_image=CloneImage(msl_info->image[j],0,0, image 7092 coders/msl.c (void) TextureImage(msl_info->image[n],texture_image); image 7101 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 7138 coders/msl.c BilevelImageChannel(msl_info->image[n], image 7146 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 7169 coders/msl.c (void) TransparentPaintImage(msl_info->image[n],&target, image 7187 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 7206 coders/msl.c newImage=CropImage(msl_info->image[n],&rectInfo, &msl_info->image[n]->exception); image 7209 coders/msl.c msl_info->image[n]=DestroyImage(msl_info->image[n]); image 7210 coders/msl.c msl_info->image[n]=newImage; image 7221 coders/msl.c if (msl_info->image[n] == (Image *) NULL) image 7241 coders/msl.c (void) CopyMagickString(msl_info->image[n]->filename,value, image 7258 coders/msl.c (void) WriteImage(msl_info->image_info[n], msl_info->image[n]); image 7298 coders/msl.c (void) DeleteImageProperty(msl_info->image[n],"comment"); image 7302 coders/msl.c (void) SetImageProperty(msl_info->image[n],"comment", image 7319 coders/msl.c if (msl_info->image[msl_info->n] != (Image *) NULL) image 7320 coders/msl.c msl_info->image[msl_info->n]=DestroyImage(msl_info->image[msl_info->n]); image 7342 coders/msl.c (void) DeleteImageProperty(msl_info->image[n],"label"); image 7346 coders/msl.c (void) SetImageProperty(msl_info->image[n],"label", image 7636 coders/msl.c Image **image,ExceptionInfo *exception) image 7667 coders/msl.c assert(image != (Image **) NULL); image 7689 coders/msl.c msl_info.image=(Image **) AcquireMagickMemory(sizeof(*msl_info.image)); image 7695 coders/msl.c (msl_info.image == (Image **) NULL) || image 7705 coders/msl.c *msl_info.image=msl_image; image 7706 coders/msl.c if (*image != (Image *) NULL) image 7707 coders/msl.c MSLPushImage(&msl_info,*image); image 7758 coders/msl.c if (*image == (Image *) NULL) image 7759 coders/msl.c *image=(*msl_info.image); image 7760 coders/msl.c if ((*msl_info.image)->exception.severity != UndefinedException) image 7768 coders/msl.c *image; image 7780 coders/msl.c image=(Image *) NULL; image 7781 coders/msl.c (void) ProcessMSLScript(image_info,&image,exception); image 7782 coders/msl.c return(GetFirstImageInList(image)); image 7872 coders/msl.c *image; image 7893 coders/msl.c image=msl_info->image[n]; image 7918 coders/msl.c if (image != (Image *) NULL) image 7919 coders/msl.c (void) SetImageAlphaChannel(image,(AlphaChannelType) alpha); image 7968 coders/msl.c if (image == (Image *) NULL) image 7970 coders/msl.c image->bias=StringToDoubleInterval(value,(double) QuantumRange+1.0); image 7975 coders/msl.c if (image == (Image *) NULL) image 7978 coders/msl.c image->chromaticity.blue_primary.x=geometry_info.rho; image 7979 coders/msl.c image->chromaticity.blue_primary.y=geometry_info.sigma; image 7981 coders/msl.c image->chromaticity.blue_primary.y= image 7982 coders/msl.c image->chromaticity.blue_primary.x; image 8086 coders/msl.c if (image == (Image *) NULL) image 8088 coders/msl.c image->quality=StringToLong(value); image 8172 coders/msl.c static MagickBooleanType WriteMSLImage(const ImageInfo *image_info,Image *image) image 8176 coders/msl.c assert(image != (Image *) NULL); image 8177 coders/msl.c assert(image->signature == MagickSignature); image 8178 coders/msl.c if (image->debug != MagickFalse) image 8179 coders/msl.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 8180 coders/msl.c (void) ReferenceImage(image); image 8181 coders/msl.c (void) ProcessMSLScript(image_info,&image,&image->exception); image 101 coders/mtv.c *image; image 136 coders/mtv.c image=AcquireImage(image_info); image 137 coders/mtv.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 140 coders/mtv.c image=DestroyImageList(image); image 146 coders/mtv.c (void) ReadBlobString(image,buffer); image 155 coders/mtv.c image->columns=columns; image 156 coders/mtv.c image->rows=rows; image 157 coders/mtv.c image->depth=8; image 159 coders/mtv.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 161 coders/mtv.c status=SetImageExtent(image,image->columns,image->rows); image 164 coders/mtv.c InheritException(exception,&image->exception); image 165 coders/mtv.c return(DestroyImageList(image)); image 170 coders/mtv.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns, image 174 coders/mtv.c for (y=0; y < (ssize_t) image->rows; y++) image 176 coders/mtv.c count=(ssize_t) ReadBlob(image,(size_t) (3*image->columns),pixels); image 177 coders/mtv.c if (count != (ssize_t) (3*image->columns)) image 180 coders/mtv.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 183 coders/mtv.c for (x=0; x < (ssize_t) image->columns; x++) image 191 coders/mtv.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 193 coders/mtv.c if (image->previous == (Image *) NULL) image 195 coders/mtv.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 196 coders/mtv.c image->rows); image 202 coders/mtv.c if (EOFBlob(image) != MagickFalse) image 205 coders/mtv.c image->filename); image 212 coders/mtv.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 215 coders/mtv.c (void) ReadBlobString(image,buffer); image 222 coders/mtv.c AcquireNextImage(image_info,image); image 223 coders/mtv.c if (GetNextImageInList(image) == (Image *) NULL) image 225 coders/mtv.c image=DestroyImageList(image); image 228 coders/mtv.c image=SyncNextImageInList(image); image 229 coders/mtv.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 230 coders/mtv.c GetBlobSize(image)); image 235 coders/mtv.c (void) CloseBlob(image); image 236 coders/mtv.c return(GetFirstImageInList(image)); image 325 coders/mtv.c static MagickBooleanType WriteMTVImage(const ImageInfo *image_info,Image *image) image 356 coders/mtv.c assert(image != (Image *) NULL); image 357 coders/mtv.c assert(image->signature == MagickSignature); image 358 coders/mtv.c if (image->debug != MagickFalse) image 359 coders/mtv.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 360 coders/mtv.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 369 coders/mtv.c (void) TransformImageColorspace(image,sRGBColorspace); image 370 coders/mtv.c pixels=(unsigned char *) AcquireQuantumMemory(image->columns, image 378 coders/mtv.c image->columns,(double) image->rows); image 379 coders/mtv.c (void) WriteBlobString(image,buffer); image 380 coders/mtv.c for (y=0; y < (ssize_t) image->rows; y++) image 382 coders/mtv.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 386 coders/mtv.c for (x=0; x < (ssize_t) image->columns; x++) image 393 coders/mtv.c (void) WriteBlob(image,(size_t) (q-pixels),pixels); image 394 coders/mtv.c if (image->previous == (Image *) NULL) image 396 coders/mtv.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 397 coders/mtv.c image->rows); image 403 coders/mtv.c if (GetNextImageInList(image) == (Image *) NULL) image 405 coders/mtv.c image=SyncNextImageInList(image); image 406 coders/mtv.c status=SetImageProgress(image,SaveImagesTag,scene, image 407 coders/mtv.c GetImageListLength(image)); image 412 coders/mtv.c (void) CloseBlob(image); image 136 coders/mvg.c *image; image 151 coders/mvg.c image=AcquireImage(image_info); image 152 coders/mvg.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 155 coders/mvg.c image=DestroyImageList(image); image 158 coders/mvg.c if ((image->columns == 0) || (image->rows == 0)) image 172 coders/mvg.c while (ReadBlobString(image,primitive) != (char *) NULL) image 179 coders/mvg.c image->columns=(size_t) floor((bounds.x2-bounds.x1)+0.5); image 180 coders/mvg.c image->rows=(size_t) floor((bounds.y2-bounds.y1)+0.5); image 184 coders/mvg.c if ((image->columns == 0) || (image->rows == 0)) image 187 coders/mvg.c draw_info->affine.sx=image->x_resolution == 0.0 ? 1.0 : image->x_resolution/ image 189 coders/mvg.c draw_info->affine.sy=image->y_resolution == 0.0 ? 1.0 : image->y_resolution/ image 191 coders/mvg.c image->columns=(size_t) (draw_info->affine.sx*image->columns); image 192 coders/mvg.c image->rows=(size_t) (draw_info->affine.sy*image->rows); image 193 coders/mvg.c status=SetImageExtent(image,image->columns,image->rows); image 196 coders/mvg.c InheritException(exception,&image->exception); image 197 coders/mvg.c return(DestroyImageList(image)); image 199 coders/mvg.c if (SetImageBackgroundColor(image) == MagickFalse) image 201 coders/mvg.c InheritException(exception,&image->exception); image 202 coders/mvg.c image=DestroyImageList(image); image 208 coders/mvg.c if (GetBlobStreamData(image) == (unsigned char *) NULL) image 209 coders/mvg.c draw_info->primitive=FileToString(image->filename,~0UL,exception); image 212 coders/mvg.c draw_info->primitive=(char *) AcquireMagickMemory(GetBlobSize(image)+1); image 215 coders/mvg.c CopyMagickMemory(draw_info->primitive,GetBlobStreamData(image), image 216 coders/mvg.c GetBlobSize(image)); image 217 coders/mvg.c draw_info->primitive[GetBlobSize(image)]='\0'; image 220 coders/mvg.c (void) DrawImage(image,draw_info); image 222 coders/mvg.c (void) CloseBlob(image); image 223 coders/mvg.c return(GetFirstImageInList(image)); image 314 coders/mvg.c static MagickBooleanType WriteMVGImage(const ImageInfo *image_info,Image *image) image 327 coders/mvg.c assert(image != (Image *) NULL); image 328 coders/mvg.c assert(image->signature == MagickSignature); image 329 coders/mvg.c if (image->debug != MagickFalse) image 330 coders/mvg.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 331 coders/mvg.c value=GetImageArtifact(image,"MVG"); image 334 coders/mvg.c status=OpenBlob(image_info,image,WriteBlobMode,&image->exception); image 337 coders/mvg.c (void) WriteBlob(image,strlen(value),(const unsigned char *) value); image 338 coders/mvg.c (void) CloseBlob(image); image 100 coders/null.c *image; image 130 coders/null.c image=AcquireImage(image_info); image 131 coders/null.c if (image->columns == 0) image 132 coders/null.c image->columns=1; image 133 coders/null.c if (image->rows == 0) image 134 coders/null.c image->rows=1; image 135 coders/null.c status=SetImageExtent(image,image->columns,image->rows); image 138 coders/null.c InheritException(exception,&image->exception); image 139 coders/null.c return(DestroyImageList(image)); image 141 coders/null.c image->matte=MagickTrue; image 142 coders/null.c GetMagickPixelPacket(image,&background); image 144 coders/null.c if (image->colorspace == CMYKColorspace) image 146 coders/null.c for (y=0; y < (ssize_t) image->rows; y++) image 148 coders/null.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 151 coders/null.c indexes=GetAuthenticIndexQueue(image); image 152 coders/null.c for (x=0; x < (ssize_t) image->columns; x++) image 154 coders/null.c SetPixelPacket(image,&background,q,indexes); image 158 coders/null.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 161 coders/null.c return(GetFirstImageInList(image)); image 254 coders/null.c Image *image) image 258 coders/null.c assert(image != (Image *) NULL); image 259 coders/null.c assert(image->signature == MagickSignature); image 260 coders/null.c if (image->debug != MagickFalse) image 261 coders/null.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 103 coders/otb.c *image; image 138 coders/otb.c image=AcquireImage(image_info); image 139 coders/otb.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 142 coders/otb.c image=DestroyImageList(image); image 148 coders/otb.c info=(unsigned char) ReadBlobByte(image); image 151 coders/otb.c image->columns=(size_t) ReadBlobByte(image); image 152 coders/otb.c image->rows=(size_t) ReadBlobByte(image); image 156 coders/otb.c image->columns=(size_t) ReadBlobMSBShort(image); image 157 coders/otb.c image->rows=(size_t) ReadBlobMSBShort(image); image 159 coders/otb.c if ((image->columns == 0) || (image->rows == 0)) image 161 coders/otb.c depth=(unsigned char) ReadBlobByte(image); image 164 coders/otb.c if (AcquireImageColormap(image,2) == MagickFalse) image 168 coders/otb.c (void) CloseBlob(image); image 169 coders/otb.c return(GetFirstImageInList(image)); image 171 coders/otb.c status=SetImageExtent(image,image->columns,image->rows); image 174 coders/otb.c InheritException(exception,&image->exception); image 175 coders/otb.c return(DestroyImageList(image)); image 180 coders/otb.c for (y=0; y < (ssize_t) image->rows; y++) image 182 coders/otb.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 185 coders/otb.c indexes=GetAuthenticIndexQueue(image); image 188 coders/otb.c for (x=0; x < (ssize_t) image->columns; x++) image 192 coders/otb.c byte=ReadBlobByte(image); image 202 coders/otb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 204 coders/otb.c if (image->previous == (Image *) NULL) image 206 coders/otb.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 207 coders/otb.c image->rows); image 212 coders/otb.c (void) SyncImage(image); image 213 coders/otb.c if (EOFBlob(image) != MagickFalse) image 215 coders/otb.c image->filename); image 216 coders/otb.c (void) CloseBlob(image); image 217 coders/otb.c return(GetFirstImageInList(image)); image 308 coders/otb.c static MagickBooleanType WriteOTBImage(const ImageInfo *image_info,Image *image) image 335 coders/otb.c assert(image != (Image *) NULL); image 336 coders/otb.c assert(image->signature == MagickSignature); image 337 coders/otb.c if (image->debug != MagickFalse) image 338 coders/otb.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 339 coders/otb.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 342 coders/otb.c (void) TransformImageColorspace(image,sRGBColorspace); image 346 coders/otb.c (void) SetImageType(image,BilevelType); image 348 coders/otb.c if ((image->columns >= 256) || (image->rows >= 256)) image 350 coders/otb.c (void) WriteBlobByte(image,info); image 351 coders/otb.c if ((image->columns >= 256) || (image->rows >= 256)) image 353 coders/otb.c (void) WriteBlobMSBShort(image,(unsigned short) image->columns); image 354 coders/otb.c (void) WriteBlobMSBShort(image,(unsigned short) image->rows); image 358 coders/otb.c (void) WriteBlobByte(image,(unsigned char) image->columns); image 359 coders/otb.c (void) WriteBlobByte(image,(unsigned char) image->rows); image 361 coders/otb.c (void) WriteBlobByte(image,1); /* depth */ image 362 coders/otb.c for (y=0; y < (ssize_t) image->rows; y++) image 364 coders/otb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 369 coders/otb.c for (x=0; x < (ssize_t) image->columns; x++) image 371 coders/otb.c if (GetPixelLuma(image,p) < (QuantumRange/2.0)) image 376 coders/otb.c (void) WriteBlobByte(image,byte); image 383 coders/otb.c (void) WriteBlobByte(image,byte); image 384 coders/otb.c if (image->previous == (Image *) NULL) image 386 coders/otb.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 387 coders/otb.c image->rows); image 392 coders/otb.c (void) CloseBlob(image); image 236 coders/palm.c *image; image 301 coders/palm.c image=AcquireImage(image_info); image 302 coders/palm.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 305 coders/palm.c (void) DestroyImageList(image); image 311 coders/palm.c image->columns=ReadBlobMSBShort(image); image 312 coders/palm.c image->rows=ReadBlobMSBShort(image); image 313 coders/palm.c if (EOFBlob(image) != MagickFalse) image 315 coders/palm.c if ((image->columns == 0) || (image->rows == 0)) image 317 coders/palm.c status=SetImageExtent(image,image->columns,image->rows); image 320 coders/palm.c InheritException(exception,&image->exception); image 321 coders/palm.c return(DestroyImageList(image)); image 323 coders/palm.c bytes_per_row=ReadBlobMSBShort(image); image 324 coders/palm.c flags=ReadBlobMSBShort(image); image 325 coders/palm.c bits_per_pixel=(size_t) ReadBlobByte(image); image 330 coders/palm.c version=(size_t) ReadBlobByte(image); image 333 coders/palm.c nextDepthOffset=(size_t) ReadBlobMSBShort(image); image 334 coders/palm.c transparentIndex=(size_t) ReadBlobByte(image); image 335 coders/palm.c compressionType=(size_t) ReadBlobByte(image); image 340 coders/palm.c pad=ReadBlobMSBShort(image); image 347 coders/palm.c (AcquireImageColormap(image,one << bits_per_pixel) == MagickFalse)) image 349 coders/palm.c GetMagickPixelPacket(image,&transpix); image 352 coders/palm.c redbits=(size_t) ReadBlobByte(image); /* # of bits of red */ image 354 coders/palm.c greenbits=(size_t) ReadBlobByte(image); /* # of bits of green */ image 356 coders/palm.c bluebits=(size_t) ReadBlobByte(image); /* # of bits of blue */ image 358 coders/palm.c ReadBlobByte(image); /* reserved by Palm */ image 359 coders/palm.c ReadBlobByte(image); /* reserved by Palm */ image 360 coders/palm.c transpix.red=(MagickRealType) (QuantumRange*ReadBlobByte(image)/31); image 361 coders/palm.c transpix.green=(MagickRealType) (QuantumRange*ReadBlobByte(image)/63); image 362 coders/palm.c transpix.blue=(MagickRealType) (QuantumRange*ReadBlobByte(image)/31); image 371 coders/palm.c count=(ssize_t) ReadBlobMSBShort(image); image 374 coders/palm.c ReadBlobByte(image); image 375 coders/palm.c index=ConstrainColormapIndex(image,(size_t) (255-i)); image 376 coders/palm.c image->colormap[(int) index].red=ScaleCharToQuantum( image 377 coders/palm.c (unsigned char) ReadBlobByte(image)); image 378 coders/palm.c image->colormap[(int) index].green=ScaleCharToQuantum( image 379 coders/palm.c (unsigned char) ReadBlobByte(image)); image 380 coders/palm.c image->colormap[(int) index].blue=ScaleCharToQuantum( image 381 coders/palm.c (unsigned char) ReadBlobByte(image)); image 387 coders/palm.c index=ConstrainColormapIndex(image,(size_t) (255-i)); image 388 coders/palm.c image->colormap[(int) index].red=ScaleCharToQuantum( image 390 coders/palm.c image->colormap[(int) index].green=ScaleCharToQuantum( image 392 coders/palm.c image->colormap[(int) index].blue=ScaleCharToQuantum( image 397 coders/palm.c size=ReadBlobMSBShort(image); image 399 coders/palm.c image->storage_class=DirectClass; image 402 coders/palm.c image->storage_class=PseudoClass; image 403 coders/palm.c image->depth=8; image 407 coders/palm.c (void) CloseBlob(image); image 408 coders/palm.c return(image); image 410 coders/palm.c status=SetImageExtent(image,image->columns,image->rows); image 413 coders/palm.c InheritException(exception,&image->exception); image 414 coders/palm.c return(DestroyImageList(image)); image 417 coders/palm.c 2*image->columns),sizeof(*one_row)); image 423 coders/palm.c 2*image->columns),sizeof(*lastrow)); image 428 coders/palm.c for (y=0; y < (ssize_t) image->rows; y++) image 433 coders/palm.c image->compression=NoCompression; image 434 coders/palm.c count=ReadBlob(image,bytes_per_row,one_row); image 443 coders/palm.c image->compression=RLECompression; image 446 coders/palm.c count=(ssize_t) ReadBlobByte(image); image 450 coders/palm.c byte=(size_t) ReadBlobByte(image); image 463 coders/palm.c image->compression=FaxCompression; image 466 coders/palm.c count=(ssize_t) ReadBlobByte(image); image 473 coders/palm.c one_row[i+bit]=(unsigned char) ReadBlobByte(image); image 482 coders/palm.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 485 coders/palm.c indexes=GetAuthenticIndexQueue(image); image 488 coders/palm.c if (image->columns > (2*bytes_per_row)) image 490 coders/palm.c for (x=0; x < (ssize_t) image->columns; x++) image 504 coders/palm.c for (x=0; x < (ssize_t) image->columns; x++) image 510 coders/palm.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 520 coders/palm.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 523 coders/palm.c if (image->previous == (Image *) NULL) image 525 coders/palm.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 526 coders/palm.c image->rows); image 533 coders/palm.c IndexPacket index=ConstrainColormapIndex(image,(mask-transparentIndex)); image 535 coders/palm.c SetMagickPixelPacket(image,image->colormap+(ssize_t) index, image 537 coders/palm.c (void) TransparentPaintImage(image,&transpix,(Quantum) image 543 coders/palm.c if (EOFBlob(image) != MagickFalse) image 546 coders/palm.c image->filename); image 553 coders/palm.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 561 coders/palm.c if (totalOffset >= (MagickOffsetType) GetBlobSize(image)) image 564 coders/palm.c seekNextDepth=SeekBlob(image,totalOffset,SEEK_SET); image 570 coders/palm.c AcquireNextImage(image_info,image); image 571 coders/palm.c if (GetNextImageInList(image) == (Image *) NULL) image 573 coders/palm.c (void) DestroyImageList(image); image 576 coders/palm.c image=SyncNextImageInList(image); image 577 coders/palm.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 578 coders/palm.c GetBlobSize(image)); image 583 coders/palm.c (void) CloseBlob(image); image 584 coders/palm.c return(GetFirstImageInList(image)); image 674 coders/palm.c Image *image) image 736 coders/palm.c assert(image != (Image *) NULL); image 737 coders/palm.c assert(image->signature == MagickSignature); image 738 coders/palm.c if (image->debug != MagickFalse) image 739 coders/palm.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 741 coders/palm.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); image 757 coders/palm.c (void) TransformImageColorspace(image,sRGBColorspace); image 758 coders/palm.c count=GetNumberColors(image,NULL,exception); image 763 coders/palm.c (void) TransformImageColorspace(image,image->colorspace); image 766 coders/palm.c (void) TransformImageColorspace(image,GRAYColorspace); image 767 coders/palm.c (void) SetImageType(image,PaletteType); image 768 coders/palm.c (void) SortColormapByIntensity(image); image 770 coders/palm.c if ((image->storage_class == PseudoClass) && (image->colors > 256)) image 771 coders/palm.c (void) SetImageStorageClass(image,DirectClass); image 772 coders/palm.c if (image->storage_class == PseudoClass) image 776 coders/palm.c (void) WriteBlobMSBShort(image,(unsigned short) image->columns); /* width */ image 777 coders/palm.c (void) WriteBlobMSBShort(image,(unsigned short) image->rows); /* height */ image 778 coders/palm.c bytes_per_row=((image->columns+(16/bits_per_pixel-1))/(16/ image 780 coders/palm.c (void) WriteBlobMSBShort(image,(unsigned short) bytes_per_row); image 784 coders/palm.c (void) WriteBlobMSBShort(image, flags); image 785 coders/palm.c (void) WriteBlobByte(image,(unsigned char) bits_per_pixel); image 791 coders/palm.c (void) WriteBlobByte(image,version); image 792 coders/palm.c (void) WriteBlobMSBShort(image,0); /* nextDepthOffset */ image 793 coders/palm.c (void) WriteBlobByte(image,(unsigned char) transparentIndex); image 795 coders/palm.c (void) WriteBlobByte(image,PALM_COMPRESSION_RLE); image 798 coders/palm.c (void) WriteBlobByte(image,PALM_COMPRESSION_SCANLINE); image 800 coders/palm.c (void) WriteBlobByte(image,PALM_COMPRESSION_NONE); image 801 coders/palm.c (void) WriteBlobMSBShort(image,0); /* reserved */ image 805 coders/palm.c (void) WriteBlobByte(image,5); /* # of bits of red */ image 806 coders/palm.c (void) WriteBlobByte(image,6); /* # of bits of green */ image 807 coders/palm.c (void) WriteBlobByte(image,5); /* # of bits of blue */ image 808 coders/palm.c (void) WriteBlobByte(image,0); /* reserved by Palm */ image 809 coders/palm.c (void) WriteBlobMSBLong(image,0); /* no transparent color, YET */ image 816 coders/palm.c quantize_info->dither=IsPaletteImage(image,&image->exception); image 817 coders/palm.c quantize_info->number_colors=image->colors; image 818 coders/palm.c (void) QuantizeImage(quantize_info,image); image 819 coders/palm.c (void) WriteBlobMSBShort(image,(unsigned short) image->colors); image 820 coders/palm.c for (count = 0; count < image->colors; count++) image 822 coders/palm.c (void) WriteBlobByte(image,(unsigned char) count); image 823 coders/palm.c (void) WriteBlobByte(image,ScaleQuantumToChar( image 824 coders/palm.c image->colormap[count].red)); image 825 coders/palm.c (void) WriteBlobByte(image, image 826 coders/palm.c ScaleQuantumToChar(image->colormap[count].green)); image 827 coders/palm.c (void) WriteBlobByte(image, image 828 coders/palm.c ScaleQuantumToChar(image->colormap[count].blue)); image 841 coders/palm.c (void) RemapImage(quantize_info,image,affinity_image); image 842 coders/palm.c for (y=0; y < (ssize_t) image->rows; y++) image 844 coders/palm.c p=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 845 coders/palm.c indexes=GetAuthenticIndexQueue(image); image 846 coders/palm.c for (x=0; x < (ssize_t) image->columns; x++) image 847 coders/palm.c SetPixelIndex(indexes+x,FindColor(&image->colormap[ image 854 coders/palm.c (void) WriteBlobMSBShort(image,0); /* fill in size later */ image 864 coders/palm.c for (y=0; y < (ssize_t) image->rows; y++) image 868 coders/palm.c p=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 871 coders/palm.c indexes=GetAuthenticIndexQueue(image); image 874 coders/palm.c for (x=0; x < (ssize_t) image->columns; x++) image 897 coders/palm.c for (x=0; x < (ssize_t) image->columns; x++) image 903 coders/palm.c ((one << bits_per_pixel)-1)/MagickMax(1*image->colors-1,1)); image 914 coders/palm.c if ((image->columns % (8/bits_per_pixel)) != 0) image 927 coders/palm.c (void) WriteBlobByte(image,(unsigned char) count); image 928 coders/palm.c (void) WriteBlobByte(image,(unsigned char) byte); image 949 coders/palm.c (void) WriteBlobByte(image, byte); image 950 coders/palm.c (void) WriteBlob(image,tptr-tmpbuf,(unsigned char *) tmpbuf); image 955 coders/palm.c (void) WriteBlob(image,bytes_per_row,one_row); image 959 coders/palm.c offset=SeekBlob(image,currentOffset+6,SEEK_SET); image 960 coders/palm.c (void) WriteBlobMSBShort(image,flags); image 961 coders/palm.c offset=SeekBlob(image,currentOffset+12,SEEK_SET); image 962 coders/palm.c (void) WriteBlobByte(image,(unsigned char) transparentIndex); /* trans index */ image 966 coders/palm.c offset=SeekBlob(image,currentOffset+20,SEEK_SET); image 967 coders/palm.c (void) WriteBlobByte(image,0); /* reserved by Palm */ image 968 coders/palm.c (void) WriteBlobByte(image,(unsigned char) ((31*transpix.red)/QuantumRange)); image 969 coders/palm.c (void) WriteBlobByte(image,(unsigned char) ((63*transpix.green)/QuantumRange)); image 970 coders/palm.c (void) WriteBlobByte(image,(unsigned char) ((31*transpix.blue)/QuantumRange)); image 974 coders/palm.c offset=SeekBlob(image,currentOffset+offset,SEEK_SET); image 975 coders/palm.c (void) WriteBlobMSBShort(image,(unsigned short) (GetBlobSize(image)- image 982 coders/palm.c if (GetNextImageInList(image) == (Image *) NULL) image 985 coders/palm.c for (cc=(GetBlobSize(image)) % 4; cc > 0; cc--) image 986 coders/palm.c (void) WriteBlobByte(image,0); image 988 coders/palm.c (void) SeekBlob(image,currentOffset+10,SEEK_SET); image 989 coders/palm.c nextDepthOffset=(size_t) ((GetBlobSize(image)-currentOffset)/4); image 990 coders/palm.c (void) WriteBlobMSBShort(image,(unsigned short) nextDepthOffset); image 991 coders/palm.c currentOffset=(MagickOffsetType) GetBlobSize(image); image 992 coders/palm.c (void) SeekBlob(image,currentOffset,SEEK_SET); image 993 coders/palm.c image=SyncNextImageInList(image); image 994 coders/palm.c status=SetImageProgress(image,SaveImagesTag,scene++, image 995 coders/palm.c GetImageListLength(image)); image 1000 coders/palm.c (void) CloseBlob(image); image 124 coders/pango.c *image; image 181 coders/pango.c image=AcquireImage(image_info); image 182 coders/pango.c (void) ResetImagePage(image,"0x0+0+0"); image 188 coders/pango.c property=InterpretImageProperties(image_info,image,image_info->filename); image 191 coders/pango.c property=InterpretImageProperties(image_info,image,option+6); image 193 coders/pango.c property=InterpretImageProperties(image_info,image,option); image 194 coders/pango.c (void) SetImageProperty(image,"caption",property); image 196 coders/pango.c caption=ConstantString(GetImageProperty(image,"caption")); image 202 coders/pango.c image->x_resolution == 0.0 ? 90.0 : image->x_resolution); image 302 coders/pango.c (image->x_resolution == 0.0 ? 90.0 : image->x_resolution)*PANGO_SCALE+45)/ image 351 coders/pango.c if (image->columns == 0) image 354 coders/pango.c image->columns=(extent.x+extent.width+PANGO_SCALE/2)/PANGO_SCALE+2*page.x; image 358 coders/pango.c image->columns-=2*page.x; image 359 coders/pango.c pango_layout_set_width(layout,(int) ((PANGO_SCALE*image->columns* image 360 coders/pango.c (image->x_resolution == 0.0 ? 90.0 : image->x_resolution)+45.0)/90.0+ image 363 coders/pango.c if (image->rows == 0) image 366 coders/pango.c image->rows=(extent.y+extent.height+PANGO_SCALE/2)/PANGO_SCALE+2*page.y; image 370 coders/pango.c image->rows-=2*page.y; image 371 coders/pango.c pango_layout_set_height(layout,(int) ((PANGO_SCALE*image->rows* image 372 coders/pango.c (image->y_resolution == 0.0 ? 90.0 : image->y_resolution)+45.0)/90.0+ image 375 coders/pango.c status=SetImageExtent(image,image->columns,image->rows); image 378 coders/pango.c InheritException(exception,&image->exception); image 379 coders/pango.c return(DestroyImageList(image)); image 385 coders/pango.c image->columns); image 386 coders/pango.c pixel_info=AcquireVirtualMemory(image->rows,stride*sizeof(*pixels)); image 395 coders/pango.c (int) image->columns,(int) image->rows,(int) stride); image 412 coders/pango.c (void) SetImageBackgroundColor(image); image 414 coders/pango.c for (y=0; y < (ssize_t) image->rows; y++) image 422 coders/pango.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 425 coders/pango.c for (x=0; x < (ssize_t) image->columns; x++) image 446 coders/pango.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 448 coders/pango.c if (image->previous == (Image *) NULL) image 450 coders/pango.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 451 coders/pango.c image->rows); image 462 coders/pango.c return(GetFirstImageInList(image)); image 956 coders/pattern.c *image; image 968 coders/pattern.c image=(Image *) NULL; image 982 coders/pattern.c image=BlobToImage(blob_info,blob,extent,exception); image 991 coders/pattern.c pattern_image=image; image 992 coders/pattern.c image=AcquireImage(image_info); image 993 coders/pattern.c (void) TextureImage(image,pattern_image); image 997 coders/pattern.c return(GetFirstImageInList(image)); image 113 coders/pcd.c static MagickBooleanType DecodeImage(Image *image,unsigned char *luma, image 125 coders/pcd.c count=ReadBlob(image,0x800,buffer); \ image 179 coders/pcd.c assert(image != (const Image *) NULL); image 180 coders/pcd.c assert(image->signature == MagickSignature); image 181 coders/pcd.c if (image->debug != MagickFalse) image 182 coders/pcd.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 189 coders/pcd.c image->filename); image 198 coders/pcd.c for (i=0; i < (image->columns > 1536 ? 3 : 1); i++) image 208 coders/pcd.c image->filename); image 257 coders/pcd.c if (row == image->rows) image 266 coders/pcd.c q=luma+row*image->columns; image 267 coders/pcd.c count=(ssize_t) image->columns; image 272 coders/pcd.c q=chroma1+(row >> 1)*image->columns; image 273 coders/pcd.c count=(ssize_t) (image->columns >> 1); image 279 coders/pcd.c q=chroma2+(row >> 1)*image->columns; image 280 coders/pcd.c count=(ssize_t) (image->columns >> 1); image 287 coders/pcd.c image->filename); image 299 coders/pcd.c if ((row > image->rows) || (r == (PCDTable *) NULL)) image 301 coders/pcd.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 302 coders/pcd.c CorruptImageWarning,"SkipToSyncByte","`%s'",image->filename); image 321 coders/pcd.c for (i=0; i < (image->columns > 1536 ? 3 : 1); i++) image 388 coders/pcd.c static Image *OverviewImage(const ImageInfo *image_info,Image *image, image 403 coders/pcd.c for (p=image; p != (Image *) NULL; p=p->next) image 411 coders/pcd.c montage_image=MontageImageList(image_info,montage_info,image,exception); image 415 coders/pcd.c image=DestroyImage(image); image 474 coders/pcd.c *image; image 527 coders/pcd.c image=AcquireImage(image_info); image 528 coders/pcd.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 531 coders/pcd.c image=DestroyImageList(image); image 540 coders/pcd.c count=ReadBlob(image,3*0x800,header); image 553 coders/pcd.c if ((image->columns == 0) || (image->rows == 0)) image 561 coders/pcd.c if ((width >= image->columns) && (height >= image->rows)) image 581 coders/pcd.c image->columns=width; image 582 coders/pcd.c image->rows=height; image 583 coders/pcd.c image->depth=8; image 586 coders/pcd.c image->columns<<=1; image 587 coders/pcd.c image->rows<<=1; image 589 coders/pcd.c status=SetImageExtent(image,image->columns,image->rows); image 592 coders/pcd.c InheritException(exception,&image->exception); image 593 coders/pcd.c return(DestroyImageList(image)); image 598 coders/pcd.c number_pixels=(MagickSizeType) image->columns*image->rows; image 601 coders/pcd.c chroma1=(unsigned char *) AcquireQuantumMemory(image->columns+1UL,image->rows* image 603 coders/pcd.c chroma2=(unsigned char *) AcquireQuantumMemory(image->columns+1UL,image->rows* image 605 coders/pcd.c luma=(unsigned char *) AcquireQuantumMemory(image->columns+1UL,image->rows* image 623 coders/pcd.c (void) ReadBlobByte(image); image 640 coders/pcd.c progress_monitor=SetImageProgressMonitor(image, image 641 coders/pcd.c (MagickProgressMonitor) NULL,image->client_data); image 642 coders/pcd.c (void) FormatLocaleString(image->filename,MaxTextExtent, image 644 coders/pcd.c (void) FormatLocaleString(image->magick_filename,MaxTextExtent, image 646 coders/pcd.c image->scene=(size_t) j; image 647 coders/pcd.c image->columns=width; image 648 coders/pcd.c image->rows=height; image 649 coders/pcd.c image->depth=8; image 655 coders/pcd.c count=ReadBlob(image,width,yy); image 656 coders/pcd.c yy+=image->columns; image 657 coders/pcd.c count=ReadBlob(image,width,yy); image 658 coders/pcd.c yy+=image->columns; image 659 coders/pcd.c count=ReadBlob(image,width >> 1,c1); image 660 coders/pcd.c c1+=image->columns; image 661 coders/pcd.c count=ReadBlob(image,width >> 1,c2); image 662 coders/pcd.c c2+=image->columns; image 664 coders/pcd.c Upsample(image->columns >> 1,image->rows >> 1,image->columns,chroma1); image 665 coders/pcd.c Upsample(image->columns >> 1,image->rows >> 1,image->columns,chroma2); image 672 coders/pcd.c for (y=0; y < (ssize_t) image->rows; y++) image 674 coders/pcd.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 677 coders/pcd.c for (x=0; x < (ssize_t) image->columns; x++) image 684 coders/pcd.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 687 coders/pcd.c image->colorspace=YCCColorspace; image 689 coders/pcd.c SetImageColorspace(image,sRGBColorspace); image 695 coders/pcd.c AcquireNextImage(image_info,image); image 696 coders/pcd.c if (GetNextImageInList(image) == (Image *) NULL) image 698 coders/pcd.c image=DestroyImageList(image); image 701 coders/pcd.c image=SyncNextImageInList(image); image 703 coders/pcd.c (void) SetImageProgressMonitor(image,progress_monitor, image 704 coders/pcd.c image->client_data); image 705 coders/pcd.c if (image->previous == (Image *) NULL) image 707 coders/pcd.c status=SetImageProgress(image,LoadImageTag,j-1,number_images); image 715 coders/pcd.c image=GetFirstImageInList(image); image 716 coders/pcd.c overview_image=OverviewImage(image_info,image,exception); image 727 coders/pcd.c count=ReadBlob(image,width,yy); image 728 coders/pcd.c yy+=image->columns; image 729 coders/pcd.c count=ReadBlob(image,width,yy); image 730 coders/pcd.c yy+=image->columns; image 731 coders/pcd.c count=ReadBlob(image,width >> 1,c1); image 732 coders/pcd.c c1+=image->columns; image 733 coders/pcd.c count=ReadBlob(image,width >> 1,c2); image 734 coders/pcd.c c2+=image->columns; image 741 coders/pcd.c Upsample(768,512,image->columns,luma); image 742 coders/pcd.c Upsample(384,256,image->columns,chroma1); image 743 coders/pcd.c Upsample(384,256,image->columns,chroma2); image 744 coders/pcd.c image->rows=1024; image 746 coders/pcd.c (void) ReadBlobByte(image); image 747 coders/pcd.c status=DecodeImage(image,luma,chroma1,chroma2); image 753 coders/pcd.c Upsample(1536,1024,image->columns,luma); image 754 coders/pcd.c Upsample(768,512,image->columns,chroma1); image 755 coders/pcd.c Upsample(768,512,image->columns,chroma2); image 756 coders/pcd.c image->rows=2048; image 757 coders/pcd.c offset=TellBlob(image)/0x800+12; image 758 coders/pcd.c offset=SeekBlob(image,offset*0x800,SEEK_SET); image 759 coders/pcd.c status=DecodeImage(image,luma,chroma1,chroma2); image 765 coders/pcd.c Upsample(3072,2048,image->columns,luma); image 766 coders/pcd.c Upsample(1536,1024,image->columns,chroma1); image 767 coders/pcd.c Upsample(1536,1024,image->columns,chroma2); image 768 coders/pcd.c image->rows=4096; image 772 coders/pcd.c Upsample(image->columns >> 1,image->rows >> 1,image->columns,chroma1); image 773 coders/pcd.c Upsample(image->columns >> 1,image->rows >> 1,image->columns,chroma2); image 780 coders/pcd.c for (y=0; y < (ssize_t) image->rows; y++) image 782 coders/pcd.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 785 coders/pcd.c for (x=0; x < (ssize_t) image->columns; x++) image 792 coders/pcd.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 794 coders/pcd.c if (image->previous == (Image *) NULL) image 796 coders/pcd.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 797 coders/pcd.c image->rows); image 805 coders/pcd.c if (EOFBlob(image) != MagickFalse) image 807 coders/pcd.c image->filename); image 808 coders/pcd.c (void) CloseBlob(image); image 822 coders/pcd.c rotate_image=RotateImage(image,degrees,exception); image 825 coders/pcd.c image=DestroyImage(image); image 826 coders/pcd.c image=rotate_image; image 832 coders/pcd.c image->chromaticity.red_primary.x=0.6400f; image 833 coders/pcd.c image->chromaticity.red_primary.y=0.3300f; image 834 coders/pcd.c image->chromaticity.green_primary.x=0.3000f; image 835 coders/pcd.c image->chromaticity.green_primary.y=0.6000f; image 836 coders/pcd.c image->chromaticity.blue_primary.x=0.1500f; image 837 coders/pcd.c image->chromaticity.blue_primary.y=0.0600f; image 838 coders/pcd.c image->chromaticity.white_point.x=0.3127f; image 839 coders/pcd.c image->chromaticity.white_point.y=0.3290f; image 840 coders/pcd.c image->gamma=1.000f/2.200f; image 841 coders/pcd.c image->colorspace=YCCColorspace; image 843 coders/pcd.c SetImageColorspace(image,sRGBColorspace); image 844 coders/pcd.c return(GetFirstImageInList(image)); image 945 coders/pcd.c static MagickBooleanType WritePCDTile(Image *image,const char *page_geometry, image 978 coders/pcd.c SetGeometry(image,&geometry); image 985 coders/pcd.c tile_image=ResizeImage(image,geometry.width,geometry.height,TriangleFilter, image 986 coders/pcd.c 1.0,&image->exception); image 1008 coders/pcd.c bordered_image=BorderImage(tile_image,&border_info,&image->exception); image 1017 coders/pcd.c tile_image->rows/2,TriangleFilter,1.0,&image->exception); image 1031 coders/pcd.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelRed(p))); image 1040 coders/pcd.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelGreen(q))); image 1049 coders/pcd.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelBlue(q))); image 1052 coders/pcd.c status=SetImageProgress(image,SaveImageTag,y,tile_image->rows); image 1057 coders/pcd.c (void) WriteBlobByte(image,'\0'); image 1063 coders/pcd.c static MagickBooleanType WritePCDImage(const ImageInfo *image_info,Image *image) image 1076 coders/pcd.c assert(image != (Image *) NULL); image 1077 coders/pcd.c assert(image->signature == MagickSignature); image 1078 coders/pcd.c if (image->debug != MagickFalse) image 1079 coders/pcd.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1080 coders/pcd.c pcd_image=image; image 1081 coders/pcd.c if (image->columns < image->rows) image 1089 coders/pcd.c rotate_image=RotateImage(image,90.0,&image->exception); image 1097 coders/pcd.c status=OpenBlob(image_info,pcd_image,WriteBinaryBlobMode,&image->exception); image 1100 coders/pcd.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1129 coders/pcd.c if (image->columns < image->rows) image 1142 coders/pcd.c if (pcd_image != image) image 165 coders/pcl.c *image, image 208 coders/pcl.c image=AcquireImage(image_info); image 209 coders/pcl.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 212 coders/pcl.c image=DestroyImageList(image); image 220 coders/pcl.c image=DestroyImageList(image); image 228 coders/pcl.c if ((image->x_resolution == 0.0) || (image->y_resolution == 0.0)) image 237 coders/pcl.c image->x_resolution=geometry_info.rho; image 238 coders/pcl.c image->y_resolution=geometry_info.sigma; image 240 coders/pcl.c image->y_resolution=image->x_resolution; image 245 coders/pcl.c cmyk=image->colorspace == CMYKColorspace ? MagickTrue : MagickFalse; image 252 coders/pcl.c for (c=ReadBlobByte(image); c != EOF; c=ReadBlobByte(image)) image 304 coders/pcl.c (void) CloseBlob(image); image 330 coders/pcl.c image->x_resolution,image->y_resolution); image 331 coders/pcl.c page.width=(size_t) floor((double) page.width*image->x_resolution/delta.x+ image 333 coders/pcl.c page.height=(size_t) floor((double) page.height*image->y_resolution/delta.y+ image 337 coders/pcl.c image=DestroyImage(image); image 367 coders/pcl.c image=ReadImage(read_info,exception); image 371 coders/pcl.c if (image == (Image *) NULL) image 373 coders/pcl.c if (LocaleCompare(image->magick,"BMP") == 0) image 378 coders/pcl.c cmyk_image=ConsolidateCMYKImages(image,&image->exception); image 381 coders/pcl.c image=DestroyImageList(image); image 382 coders/pcl.c image=cmyk_image; image 387 coders/pcl.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 388 coders/pcl.c image->page=page; image 389 coders/pcl.c next_image=SyncNextImageInList(image); image 391 coders/pcl.c image=next_image; image 393 coders/pcl.c return(GetFirstImageInList(image)); image 659 coders/pcl.c static MagickBooleanType WritePCLImage(const ImageInfo *image_info,Image *image) image 697 coders/pcl.c assert(image != (Image *) NULL); image 698 coders/pcl.c assert(image->signature == MagickSignature); image 699 coders/pcl.c if (image->debug != MagickFalse) image 700 coders/pcl.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 701 coders/pcl.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 720 coders/pcl.c (void) TransformImageColorspace(image,sRGBColorspace); image 721 coders/pcl.c (void) WriteBlobString(image,"\033E"); /* printer reset */ image 722 coders/pcl.c (void) WriteBlobString(image,"\033*r3F"); /* set presentation mode */ image 724 coders/pcl.c (double) image->columns,(double) image->rows); image 725 coders/pcl.c (void) WriteBlobString(image,buffer); image 728 coders/pcl.c (void) WriteBlobString(image,buffer); image 729 coders/pcl.c (void) WriteBlobString(image,"\033&l0E"); /* top margin 0 */ image 730 coders/pcl.c if (SetImageMonochrome(image,&image->exception) != MagickFalse) image 738 coders/pcl.c if (image->storage_class == DirectClass) image 744 coders/pcl.c (void) WriteBlobString(image,"\033*v6W"); /* set color mode */ image 745 coders/pcl.c (void) WriteBlobByte(image,0); /* RGB */ image 746 coders/pcl.c (void) WriteBlobByte(image,3); /* direct by pixel */ image 747 coders/pcl.c (void) WriteBlobByte(image,0); /* bits per index (ignored) */ image 748 coders/pcl.c (void) WriteBlobByte(image,8); /* bits per red component */ image 749 coders/pcl.c (void) WriteBlobByte(image,8); /* bits per green component */ image 750 coders/pcl.c (void) WriteBlobByte(image,8); /* bits per blue component */ image 758 coders/pcl.c (void) WriteBlobString(image,"\033*v6W"); /* set color mode... */ image 759 coders/pcl.c (void) WriteBlobByte(image,0); /* RGB */ image 760 coders/pcl.c (void) WriteBlobByte(image,1); /* indexed by pixel */ image 761 coders/pcl.c (void) WriteBlobByte(image,bits_per_pixel); /* bits per index */ image 762 coders/pcl.c (void) WriteBlobByte(image,8); /* bits per red component */ image 763 coders/pcl.c (void) WriteBlobByte(image,8); /* bits per green component */ image 764 coders/pcl.c (void) WriteBlobByte(image,8); /* bits per blue component */ image 765 coders/pcl.c for (i=0; i < (ssize_t) image->colors; i++) image 769 coders/pcl.c ScaleQuantumToChar(image->colormap[i].red), image 770 coders/pcl.c ScaleQuantumToChar(image->colormap[i].green), image 771 coders/pcl.c ScaleQuantumToChar(image->colormap[i].blue),(double) i); image 772 coders/pcl.c (void) WriteBlobString(image,buffer); image 778 coders/pcl.c (void) WriteBlobString(image,buffer); image 784 coders/pcl.c (void) WriteBlobString(image,"\033*r3A"); image 786 coders/pcl.c (void) WriteBlobString(image,"\033*r1A"); /* start raster graphics */ image 787 coders/pcl.c (void) WriteBlobString(image,"\033*b0Y"); /* set y offset */ image 788 coders/pcl.c length=(image->columns*bits_per_pixel+7)/8; image 804 coders/pcl.c (void) WriteBlobString(image,buffer); image 819 coders/pcl.c (void) WriteBlobString(image,buffer); image 845 coders/pcl.c (void) WriteBlobString(image,buffer); image 849 coders/pcl.c for (y=0; y < (ssize_t) image->rows; y++) image 851 coders/pcl.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 854 coders/pcl.c indexes=GetAuthenticIndexQueue(image); image 869 coders/pcl.c for (x=0; x < (ssize_t) image->columns; x++) image 872 coders/pcl.c if (GetPixelLuma(image,p) < (QuantumRange/2.0)) image 892 coders/pcl.c for (x=0; x < (ssize_t) image->columns; x++) image 902 coders/pcl.c for (x=0; x < (ssize_t) image->columns; x++) image 918 coders/pcl.c (void) WriteBlobString(image,buffer); image 919 coders/pcl.c (void) WriteBlob(image,length,pixels); image 927 coders/pcl.c (void) WriteBlobString(image,buffer); image 928 coders/pcl.c (void) WriteBlob(image,packets,compress_pixels); image 940 coders/pcl.c (void) WriteBlobString(image,buffer); image 941 coders/pcl.c (void) WriteBlob(image,packets,compress_pixels); image 948 coders/pcl.c (void) WriteBlobString(image,"\033*rB"); /* end graphics */ image 969 coders/pcl.c if (GetNextImageInList(image) == (Image *) NULL) image 971 coders/pcl.c image=SyncNextImageInList(image); image 972 coders/pcl.c status=SetImageProgress(image,SaveImagesTag,scene++, image 973 coders/pcl.c GetImageListLength(image)); image 977 coders/pcl.c (void) WriteBlobString(image,"\033E"); image 978 coders/pcl.c (void) CloseBlob(image); image 212 coders/pcx.c *image; image 272 coders/pcx.c image=AcquireImage(image_info); image 273 coders/pcx.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 276 coders/pcx.c image=DestroyImageList(image); image 291 coders/pcx.c magic=ReadBlobLSBLong(image); image 300 coders/pcx.c page_table[id]=(MagickOffsetType) ReadBlobLSBLong(image); image 307 coders/pcx.c offset=SeekBlob(image,(MagickOffsetType) page_table[0],SEEK_SET); image 311 coders/pcx.c count=ReadBlob(image,1,&pcx_info.identifier); image 320 coders/pcx.c pcx_info.version=(unsigned char) ReadBlobByte(image); image 323 coders/pcx.c pcx_info.encoding=(unsigned char) ReadBlobByte(image); image 324 coders/pcx.c bits_per_pixel=ReadBlobByte(image); image 328 coders/pcx.c pcx_info.left=ReadBlobLSBShort(image); image 329 coders/pcx.c pcx_info.top=ReadBlobLSBShort(image); image 330 coders/pcx.c pcx_info.right=ReadBlobLSBShort(image); image 331 coders/pcx.c pcx_info.bottom=ReadBlobLSBShort(image); image 332 coders/pcx.c pcx_info.horizontal_resolution=ReadBlobLSBShort(image); image 333 coders/pcx.c pcx_info.vertical_resolution=ReadBlobLSBShort(image); image 337 coders/pcx.c image->columns=(size_t) MagickAbsoluteValue((ssize_t) pcx_info.right- image 339 coders/pcx.c image->rows=(size_t) MagickAbsoluteValue((ssize_t) pcx_info.bottom- image 341 coders/pcx.c if ((image->columns == 0) || (image->rows == 0) || image 347 coders/pcx.c image->depth=pcx_info.bits_per_pixel; image 348 coders/pcx.c image->units=PixelsPerInchResolution; image 349 coders/pcx.c image->x_resolution=(double) pcx_info.horizontal_resolution; image 350 coders/pcx.c image->y_resolution=(double) pcx_info.vertical_resolution; image 351 coders/pcx.c image->colors=16; image 352 coders/pcx.c count=ReadBlob(image,3*image->colors,pcx_colormap); image 353 coders/pcx.c if (count != (ssize_t) (3*image->colors)) image 355 coders/pcx.c pcx_info.reserved=(unsigned char) ReadBlobByte(image); image 356 coders/pcx.c pcx_info.planes=(unsigned char) ReadBlobByte(image); image 363 coders/pcx.c image->colors=(size_t) MagickMin(one << (1UL* image 365 coders/pcx.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 368 coders/pcx.c image->storage_class=DirectClass; image 370 coders/pcx.c for (i=0; i < (ssize_t) image->colors; i++) image 372 coders/pcx.c image->colormap[i].red=ScaleCharToQuantum(*p++); image 373 coders/pcx.c image->colormap[i].green=ScaleCharToQuantum(*p++); image 374 coders/pcx.c image->colormap[i].blue=ScaleCharToQuantum(*p++); image 376 coders/pcx.c pcx_info.bytes_per_line=ReadBlobLSBShort(image); image 377 coders/pcx.c pcx_info.palette_info=ReadBlobLSBShort(image); image 378 coders/pcx.c pcx_info.horizontal_screensize=ReadBlobLSBShort(image); image 379 coders/pcx.c pcx_info.vertical_screensize=ReadBlobLSBShort(image); image 381 coders/pcx.c (void) ReadBlobByte(image); image 383 coders/pcx.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 385 coders/pcx.c status=SetImageExtent(image,image->columns,image->rows); image 388 coders/pcx.c InheritException(exception,&image->exception); image 389 coders/pcx.c return(DestroyImageList(image)); image 394 coders/pcx.c pcx_packets=(size_t) image->rows*pcx_info.bytes_per_line*pcx_info.planes; image 395 coders/pcx.c if ((size_t) (pcx_info.bits_per_pixel*pcx_info.planes*image->columns) > image 398 coders/pcx.c scanline=(unsigned char *) AcquireQuantumMemory(MagickMax(image->columns, image 418 coders/pcx.c packet=(unsigned char) ReadBlobByte(image); image 419 coders/pcx.c if (EOFBlob(image) != MagickFalse) image 427 coders/pcx.c packet=(unsigned char) ReadBlobByte(image); image 428 coders/pcx.c if (EOFBlob(image) != MagickFalse) image 437 coders/pcx.c packet=(unsigned char) ReadBlobByte(image); image 438 coders/pcx.c if (EOFBlob(image) != MagickFalse) image 448 coders/pcx.c if (image->storage_class == DirectClass) image 449 coders/pcx.c image->matte=pcx_info.planes > 3 ? MagickTrue : MagickFalse; image 457 coders/pcx.c if (image->colors > 256) image 464 coders/pcx.c image->colormap[0].red=(Quantum) 0; image 465 coders/pcx.c image->colormap[0].green=(Quantum) 0; image 466 coders/pcx.c image->colormap[0].blue=(Quantum) 0; image 467 coders/pcx.c image->colormap[1].red=QuantumRange; image 468 coders/pcx.c image->colormap[1].green=QuantumRange; image 469 coders/pcx.c image->colormap[1].blue=QuantumRange; image 472 coders/pcx.c if (image->colors > 16) image 477 coders/pcx.c pcx_info.colormap_signature=(unsigned char) ReadBlobByte(image); image 478 coders/pcx.c count=ReadBlob(image,3*image->colors,pcx_colormap); image 480 coders/pcx.c for (i=0; i < (ssize_t) image->colors; i++) image 482 coders/pcx.c image->colormap[i].red=ScaleCharToQuantum(*p++); image 483 coders/pcx.c image->colormap[i].green=ScaleCharToQuantum(*p++); image 484 coders/pcx.c image->colormap[i].blue=ScaleCharToQuantum(*p++); image 491 coders/pcx.c for (y=0; y < (ssize_t) image->rows; y++) image 494 coders/pcx.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 497 coders/pcx.c indexes=GetAuthenticIndexQueue(image); image 499 coders/pcx.c if (image->storage_class == DirectClass) image 535 coders/pcx.c for (x=0; x < (ssize_t) image->columns; x++) image 560 coders/pcx.c for (x=0; x < ((ssize_t) image->columns-7); x+=8) image 566 coders/pcx.c if ((image->columns % 8) != 0) image 568 coders/pcx.c for (bit=7; bit >= (ssize_t) (8-(image->columns % 8)); bit--) image 576 coders/pcx.c for (x=0; x < ((ssize_t) image->columns-3); x+=4) image 584 coders/pcx.c if ((image->columns % 4) != 0) image 586 coders/pcx.c for (i=3; i >= (ssize_t) (4-(image->columns % 4)); i--) image 594 coders/pcx.c for (x=0; x < ((ssize_t) image->columns-1); x+=2) image 600 coders/pcx.c if ((image->columns % 2) != 0) image 606 coders/pcx.c (void) CopyMagickMemory(r,p,image->columns); image 616 coders/pcx.c for (x=0; x < (ssize_t) image->columns; x++) image 618 coders/pcx.c if (image->storage_class == PseudoClass) image 625 coders/pcx.c if (image->matte != MagickFalse) image 630 coders/pcx.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 632 coders/pcx.c if (image->previous == (Image *) NULL) image 634 coders/pcx.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 635 coders/pcx.c image->rows); image 640 coders/pcx.c if (image->storage_class == PseudoClass) image 641 coders/pcx.c (void) SyncImage(image); image 644 coders/pcx.c if (EOFBlob(image) != MagickFalse) image 647 coders/pcx.c image->filename); image 654 coders/pcx.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 660 coders/pcx.c offset=SeekBlob(image,(MagickOffsetType) page_table[id],SEEK_SET); image 663 coders/pcx.c count=ReadBlob(image,1,&pcx_info.identifier); image 669 coders/pcx.c AcquireNextImage(image_info,image); image 670 coders/pcx.c if (GetNextImageInList(image) == (Image *) NULL) image 672 coders/pcx.c image=DestroyImageList(image); image 675 coders/pcx.c image=SyncNextImageInList(image); image 676 coders/pcx.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 677 coders/pcx.c GetBlobSize(image)); image 684 coders/pcx.c (void) CloseBlob(image); image 685 coders/pcx.c return(GetFirstImageInList(image)); image 788 coders/pcx.c const unsigned char *pixels,Image *image) image 810 coders/pcx.c (void) WriteBlobByte(image,(unsigned char) (*q++)); image 827 coders/pcx.c (void) WriteBlobByte(image,(unsigned char) count); image 829 coders/pcx.c (void) WriteBlobByte(image,previous); image 836 coders/pcx.c (void) WriteBlobByte(image,(unsigned char) count); image 838 coders/pcx.c (void) WriteBlobByte(image,previous); image 844 coders/pcx.c static MagickBooleanType WritePCXImage(const ImageInfo *image_info,Image *image) image 888 coders/pcx.c assert(image != (Image *) NULL); image 889 coders/pcx.c assert(image->signature == MagickSignature); image 890 coders/pcx.c if (image->debug != MagickFalse) image 891 coders/pcx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 892 coders/pcx.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 895 coders/pcx.c (void) TransformImageColorspace(image,sRGBColorspace); image 898 coders/pcx.c ((GetNextImageInList(image) != (Image *) NULL) && image 904 coders/pcx.c (void) WriteBlobLSBLong(image,0x3ADE68B1L); image 910 coders/pcx.c (void) WriteBlobLSBLong(image,0x00000000L); image 916 coders/pcx.c page_table[scene]=TellBlob(image); image 924 coders/pcx.c if ((image->storage_class == PseudoClass) && image 925 coders/pcx.c (SetImageMonochrome(image,&image->exception) != MagickFalse)) image 929 coders/pcx.c pcx_info.right=(unsigned short) (image->columns-1); image 930 coders/pcx.c pcx_info.bottom=(unsigned short) (image->rows-1); image 931 coders/pcx.c switch (image->units) image 937 coders/pcx.c pcx_info.horizontal_resolution=(unsigned short) image->x_resolution; image 938 coders/pcx.c pcx_info.vertical_resolution=(unsigned short) image->y_resolution; image 944 coders/pcx.c (2.54*image->x_resolution+0.5); image 946 coders/pcx.c (2.54*image->y_resolution+0.5); image 952 coders/pcx.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 955 coders/pcx.c if (image->matte != MagickFalse) image 958 coders/pcx.c pcx_info.bytes_per_line=(unsigned short) (((size_t) image->columns* image 965 coders/pcx.c (void) WriteBlobByte(image,pcx_info.identifier); image 966 coders/pcx.c (void) WriteBlobByte(image,pcx_info.version); image 967 coders/pcx.c (void) WriteBlobByte(image,pcx_info.encoding); image 968 coders/pcx.c (void) WriteBlobByte(image,pcx_info.bits_per_pixel); image 969 coders/pcx.c (void) WriteBlobLSBShort(image,pcx_info.left); image 970 coders/pcx.c (void) WriteBlobLSBShort(image,pcx_info.top); image 971 coders/pcx.c (void) WriteBlobLSBShort(image,pcx_info.right); image 972 coders/pcx.c (void) WriteBlobLSBShort(image,pcx_info.bottom); image 973 coders/pcx.c (void) WriteBlobLSBShort(image,pcx_info.horizontal_resolution); image 974 coders/pcx.c (void) WriteBlobLSBShort(image,pcx_info.vertical_resolution); image 984 coders/pcx.c if ((image->storage_class == PseudoClass) && (image->colors <= 256)) image 985 coders/pcx.c for (i=0; i < (ssize_t) image->colors; i++) image 987 coders/pcx.c *q++=ScaleQuantumToChar(image->colormap[i].red); image 988 coders/pcx.c *q++=ScaleQuantumToChar(image->colormap[i].green); image 989 coders/pcx.c *q++=ScaleQuantumToChar(image->colormap[i].blue); image 991 coders/pcx.c (void) WriteBlob(image,3*16,(const unsigned char *) pcx_colormap); image 992 coders/pcx.c (void) WriteBlobByte(image,pcx_info.reserved); image 993 coders/pcx.c (void) WriteBlobByte(image,pcx_info.planes); image 994 coders/pcx.c (void) WriteBlobLSBShort(image,pcx_info.bytes_per_line); image 995 coders/pcx.c (void) WriteBlobLSBShort(image,pcx_info.palette_info); image 997 coders/pcx.c (void) WriteBlobByte(image,'\0'); image 1004 coders/pcx.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 1009 coders/pcx.c for (y=0; y < (ssize_t) image->rows; y++) image 1014 coders/pcx.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1059 coders/pcx.c if (PCXWritePixels(&pcx_info,pixels,image) == MagickFalse) image 1061 coders/pcx.c if (image->previous == (Image *) NULL) image 1063 coders/pcx.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1064 coders/pcx.c image->rows); image 1073 coders/pcx.c for (y=0; y < (ssize_t) image->rows; y++) image 1075 coders/pcx.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1078 coders/pcx.c indexes=GetVirtualIndexQueue(image); image 1080 coders/pcx.c for (x=0; x < (ssize_t) image->columns; x++) image 1082 coders/pcx.c if (PCXWritePixels(&pcx_info,pixels,image) == MagickFalse) image 1084 coders/pcx.c if (image->previous == (Image *) NULL) image 1086 coders/pcx.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1087 coders/pcx.c image->rows); image 1101 coders/pcx.c for (y=0; y < (ssize_t) image->rows; y++) image 1103 coders/pcx.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1106 coders/pcx.c indexes=GetVirtualIndexQueue(image); image 1110 coders/pcx.c for (x=0; x < (ssize_t) image->columns; x++) image 1113 coders/pcx.c if (GetPixelLuma(image,p) >= (QuantumRange/2.0)) image 1126 coders/pcx.c if (PCXWritePixels(&pcx_info,pixels,image) == MagickFalse) image 1128 coders/pcx.c if (image->previous == (Image *) NULL) image 1130 coders/pcx.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 1131 coders/pcx.c y,image->rows); image 1137 coders/pcx.c (void) WriteBlobByte(image,pcx_info.colormap_signature); image 1138 coders/pcx.c (void) WriteBlob(image,3*256,pcx_colormap); image 1146 coders/pcx.c if (GetNextImageInList(image) == (Image *) NULL) image 1148 coders/pcx.c image=SyncNextImageInList(image); image 1149 coders/pcx.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1150 coders/pcx.c GetImageListLength(image)); image 1160 coders/pcx.c offset=SeekBlob(image,0L,SEEK_SET); image 1163 coders/pcx.c (void) WriteBlobLSBLong(image,0x3ADE68B1L); image 1165 coders/pcx.c (void) WriteBlobLSBLong(image,(unsigned int) page_table[i]); image 1174 coders/pcx.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1175 coders/pcx.c FileOpenError,"UnableToWriteFile","`%s': %s",image->filename,message); image 1178 coders/pcx.c (void) CloseBlob(image); image 172 coders/pdb.c static MagickBooleanType DecodeImage(Image *image, unsigned char *pixels, image 185 coders/pdb.c data = ReadBlobByte( image ); image 190 coders/pdb.c data = ReadBlobByte( image ); image 199 coders/pdb.c data = ReadBlobByte( image ); image 275 coders/pdb.c *image; image 326 coders/pdb.c image=AcquireImage(image_info); image 327 coders/pdb.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 330 coders/pdb.c image=DestroyImageList(image); image 336 coders/pdb.c count=ReadBlob(image,sizeof(pdb_info.name),(unsigned char *) pdb_info.name); image 339 coders/pdb.c pdb_info.attributes=(short) ReadBlobMSBShort(image); image 340 coders/pdb.c pdb_info.version=(short) ReadBlobMSBShort(image); image 341 coders/pdb.c pdb_info.create_time=ReadBlobMSBLong(image); image 342 coders/pdb.c pdb_info.modify_time=ReadBlobMSBLong(image); image 343 coders/pdb.c pdb_info.archive_time=ReadBlobMSBLong(image); image 344 coders/pdb.c pdb_info.modify_number=ReadBlobMSBLong(image); image 345 coders/pdb.c pdb_info.application_info=ReadBlobMSBLong(image); image 346 coders/pdb.c pdb_info.sort_info=ReadBlobMSBLong(image); image 347 coders/pdb.c (void) ReadBlob(image,4,(unsigned char *) pdb_info.type); image 348 coders/pdb.c (void) ReadBlob(image,4,(unsigned char *) pdb_info.id); image 349 coders/pdb.c pdb_info.seed=ReadBlobMSBLong(image); image 350 coders/pdb.c pdb_info.next_record=ReadBlobMSBLong(image); image 351 coders/pdb.c pdb_info.number_records=(short) ReadBlobMSBShort(image); image 359 coders/pdb.c img_offset=(ssize_t) ((int) ReadBlobMSBLong(image)); image 360 coders/pdb.c attributes=(unsigned char) ((int) ReadBlobByte(image)); image 362 coders/pdb.c count=ReadBlob(image,3,(unsigned char *) tag); image 367 coders/pdb.c comment_offset=(ssize_t) ((int) ReadBlobMSBLong(image)); image 368 coders/pdb.c attributes=(unsigned char) ((int) ReadBlobByte(image)); image 369 coders/pdb.c count=ReadBlob(image,3,(unsigned char *) tag); image 373 coders/pdb.c num_pad_bytes = (size_t) (img_offset - TellBlob( image )); image 379 coders/pdb.c c=ReadBlobByte(image); image 386 coders/pdb.c count=ReadBlob(image,sizeof(pdb_image.name),(unsigned char *) pdb_image.name); image 389 coders/pdb.c pdb_image.version=ReadBlobByte(image); image 390 coders/pdb.c pdb_image.type=(unsigned char) ReadBlobByte(image); image 391 coders/pdb.c pdb_image.reserved_1=ReadBlobMSBLong(image); image 392 coders/pdb.c pdb_image.note=ReadBlobMSBLong(image); image 393 coders/pdb.c pdb_image.x_last=(short) ReadBlobMSBShort(image); image 394 coders/pdb.c pdb_image.y_last=(short) ReadBlobMSBShort(image); image 395 coders/pdb.c pdb_image.reserved_2=ReadBlobMSBLong(image); image 396 coders/pdb.c pdb_image.x_anchor=ReadBlobMSBShort(image); image 397 coders/pdb.c pdb_image.y_anchor=ReadBlobMSBShort(image); image 398 coders/pdb.c pdb_image.width=(short) ReadBlobMSBShort(image); image 399 coders/pdb.c pdb_image.height=(short) ReadBlobMSBShort(image); image 403 coders/pdb.c image->columns=(size_t) pdb_image.width; image 404 coders/pdb.c image->rows=(size_t) pdb_image.height; image 405 coders/pdb.c image->depth=8; image 406 coders/pdb.c image->storage_class=PseudoClass; image 409 coders/pdb.c if (AcquireImageColormap(image,one << bits_per_pixel) == MagickFalse) image 413 coders/pdb.c (void) CloseBlob(image); image 414 coders/pdb.c return(GetFirstImageInList(image)); image 416 coders/pdb.c status=SetImageExtent(image,image->columns,image->rows); image 419 coders/pdb.c InheritException(exception,&image->exception); image 420 coders/pdb.c return(DestroyImageList(image)); image 422 coders/pdb.c packets=(bits_per_pixel*image->columns+7)/8; image 423 coders/pdb.c pixels=(unsigned char *) AcquireQuantumMemory(packets+256UL,image->rows* image 431 coders/pdb.c image->compression=NoCompression; image 432 coders/pdb.c count=(ssize_t) ReadBlob(image, packets * image -> rows, pixels); image 437 coders/pdb.c image->compression=RLECompression; image 438 coders/pdb.c if (!DecodeImage(image, pixels, packets * image -> rows)) image 457 coders/pdb.c for (y=0; y < (ssize_t) image->rows; y++) image 459 coders/pdb.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 462 coders/pdb.c indexes=GetAuthenticIndexQueue(image); image 463 coders/pdb.c for (x=0; x < ((ssize_t) image->columns-7); x+=8) image 472 coders/pdb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 474 coders/pdb.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 475 coders/pdb.c image->rows); image 479 coders/pdb.c (void) SyncImage(image); image 487 coders/pdb.c for (y=0; y < (ssize_t) image->rows; y++) image 489 coders/pdb.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 492 coders/pdb.c indexes=GetAuthenticIndexQueue(image); image 493 coders/pdb.c for (x=0; x < (ssize_t) image->columns-3; x+=4) image 495 coders/pdb.c index=ConstrainColormapIndex(image,3UL-((*p >> 6) & 0x03)); image 497 coders/pdb.c index=ConstrainColormapIndex(image,3UL-((*p >> 4) & 0x03)); image 499 coders/pdb.c index=ConstrainColormapIndex(image,3UL-((*p >> 2) & 0x03)); image 501 coders/pdb.c index=ConstrainColormapIndex(image,3UL-((*p) & 0x03)); image 505 coders/pdb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 507 coders/pdb.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 508 coders/pdb.c image->rows); image 512 coders/pdb.c (void) SyncImage(image); image 520 coders/pdb.c for (y=0; y < (ssize_t) image->rows; y++) image 522 coders/pdb.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 525 coders/pdb.c indexes=GetAuthenticIndexQueue(image); image 526 coders/pdb.c for (x=0; x < (ssize_t) image->columns-1; x+=2) image 528 coders/pdb.c index=ConstrainColormapIndex(image,15UL-((*p >> 4) & 0x0f)); image 530 coders/pdb.c index=ConstrainColormapIndex(image,15UL-((*p) & 0x0f)); image 534 coders/pdb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 536 coders/pdb.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 537 coders/pdb.c image->rows); image 541 coders/pdb.c (void) SyncImage(image); image 548 coders/pdb.c if (EOFBlob(image) != MagickFalse) image 550 coders/pdb.c image->filename); image 565 coders/pdb.c num_pad_bytes = (size_t) (comment_offset - TellBlob( image )); image 566 coders/pdb.c while (num_pad_bytes--) ReadBlobByte( image ); image 571 coders/pdb.c c=ReadBlobByte(image); image 588 coders/pdb.c c=ReadBlobByte(image); image 593 coders/pdb.c (void) SetImageProperty(image,"comment",comment); image 596 coders/pdb.c (void) CloseBlob(image); image 597 coders/pdb.c return(GetFirstImageInList(image)); image 703 coders/pdb.c static MagickBooleanType WritePDBImage(const ImageInfo *image_info,Image *image) image 752 coders/pdb.c assert(image != (Image *) NULL); image 753 coders/pdb.c assert(image->signature == MagickSignature); image 754 coders/pdb.c if (image->debug != MagickFalse) image 755 coders/pdb.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 756 coders/pdb.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 759 coders/pdb.c (void) TransformImageColorspace(image,sRGBColorspace); image 760 coders/pdb.c if ((image -> colors <= 2 ) || image 761 coders/pdb.c (GetImageType(image,&image->exception ) == BilevelType)) { image 763 coders/pdb.c } else if (image->colors <= 4) { image 765 coders/pdb.c } else if (image->colors <= 8) { image 785 coders/pdb.c comment=GetImageProperty(image,"comment"); image 787 coders/pdb.c (void) WriteBlob(image,sizeof(pdb_info.name),(unsigned char *) pdb_info.name); image 788 coders/pdb.c (void) WriteBlobMSBShort(image,(unsigned short) pdb_info.attributes); image 789 coders/pdb.c (void) WriteBlobMSBShort(image,(unsigned short) pdb_info.version); image 790 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.create_time); image 791 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.modify_time); image 792 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.archive_time); image 793 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.modify_number); image 794 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.application_info); image 795 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.sort_info); image 796 coders/pdb.c (void) WriteBlob(image,4,(unsigned char *) pdb_info.type); image 797 coders/pdb.c (void) WriteBlob(image,4,(unsigned char *) pdb_info.id); image 798 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.seed); image 799 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.next_record); image 800 coders/pdb.c (void) WriteBlobMSBShort(image,(unsigned short) pdb_info.number_records); image 816 coders/pdb.c pdb_image.width=(short) image->columns; image 817 coders/pdb.c if (image->columns % 16) image 818 coders/pdb.c pdb_image.width=(short) (16*(image->columns/16+1)); image 819 coders/pdb.c pdb_image.height=(short) image->rows; image 820 coders/pdb.c packets=((bits_per_pixel*image->columns+7)/8); image 822 coders/pdb.c image->rows*sizeof(*runlength)); image 828 coders/pdb.c packet_size=(size_t) (image->depth > 8 ? 2: 1); image 829 coders/pdb.c scanline=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* image 833 coders/pdb.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 834 coders/pdb.c (void) TransformImageColorspace(image,sRGBColorspace); image 838 coders/pdb.c quantum_info=AcquireQuantumInfo(image_info,image); image 846 coders/pdb.c for (y=0; y < (ssize_t) image->rows; y++) image 848 coders/pdb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 851 coders/pdb.c (void) ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 852 coders/pdb.c GrayQuantum,scanline,&image->exception); image 855 coders/pdb.c if (x < (ssize_t) image->columns) image 900 coders/pdb.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 901 coders/pdb.c image->rows); image 912 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) (TellBlob(image)+8* image 914 coders/pdb.c (void) WriteBlobByte(image,0x40); image 915 coders/pdb.c (void) WriteBlobByte(image,0x6f); image 916 coders/pdb.c (void) WriteBlobByte(image,0x80); image 917 coders/pdb.c (void) WriteBlobByte(image,0); image 923 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) (TellBlob(image)+8+58+q- image 925 coders/pdb.c (void) WriteBlobByte(image,0x40); image 926 coders/pdb.c (void) WriteBlobByte(image,0x6f); image 927 coders/pdb.c (void) WriteBlobByte(image,0x80); image 928 coders/pdb.c (void) WriteBlobByte(image,1); image 933 coders/pdb.c (void) WriteBlob(image,sizeof(pdb_image.name),(unsigned char *) image 935 coders/pdb.c (void) WriteBlobByte(image,(unsigned char) pdb_image.version); image 936 coders/pdb.c (void) WriteBlobByte(image,pdb_image.type); image 937 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_image.reserved_1); image 938 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_image.note); image 939 coders/pdb.c (void) WriteBlobMSBShort(image,(unsigned short) pdb_image.x_last); image 940 coders/pdb.c (void) WriteBlobMSBShort(image,(unsigned short) pdb_image.y_last); image 941 coders/pdb.c (void) WriteBlobMSBLong(image,(unsigned int) pdb_image.reserved_2); image 942 coders/pdb.c (void) WriteBlobMSBShort(image,pdb_image.x_anchor); image 943 coders/pdb.c (void) WriteBlobMSBShort(image,pdb_image.y_anchor); image 944 coders/pdb.c (void) WriteBlobMSBShort(image,(unsigned short) pdb_image.width); image 945 coders/pdb.c (void) WriteBlobMSBShort(image,(unsigned short) pdb_image.height); image 946 coders/pdb.c (void) WriteBlob(image,(size_t) (q-runlength),runlength); image 949 coders/pdb.c (void) WriteBlobString(image,comment); image 950 coders/pdb.c (void) CloseBlob(image); image 409 coders/pdf.c *image, image 465 coders/pdf.c image=AcquireImage(image_info); image 466 coders/pdf.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 469 coders/pdf.c image=DestroyImageList(image); image 477 coders/pdf.c image=DestroyImageList(image); image 485 coders/pdf.c if ((image->x_resolution == 0.0) || (image->y_resolution == 0.0)) image 488 coders/pdf.c image->x_resolution=geometry_info.rho; image 489 coders/pdf.c image->y_resolution=geometry_info.sigma; image 491 coders/pdf.c image->y_resolution=image->x_resolution; image 496 coders/pdf.c image->x_resolution=geometry_info.rho; image 497 coders/pdf.c image->y_resolution=geometry_info.sigma; image 499 coders/pdf.c image->y_resolution=image->x_resolution; image 504 coders/pdf.c page.width=(size_t) ceil((double) (page.width*image->x_resolution/delta.x)- image 506 coders/pdf.c page.height=(size_t) ceil((double) (page.height*image->y_resolution/delta.y)- image 532 coders/pdf.c for (c=ReadBlobByte(image); c != EOF; c=ReadBlobByte(image)) image 572 coders/pdf.c for (c=ReadBlobByte(image); c != EOF; c=ReadBlobByte(image)) image 581 coders/pdf.c (void) SetImageProperty(image,property,value); image 586 coders/pdf.c (void) SetImageProperty(image,"pdf:Version",command); image 647 coders/pdf.c (void) SetImageProperty(image,"pdf:HiResBoundingBox",geometry); image 649 coders/pdf.c image->x_resolution/delta.x)-0.5); image 651 coders/pdf.c image->y_resolution/delta.y)-0.5); image 669 coders/pdf.c image=DestroyImage(image); image 672 coders/pdf.c page.width=(size_t) ceil((double) (page.width*image->x_resolution/delta.x) image 674 coders/pdf.c page.height=(size_t) ceil((double) (page.height*image->y_resolution/ image 679 coders/pdf.c (void) CloseBlob(image); image 699 coders/pdf.c image=DestroyImage(image); image 718 coders/pdf.c image=DestroyImage(image); image 723 coders/pdf.c (void) FormatLocaleString(density,MaxTextExtent,"%gx%g",image->x_resolution, image 724 coders/pdf.c image->y_resolution); image 775 coders/pdf.c (void) InterpretImageFilename(image_info,image,filename,(int) i, image 784 coders/pdf.c (void) InterpretImageFilename(image_info,image,filename,(int) i, image 802 coders/pdf.c image=DestroyImage(image); image 838 coders/pdf.c (void) CopyMagickString(pdf_image->magick,image->magick,MaxTextExtent); image 840 coders/pdf.c (void) CloneImageProfiles(pdf_image,image); image 841 coders/pdf.c (void) CloneImageProperties(pdf_image,image); image 846 coders/pdf.c image=DestroyImage(image); image 1122 coders/pdf.c Image *image,Image *inject_image) image 1143 coders/pdf.c group4_image=CloneImage(inject_image,0,0,MagickTrue,&image->exception); image 1147 coders/pdf.c &image->exception); image 1152 coders/pdf.c if (WriteBlob(image,length,group4) != (ssize_t) length) image 1158 coders/pdf.c static MagickBooleanType WritePDFImage(const ImageInfo *image_info,Image *image) image 1297 coders/pdf.c assert(image != (Image *) NULL); image 1298 coders/pdf.c assert(image->signature == MagickSignature); image 1299 coders/pdf.c if (image->debug != MagickFalse) image 1300 coders/pdf.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1301 coders/pdf.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1318 coders/pdf.c for (next=image; next != (Image *) NULL; next=GetNextImageInList(next)) image 1325 coders/pdf.c (void) WriteBlobString(image,buffer); image 1328 coders/pdf.c (void) WriteBlobByte(image,'%'); image 1329 coders/pdf.c (void) WriteBlobByte(image,0xe2); image 1330 coders/pdf.c (void) WriteBlobByte(image,0xe3); image 1331 coders/pdf.c (void) WriteBlobByte(image,0xcf); image 1332 coders/pdf.c (void) WriteBlobByte(image,0xd3); image 1333 coders/pdf.c (void) WriteBlobByte(image,'\n'); image 1338 coders/pdf.c xref[object++]=TellBlob(image); image 1342 coders/pdf.c (void) WriteBlobString(image,buffer); image 1343 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 1351 coders/pdf.c (void) WriteBlobString(image,buffer); image 1355 coders/pdf.c (void) WriteBlobString(image,buffer); image 1356 coders/pdf.c (void) WriteBlobString(image,"/Type /Catalog\n"); image 1357 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 1358 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 1359 coders/pdf.c GetPathComponent(image->filename,BasePath,basename); image 1374 coders/pdf.c xref[object++]=TellBlob(image); image 1377 coders/pdf.c (void) WriteBlobString(image,buffer); image 1378 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 1379 coders/pdf.c (void) WriteBlobString(image,"/Subtype /XML\n"); image 1381 coders/pdf.c value=GetImageProperty(image,"date:modify"); image 1385 coders/pdf.c value=GetImageProperty(image,"date:create"); image 1395 coders/pdf.c (void) WriteBlobString(image,buffer); image 1396 coders/pdf.c (void) WriteBlobString(image,"/Type /Metadata\n"); image 1397 coders/pdf.c (void) WriteBlobString(image,">>\nstream\n"); image 1398 coders/pdf.c (void) WriteBlobString(image,xmp_profile); image 1399 coders/pdf.c (void) WriteBlobString(image,"\nendstream\n"); image 1400 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 1405 coders/pdf.c xref[object++]=TellBlob(image); image 1409 coders/pdf.c (void) WriteBlobString(image,buffer); image 1410 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 1411 coders/pdf.c (void) WriteBlobString(image,"/Type /Pages\n"); image 1414 coders/pdf.c (void) WriteBlobString(image,buffer); image 1424 coders/pdf.c kid_image=image; image 1429 coders/pdf.c (void) WriteBlobString(image,buffer); image 1437 coders/pdf.c (void) WriteBlobString(image,"]\n"); image 1440 coders/pdf.c (void) WriteBlobString(image,buffer); image 1441 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 1442 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 1446 coders/pdf.c compression=image->compression; image 1454 coders/pdf.c if ((SetImageMonochrome(image,&image->exception) == MagickFalse) || image 1455 coders/pdf.c (image->matte != MagickFalse)) image 1463 coders/pdf.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1465 coders/pdf.c image->filename); image 1473 coders/pdf.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1475 coders/pdf.c image->filename); image 1483 coders/pdf.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1485 coders/pdf.c image->filename); image 1505 coders/pdf.c (void) TransformImageColorspace(image,sRGBColorspace); image 1511 coders/pdf.c resolution.x=image->x_resolution; image 1512 coders/pdf.c resolution.y=image->y_resolution; image 1529 coders/pdf.c if (image->units == PixelsPerCentimeterResolution) image 1534 coders/pdf.c SetGeometry(image,&geometry); image 1536 coders/pdf.c image->columns,(double) image->rows); image 1540 coders/pdf.c if ((image->page.width != 0) && (image->page.height != 0)) image 1542 coders/pdf.c "%.20gx%.20g%+.20g%+.20g",(double) image->page.width,(double) image 1543 coders/pdf.c image->page.height,(double) image->page.x,(double) image->page.y); image 1545 coders/pdf.c if ((image->gravity != UndefinedGravity) && image 1556 coders/pdf.c (void) ParseGravityGeometry(image,page_geometry,&page_info, image 1557 coders/pdf.c &image->exception); image 1558 coders/pdf.c if (image->gravity != UndefinedGravity) image 1561 coders/pdf.c geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); image 1567 coders/pdf.c value=GetImageProperty(image,"label"); image 1574 coders/pdf.c xref[object++]=TellBlob(image); image 1577 coders/pdf.c (void) WriteBlobString(image,buffer); image 1578 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 1579 coders/pdf.c (void) WriteBlobString(image,"/Type /Page\n"); image 1582 coders/pdf.c (void) WriteBlobString(image,buffer); image 1583 coders/pdf.c (void) WriteBlobString(image,"/Resources <<\n"); image 1585 coders/pdf.c value=GetImageProperty(image,"label"); image 1591 coders/pdf.c "/Font << /F%.20g %.20g 0 R >>\n",(double) image->scene,(double) image 1593 coders/pdf.c (void) WriteBlobString(image,buffer); image 1596 coders/pdf.c "/XObject << /Im%.20g %.20g 0 R >>\n",(double) image->scene,(double) image 1598 coders/pdf.c (void) WriteBlobString(image,buffer); image 1601 coders/pdf.c (void) WriteBlobString(image,buffer); image 1605 coders/pdf.c (void) WriteBlobString(image,buffer); image 1609 coders/pdf.c (void) WriteBlobString(image,buffer); image 1612 coders/pdf.c (void) WriteBlobString(image,buffer); image 1615 coders/pdf.c (void) WriteBlobString(image,buffer); image 1616 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 1617 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 1621 coders/pdf.c xref[object++]=TellBlob(image); image 1624 coders/pdf.c (void) WriteBlobString(image,buffer); image 1625 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 1628 coders/pdf.c (void) WriteBlobString(image,buffer); image 1629 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 1630 coders/pdf.c (void) WriteBlobString(image,"stream\n"); image 1631 coders/pdf.c offset=TellBlob(image); image 1632 coders/pdf.c (void) WriteBlobString(image,"q\n"); image 1636 coders/pdf.c (void) WriteBlobString(image,"BT\n"); image 1638 coders/pdf.c (double) image->scene,pointsize); image 1639 coders/pdf.c (void) WriteBlobString(image,buffer); image 1643 coders/pdf.c (void) WriteBlobString(image,buffer); image 1645 coders/pdf.c (void) WriteBlobString(image,buffer); image 1646 coders/pdf.c (void) WriteBlobString(image,"ET\n"); image 1651 coders/pdf.c (void) WriteBlobString(image,buffer); image 1653 coders/pdf.c image->scene); image 1654 coders/pdf.c (void) WriteBlobString(image,buffer); image 1655 coders/pdf.c (void) WriteBlobString(image,"Q\n"); image 1656 coders/pdf.c offset=TellBlob(image)-offset; image 1657 coders/pdf.c (void) WriteBlobString(image,"\nendstream\n"); image 1658 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 1662 coders/pdf.c xref[object++]=TellBlob(image); image 1665 coders/pdf.c (void) WriteBlobString(image,buffer); image 1667 coders/pdf.c (void) WriteBlobString(image,buffer); image 1668 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 1672 coders/pdf.c xref[object++]=TellBlob(image); image 1675 coders/pdf.c (void) WriteBlobString(image,buffer); image 1676 coders/pdf.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 1683 coders/pdf.c (void) WriteBlobString(image,buffer); image 1684 coders/pdf.c (void) WriteBlobString(image," ]\n"); image 1685 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 1689 coders/pdf.c xref[object++]=TellBlob(image); image 1692 coders/pdf.c (void) WriteBlobString(image,buffer); image 1693 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 1696 coders/pdf.c (void) WriteBlobString(image,"/Type /Font\n"); image 1697 coders/pdf.c (void) WriteBlobString(image,"/Subtype /Type1\n"); image 1699 coders/pdf.c (double) image->scene); image 1700 coders/pdf.c (void) WriteBlobString(image,buffer); image 1701 coders/pdf.c (void) WriteBlobString(image,"/BaseFont /Helvetica\n"); image 1702 coders/pdf.c (void) WriteBlobString(image,"/Encoding /MacRomanEncoding\n"); image 1705 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 1706 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 1710 coders/pdf.c xref[object++]=TellBlob(image); image 1713 coders/pdf.c (void) WriteBlobString(image,buffer); image 1714 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 1715 coders/pdf.c (void) WriteBlobString(image,"/Type /XObject\n"); image 1716 coders/pdf.c (void) WriteBlobString(image,"/Subtype /Image\n"); image 1718 coders/pdf.c image->scene); image 1719 coders/pdf.c (void) WriteBlobString(image,buffer); image 1730 coders/pdf.c if (image->colorspace != CMYKColorspace) image 1732 coders/pdf.c (void) WriteBlobString(image,buffer); image 1740 coders/pdf.c if (image->colorspace != CMYKColorspace) image 1742 coders/pdf.c (void) WriteBlobString(image,buffer); image 1762 coders/pdf.c (void) WriteBlobString(image,buffer); image 1765 coders/pdf.c (double) image->columns,(double) image->rows); image 1775 coders/pdf.c (void) WriteBlobString(image,buffer); image 1777 coders/pdf.c image->columns); image 1778 coders/pdf.c (void) WriteBlobString(image,buffer); image 1780 coders/pdf.c image->rows); image 1781 coders/pdf.c (void) WriteBlobString(image,buffer); image 1784 coders/pdf.c (void) WriteBlobString(image,buffer); image 1788 coders/pdf.c (void) WriteBlobString(image,buffer); image 1789 coders/pdf.c if (image->matte != MagickFalse) image 1793 coders/pdf.c (void) WriteBlobString(image,buffer); image 1797 coders/pdf.c (void) WriteBlobString(image,buffer); image 1798 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 1799 coders/pdf.c (void) WriteBlobString(image,"stream\n"); image 1800 coders/pdf.c offset=TellBlob(image); image 1801 coders/pdf.c number_pixels=(MagickSizeType) image->columns*image->rows; image 1806 coders/pdf.c (SetImageGray(image,&image->exception) != MagickFalse))) image 1815 coders/pdf.c (void) HuffmanEncodeImage(image_info,image,image); image 1818 coders/pdf.c (void) Huffman2DEncodeImage(image_info,image,image); image 1823 coders/pdf.c status=InjectImageBlob(image_info,image,image,"jpeg", image 1824 coders/pdf.c &image->exception); image 1826 coders/pdf.c ThrowWriterException(CoderError,image->exception.reason); image 1831 coders/pdf.c status=InjectImageBlob(image_info,image,image,"jp2", image 1832 coders/pdf.c &image->exception); image 1834 coders/pdf.c ThrowWriterException(CoderError,image->exception.reason); image 1855 coders/pdf.c for (y=0; y < (ssize_t) image->rows; y++) image 1857 coders/pdf.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1860 coders/pdf.c for (x=0; x < (ssize_t) image->columns; x++) image 1863 coders/pdf.c GetPixelLuma(image,p))); image 1866 coders/pdf.c if (image->previous == (Image *) NULL) image 1868 coders/pdf.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 1869 coders/pdf.c y,image->rows); image 1876 coders/pdf.c status=ZLIBEncodeImage(image,length,pixels); image 1880 coders/pdf.c status=LZWEncodeImage(image,length,pixels); image 1882 coders/pdf.c status=PackbitsEncodeImage(image,length,pixels); image 1886 coders/pdf.c (void) CloseBlob(image); image 1896 coders/pdf.c Ascii85Initialize(image); image 1897 coders/pdf.c for (y=0; y < (ssize_t) image->rows; y++) image 1899 coders/pdf.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1902 coders/pdf.c for (x=0; x < (ssize_t) image->columns; x++) image 1904 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar(ClampToQuantum( image 1905 coders/pdf.c GetPixelLuma(image,p)))); image 1908 coders/pdf.c if (image->previous == (Image *) NULL) image 1910 coders/pdf.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 1911 coders/pdf.c y,image->rows); image 1916 coders/pdf.c Ascii85Flush(image); image 1922 coders/pdf.c if ((image->storage_class == DirectClass) || (image->colors > 256) || image 1929 coders/pdf.c status=InjectImageBlob(image_info,image,image,"jpeg", image 1930 coders/pdf.c &image->exception); image 1932 coders/pdf.c ThrowWriterException(CoderError,image->exception.reason); image 1937 coders/pdf.c status=InjectImageBlob(image_info,image,image,"jp2", image 1938 coders/pdf.c &image->exception); image 1940 coders/pdf.c ThrowWriterException(CoderError,image->exception.reason); image 1953 coders/pdf.c length*=image->colorspace == CMYKColorspace ? 4UL : 3UL; image 1962 coders/pdf.c for (y=0; y < (ssize_t) image->rows; y++) image 1964 coders/pdf.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1967 coders/pdf.c indexes=GetVirtualIndexQueue(image); image 1968 coders/pdf.c for (x=0; x < (ssize_t) image->columns; x++) image 1973 coders/pdf.c if (image->colorspace == CMYKColorspace) image 1977 coders/pdf.c if (image->previous == (Image *) NULL) image 1979 coders/pdf.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 1980 coders/pdf.c y,image->rows); image 1987 coders/pdf.c status=ZLIBEncodeImage(image,length,pixels); image 1991 coders/pdf.c status=LZWEncodeImage(image,length,pixels); image 1993 coders/pdf.c status=PackbitsEncodeImage(image,length,pixels); image 1997 coders/pdf.c (void) CloseBlob(image); image 2007 coders/pdf.c Ascii85Initialize(image); image 2008 coders/pdf.c for (y=0; y < (ssize_t) image->rows; y++) image 2010 coders/pdf.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2013 coders/pdf.c indexes=GetVirtualIndexQueue(image); image 2014 coders/pdf.c for (x=0; x < (ssize_t) image->columns; x++) image 2016 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar( image 2018 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar( image 2020 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar( image 2022 coders/pdf.c if (image->colorspace == CMYKColorspace) image 2023 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar( image 2027 coders/pdf.c if (image->previous == (Image *) NULL) image 2029 coders/pdf.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 2030 coders/pdf.c y,image->rows); image 2035 coders/pdf.c Ascii85Flush(image); image 2065 coders/pdf.c for (y=0; y < (ssize_t) image->rows; y++) image 2067 coders/pdf.c p=GetVirtualPixels(image,0,y,image->columns,1, image 2068 coders/pdf.c &image->exception); image 2071 coders/pdf.c indexes=GetVirtualIndexQueue(image); image 2072 coders/pdf.c for (x=0; x < (ssize_t) image->columns; x++) image 2074 coders/pdf.c if (image->previous == (Image *) NULL) image 2076 coders/pdf.c status=SetImageProgress(image,SaveImageTag, image 2077 coders/pdf.c (MagickOffsetType) y,image->rows); image 2084 coders/pdf.c status=ZLIBEncodeImage(image,length,pixels); image 2088 coders/pdf.c status=LZWEncodeImage(image,length,pixels); image 2090 coders/pdf.c status=PackbitsEncodeImage(image,length,pixels); image 2094 coders/pdf.c (void) CloseBlob(image); image 2104 coders/pdf.c Ascii85Initialize(image); image 2105 coders/pdf.c for (y=0; y < (ssize_t) image->rows; y++) image 2107 coders/pdf.c p=GetVirtualPixels(image,0,y,image->columns,1, image 2108 coders/pdf.c &image->exception); image 2111 coders/pdf.c indexes=GetVirtualIndexQueue(image); image 2112 coders/pdf.c for (x=0; x < (ssize_t) image->columns; x++) image 2113 coders/pdf.c Ascii85Encode(image,(unsigned char) image 2115 coders/pdf.c if (image->previous == (Image *) NULL) image 2117 coders/pdf.c status=SetImageProgress(image,SaveImageTag, image 2118 coders/pdf.c (MagickOffsetType) y,image->rows); image 2123 coders/pdf.c Ascii85Flush(image); image 2128 coders/pdf.c offset=TellBlob(image)-offset; image 2129 coders/pdf.c (void) WriteBlobString(image,"\nendstream\n"); image 2130 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2134 coders/pdf.c xref[object++]=TellBlob(image); image 2137 coders/pdf.c (void) WriteBlobString(image,buffer); image 2139 coders/pdf.c (void) WriteBlobString(image,buffer); image 2140 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2144 coders/pdf.c xref[object++]=TellBlob(image); image 2147 coders/pdf.c (void) WriteBlobString(image,buffer); image 2148 coders/pdf.c if (image->colorspace == CMYKColorspace) image 2154 coders/pdf.c (SetImageGray(image,&image->exception) != MagickFalse))) image 2157 coders/pdf.c if ((image->storage_class == DirectClass) || (image->colors > 256) || image 2163 coders/pdf.c "[ /Indexed /DeviceRGB %.20g %.20g 0 R ]\n",(double) image->colors- image 2165 coders/pdf.c (void) WriteBlobString(image,buffer); image 2166 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2170 coders/pdf.c SetGeometry(image,&geometry); image 2173 coders/pdf.c tile_image=ThumbnailImage(image,geometry.width,geometry.height, image 2174 coders/pdf.c &image->exception); image 2176 coders/pdf.c ThrowWriterException(ResourceLimitError,image->exception.reason); image 2177 coders/pdf.c xref[object++]=TellBlob(image); image 2180 coders/pdf.c (void) WriteBlobString(image,buffer); image 2181 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 2192 coders/pdf.c if (image->colorspace != CMYKColorspace) image 2194 coders/pdf.c (void) WriteBlobString(image,buffer); image 2202 coders/pdf.c if (image->colorspace != CMYKColorspace) image 2204 coders/pdf.c (void) WriteBlobString(image,buffer); image 2224 coders/pdf.c (void) WriteBlobString(image,buffer); image 2237 coders/pdf.c (void) WriteBlobString(image,buffer); image 2240 coders/pdf.c (void) WriteBlobString(image,buffer); image 2243 coders/pdf.c (void) WriteBlobString(image,buffer); image 2246 coders/pdf.c (void) WriteBlobString(image,buffer); image 2250 coders/pdf.c (void) WriteBlobString(image,buffer); image 2253 coders/pdf.c (void) WriteBlobString(image,buffer); image 2254 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 2255 coders/pdf.c (void) WriteBlobString(image,"stream\n"); image 2256 coders/pdf.c offset=TellBlob(image); image 2261 coders/pdf.c (SetImageGray(tile_image,&image->exception) != MagickFalse))) image 2270 coders/pdf.c (void) HuffmanEncodeImage(image_info,image,tile_image); image 2273 coders/pdf.c (void) Huffman2DEncodeImage(image_info,image,tile_image); image 2278 coders/pdf.c status=InjectImageBlob(image_info,image,tile_image,"jpeg", image 2279 coders/pdf.c &image->exception); image 2286 coders/pdf.c status=InjectImageBlob(image_info,image,tile_image,"jp2", image 2287 coders/pdf.c &image->exception); image 2329 coders/pdf.c status=ZLIBEncodeImage(image,length,pixels); image 2333 coders/pdf.c status=LZWEncodeImage(image,length,pixels); image 2335 coders/pdf.c status=PackbitsEncodeImage(image,length,pixels); image 2339 coders/pdf.c (void) CloseBlob(image); image 2349 coders/pdf.c Ascii85Initialize(image); image 2358 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar(ClampToQuantum( image 2363 coders/pdf.c Ascii85Flush(image); image 2376 coders/pdf.c status=InjectImageBlob(image_info,image,tile_image,"jpeg", image 2377 coders/pdf.c &image->exception); image 2384 coders/pdf.c status=InjectImageBlob(image_info,image,tile_image,"jp2", image 2385 coders/pdf.c &image->exception); image 2432 coders/pdf.c status=ZLIBEncodeImage(image,length,pixels); image 2436 coders/pdf.c status=LZWEncodeImage(image,length,pixels); image 2438 coders/pdf.c status=PackbitsEncodeImage(image,length,pixels); image 2442 coders/pdf.c (void) CloseBlob(image); image 2452 coders/pdf.c Ascii85Initialize(image); image 2462 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar( image 2464 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar( image 2466 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar( image 2468 coders/pdf.c if (image->colorspace == CMYKColorspace) image 2469 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar( image 2474 coders/pdf.c Ascii85Flush(image); image 2519 coders/pdf.c status=ZLIBEncodeImage(image,length,pixels); image 2523 coders/pdf.c status=LZWEncodeImage(image,length,pixels); image 2525 coders/pdf.c status=PackbitsEncodeImage(image,length,pixels); image 2529 coders/pdf.c (void) CloseBlob(image); image 2539 coders/pdf.c Ascii85Initialize(image); image 2548 coders/pdf.c Ascii85Encode(image,(unsigned char) image 2551 coders/pdf.c Ascii85Flush(image); image 2557 coders/pdf.c offset=TellBlob(image)-offset; image 2558 coders/pdf.c (void) WriteBlobString(image,"\nendstream\n"); image 2559 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2563 coders/pdf.c xref[object++]=TellBlob(image); image 2566 coders/pdf.c (void) WriteBlobString(image,buffer); image 2568 coders/pdf.c (void) WriteBlobString(image,buffer); image 2569 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2570 coders/pdf.c xref[object++]=TellBlob(image); image 2573 coders/pdf.c (void) WriteBlobString(image,buffer); image 2574 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 2575 coders/pdf.c if ((image->storage_class == DirectClass) || (image->colors > 256) || image 2577 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 2584 coders/pdf.c (void) WriteBlobString(image,"/Filter [ /ASCII85Decode ]\n"); image 2587 coders/pdf.c (void) WriteBlobString(image,buffer); image 2588 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 2589 coders/pdf.c (void) WriteBlobString(image,"stream\n"); image 2590 coders/pdf.c offset=TellBlob(image); image 2592 coders/pdf.c Ascii85Initialize(image); image 2593 coders/pdf.c for (i=0; i < (ssize_t) image->colors; i++) image 2597 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar(image->colormap[i].red)); image 2598 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar(image->colormap[i].green)); image 2599 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar(image->colormap[i].blue)); image 2602 coders/pdf.c (void) WriteBlobByte(image, image 2603 coders/pdf.c ScaleQuantumToChar(image->colormap[i].red)); image 2604 coders/pdf.c (void) WriteBlobByte(image, image 2605 coders/pdf.c ScaleQuantumToChar(image->colormap[i].green)); image 2606 coders/pdf.c (void) WriteBlobByte(image, image 2607 coders/pdf.c ScaleQuantumToChar(image->colormap[i].blue)); image 2610 coders/pdf.c Ascii85Flush(image); image 2611 coders/pdf.c offset=TellBlob(image)-offset; image 2612 coders/pdf.c (void) WriteBlobString(image,"\nendstream\n"); image 2614 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2618 coders/pdf.c xref[object++]=TellBlob(image); image 2621 coders/pdf.c (void) WriteBlobString(image,buffer); image 2624 coders/pdf.c (void) WriteBlobString(image,buffer); image 2625 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2629 coders/pdf.c xref[object++]=TellBlob(image); image 2632 coders/pdf.c (void) WriteBlobString(image,buffer); image 2633 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 2634 coders/pdf.c if (image->matte == MagickFalse) image 2635 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 2638 coders/pdf.c (void) WriteBlobString(image,"/Type /XObject\n"); image 2639 coders/pdf.c (void) WriteBlobString(image,"/Subtype /Image\n"); image 2641 coders/pdf.c (double) image->scene); image 2642 coders/pdf.c (void) WriteBlobString(image,buffer); image 2669 coders/pdf.c (void) WriteBlobString(image,buffer); image 2671 coders/pdf.c image->columns); image 2672 coders/pdf.c (void) WriteBlobString(image,buffer); image 2674 coders/pdf.c (double) image->rows); image 2675 coders/pdf.c (void) WriteBlobString(image,buffer); image 2676 coders/pdf.c (void) WriteBlobString(image,"/ColorSpace /DeviceGray\n"); image 2680 coders/pdf.c (void) WriteBlobString(image,buffer); image 2683 coders/pdf.c (void) WriteBlobString(image,buffer); image 2684 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 2685 coders/pdf.c (void) WriteBlobString(image,"stream\n"); image 2686 coders/pdf.c offset=TellBlob(image); image 2687 coders/pdf.c number_pixels=(MagickSizeType) image->columns*image->rows; image 2703 coders/pdf.c image=DestroyImage(image); image 2712 coders/pdf.c for (y=0; y < (ssize_t) image->rows; y++) image 2714 coders/pdf.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2717 coders/pdf.c for (x=0; x < (ssize_t) image->columns; x++) image 2725 coders/pdf.c status=ZLIBEncodeImage(image,length,pixels); image 2729 coders/pdf.c status=LZWEncodeImage(image,length,pixels); image 2731 coders/pdf.c status=PackbitsEncodeImage(image,length,pixels); image 2735 coders/pdf.c (void) CloseBlob(image); image 2745 coders/pdf.c Ascii85Initialize(image); image 2746 coders/pdf.c for (y=0; y < (ssize_t) image->rows; y++) image 2748 coders/pdf.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2751 coders/pdf.c for (x=0; x < (ssize_t) image->columns; x++) image 2753 coders/pdf.c Ascii85Encode(image,ScaleQuantumToChar((Quantum) (QuantumRange- image 2758 coders/pdf.c Ascii85Flush(image); image 2762 coders/pdf.c offset=TellBlob(image)-offset; image 2763 coders/pdf.c (void) WriteBlobString(image,"\nendstream\n"); image 2765 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2769 coders/pdf.c xref[object++]=TellBlob(image); image 2772 coders/pdf.c (void) WriteBlobString(image,buffer); image 2774 coders/pdf.c (void) WriteBlobString(image,buffer); image 2775 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2776 coders/pdf.c if (GetNextImageInList(image) == (Image *) NULL) image 2778 coders/pdf.c image=SyncNextImageInList(image); image 2779 coders/pdf.c status=SetImageProgress(image,SaveImagesTag,scene++, image 2780 coders/pdf.c GetImageListLength(image)); image 2787 coders/pdf.c xref[object++]=TellBlob(image); image 2791 coders/pdf.c (void) WriteBlobString(image,buffer); image 2792 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 2797 coders/pdf.c (void) WriteBlobString(image,buffer); image 2799 coders/pdf.c WriteBlobMSBShort(image,(unsigned short) utf16[i]); image 2801 coders/pdf.c (void) WriteBlobString(image,buffer); image 2814 coders/pdf.c (void) WriteBlobString(image,buffer); image 2816 coders/pdf.c (void) WriteBlobString(image,buffer); image 2819 coders/pdf.c (void) WriteBlobString(image,buffer); image 2820 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 2821 coders/pdf.c (void) WriteBlobString(image,"endobj\n"); image 2825 coders/pdf.c offset=TellBlob(image)-xref[0]+ image 2827 coders/pdf.c (void) WriteBlobString(image,"xref\n"); image 2830 coders/pdf.c (void) WriteBlobString(image,buffer); image 2831 coders/pdf.c (void) WriteBlobString(image,"0000000000 65535 f \n"); image 2836 coders/pdf.c (void) WriteBlobString(image,buffer); image 2838 coders/pdf.c (void) WriteBlobString(image,"trailer\n"); image 2839 coders/pdf.c (void) WriteBlobString(image,"<<\n"); image 2842 coders/pdf.c (void) WriteBlobString(image,buffer); image 2845 coders/pdf.c (void) WriteBlobString(image,buffer); image 2848 coders/pdf.c (void) WriteBlobString(image,buffer); image 2849 coders/pdf.c (void) SignatureImage(image); image 2851 coders/pdf.c GetImageProperty(image,"signature"),GetImageProperty(image,"signature")); image 2852 coders/pdf.c (void) WriteBlobString(image,buffer); image 2853 coders/pdf.c (void) WriteBlobString(image,">>\n"); image 2854 coders/pdf.c (void) WriteBlobString(image,"startxref\n"); image 2856 coders/pdf.c (void) WriteBlobString(image,buffer); image 2857 coders/pdf.c (void) WriteBlobString(image,"%%EOF\n"); image 2859 coders/pdf.c (void) CloseBlob(image); image 431 coders/pes.c *image; image 482 coders/pes.c image=AcquireImage(image_info); image 483 coders/pes.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 486 coders/pes.c image=DestroyImageList(image); image 492 coders/pes.c count=ReadBlob(image,4,magick); image 495 coders/pes.c count=ReadBlob(image,4,version); image 496 coders/pes.c offset=(int) ReadBlobLSBLong(image); image 497 coders/pes.c if (DiscardBlobBytes(image,offset+36) == MagickFalse) image 499 coders/pes.c image->filename); image 500 coders/pes.c if (EOFBlob(image) != MagickFalse) image 505 coders/pes.c number_colors=(size_t) ReadBlobByte(image)+1; image 508 coders/pes.c j=(int) ReadBlobByte(image); image 514 coders/pes.c if (DiscardBlobBytes(image,532L-number_colors-21) == MagickFalse) image 516 coders/pes.c image->filename); image 517 coders/pes.c if (EOFBlob(image) != MagickFalse) image 535 coders/pes.c while (EOFBlob(image) != EOF) image 537 coders/pes.c x=(int) ReadBlobByte(image); image 538 coders/pes.c y=(int) ReadBlobByte(image); image 550 coders/pes.c (void) ReadBlobByte(image); image 569 coders/pes.c y=ReadBlobByte(image); image 584 coders/pes.c y=((y & 0x0f) << 8)+ReadBlobByte(image); image 650 coders/pes.c (void) CloseBlob(image); image 651 coders/pes.c image=DestroyImage(image); image 659 coders/pes.c image=ReadImage(read_info,exception); image 660 coders/pes.c if (image != (Image *) NULL) image 662 coders/pes.c (void) CopyMagickString(image->filename,image_info->filename, image 664 coders/pes.c (void) CopyMagickString(image->magick_filename,image_info->filename, image 666 coders/pes.c (void) CopyMagickString(image->magick,"PES",MaxTextExtent); image 670 coders/pes.c return(GetFirstImageInList(image)); image 78 coders/pict.c pixmap.version=(short) ReadBlobMSBShort(image); \ image 79 coders/pict.c pixmap.pack_type=(short) ReadBlobMSBShort(image); \ image 80 coders/pict.c pixmap.pack_size=ReadBlobMSBLong(image); \ image 81 coders/pict.c pixmap.horizontal_resolution=1UL*ReadBlobMSBShort(image); \ image 82 coders/pict.c (void) ReadBlobMSBShort(image); \ image 83 coders/pict.c pixmap.vertical_resolution=1UL*ReadBlobMSBShort(image); \ image 84 coders/pict.c (void) ReadBlobMSBShort(image); \ image 85 coders/pict.c pixmap.pixel_type=(short) ReadBlobMSBShort(image); \ image 86 coders/pict.c pixmap.bits_per_pixel=(short) ReadBlobMSBShort(image); \ image 87 coders/pict.c pixmap.component_count=(short) ReadBlobMSBShort(image); \ image 88 coders/pict.c pixmap.component_size=(short) ReadBlobMSBShort(image); \ image 89 coders/pict.c pixmap.plane_bytes=ReadBlobMSBLong(image); \ image 90 coders/pict.c pixmap.table=ReadBlobMSBLong(image); \ image 91 coders/pict.c pixmap.reserved=ReadBlobMSBLong(image); \ image 92 coders/pict.c if ((EOFBlob(image) != MagickFalse) || (pixmap.bits_per_pixel <= 0) || \ image 418 coders/pict.c static unsigned char *DecodeImage(Image *blob,Image *image, image 452 coders/pict.c width=image->columns; image 461 coders/pict.c width*=image->matte != MagickFalse ? 4 : 3; image 464 coders/pict.c row_bytes=(size_t) (image->columns | 0x8000); image 465 coders/pict.c if (image->storage_class == DirectClass) image 466 coders/pict.c row_bytes=(size_t) ((4*image->columns) | 0x8000); image 470 coders/pict.c pixels=(unsigned char *) AcquireQuantumMemory(image->rows,row_bytes* image 474 coders/pict.c *extent=row_bytes*image->rows*sizeof(*pixels); image 485 coders/pict.c for (y=0; y < (ssize_t) image->rows; y++) image 492 coders/pict.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 494 coders/pict.c image->filename); image 500 coders/pict.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 502 coders/pict.c image->filename); image 513 coders/pict.c for (y=0; y < (ssize_t) image->rows; y++) image 522 coders/pict.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 523 coders/pict.c CorruptImageError,"UnableToUncompressImage","`%s'",image->filename); image 529 coders/pict.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 530 coders/pict.c CorruptImageError,"UnableToUncompressImage","`%s'",image->filename); image 593 coders/pict.c static size_t EncodeImage(Image *image,const unsigned char *scanline, image 622 coders/pict.c assert(image != (Image *) NULL); image 623 coders/pict.c assert(image->signature == MagickSignature); image 624 coders/pict.c if (image->debug != MagickFalse) image 625 coders/pict.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 706 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) length); image 711 coders/pict.c (void) WriteBlobByte(image,(unsigned char) length); image 717 coders/pict.c (void) WriteBlobByte(image,*q); image 792 coders/pict.c static MagickBooleanType ReadRectangle(Image *image,PICTRectangle *rectangle) image 794 coders/pict.c rectangle->top=(short) ReadBlobMSBShort(image); image 795 coders/pict.c rectangle->left=(short) ReadBlobMSBShort(image); image 796 coders/pict.c rectangle->bottom=(short) ReadBlobMSBShort(image); image 797 coders/pict.c rectangle->right=(short) ReadBlobMSBShort(image); image 798 coders/pict.c if ((EOFBlob(image) != MagickFalse) || (rectangle->left > rectangle->right) || image 812 coders/pict.c *image; image 867 coders/pict.c image=AcquireImage(image_info); image 868 coders/pict.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 871 coders/pict.c image=DestroyImageList(image); image 882 coders/pict.c header_ole[0]=ReadBlobByte(image); image 883 coders/pict.c header_ole[1]=ReadBlobByte(image); image 884 coders/pict.c header_ole[2]=ReadBlobByte(image); image 885 coders/pict.c header_ole[3]=ReadBlobByte(image); image 889 coders/pict.c if (ReadBlobByte(image) == EOF) image 891 coders/pict.c (void) ReadBlobMSBShort(image); /* skip picture size */ image 892 coders/pict.c if (ReadRectangle(image,&frame) == MagickFalse) image 894 coders/pict.c while ((c=ReadBlobByte(image)) == 0) ; image 897 coders/pict.c version=ReadBlobByte(image); image 900 coders/pict.c c=ReadBlobByte(image); image 915 coders/pict.c image->depth=8; image 916 coders/pict.c image->columns=1UL*(frame.right-frame.left); image 917 coders/pict.c image->rows=1UL*(frame.bottom-frame.top); image 918 coders/pict.c image->x_resolution=DefaultResolution; image 919 coders/pict.c image->y_resolution=DefaultResolution; image 920 coders/pict.c image->units=UndefinedResolution; image 922 coders/pict.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 924 coders/pict.c (void) CloseBlob(image); image 925 coders/pict.c return(GetFirstImageInList(image)); image 927 coders/pict.c status=SetImageExtent(image,image->columns,image->rows); image 930 coders/pict.c InheritException(exception,&image->exception); image 931 coders/pict.c return(DestroyImageList(image)); image 937 coders/pict.c for (code=0; EOFBlob(image) == MagickFalse; ) image 940 coders/pict.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 942 coders/pict.c if ((version == 1) || ((TellBlob(image) % 2) != 0)) image 943 coders/pict.c code=ReadBlobByte(image); image 945 coders/pict.c code=(int) ReadBlobMSBShort(image); image 950 coders/pict.c if (image->debug != MagickFalse) image 955 coders/pict.c if (image->debug != MagickFalse) image 965 coders/pict.c length=ReadBlobMSBShort(image); image 969 coders/pict.c if (ReadBlobByte(image) == EOF) image 973 coders/pict.c if (ReadRectangle(image,&frame) == MagickFalse) image 977 coders/pict.c image->columns=1UL*(frame.right-frame.left); image 978 coders/pict.c image->rows=1UL*(frame.bottom-frame.top); image 979 coders/pict.c status=SetImageExtent(image,image->columns,image->rows); image 982 coders/pict.c InheritException(exception,&image->exception); image 983 coders/pict.c return(DestroyImageList(image)); image 985 coders/pict.c (void) SetImageBackgroundColor(image); image 1002 coders/pict.c pattern=1L*ReadBlobMSBShort(image); image 1004 coders/pict.c if (ReadBlobByte(image) == EOF) image 1009 coders/pict.c if (ReadBlobByte(image) == EOF) image 1015 coders/pict.c length=ReadBlobMSBShort(image); image 1016 coders/pict.c if (ReadRectangle(image,&frame) == MagickFalse) image 1019 coders/pict.c image->depth=1UL*pixmap.component_size; image 1020 coders/pict.c image->x_resolution=1.0*pixmap.horizontal_resolution; image 1021 coders/pict.c image->y_resolution=1.0*pixmap.vertical_resolution; image 1022 coders/pict.c image->units=PixelsPerInchResolution; image 1023 coders/pict.c (void) ReadBlobMSBLong(image); image 1024 coders/pict.c flags=1L*ReadBlobMSBShort(image); image 1025 coders/pict.c length=ReadBlobMSBShort(image); image 1027 coders/pict.c (void) ReadBlobMSBLong(image); image 1039 coders/pict.c if (ReadBlobByte(image) == EOF) image 1046 coders/pict.c for (j=0; j < (ssize_t) ReadBlobMSBShort(image); j++) image 1047 coders/pict.c if (ReadBlobByte(image) == EOF) image 1051 coders/pict.c for (j=0; j < (ssize_t) ReadBlobByte(image); j++) image 1052 coders/pict.c if (ReadBlobByte(image) == EOF) image 1061 coders/pict.c image->background_color.red=(Quantum) image 1062 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); image 1063 coders/pict.c image->background_color.green=(Quantum) image 1064 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); image 1065 coders/pict.c image->background_color.blue=(Quantum) image 1066 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); image 1081 coders/pict.c length=ReadBlobMSBShort(image); image 1083 coders/pict.c if (ReadBlobByte(image) == EOF) image 1118 coders/pict.c bytes_per_line=1L*ReadBlobMSBShort(image); image 1121 coders/pict.c (void) ReadBlobMSBShort(image); image 1122 coders/pict.c (void) ReadBlobMSBShort(image); image 1123 coders/pict.c (void) ReadBlobMSBShort(image); image 1125 coders/pict.c if (ReadRectangle(image,&frame) == MagickFalse) image 1130 coders/pict.c tile_image=CloneImage(image,1UL*(frame.right-frame.left), image 1145 coders/pict.c image->matte=tile_image->matte; image 1155 coders/pict.c (void) ReadBlobMSBLong(image); image 1156 coders/pict.c flags=1L*ReadBlobMSBShort(image); image 1157 coders/pict.c tile_image->colors=1UL*ReadBlobMSBShort(image)+1; image 1170 coders/pict.c j=ReadBlobMSBShort(image) % tile_image->colors; image 1174 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); image 1176 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); image 1178 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); image 1194 coders/pict.c if (ReadRectangle(image,&source) == MagickFalse) image 1196 coders/pict.c if (ReadRectangle(image,&destination) == MagickFalse) image 1198 coders/pict.c (void) ReadBlobMSBShort(image); image 1204 coders/pict.c length=ReadBlobMSBShort(image); image 1206 coders/pict.c if (ReadBlobByte(image) == EOF) image 1211 coders/pict.c pixels=DecodeImage(image,tile_image,1UL*bytes_per_line,1,&extent); image 1213 coders/pict.c pixels=DecodeImage(image,tile_image,1UL*bytes_per_line,1U* image 1227 coders/pict.c if (p > (pixels+extent+image->columns)) image 1264 coders/pict.c if (p > (pixels+extent+2*image->columns)) image 1275 coders/pict.c if (p > (pixels+extent+3*image->columns)) image 1299 coders/pict.c status=SetImageProgress(image,LoadImageTag,y,tile_image->rows); image 1307 coders/pict.c (void) CompositeImage(image,CopyCompositeOp,tile_image, image 1323 coders/pict.c type=ReadBlobMSBShort(image); image 1324 coders/pict.c length=ReadBlobMSBShort(image); image 1327 coders/pict.c (void) ReadBlobMSBLong(image); image 1334 coders/pict.c count=ReadBlob(image,length,info); image 1343 coders/pict.c status=SetImageProfile(image,"icc",profile); image 1354 coders/pict.c status=SetImageProfile(image,"iptc",profile); image 1373 coders/pict.c (void) ReadBlobMSBShort(image); image 1376 coders/pict.c if (ReadBlobByte(image) == EOF) image 1387 coders/pict.c if (ReadBlobByte(image) == EOF) image 1421 coders/pict.c (void) CopyMagickString(image->filename,read_info->filename, image 1424 coders/pict.c "UnableToCreateTemporaryFile",image->filename); image 1425 coders/pict.c image=DestroyImageList(image); image 1428 coders/pict.c length=ReadBlobMSBLong(image); image 1432 coders/pict.c (void) ReadBlobMSBLong(image); image 1433 coders/pict.c if (ReadRectangle(image,&frame) == MagickFalse) image 1440 coders/pict.c if (ReadBlobByte(image) == EOF) image 1444 coders/pict.c c=ReadBlobByte(image); image 1458 coders/pict.c (double) MagickMax(image->columns,tile_image->columns), image 1459 coders/pict.c (double) MagickMax(image->rows,tile_image->rows)); image 1460 coders/pict.c (void) SetImageExtent(image, image 1461 coders/pict.c MagickMax(image->columns,tile_image->columns), image 1462 coders/pict.c MagickMax(image->rows,tile_image->rows)); image 1463 coders/pict.c (void) TransformImageColorspace(image,tile_image->colorspace); image 1464 coders/pict.c (void) CompositeImage(image,CopyCompositeOp,tile_image,frame.left, image 1466 coders/pict.c image->compression=tile_image->compression; image 1478 coders/pict.c length=ReadBlobMSBShort(image); image 1480 coders/pict.c if (ReadBlobByte(image) == EOF) image 1491 coders/pict.c if (ReadBlobByte(image) == EOF) image 1496 coders/pict.c (void) CloseBlob(image); image 1497 coders/pict.c return(GetFirstImageInList(image)); image 1602 coders/pict.c Image *image) image 1672 coders/pict.c assert(image != (Image *) NULL); image 1673 coders/pict.c assert(image->signature == MagickSignature); image 1674 coders/pict.c if (image->debug != MagickFalse) image 1675 coders/pict.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1676 coders/pict.c if ((image->columns > 65535L) || (image->rows > 65535L)) image 1678 coders/pict.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1681 coders/pict.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1682 coders/pict.c (void) TransformImageColorspace(image,sRGBColorspace); image 1688 coders/pict.c size_rectangle.bottom=(short) image->rows; image 1689 coders/pict.c size_rectangle.right=(short) image->columns; image 1695 coders/pict.c row_bytes=image->columns; image 1698 coders/pict.c bounds.bottom=(short) image->rows; image 1699 coders/pict.c bounds.right=(short) image->columns; image 1711 coders/pict.c x_resolution=image->x_resolution != 0.0 ? image->x_resolution : image 1713 coders/pict.c y_resolution=image->y_resolution != 0.0 ? image->y_resolution : image 1715 coders/pict.c storage_class=image->storage_class; image 1720 coders/pict.c pixmap.component_count=image->matte != MagickFalse ? 4 : 3; image 1725 coders/pict.c row_bytes=4*image->columns; image 1730 coders/pict.c bytes_per_line=image->columns; image 1732 coders/pict.c bytes_per_line*=image->matte != MagickFalse ? 4 : 3; image 1747 coders/pict.c (void) WriteBlob(image,PictInfoSize,buffer); image 1748 coders/pict.c (void) WriteBlobMSBShort(image,0); image 1749 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) size_rectangle.top); image 1750 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) size_rectangle.left); image 1751 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) size_rectangle.bottom); image 1752 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) size_rectangle.right); image 1753 coders/pict.c (void) WriteBlobMSBShort(image,PictVersion); image 1754 coders/pict.c (void) WriteBlobMSBShort(image,0x02ff); /* version #2 */ image 1755 coders/pict.c (void) WriteBlobMSBShort(image,PictInfoOp); image 1756 coders/pict.c (void) WriteBlobMSBLong(image,0xFFFE0000UL); image 1760 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) x_resolution); image 1761 coders/pict.c (void) WriteBlobMSBShort(image,0x0000); image 1762 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) y_resolution); image 1763 coders/pict.c (void) WriteBlobMSBShort(image,0x0000); image 1764 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) frame_rectangle.top); image 1765 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) frame_rectangle.left); image 1766 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) frame_rectangle.bottom); image 1767 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) frame_rectangle.right); image 1768 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000L); image 1769 coders/pict.c profile=GetImageProfile(image,"iptc"); image 1772 coders/pict.c (void) WriteBlobMSBShort(image,0xa1); image 1773 coders/pict.c (void) WriteBlobMSBShort(image,0x1f2); image 1774 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) image 1776 coders/pict.c (void) WriteBlobString(image,"8BIM"); image 1777 coders/pict.c (void) WriteBlob(image,GetStringInfoLength(profile), image 1780 coders/pict.c profile=GetImageProfile(image,"icc"); image 1783 coders/pict.c (void) WriteBlobMSBShort(image,0xa1); image 1784 coders/pict.c (void) WriteBlobMSBShort(image,0xe0); image 1785 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) image 1787 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1788 coders/pict.c (void) WriteBlob(image,GetStringInfoLength(profile), image 1790 coders/pict.c (void) WriteBlobMSBShort(image,0xa1); image 1791 coders/pict.c (void) WriteBlobMSBShort(image,0xe0); image 1792 coders/pict.c (void) WriteBlobMSBShort(image,4); image 1793 coders/pict.c (void) WriteBlobMSBLong(image,0x00000002UL); image 1798 coders/pict.c (void) WriteBlobMSBShort(image,PictCropRegionOp); image 1799 coders/pict.c (void) WriteBlobMSBShort(image,0xa); image 1800 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) crop_rectangle.top); image 1801 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) crop_rectangle.left); image 1802 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) crop_rectangle.bottom); image 1803 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) crop_rectangle.right); image 1818 coders/pict.c jpeg_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 1821 coders/pict.c (void) CloseBlob(image); image 1828 coders/pict.c &image->exception); image 1833 coders/pict.c (void) WriteBlobMSBShort(image,PictJPEGOp); image 1834 coders/pict.c (void) WriteBlobMSBLong(image,(unsigned int) length+154); image 1835 coders/pict.c (void) WriteBlobMSBShort(image,0x0000); image 1836 coders/pict.c (void) WriteBlobMSBLong(image,0x00010000UL); image 1837 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1838 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1839 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1840 coders/pict.c (void) WriteBlobMSBLong(image,0x00010000UL); image 1841 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1842 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1843 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1844 coders/pict.c (void) WriteBlobMSBLong(image,0x40000000UL); image 1845 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1846 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1847 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1848 coders/pict.c (void) WriteBlobMSBLong(image,0x00400000UL); image 1849 coders/pict.c (void) WriteBlobMSBShort(image,0x0000); image 1850 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) image->rows); image 1851 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) image->columns); image 1852 coders/pict.c (void) WriteBlobMSBShort(image,0x0000); image 1853 coders/pict.c (void) WriteBlobMSBShort(image,768); image 1854 coders/pict.c (void) WriteBlobMSBShort(image,0x0000); image 1855 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1856 coders/pict.c (void) WriteBlobMSBLong(image,0x00566A70UL); image 1857 coders/pict.c (void) WriteBlobMSBLong(image,0x65670000UL); image 1858 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1859 coders/pict.c (void) WriteBlobMSBLong(image,0x00000001UL); image 1860 coders/pict.c (void) WriteBlobMSBLong(image,0x00016170UL); image 1861 coders/pict.c (void) WriteBlobMSBLong(image,0x706C0000UL); image 1862 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1863 coders/pict.c (void) WriteBlobMSBShort(image,768); image 1864 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) image->columns); image 1865 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) image->rows); image 1866 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) x_resolution); image 1867 coders/pict.c (void) WriteBlobMSBShort(image,0x0000); image 1868 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) y_resolution); image 1869 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1870 coders/pict.c (void) WriteBlobMSBLong(image,0x87AC0001UL); image 1871 coders/pict.c (void) WriteBlobMSBLong(image,0x0B466F74UL); image 1872 coders/pict.c (void) WriteBlobMSBLong(image,0x6F202D20UL); image 1873 coders/pict.c (void) WriteBlobMSBLong(image,0x4A504547UL); image 1874 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1875 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1876 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1877 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1878 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000UL); image 1879 coders/pict.c (void) WriteBlobMSBLong(image,0x0018FFFFUL); image 1880 coders/pict.c (void) WriteBlob(image,length,blob); image 1882 coders/pict.c (void) WriteBlobByte(image,'\0'); image 1889 coders/pict.c (void) WriteBlobMSBShort(image,PictPICTOp); image 1892 coders/pict.c (void) WriteBlobMSBShort(image,PictPixmapOp); image 1893 coders/pict.c (void) WriteBlobMSBLong(image,(size_t) base_address); image 1895 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) (row_bytes | 0x8000)); image 1896 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) bounds.top); image 1897 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) bounds.left); image 1898 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) bounds.bottom); image 1899 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) bounds.right); image 1903 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) pixmap.version); image 1904 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) pixmap.pack_type); image 1905 coders/pict.c (void) WriteBlobMSBLong(image,(unsigned int) pixmap.pack_size); image 1906 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) (x_resolution+0.5)); image 1907 coders/pict.c (void) WriteBlobMSBShort(image,0x0000); image 1908 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) (y_resolution+0.5)); image 1909 coders/pict.c (void) WriteBlobMSBShort(image,0x0000); image 1910 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) pixmap.pixel_type); image 1911 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) pixmap.bits_per_pixel); image 1915 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) pixmap.component_count); image 1916 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) pixmap.component_size); image 1917 coders/pict.c (void) WriteBlobMSBLong(image,(unsigned int) pixmap.plane_bytes); image 1918 coders/pict.c (void) WriteBlobMSBLong(image,(unsigned int) pixmap.table); image 1919 coders/pict.c (void) WriteBlobMSBLong(image,(unsigned int) pixmap.reserved); image 1925 coders/pict.c (void) WriteBlobMSBLong(image,0x00000000L); /* color seed */ image 1926 coders/pict.c (void) WriteBlobMSBShort(image,0L); /* color flags */ image 1927 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) (image->colors-1)); image 1928 coders/pict.c for (i=0; i < (ssize_t) image->colors; i++) image 1930 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) i); image 1931 coders/pict.c (void) WriteBlobMSBShort(image,ScaleQuantumToShort( image 1932 coders/pict.c image->colormap[i].red)); image 1933 coders/pict.c (void) WriteBlobMSBShort(image,ScaleQuantumToShort( image 1934 coders/pict.c image->colormap[i].green)); image 1935 coders/pict.c (void) WriteBlobMSBShort(image,ScaleQuantumToShort( image 1936 coders/pict.c image->colormap[i].blue)); image 1942 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) source_rectangle.top); image 1943 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) source_rectangle.left); image 1944 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) source_rectangle.bottom); image 1945 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) source_rectangle.right); image 1946 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) destination_rectangle.top); image 1947 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) destination_rectangle.left); image 1948 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) destination_rectangle.bottom); image 1949 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) destination_rectangle.right); image 1950 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) transfer_mode); image 1956 coders/pict.c for (y=0; y < (ssize_t) image->rows; y++) image 1958 coders/pict.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1961 coders/pict.c indexes=GetVirtualIndexQueue(image); image 1962 coders/pict.c for (x=0; x < (ssize_t) image->columns; x++) image 1964 coders/pict.c count+=EncodeImage(image,scanline,(size_t) (row_bytes & 0x7FFF), image 1966 coders/pict.c if (image->previous == (Image *) NULL) image 1968 coders/pict.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1969 coders/pict.c image->rows); image 1978 coders/pict.c for (y=0; y < (ssize_t) image->rows; y++) image 1979 coders/pict.c count+=EncodeImage(image,scanline,(size_t) (row_bytes & 0x7FFF), image 1991 coders/pict.c green=scanline+image->columns; image 1992 coders/pict.c blue=scanline+2*image->columns; image 1993 coders/pict.c opacity=scanline+3*image->columns; image 1994 coders/pict.c for (y=0; y < (ssize_t) image->rows; y++) image 1996 coders/pict.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2000 coders/pict.c green=scanline+image->columns; image 2001 coders/pict.c blue=scanline+2*image->columns; image 2002 coders/pict.c if (image->matte != MagickFalse) image 2005 coders/pict.c red=scanline+image->columns; image 2006 coders/pict.c green=scanline+2*image->columns; image 2007 coders/pict.c blue=scanline+3*image->columns; image 2009 coders/pict.c for (x=0; x < (ssize_t) image->columns; x++) image 2014 coders/pict.c if (image->matte != MagickFalse) image 2019 coders/pict.c count+=EncodeImage(image,scanline,bytes_per_line & 0x7FFF, image 2021 coders/pict.c if (image->previous == (Image *) NULL) image 2023 coders/pict.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2024 coders/pict.c image->rows); image 2031 coders/pict.c (void) WriteBlobByte(image,'\0'); image 2032 coders/pict.c (void) WriteBlobMSBShort(image,PictEndOfPictureOp); image 2033 coders/pict.c offset=TellBlob(image); image 2034 coders/pict.c offset=SeekBlob(image,512,SEEK_SET); image 2035 coders/pict.c (void) WriteBlobMSBShort(image,(unsigned short) offset); image 2039 coders/pict.c (void) CloseBlob(image); image 92 coders/pix.c *image; image 133 coders/pix.c image=AcquireImage(image_info); image 134 coders/pix.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 137 coders/pix.c image=DestroyImageList(image); image 143 coders/pix.c width=ReadBlobMSBShort(image); image 144 coders/pix.c height=ReadBlobMSBShort(image); image 145 coders/pix.c (void) ReadBlobMSBShort(image); /* x-offset */ image 146 coders/pix.c (void) ReadBlobMSBShort(image); /* y-offset */ image 147 coders/pix.c bits_per_pixel=ReadBlobMSBShort(image); image 156 coders/pix.c image->columns=width; image 157 coders/pix.c image->rows=height; image 159 coders/pix.c if (AcquireImageColormap(image,256) == MagickFalse) image 162 coders/pix.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 164 coders/pix.c status=SetImageExtent(image,image->columns,image->rows); image 167 coders/pix.c InheritException(exception,&image->exception); image 168 coders/pix.c return(DestroyImageList(image)); image 178 coders/pix.c for (y=0; y < (ssize_t) image->rows; y++) image 180 coders/pix.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 183 coders/pix.c indexes=GetAuthenticIndexQueue(image); image 184 coders/pix.c for (x=0; x < (ssize_t) image->columns; x++) image 188 coders/pix.c length=(size_t) ReadBlobByte(image); image 190 coders/pix.c index=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 193 coders/pix.c blue=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 194 coders/pix.c green=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 195 coders/pix.c red=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 198 coders/pix.c if (image->storage_class == PseudoClass) image 206 coders/pix.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 208 coders/pix.c if (image->previous == (Image *) NULL) image 210 coders/pix.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 211 coders/pix.c image->rows); image 216 coders/pix.c if (image->storage_class == PseudoClass) image 217 coders/pix.c (void) SyncImage(image); image 218 coders/pix.c if (EOFBlob(image) != MagickFalse) image 221 coders/pix.c image->filename); image 228 coders/pix.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 230 coders/pix.c width=ReadBlobMSBLong(image); image 231 coders/pix.c height=ReadBlobMSBLong(image); image 232 coders/pix.c (void) ReadBlobMSBShort(image); image 233 coders/pix.c (void) ReadBlobMSBShort(image); image 234 coders/pix.c bits_per_pixel=ReadBlobMSBShort(image); image 242 coders/pix.c AcquireNextImage(image_info,image); image 243 coders/pix.c if (GetNextImageInList(image) == (Image *) NULL) image 245 coders/pix.c image=DestroyImageList(image); image 248 coders/pix.c image=SyncNextImageInList(image); image 249 coders/pix.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 250 coders/pix.c GetBlobSize(image)); image 255 coders/pix.c (void) CloseBlob(image); image 256 coders/pix.c return(GetFirstImageInList(image)); image 94 coders/plasma.c static inline void PlasmaPixel(Image *image,RandomInfo *random_info,double x, image 103 coders/plasma.c exception=(&image->exception); image 104 coders/plasma.c q=GetAuthenticPixels(image,(ssize_t) ceil(x-0.5),(ssize_t) ceil(y-0.5),1,1, image 114 coders/plasma.c (void) SyncAuthenticPixels(image,exception); image 121 coders/plasma.c *image; image 155 coders/plasma.c image=ReadImage(read_info,exception); image 157 coders/plasma.c if (image == (Image *) NULL) image 159 coders/plasma.c image->storage_class=DirectClass; image 160 coders/plasma.c for (y=0; y < (ssize_t) image->rows; y++) image 162 coders/plasma.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 165 coders/plasma.c for (x=0; x < (ssize_t) image->columns; x++) image 170 coders/plasma.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 175 coders/plasma.c segment_info.x2=(double) image->columns-1; image 176 coders/plasma.c segment_info.y2=(double) image->rows-1; image 186 coders/plasma.c PlasmaPixel(image,random_info,segment_info.x1,segment_info.y1); image 187 coders/plasma.c PlasmaPixel(image,random_info,segment_info.x1,(segment_info.y1+ image 189 coders/plasma.c PlasmaPixel(image,random_info,segment_info.x1,segment_info.y2); image 190 coders/plasma.c PlasmaPixel(image,random_info,(segment_info.x1+segment_info.x2)/2, image 192 coders/plasma.c PlasmaPixel(image,random_info,(segment_info.x1+segment_info.x2)/2, image 194 coders/plasma.c PlasmaPixel(image,random_info,(segment_info.x1+segment_info.x2)/2, image 196 coders/plasma.c PlasmaPixel(image,random_info,segment_info.x2,segment_info.y1); image 197 coders/plasma.c PlasmaPixel(image,random_info,segment_info.x2,(segment_info.y1+ image 199 coders/plasma.c PlasmaPixel(image,random_info,segment_info.x2,segment_info.y2); image 202 coders/plasma.c i=(size_t) MagickMax(image->columns,image->rows)/2; image 207 coders/plasma.c if (PlasmaImage(image,&segment_info,0,depth) != MagickFalse) image 209 coders/plasma.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) depth, image 214 coders/plasma.c return(GetFirstImageInList(image)); image 603 coders/png.c *image; image 636 coders/png.c image; image 839 coders/png.c LosslessReduceDepthOK(Image *image) image 858 coders/png.c if (image->depth >= 16) image 865 coders/png.c QuantumToCharToQuantumEqQuantum(image->background_color.red) && image 866 coders/png.c QuantumToCharToQuantumEqQuantum(image->background_color.green) && image 867 coders/png.c QuantumToCharToQuantumEqQuantum(image->background_color.blue) ? image 870 coders/png.c if (ok_to_reduce != MagickFalse && image->storage_class == PseudoClass) image 874 coders/png.c for (indx=0; indx < (ssize_t) image->colors; indx++) image 878 coders/png.c image->colormap[indx].red) && image 880 coders/png.c image->colormap[indx].green) && image 882 coders/png.c image->colormap[indx].blue)) ? image 891 coders/png.c (image->storage_class != PseudoClass)) image 899 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 901 coders/png.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 909 coders/png.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 1181 coders/png.c static size_t WriteBlobMSBULong(Image *image,const size_t value) image 1186 coders/png.c assert(image != (Image *) NULL); image 1187 coders/png.c assert(image->signature == MagickSignature); image 1192 coders/png.c return((size_t) WriteBlob(image,4,buffer)); image 1337 coders/png.c *image; image 1339 coders/png.c image=(Image *) png_get_io_ptr(png_ptr); image 1345 coders/png.c check=(png_size_t) ReadBlob(image,(size_t) length,data); image 1376 coders/png.c *image; image 1386 coders/png.c image=(Image *) mng_info->image; image 1396 coders/png.c check=(png_size_t) ReadBlob(image,(size_t) length,(char *) data); image 1406 coders/png.c check=(png_size_t) ReadBlob(image,(size_t) length, image 1422 coders/png.c check=(png_size_t) ReadBlob(image,(size_t) length, image 1433 coders/png.c ReadBlob(image,5,(char *) mng_info->read_buffer); image 1434 coders/png.c check=(png_size_t) ReadBlob(image,(size_t) length, image 1449 coders/png.c *image; image 1451 coders/png.c image=(Image *) png_get_io_ptr(png_ptr); image 1457 coders/png.c check=(png_size_t) WriteBlob(image,(size_t) length,data); image 1509 coders/png.c if (mng_info->ob[i]->image != (Image *) NULL) image 1510 coders/png.c mng_info->ob[i]->image=DestroyImage(mng_info->ob[i]->image); image 1622 coders/png.c *image; image 1624 coders/png.c image=(Image *) png_get_error_ptr(ping); image 1626 coders/png.c if (image->debug != MagickFalse) image 1630 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(),CoderError, image 1631 coders/png.c message,"`%s'",image->filename); image 1646 coders/png.c *image; image 1651 coders/png.c image=(Image *) png_get_error_ptr(ping); image 1652 coders/png.c if (image->debug != MagickFalse) image 1656 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(),CoderWarning, image 1657 coders/png.c message,"`%s'",image->filename); image 1688 coders/png.c Magick_png_read_raw_profile(png_struct *ping,Image *image, image 1772 coders/png.c (void) SetImageProfile(image,&text[ii].key[17],profile); image 1785 coders/png.c *image; image 1812 coders/png.c image=(Image *) png_get_user_chunk_ptr(ping); image 1814 coders/png.c image->page.width=(size_t) ((chunk->data[0] << 24) | image 1817 coders/png.c image->page.height=(size_t) ((chunk->data[4] << 24) | image 1831 coders/png.c static void read_tIME_chunk(Image *image,png_struct *ping,png_info *info) image 1843 coders/png.c SetImageProperty(image,"png:tIME",timestamp); image 1886 coders/png.c *image; image 2063 coders/png.c image=mng_info->image; image 2073 coders/png.c (int) image->matte, (int) image->rendering_intent, image 2074 coders/png.c (int) image->colorspace, image->gamma); image 2076 coders/png.c intent=Magick_RenderingIntent_to_PNG_RenderingIntent(image->rendering_intent); image 2101 coders/png.c ping=png_create_read_struct_2(PNG_LIBPNG_VER_STRING, image, image 2105 coders/png.c ping=png_create_read_struct(PNG_LIBPNG_VER_STRING,image, image 2147 coders/png.c if (image != (Image *) NULL) image 2149 coders/png.c InheritException(exception,&image->exception); image 2150 coders/png.c image->columns=0; image 2153 coders/png.c return(GetFirstImageInList(image)); image 2190 coders/png.c png_set_read_fn(ping,image,png_get_data); image 2194 coders/png.c png_set_read_fn(ping,image,png_get_data); image 2196 coders/png.c mng_info->image=image; image 2206 coders/png.c png_set_read_fn(ping,image,png_get_data); image 2220 coders/png.c value=GetImageArtifact(image,"png:preserve-iCCP"); image 2253 coders/png.c png_set_read_user_chunk_fn(ping, image, read_vpag_chunk_callback); image 2308 coders/png.c value=GetImageArtifact(image,"png:swap-bytes"); image 2320 coders/png.c (void) SetImageProperty(image,"png:IHDR.color-type-orig",msg); image 2323 coders/png.c (void) SetImageProperty(image,"png:IHDR.bit-depth-orig",msg); image 2337 coders/png.c image->depth=ping_bit_depth; image 2338 coders/png.c image->depth=GetImageQuantumDepth(image,MagickFalse); image 2339 coders/png.c image->interlace=ping_interlace_method != 0 ? PNGInterlace : NoInterlace; image 2344 coders/png.c image->rendering_intent=UndefinedIntent; image 2346 coders/png.c (void) ResetMagickMemory(&image->chromaticity,0, image 2347 coders/png.c sizeof(image->chromaticity)); image 2488 coders/png.c if (image->rendering_intent==UndefinedIntent) image 2490 coders/png.c image->rendering_intent= image 2503 coders/png.c (void) SetImageProfile(image,"icc",profile); image 2508 coders/png.c (void) SetImageProfile(image,"icc",profile); image 2524 coders/png.c if (image->rendering_intent == UndefinedIntent) image 2525 coders/png.c image->rendering_intent= image 2536 coders/png.c if (image->rendering_intent == UndefinedIntent) image 2537 coders/png.c image->rendering_intent= image 2551 coders/png.c image->gamma=(float) file_gamma; image 2577 coders/png.c &image->chromaticity.white_point.x, image 2578 coders/png.c &image->chromaticity.white_point.y, image 2579 coders/png.c &image->chromaticity.red_primary.x, image 2580 coders/png.c &image->chromaticity.red_primary.y, image 2581 coders/png.c &image->chromaticity.green_primary.x, image 2582 coders/png.c &image->chromaticity.green_primary.y, image 2583 coders/png.c &image->chromaticity.blue_primary.x, image 2584 coders/png.c &image->chromaticity.blue_primary.y); image 2588 coders/png.c if (image->chromaticity.red_primary.x>0.6399f && image 2589 coders/png.c image->chromaticity.red_primary.x<0.6401f && image 2590 coders/png.c image->chromaticity.red_primary.y>0.3299f && image 2591 coders/png.c image->chromaticity.red_primary.y<0.3301f && image 2592 coders/png.c image->chromaticity.green_primary.x>0.2999f && image 2593 coders/png.c image->chromaticity.green_primary.x<0.3001f && image 2594 coders/png.c image->chromaticity.green_primary.y>0.5999f && image 2595 coders/png.c image->chromaticity.green_primary.y<0.6001f && image 2596 coders/png.c image->chromaticity.blue_primary.x>0.1499f && image 2597 coders/png.c image->chromaticity.blue_primary.x<0.1501f && image 2598 coders/png.c image->chromaticity.blue_primary.y>0.0599f && image 2599 coders/png.c image->chromaticity.blue_primary.y<0.0601f && image 2600 coders/png.c image->chromaticity.white_point.x>0.3126f && image 2601 coders/png.c image->chromaticity.white_point.x<0.3128f && image 2602 coders/png.c image->chromaticity.white_point.y>0.3289f && image 2603 coders/png.c image->chromaticity.white_point.y<0.3291f) image 2607 coders/png.c if (image->rendering_intent != UndefinedIntent) image 2611 coders/png.c (image->gamma > .45 && image->gamma < .46)) && image 2618 coders/png.c (image->rendering_intent)); image 2628 coders/png.c image->page.x=(ssize_t) png_get_x_offset_pixels(ping, ping_info); image 2629 coders/png.c image->page.y=(ssize_t) png_get_y_offset_pixels(ping, ping_info); image 2632 coders/png.c if (image->page.x || image->page.y) image 2635 coders/png.c image->page.x,(double) image->page.y); image 2660 coders/png.c image->x_resolution=(double) x_resolution; image 2661 coders/png.c image->y_resolution=(double) y_resolution; image 2665 coders/png.c image->units=PixelsPerCentimeterResolution; image 2666 coders/png.c image->x_resolution=(double) x_resolution/100.0; image 2667 coders/png.c image->y_resolution=(double) y_resolution/100.0; image 2748 coders/png.c image->background_color=mng_info->mng_global_bkgd; image 2790 coders/png.c image->background_color.red= image 2793 coders/png.c image->background_color.green= image 2796 coders/png.c image->background_color.blue= image 2799 coders/png.c image->background_color.opacity=OpaqueOpacity; image 2804 coders/png.c (double) image->background_color.red, image 2805 coders/png.c (double) image->background_color.green, image 2806 coders/png.c (double) image->background_color.blue); image 2839 coders/png.c image->matte=MagickFalse; image 2898 coders/png.c image->page.y=mng_info->y_off[mng_info->object_id]; image 2901 coders/png.c image->compression=ZipCompression; image 2902 coders/png.c image->columns=ping_width; image 2903 coders/png.c image->rows=ping_height; image 2911 coders/png.c image->storage_class=PseudoClass; image 2913 coders/png.c image->colors=one << ping_file_depth; image 2915 coders/png.c if (image->colors > 256) image 2916 coders/png.c image->colors=256; image 2918 coders/png.c if (image->colors > 65536L) image 2919 coders/png.c image->colors=65536L; image 2927 coders/png.c image->colors=(size_t) number_colors; image 2935 coders/png.c if (image->storage_class == PseudoClass) image 2940 coders/png.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 2952 coders/png.c image->colormap[i].red=ScaleCharToQuantum(palette[i].red); image 2953 coders/png.c image->colormap[i].green=ScaleCharToQuantum(palette[i].green); image 2954 coders/png.c image->colormap[i].blue=ScaleCharToQuantum(palette[i].blue); image 2957 coders/png.c for ( ; i < (ssize_t) image->colors; i++) image 2959 coders/png.c image->colormap[i].red=0; image 2960 coders/png.c image->colormap[i].green=0; image 2961 coders/png.c image->colormap[i].blue=0; image 2976 coders/png.c for (i=0; i < (ssize_t) image->colors; i++) image 2978 coders/png.c image->colormap[i].red=(Quantum) (i*scale); image 2979 coders/png.c image->colormap[i].green=(Quantum) (i*scale); image 2980 coders/png.c image->colormap[i].blue=(Quantum) (i*scale); image 2995 coders/png.c (void) SetImageProperty(image,"png:IHDR.width,height",msg); image 2998 coders/png.c (void) SetImageProperty(image,"png:IHDR.bit_depth",msg); image 3003 coders/png.c (void) SetImageProperty(image,"png:IHDR.color_type",msg); image 3020 coders/png.c (void) SetImageProperty(image,"png:IHDR.interlace_method",msg); image 3026 coders/png.c (void) SetImageProperty(image,"png:PLTE.number_colors",msg); image 3031 coders/png.c read_tIME_chunk(image,ping,ping_info); image 3038 coders/png.c if (image->delay != 0) image 3041 coders/png.c if ((mng_info->mng_type == 0 && (image->ping != MagickFalse)) || ( image 3047 coders/png.c image->storage_class=DirectClass; image 3063 coders/png.c return(image); image 3071 coders/png.c pixel_info=AcquireVirtualMemory(image->rows,ping_rowbytes* image 3094 coders/png.c if (image->storage_class == DirectClass) image 3099 coders/png.c quantum_info=AcquireQuantumInfo(image_info,image); image 3104 coders/png.c (void) SetQuantumEndian(image,quantum_info,MSBEndian); image 3111 coders/png.c image->matte=(((int) ping_color_type == PNG_COLOR_TYPE_RGB_ALPHA) || image 3116 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 3130 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 3138 coders/png.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 3142 coders/png.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 3146 coders/png.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 3150 coders/png.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 3154 coders/png.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 3166 coders/png.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 3200 coders/png.c status=SetImageProgress(image,LoadImageTag, image 3201 coders/png.c (MagickOffsetType) y, image->rows); image 3206 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3212 coders/png.c status=SetImageProgress(image,LoadImageTag,pass,num_passes); image 3237 coders/png.c image->matte=ping_color_type == PNG_COLOR_TYPE_GRAY_ALPHA ? image 3240 coders/png.c quantum_scanline=(Quantum *) AcquireQuantumMemory(image->columns, image 3241 coders/png.c (image->matte ? 2 : 1)*sizeof(*quantum_scanline)); image 3246 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 3262 coders/png.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 3267 coders/png.c indexes=GetAuthenticIndexQueue(image); image 3277 coders/png.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 3296 coders/png.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 3304 coders/png.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 3310 coders/png.c if (image->colors > 256) image 3323 coders/png.c if (image->colors > 256) image 3364 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 3367 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3372 coders/png.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 3373 coders/png.c image->rows); image 3382 coders/png.c status=SetImageProgress(image,LoadImageTag,pass,num_passes); image 3391 coders/png.c image->matte=found_transparent_pixel; image 3408 coders/png.c if (image->storage_class == PseudoClass) image 3413 coders/png.c matte=image->matte; image 3414 coders/png.c image->matte=MagickFalse; image 3415 coders/png.c (void) SyncImage(image); image 3416 coders/png.c image->matte=matte; image 3422 coders/png.c (ssize_t) image_info->first_scene && image->delay != 0) image 3426 coders/png.c image->colors=2; image 3427 coders/png.c (void) SetImageBackgroundColor(image); image 3435 coders/png.c return(image); image 3446 coders/png.c storage_class=image->storage_class; image 3447 coders/png.c image->matte=MagickTrue; image 3457 coders/png.c image->colormap[x].opacity = image 3464 coders/png.c for (x=0; x < (int) image->colors; x++) image 3466 coders/png.c if (ScaleQuantumToShort(image->colormap[x].red) == image 3469 coders/png.c image->colormap[x].opacity = (Quantum) TransparentOpacity; image 3473 coders/png.c (void) SyncImage(image); image 3481 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 3483 coders/png.c image->storage_class=storage_class; image 3484 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 3489 coders/png.c indexes=GetAuthenticIndexQueue(image); image 3494 coders/png.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 3516 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3522 coders/png.c image->storage_class=DirectClass; image 3529 coders/png.c image_gamma = image->gamma; image 3539 coders/png.c image->intensity = Rec709LuminancePixelIntensityMethod; image 3540 coders/png.c SetImageColorspace(image,GRAYColorspace); image 3545 coders/png.c save_rendering_intent = image->rendering_intent; image 3547 coders/png.c save_chromaticity = image->chromaticity; image 3549 coders/png.c SetImageColorspace(image,GRAYColorspace); image 3550 coders/png.c image->rendering_intent = save_rendering_intent; image 3551 coders/png.c image->chromaticity = save_chromaticity; image 3554 coders/png.c image->gamma = image_gamma; image 3558 coders/png.c " image->colorspace=%d",(int) image->colorspace); image 3588 coders/png.c (void) Magick_png_read_raw_profile(ping,image,image_info,text, image 3624 coders/png.c (void) SetImageProperty(image,text[i].key,value); image 3657 coders/png.c mng_info->ob[object_id]->image=(Image *) NULL; image 3675 coders/png.c if (mng_info->ob[object_id]->image != (Image *) NULL) image 3676 coders/png.c mng_info->ob[object_id]->image=DestroyImage image 3677 coders/png.c (mng_info->ob[object_id]->image); image 3679 coders/png.c mng_info->ob[object_id]->image=CloneImage(image,0,0,MagickTrue, image 3680 coders/png.c &image->exception); image 3682 coders/png.c if (mng_info->ob[object_id]->image != (Image *) NULL) image 3683 coders/png.c mng_info->ob[object_id]->image->file=(FILE *) NULL; image 3727 coders/png.c image->matte=(((int) ping_color_type == PNG_COLOR_TYPE_RGB_ALPHA) || image 3733 coders/png.c if (image->matte != MagickFalse) image 3736 coders/png.c (void) SetImageType(image,GrayscaleMatteType); image 3739 coders/png.c (void) SetImageType(image,PaletteMatteType); image 3742 coders/png.c (void) SetImageType(image,TrueColorMatteType); image 3748 coders/png.c (void) SetImageType(image,GrayscaleType); image 3751 coders/png.c (void) SetImageType(image,PaletteType); image 3754 coders/png.c (void) SetImageType(image,TrueColorType); image 3768 coders/png.c (void) SetImageProperty(image,"png:text",msg); image 3775 coders/png.c (void) SetImageProperty(image,"png:text-encoded profiles",msg); image 3782 coders/png.c (void) SetImageProperty(image,"png:cHRM",msg); image 3789 coders/png.c (void) SetImageProperty(image,"png:bKGD",msg); image 3796 coders/png.c (void) SetImageProperty(image,"png:iCCP",msg); image 3799 coders/png.c (void) SetImageProperty(image,"png:tRNS",msg); image 3808 coders/png.c (void) SetImageProperty(image,"png:sRGB",msg); image 3816 coders/png.c (void) SetImageProperty(image,"png:gAMA",msg); image 3825 coders/png.c (void) SetImageProperty(image,"png:pHYs",msg); image 3833 coders/png.c (double) image->page.x,(double) image->page.y); image 3834 coders/png.c (void) SetImageProperty(image,"png:oFFs",msg); image 3839 coders/png.c read_tIME_chunk(image,ping,end_info); image 3842 coders/png.c if ((image->page.width != 0 && image->page.width != image->columns) || image 3843 coders/png.c (image->page.height != 0 && image->page.height != image->rows)) image 3847 coders/png.c (double) image->page.width,(double) image->page.height); image 3848 coders/png.c (void) SetImageProperty(image,"png:vpAg",msg); image 3871 coders/png.c return(image); image 3879 coders/png.c *image; image 3908 coders/png.c image=AcquireImage(image_info); image 3910 coders/png.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 3918 coders/png.c count=ReadBlob(image,8,(unsigned char *) magic_number); image 3936 coders/png.c mng_info->image=image; image 3939 coders/png.c image=ReadOnePNGImage(mng_info,image_info,exception); image 3942 coders/png.c if (image == (Image *) NULL) image 3951 coders/png.c (void) CloseBlob(image); image 3953 coders/png.c if ((image->columns == 0) || (image->rows == 0)) image 3962 coders/png.c if ((IssRGBColorspace(image->colorspace) != MagickFalse) && image 3963 coders/png.c ((image->gamma < .45) || (image->gamma > .46)) && image 3964 coders/png.c !(image->chromaticity.red_primary.x>0.6399f && image 3965 coders/png.c image->chromaticity.red_primary.x<0.6401f && image 3966 coders/png.c image->chromaticity.red_primary.y>0.3299f && image 3967 coders/png.c image->chromaticity.red_primary.y<0.3301f && image 3968 coders/png.c image->chromaticity.green_primary.x>0.2999f && image 3969 coders/png.c image->chromaticity.green_primary.x<0.3001f && image 3970 coders/png.c image->chromaticity.green_primary.y>0.5999f && image 3971 coders/png.c image->chromaticity.green_primary.y<0.6001f && image 3972 coders/png.c image->chromaticity.blue_primary.x>0.1499f && image 3973 coders/png.c image->chromaticity.blue_primary.x<0.1501f && image 3974 coders/png.c image->chromaticity.blue_primary.y>0.0599f && image 3975 coders/png.c image->chromaticity.blue_primary.y<0.0601f && image 3976 coders/png.c image->chromaticity.white_point.x>0.3126f && image 3977 coders/png.c image->chromaticity.white_point.x<0.3128f && image 3978 coders/png.c image->chromaticity.white_point.y>0.3289f && image 3979 coders/png.c image->chromaticity.white_point.y<0.3291f)) image 3980 coders/png.c SetImageColorspace(image,RGBColorspace); image 3985 coders/png.c (double) image->page.width,(double) image->page.height, image 3986 coders/png.c (double) image->page.x,(double) image->page.y); image 3991 coders/png.c return(image); image 4035 coders/png.c *image, image 4102 coders/png.c image=mng_info->image; image 4104 coders/png.c if (GetAuthenticPixelQueue(image) != (PixelPacket *) NULL) image 4113 coders/png.c AcquireNextImage(image_info,image); image 4115 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 4118 coders/png.c image=SyncNextImageInList(image); image 4120 coders/png.c mng_info->image=image; image 4142 coders/png.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 4143 coders/png.c 2*GetBlobSize(image)); image 4150 coders/png.c length=ReadBlobMSBLong(image); image 4151 coders/png.c count=(unsigned int) ReadBlob(image,4,(unsigned char *) type); image 4172 coders/png.c chunk[i]=(unsigned char) ReadBlobByte(image); image 4177 coders/png.c (void) ReadBlobMSBLong(image); /* read crc word */ image 4194 coders/png.c image->interlace=jng_image_interlace_method != 0 ? PNGInterlace : image 4405 coders/png.c image->background_color.red=ScaleCharToQuantum(p[1]); image 4406 coders/png.c image->background_color.green=image->background_color.red; image 4407 coders/png.c image->background_color.blue=image->background_color.red; image 4412 coders/png.c image->background_color.red=ScaleCharToQuantum(p[1]); image 4413 coders/png.c image->background_color.green=ScaleCharToQuantum(p[3]); image 4414 coders/png.c image->background_color.blue=ScaleCharToQuantum(p[5]); image 4424 coders/png.c image->gamma=((float) mng_get_long(p))*0.00001; image 4434 coders/png.c image->chromaticity.white_point.x=0.00001*mng_get_long(p); image 4435 coders/png.c image->chromaticity.white_point.y=0.00001*mng_get_long(&p[4]); image 4436 coders/png.c image->chromaticity.red_primary.x=0.00001*mng_get_long(&p[8]); image 4437 coders/png.c image->chromaticity.red_primary.y=0.00001*mng_get_long(&p[12]); image 4438 coders/png.c image->chromaticity.green_primary.x=0.00001*mng_get_long(&p[16]); image 4439 coders/png.c image->chromaticity.green_primary.y=0.00001*mng_get_long(&p[20]); image 4440 coders/png.c image->chromaticity.blue_primary.x=0.00001*mng_get_long(&p[24]); image 4441 coders/png.c image->chromaticity.blue_primary.y=0.00001*mng_get_long(&p[28]); image 4452 coders/png.c image->rendering_intent= image 4454 coders/png.c image->gamma=1.000f/2.200f; image 4455 coders/png.c image->chromaticity.red_primary.x=0.6400f; image 4456 coders/png.c image->chromaticity.red_primary.y=0.3300f; image 4457 coders/png.c image->chromaticity.green_primary.x=0.3000f; image 4458 coders/png.c image->chromaticity.green_primary.y=0.6000f; image 4459 coders/png.c image->chromaticity.blue_primary.x=0.1500f; image 4460 coders/png.c image->chromaticity.blue_primary.y=0.0600f; image 4461 coders/png.c image->chromaticity.white_point.x=0.3127f; image 4462 coders/png.c image->chromaticity.white_point.y=0.3290f; image 4473 coders/png.c image->page.x=(ssize_t) mng_get_long(p); image 4474 coders/png.c image->page.y=(ssize_t) mng_get_long(&p[4]); image 4478 coders/png.c image->page.x/=10000; image 4479 coders/png.c image->page.y/=10000; image 4493 coders/png.c image->x_resolution=(double) mng_get_long(p); image 4494 coders/png.c image->y_resolution=(double) mng_get_long(&p[4]); image 4497 coders/png.c image->units=PixelsPerCentimeterResolution; image 4498 coders/png.c image->x_resolution=image->x_resolution/100.0f; image 4499 coders/png.c image->y_resolution=image->y_resolution/100.0f; image 4588 coders/png.c image->columns=jng_width; image 4589 coders/png.c image->rows=jng_height; image 4590 coders/png.c length=image->columns*sizeof(PixelPacket); image 4592 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 4594 coders/png.c s=GetVirtualPixels(jng_image,0,y,image->columns,1,&image->exception); image 4595 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 4598 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 4631 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 4633 coders/png.c s=GetVirtualPixels(jng_image,0,y,image->columns,1, image 4634 coders/png.c &image->exception); image 4635 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 4637 coders/png.c if (image->matte != MagickFalse) image 4638 coders/png.c for (x=(ssize_t) image->columns; x != 0; x--,q++,s++) image 4643 coders/png.c for (x=(ssize_t) image->columns; x != 0; x--,q++,s++) image 4647 coders/png.c image->matte=MagickTrue; image 4650 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 4670 coders/png.c if (image->page.width == 0 && image->page.height == 0) image 4672 coders/png.c image->page.width=jng_width; image 4673 coders/png.c image->page.height=jng_height; image 4676 coders/png.c if (image->page.x == 0 && image->page.y == 0) image 4678 coders/png.c image->page.x=mng_info->x_off[mng_info->object_id]; image 4679 coders/png.c image->page.y=mng_info->y_off[mng_info->object_id]; image 4684 coders/png.c image->page.y=mng_info->y_off[mng_info->object_id]; image 4688 coders/png.c status=SetImageProgress(image,LoadImagesTag,2*TellBlob(image), image 4689 coders/png.c 2*GetBlobSize(image)); image 4698 coders/png.c return(image); image 4735 coders/png.c *image; image 4760 coders/png.c image=AcquireImage(image_info); image 4762 coders/png.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 4772 coders/png.c count=(size_t) ReadBlob(image,8,(unsigned char *) magic_number); image 4790 coders/png.c mng_info->image=image; image 4791 coders/png.c image=ReadOneJNGImage(mng_info,image_info,exception); image 4794 coders/png.c if (image == (Image *) NULL) image 4802 coders/png.c (void) CloseBlob(image); image 4804 coders/png.c if (image->columns == 0 || image->rows == 0) image 4816 coders/png.c return(image); image 4826 coders/png.c *image; image 4928 coders/png.c image=AcquireImage(image_info); image 4930 coders/png.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 4949 coders/png.c mng_info->image=image; image 4958 coders/png.c count=(size_t) ReadBlob(image,8,(unsigned char *) magic_number); image 4980 coders/png.c mng_info->ticks_per_second=1UL*image->ticks_per_second; image 4989 coders/png.c mng_background_color=image->background_color; image 5008 coders/png.c length=ReadBlobMSBLong(image); image 5009 coders/png.c count=(size_t) ReadBlob(image,4,(unsigned char *) type); image 5036 coders/png.c chunk[i]=(unsigned char) ReadBlobByte(image); image 5041 coders/png.c (void) ReadBlobMSBLong(image); /* read crc word */ image 5049 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 5050 coders/png.c CoderError,"JNGCompressNotSupported","`%s'",image->filename); image 5060 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 5061 coders/png.c CoderError,"DeltaPNGNotSupported","`%s'",image->filename); image 5113 coders/png.c default_frame_delay=1UL*image->ticks_per_second/ image 5135 coders/png.c if (GetAuthenticPixelQueue(image) != (PixelPacket *) NULL) image 5138 coders/png.c AcquireNextImage(image_info,image); image 5140 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 5143 coders/png.c image=SyncNextImageInList(image); image 5144 coders/png.c mng_info->image=image; image 5184 coders/png.c image->iterations=mng_iterations; image 5192 coders/png.c repeat,(double) final_delay, (double) image->iterations); image 5201 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 5203 coders/png.c image->filename); image 5210 coders/png.c (void) ThrowMagickException(&image->exception, image 5213 coders/png.c "`%s'", image->filename); image 5221 coders/png.c (void) ThrowMagickException(&image->exception, image 5223 coders/png.c "object id too large","`%s'",image->filename); image 5231 coders/png.c (void) ThrowMagickException(&image->exception, image 5234 coders/png.c image->filename); image 5462 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 5464 coders/png.c image->filename); image 5467 coders/png.c image->delay=frame_delay; image 5506 coders/png.c frame_delay=1UL*image->ticks_per_second* image 5527 coders/png.c frame_timeout=1UL*image->ticks_per_second* image 5584 coders/png.c if (GetAuthenticPixelQueue(image) != (PixelPacket *) NULL) image 5586 coders/png.c AcquireNextImage(image_info,image); image 5588 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 5590 coders/png.c image=DestroyImageList(image); image 5595 coders/png.c image=SyncNextImageInList(image); image 5598 coders/png.c mng_info->image=image; image 5602 coders/png.c image->start_loop=MagickTrue; image 5603 coders/png.c image->iterations=mng_iterations; image 5608 coders/png.c image->start_loop=MagickFalse; image 5610 coders/png.c image->columns=subframe_width; image 5611 coders/png.c image->rows=subframe_height; image 5612 coders/png.c image->page.width=subframe_width; image 5613 coders/png.c image->page.height=subframe_height; image 5614 coders/png.c image->page.x=mng_info->clip.left; image 5615 coders/png.c image->page.y=mng_info->clip.top; image 5616 coders/png.c image->background_color=mng_background_color; image 5617 coders/png.c image->matte=MagickFalse; image 5618 coders/png.c image->delay=0; image 5619 coders/png.c (void) SetImageBackgroundColor(image); image 5769 coders/png.c mng_info->loop_jump[loop_level]=TellBlob(image); image 5812 coders/png.c offset=SeekBlob(image, image 5846 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 5848 coders/png.c image->filename); image 5882 coders/png.c (void) ThrowMagickException(&image->exception, image 5885 coders/png.c "`%s'",image->filename); image 5960 coders/png.c (void) ThrowMagickException(&image->exception, image 5963 coders/png.c image->filename); image 5987 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 5989 coders/png.c image->filename); image 5997 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 5999 coders/png.c image->filename); image 6037 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 6038 coders/png.c CoderError,"pHYg is not implemented.","`%s'",image->filename); image 6047 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 6049 coders/png.c image->filename); image 6156 coders/png.c if (GetAuthenticPixelQueue(image) != (PixelPacket *) NULL) image 6161 coders/png.c AcquireNextImage(image_info,image); image 6163 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 6165 coders/png.c image=DestroyImageList(image); image 6170 coders/png.c image=SyncNextImageInList(image); image 6172 coders/png.c mng_info->image=image; image 6176 coders/png.c image->start_loop=MagickTrue; image 6177 coders/png.c image->iterations=mng_iterations; image 6182 coders/png.c image->start_loop=MagickFalse; image 6186 coders/png.c image->delay=0; image 6187 coders/png.c image->columns=mng_info->mng_width; image 6188 coders/png.c image->rows=mng_info->mng_height; image 6189 coders/png.c image->page.width=mng_info->mng_width; image 6190 coders/png.c image->page.height=mng_info->mng_height; image 6191 coders/png.c image->page.x=0; image 6192 coders/png.c image->page.y=0; image 6193 coders/png.c image->background_color=mng_background_color; image 6194 coders/png.c (void) SetImageBackgroundColor(image); image 6209 coders/png.c if (GetAuthenticPixelQueue(image) != (PixelPacket *) NULL) image 6214 coders/png.c AcquireNextImage(image_info,image); image 6216 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 6218 coders/png.c image=DestroyImageList(image); image 6223 coders/png.c image=SyncNextImageInList(image); image 6226 coders/png.c mng_info->image=image; image 6230 coders/png.c image->start_loop=MagickTrue; image 6231 coders/png.c image->iterations=mng_iterations; image 6236 coders/png.c image->start_loop=MagickFalse; image 6238 coders/png.c image->delay=0; image 6239 coders/png.c image->columns=subframe_width; image 6240 coders/png.c image->rows=subframe_height; image 6241 coders/png.c image->page.width=subframe_width; image 6242 coders/png.c image->page.height=subframe_height; image 6243 coders/png.c image->page.x=mng_info->clip.left; image 6244 coders/png.c image->page.y=mng_info->clip.top; image 6245 coders/png.c image->background_color=mng_background_color; image 6246 coders/png.c image->matte=MagickFalse; image 6247 coders/png.c (void) SetImageBackgroundColor(image); image 6258 coders/png.c if (GetAuthenticPixelQueue(image) != (PixelPacket *) NULL) image 6263 coders/png.c AcquireNextImage(image_info,image); image 6265 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 6267 coders/png.c image=DestroyImageList(image); image 6272 coders/png.c image=SyncNextImageInList(image); image 6274 coders/png.c mng_info->image=image; image 6275 coders/png.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 6276 coders/png.c GetBlobSize(image)); image 6283 coders/png.c image->start_loop=MagickTrue; image 6288 coders/png.c image->start_loop=MagickFalse; image 6292 coders/png.c image->delay=frame_delay; image 6297 coders/png.c image->delay=0; image 6299 coders/png.c image->page.width=mng_info->mng_width; image 6300 coders/png.c image->page.height=mng_info->mng_height; image 6301 coders/png.c image->page.x=mng_info->x_off[object_id]; image 6302 coders/png.c image->page.y=mng_info->y_off[object_id]; image 6303 coders/png.c image->iterations=mng_iterations; image 6314 coders/png.c offset=SeekBlob(image,-((ssize_t) length+12),SEEK_CUR); image 6320 coders/png.c mng_info->image=image; image 6325 coders/png.c image=ReadOnePNGImage(mng_info,image_info,exception); image 6329 coders/png.c image=ReadOneJNGImage(mng_info,image_info,exception); image 6332 coders/png.c if (image == (Image *) NULL) image 6342 coders/png.c if (image->columns == 0 || image->rows == 0) image 6344 coders/png.c (void) CloseBlob(image); image 6345 coders/png.c image=DestroyImageList(image); image 6350 coders/png.c mng_info->image=image; image 6371 coders/png.c if (image->columns > 1) image 6374 coders/png.c if (image->columns > 2) image 6376 coders/png.c ((image->columns-2)*(mng_info->magn_mx)); image 6381 coders/png.c magnified_width=(png_uint_32) image->columns; image 6383 coders/png.c if (image->columns > 1) image 6386 coders/png.c if (image->columns > 2) image 6389 coders/png.c if (image->columns > 3) image 6391 coders/png.c ((image->columns-3)*(mng_info->magn_mx-1)); image 6398 coders/png.c if (image->rows > 1) image 6401 coders/png.c if (image->rows > 2) image 6403 coders/png.c ((image->rows-2)*(mng_info->magn_my)); image 6408 coders/png.c magnified_height=(png_uint_32) image->rows; image 6410 coders/png.c if (image->rows > 1) image 6413 coders/png.c if (image->rows > 2) image 6416 coders/png.c if (image->rows > 3) image 6418 coders/png.c ((image->rows-3)*(mng_info->magn_my-1)); image 6421 coders/png.c if (magnified_height > image->rows || image 6422 coders/png.c magnified_width > image->columns) image 6455 coders/png.c AcquireNextImage(image_info,image); image 6457 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 6459 coders/png.c image=DestroyImageList(image); image 6464 coders/png.c large_image=SyncNextImageInList(image); image 6480 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 6482 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1, image 6485 coders/png.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 6498 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 6506 coders/png.c if (image->matte != MagickFalse) image 6534 coders/png.c length=(size_t) image->columns; image 6541 coders/png.c image=DestroyImageList(image); image 6547 coders/png.c n=GetAuthenticPixels(image,0,0,image->columns,1,exception); image 6550 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 6555 coders/png.c else if (magn_methy > 1 && y == (ssize_t) image->rows-2) image 6558 coders/png.c else if (magn_methy <= 1 && y == (ssize_t) image->rows-1) image 6561 coders/png.c else if (magn_methy > 1 && y == (ssize_t) image->rows-1) image 6571 coders/png.c if (y < (ssize_t) image->rows-1) image 6573 coders/png.c n=GetAuthenticPixels(image,0,y+1,image->columns,1, image 6588 coders/png.c q+=(large_image->columns-image->columns); image 6590 coders/png.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 6634 coders/png.c if (image->matte != MagickFalse) image 6692 coders/png.c length=image->columns; image 6698 coders/png.c DeleteImageFromList(&image); image 6700 coders/png.c image=large_image; image 6702 coders/png.c mng_info->image=image; image 6707 coders/png.c " Magnify the columns to %.20g",(double) image->columns); image 6709 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 6714 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 6715 coders/png.c pixels=q+(image->columns-length); image 6718 coders/png.c for (x=(ssize_t) (image->columns-length); image 6719 coders/png.c x < (ssize_t) image->columns; x++) image 6723 coders/png.c if (x == (ssize_t) (image->columns-length)) image 6726 coders/png.c else if (magn_methx > 1 && x == (ssize_t) image->columns-2) image 6729 coders/png.c else if (magn_methx <= 1 && x == (ssize_t) image->columns-1) image 6732 coders/png.c else if (magn_methx > 1 && x == (ssize_t) image->columns-1) image 6777 coders/png.c if (image->matte != MagickFalse) image 6830 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 6839 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 6841 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 6843 coders/png.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 6856 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 6907 coders/png.c image->page.width=image->columns; image 6908 coders/png.c image->page.height=image->rows; image 6909 coders/png.c image->page.x=0; image 6910 coders/png.c image->page.y=0; image 6911 coders/png.c im=CropImage(image,&crop_info,exception); image 6915 coders/png.c image->columns=im->columns; image 6916 coders/png.c image->rows=im->rows; image 6918 coders/png.c image->page.width=image->columns; image 6919 coders/png.c image->page.height=image->rows; image 6920 coders/png.c image->page.x=crop_box.left; image 6921 coders/png.c image->page.y=crop_box.top; image 6932 coders/png.c image->columns=1; image 6933 coders/png.c image->rows=1; image 6934 coders/png.c image->colors=2; image 6935 coders/png.c (void) SetImageBackgroundColor(image); image 6936 coders/png.c image->page.width=1; image 6937 coders/png.c image->page.height=1; image 6938 coders/png.c image->page.x=0; image 6939 coders/png.c image->page.y=0; image 6943 coders/png.c image=mng_info->image; image 6951 coders/png.c if (image->depth > 16) image 6952 coders/png.c image->depth=16; image 6956 coders/png.c if (image->depth > 8) image 6959 coders/png.c image->depth=16; image 6962 coders/png.c if (LosslessReduceDepthOK(image) != MagickFalse) image 6963 coders/png.c image->depth = 8; image 6966 coders/png.c GetImageException(image,exception); image 6981 coders/png.c (void) CloseBlob(image); image 6998 coders/png.c if (GetAuthenticPixelQueue(image) != (PixelPacket *) NULL) image 7003 coders/png.c AcquireNextImage(image_info,image); image 7004 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 7006 coders/png.c image=DestroyImageList(image); image 7015 coders/png.c image=SyncNextImageInList(image); image 7017 coders/png.c image->columns=mng_info->mng_width; image 7018 coders/png.c image->rows=mng_info->mng_height; image 7019 coders/png.c image->page.width=mng_info->mng_width; image 7020 coders/png.c image->page.height=mng_info->mng_height; image 7021 coders/png.c image->page.x=0; image 7022 coders/png.c image->page.y=0; image 7023 coders/png.c image->background_color=mng_background_color; image 7024 coders/png.c image->matte=MagickFalse; image 7027 coders/png.c (void) SetImageBackgroundColor(image); image 7032 coders/png.c image->iterations=mng_iterations; image 7035 coders/png.c image->start_loop=MagickTrue; image 7037 coders/png.c while (GetPreviousImageInList(image) != (Image *) NULL) image 7045 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 7052 coders/png.c image=GetPreviousImageInList(image); image 7054 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 7059 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 7066 coders/png.c GetNextImageInList(image) == image 7073 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 7084 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 7087 coders/png.c if (image != (Image *) NULL) image 7088 coders/png.c image=DestroyImageList(image); image 7095 coders/png.c final_delay=1UL*MagickMax(image->ticks_per_second,1L)* image 7099 coders/png.c image->start_loop=MagickTrue; image 7104 coders/png.c while (GetNextImageInList(image) != (Image *) NULL) image 7106 coders/png.c if (image->delay) image 7107 coders/png.c final_image_delay=image->delay; image 7109 coders/png.c image=GetNextImageInList(image); image 7115 coders/png.c image->delay=final_delay; image 7119 coders/png.c " image->delay=%.20g, final_delay=%.20g",(double) image->delay, image 7128 coders/png.c image=GetFirstImageInList(image); image 7134 coders/png.c " scene 0 delay=%.20g",(double) image->delay); image 7136 coders/png.c while (GetNextImageInList(image) != (Image *) NULL) image 7138 coders/png.c image=GetNextImageInList(image); image 7140 coders/png.c " scene %.20g delay=%.20g",(double) scene++,(double) image->delay); image 7144 coders/png.c image=GetFirstImageInList(image); image 7158 coders/png.c scene=image->scene; image 7159 coders/png.c next_image=CoalesceImages(image,&image->exception); image 7164 coders/png.c image=DestroyImageList(image); image 7165 coders/png.c image=next_image; image 7167 coders/png.c for (next=image; next != (Image *) NULL; next=next_image) image 7184 coders/png.c image=next_image; image 7193 coders/png.c while (GetNextImageInList(image) != (Image *) NULL) image 7194 coders/png.c image=GetNextImageInList(image); image 7196 coders/png.c image->dispose=BackgroundDispose; image 7204 coders/png.c image=GetFirstImageInList(image); image 7210 coders/png.c " scene 0 delay=%.20g dispose=%.20g",(double) image->delay, image 7211 coders/png.c (double) image->dispose); image 7213 coders/png.c while (GetNextImageInList(image) != (Image *) NULL) image 7215 coders/png.c image=GetNextImageInList(image); image 7219 coders/png.c (double) image->delay,(double) image->dispose); image 7223 coders/png.c image=GetFirstImageInList(image); image 7230 coders/png.c return(GetFirstImageInList(image)); image 7676 coders/png.c static MagickBooleanType Magick_png_write_chunk_from_profile(Image *image, image 7690 coders/png.c ResetImageProfileIterator(image); image 7692 coders/png.c for (name=GetNextImageProfile(image); name != (const char *) NULL; ) image 7694 coders/png.c profile=GetImageProfile(image,name); image 7714 coders/png.c (void) WriteBlobMSBULong(image,length-5); /* data length */ image 7715 coders/png.c (void) WriteBlob(image,length-1,data+1); image 7716 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,data+1,(uInt) length-1)); image 7721 coders/png.c name=GetNextImageProfile(image); image 7728 coders/png.c static void write_tIME_chunk(Image *image,png_struct *ping,png_info *info, image 7750 coders/png.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 7753 coders/png.c image->filename); image 7774 coders/png.c const ImageInfo *image_info,Image *image) image 8034 coders/png.c ResetImageProfileIterator(image); image 8035 coders/png.c for (name=GetNextImageProfile(image); name != (const char *) NULL; ) image 8037 coders/png.c profile=GetImageProfile(image,name); image 8083 coders/png.c if (image->rendering_intent==UndefinedIntent) image 8085 coders/png.c image->rendering_intent= image 8102 coders/png.c name=GetNextImageProfile(image); image 8112 coders/png.c if (image->storage_class == UndefinedClass) image 8115 coders/png.c if (image->storage_class == DirectClass) image 8118 coders/png.c if (image->storage_class == PseudoClass) image 8123 coders/png.c (void) LogMagickEvent(CoderEvent,GetMagickModule(), image->taint ? image 8128 coders/png.c if (image->storage_class == PseudoClass && image 8134 coders/png.c (void) SyncImage(image); image 8135 coders/png.c image->storage_class = DirectClass; image 8140 coders/png.c if (image->storage_class != PseudoClass && image->colormap != NULL) image 8146 coders/png.c (void) RelinquishMagickMemory(image->colormap); image 8147 coders/png.c image->colormap=NULL; image 8151 coders/png.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 8152 coders/png.c (void) TransformImageColorspace(image,sRGBColorspace); image 8158 coders/png.c if (image->depth <= 8 && image->taint && image->storage_class == PseudoClass) image 8159 coders/png.c (void) SyncImage(image); image 8162 coders/png.c if (image->depth > 8) image 8168 coders/png.c image->depth=8; image 8173 coders/png.c if (image->depth < 4) image 8181 coders/png.c exception=(&image->exception); image 8183 coders/png.c if (image->depth > 2) image 8186 coders/png.c LBR04PacketRGBO(image->background_color); image 8188 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 8190 coders/png.c r=GetAuthenticPixels(image,0,y,image->columns,1, image 8196 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 8202 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 8206 coders/png.c if (image->storage_class == PseudoClass && image->colormap != NULL) image 8208 coders/png.c for (i=0; i < (ssize_t) image->colors; i++) image 8210 coders/png.c LBR04PacketRGBO(image->colormap[i]); image 8214 coders/png.c else if (image->depth > 1) image 8217 coders/png.c LBR02PacketRGBO(image->background_color); image 8219 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 8221 coders/png.c r=GetAuthenticPixels(image,0,y,image->columns,1, image 8227 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 8233 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 8237 coders/png.c if (image->storage_class == PseudoClass && image->colormap != NULL) image 8239 coders/png.c for (i=0; i < (ssize_t) image->colors; i++) image 8241 coders/png.c LBR02PacketRGBO(image->colormap[i]); image 8248 coders/png.c LBR01PacketRGBO(image->background_color); image 8250 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 8252 coders/png.c r=GetAuthenticPixels(image,0,y,image->columns,1, image 8258 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 8264 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 8268 coders/png.c if (image->storage_class == PseudoClass && image->colormap != NULL) image 8270 coders/png.c for (i=0; i < (ssize_t) image->colors; i++) image 8272 coders/png.c LBR01PacketRGBO(image->colormap[i]); image 8279 coders/png.c if (image->depth < 8) image 8280 coders/png.c image->depth=8; image 8286 coders/png.c if (image->depth > 8) image 8287 coders/png.c image->depth=16; image 8291 coders/png.c if (image->depth > 8) image 8294 coders/png.c image->depth=16; image 8297 coders/png.c if (image->depth == 16 && mng_info->write_png_depth != 16) image 8298 coders/png.c if (mng_info->write_png8 || LosslessReduceDepthOK(image) != MagickFalse) image 8299 coders/png.c image->depth = 8; image 8302 coders/png.c image_colors = (int) image->colors; image 8306 coders/png.c mng_info->write_png_colortype < 4 && image->matte == MagickFalse))) image 8311 coders/png.c number_opaque = (int) image->colors; image 8319 coders/png.c if (image->matte != MagickFalse) image 8400 coders/png.c " image->columns=%.20g",(double) image->columns); image 8402 coders/png.c " image->rows=%.20g",(double) image->rows); image 8404 coders/png.c " image->matte=%.20g",(double) image->matte); image 8406 coders/png.c " image->depth=%.20g",(double) image->depth); image 8408 coders/png.c if (image->storage_class == PseudoClass && image->colormap != NULL) image 8420 coders/png.c (int) image->colormap[i].red, image 8421 coders/png.c (int) image->colormap[i].green, image 8422 coders/png.c (int) image->colormap[i].blue, image 8423 coders/png.c (int) image->colormap[i].opacity); image 8426 coders/png.c for (i=image->colors - 10; i < (ssize_t) image->colors; i++) image 8433 coders/png.c (int) image->colormap[i].red, image 8434 coders/png.c (int) image->colormap[i].green, image 8435 coders/png.c (int) image->colormap[i].blue, image 8436 coders/png.c (int) image->colormap[i].opacity); image 8442 coders/png.c " image->colors=%d",(int) image->colors); image 8444 coders/png.c if (image->colors == 0) image 8453 coders/png.c exception=(&image->exception); image 8460 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 8462 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 8467 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 8469 coders/png.c if (image->matte == MagickFalse || image 8568 coders/png.c (int) image->background_color.red, image 8569 coders/png.c (int) image->background_color.green, image 8570 coders/png.c (int) image->background_color.blue); image 8574 coders/png.c if (opaque[i].red == image->background_color.red && image 8575 coders/png.c opaque[i].green == image->background_color.green && image 8576 coders/png.c opaque[i].blue == image->background_color.blue) image 8581 coders/png.c opaque[i] = image->background_color; image 8617 coders/png.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 8627 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 8629 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 8635 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 8657 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 8741 coders/png.c image->colors = image_colors; image 8743 coders/png.c if (AcquireImageColormap(image,image_colors) == image 8749 coders/png.c image->colormap[i] = colormap[i]; image 8755 coders/png.c (int) image->colors, image_colors); image 8763 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 8765 coders/png.c q=GetAuthenticPixels(image,0,y,image->columns,1, image 8771 coders/png.c indexes=GetAuthenticIndexQueue(image); image 8773 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 8777 coders/png.c if ((image->matte == MagickFalse || image 8778 coders/png.c image->colormap[i].opacity == image 8780 coders/png.c image->colormap[i].red == image 8782 coders/png.c image->colormap[i].green == image 8784 coders/png.c image->colormap[i].blue == image 8794 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 8803 coders/png.c " image->colors=%d", (int) image->colors); image 8805 coders/png.c if (image->colormap != NULL) image 8810 coders/png.c for (i=0; i < (ssize_t) image->colors; i++) image 8812 coders/png.c if (i < 300 || i >= (ssize_t) image->colors - 10) image 8817 coders/png.c (int) image->colormap[i].red, image 8818 coders/png.c (int) image->colormap[i].green, image 8819 coders/png.c (int) image->colormap[i].blue, image 8820 coders/png.c (int) image->colormap[i].opacity); image 8873 coders/png.c image_colors != 0 && image->colormap != NULL && image 8888 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 8890 coders/png.c r=GetAuthenticPixels(image,0,y,image->columns,1, image 8896 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 8901 coders/png.c SetPixelRgb(r,&image->background_color); image 8908 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 8912 coders/png.c image->colormap != NULL) image 8914 coders/png.c image->colormap[i].opacity = image 8915 coders/png.c (image->colormap[i].opacity > TransparentOpacity/2 ? image 8934 coders/png.c LBR04PacketRGB(image->background_color); image 8940 coders/png.c if (image->colormap == NULL) image 8942 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 8944 coders/png.c r=GetAuthenticPixels(image,0,y,image->columns,1, image 8950 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 8957 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 8971 coders/png.c LBR04PacketRGB(image->colormap[i]); image 8985 coders/png.c LBR03PacketRGB(image->background_color); image 8991 coders/png.c if (image->colormap == NULL) image 8993 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 8995 coders/png.c r=GetAuthenticPixels(image,0,y,image->columns,1, image 9001 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 9008 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 9021 coders/png.c LBR03PacketRGB(image->colormap[i]); image 9039 coders/png.c LBR02PacketBlue(image->background_color); image 9045 coders/png.c if (image->colormap == NULL) image 9047 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 9049 coders/png.c r=GetAuthenticPixels(image,0,y,image->columns,1, image 9055 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 9062 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 9075 coders/png.c LBR02PacketBlue(image->colormap[i]); image 9092 coders/png.c if (ScaleQuantumToChar(image->background_color.red) == 0x49 && image 9093 coders/png.c ScaleQuantumToChar(image->background_color.green) == 0x00 && image 9094 coders/png.c ScaleQuantumToChar(image->background_color.blue) == 0x00) image 9096 coders/png.c image->background_color.red=ScaleCharToQuantum(0x24); image 9103 coders/png.c if (image->colormap == NULL) image 9105 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 9107 coders/png.c r=GetAuthenticPixels(image,0,y,image->columns,1, image 9113 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 9125 coders/png.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 9135 coders/png.c if (ScaleQuantumToChar(image->colormap[i].red) == 0x49 && image 9136 coders/png.c ScaleQuantumToChar(image->colormap[i].green) == 0x00 && image 9137 coders/png.c ScaleQuantumToChar(image->colormap[i].blue) == 0x00) image 9139 coders/png.c image->colormap[i].red=ScaleCharToQuantum(0x24); image 9185 coders/png.c image->colormap == NULL) image 9193 coders/png.c exception=(&image->exception); image 9195 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 9197 coders/png.c q=GetVirtualPixels(image,0,y,image->columns,1, exception); image 9202 coders/png.c for (x=0; x < (ssize_t) image->columns; x++) image 9230 coders/png.c if (image->colormap[i].red == image->colormap[0].red && image 9231 coders/png.c image->colormap[i].green == image->colormap[0].green && image 9232 coders/png.c image->colormap[i].blue == image->colormap[0].blue) image 9253 coders/png.c image_depth=image->depth; image 9257 coders/png.c image_colors=(int) image->colors; image 9258 coders/png.c image_matte=image->matte; image 9261 coders/png.c mng_info->IsPalette=image->storage_class == PseudoClass && image 9262 coders/png.c image_colors <= 256 && image->colormap != NULL; image 9267 coders/png.c (image->colors == 0 || image->colormap == NULL)) image 9269 coders/png.c (void) ThrowMagickException(&image->exception, image 9272 coders/png.c "`%s'",image->filename); image 9281 coders/png.c ping=png_create_write_struct_2(PNG_LIBPNG_VER_STRING,image, image 9286 coders/png.c ping=png_create_write_struct(PNG_LIBPNG_VER_STRING,image, image 9301 coders/png.c png_set_write_fn(ping,image,png_put_data,png_flush_data); image 9377 coders/png.c ping_width=(png_uint_32) image->columns; image 9378 coders/png.c ping_height=(png_uint_32) image->rows; image 9406 coders/png.c " image_matte=%.20g",(double) image->matte); image 9408 coders/png.c " image->depth=%.20g",(double) image->depth); image 9420 coders/png.c if ((image->x_resolution != 0) && (image->y_resolution != 0) && image 9427 coders/png.c if (image->units == PixelsPerInchResolution) image 9431 coders/png.c (png_uint_32) ((100.0*image->x_resolution+0.5)/2.54); image 9433 coders/png.c (png_uint_32) ((100.0*image->y_resolution+0.5)/2.54); image 9436 coders/png.c else if (image->units == PixelsPerCentimeterResolution) image 9439 coders/png.c ping_pHYs_x_resolution=(png_uint_32) (100.0*image->x_resolution+0.5); image 9440 coders/png.c ping_pHYs_y_resolution=(png_uint_32) (100.0*image->y_resolution+0.5); image 9446 coders/png.c ping_pHYs_x_resolution=(png_uint_32) image->x_resolution; image 9447 coders/png.c ping_pHYs_y_resolution=(png_uint_32) image->y_resolution; image 9481 coders/png.c (ScaleQuantumToShort(image->background_color.red) & mask); image 9484 coders/png.c (ScaleQuantumToShort(image->background_color.green) & mask); image 9487 coders/png.c (ScaleQuantumToShort(image->background_color.blue) & mask); image 9534 coders/png.c palette[i].red=ScaleQuantumToChar(image->colormap[i].red); image 9535 coders/png.c palette[i].green=ScaleQuantumToChar(image->colormap[i].green); image 9536 coders/png.c palette[i].blue=ScaleQuantumToChar(image->colormap[i].blue); image 9558 coders/png.c assert(image->colormap != NULL); image 9581 coders/png.c if (IsPNGColorEqual(ping_background,image->colormap[i])) image 9711 coders/png.c if (image->matte == MagickFalse && ping_have_non_bw == MagickFalse) image 9720 coders/png.c if (image->colors == 0) image 9760 coders/png.c " image->depth: %.20g",(double) image->depth); image 9813 coders/png.c (ScaleQuantumToShort(image->colormap[0].red) & mask); image 9816 coders/png.c (ScaleQuantumToShort(image->colormap[0].green) & mask); image 9819 coders/png.c (ScaleQuantumToShort(image->colormap[0].blue) & mask); image 9822 coders/png.c (ScaleQuantumToShort(ClampToQuantum(GetPixelLuma(image, image 9823 coders/png.c image->colormap))) & mask); image 9937 coders/png.c intensity=ScaleQuantumToChar(image->colormap[i].red); image 9978 coders/png.c palette[i].red=ScaleQuantumToChar(image->colormap[i].red); image 9979 coders/png.c palette[i].green=ScaleQuantumToChar(image->colormap[i].green); image 9980 coders/png.c palette[i].blue=ScaleQuantumToChar(image->colormap[i].blue); image 10031 coders/png.c ScaleQuantumToChar(image->colormap[i].opacity)); image 10093 coders/png.c GetPixelLuma(image,&image->background_color)))+.5); image 10133 coders/png.c if (IsPNGColorEqual(image->background_color,image->colormap[i])) image 10393 coders/png.c if (image_matte != MagickFalse && image->matte == MagickFalse) image 10396 coders/png.c image->matte = MagickTrue; image 10397 coders/png.c (void) SetImageOpacity(image,0); image 10470 coders/png.c ResetImageProfileIterator(image); image 10471 coders/png.c for (name=GetNextImageProfile(image); name != (const char *) NULL; ) image 10473 coders/png.c profile=GetImageProfile(image,name); image 10516 coders/png.c name=GetNextImageProfile(image); image 10538 coders/png.c image->rendering_intent))); image 10551 coders/png.c (image->gamma < .45 || image->gamma > .46))) image 10553 coders/png.c if ((mng_info->have_write_global_gama == 0) && (image->gamma != 0.0)) image 10563 coders/png.c png_set_gAMA(ping,ping_info,image->gamma); image 10570 coders/png.c (image->chromaticity.red_primary.x != 0.0)) image 10582 coders/png.c wp=image->chromaticity.white_point; image 10583 coders/png.c rp=image->chromaticity.red_primary; image 10584 coders/png.c gp=image->chromaticity.green_primary; image 10585 coders/png.c bp=image->chromaticity.blue_primary; image 10649 coders/png.c if (image->page.x || image->page.y) image 10651 coders/png.c png_set_oFFs(ping,ping_info,(png_int_32) image->page.x, image 10652 coders/png.c (png_int_32) image->page.y, 0); image 10657 coders/png.c (int) image->page.x, (int) image->page.y); image 10668 coders/png.c if (image->taint == MagickFalse) image 10673 coders/png.c timestamp=GetImageProperty(image,"png:tIME"); image 10680 coders/png.c timestamp=GetImageProperty(image,"date:modify"); image 10684 coders/png.c write_tIME_chunk(image,ping,ping_info,timestamp); image 10690 coders/png.c if (OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception) == image 10733 coders/png.c (void) Magick_png_write_chunk_from_profile(image,"PNG-chunk-b",logging); image 10738 coders/png.c (void) Magick_png_write_chunk_from_profile(image,"PNG-chunk-m",logging); image 10742 coders/png.c if ((image->page.width != 0 && image->page.width != image->columns) || image 10743 coders/png.c (image->page.height != 0 && image->page.height != image->rows)) image 10748 coders/png.c (void) WriteBlobMSBULong(image,9L); /* data length=8 */ image 10751 coders/png.c PNGLong(chunk+4,(png_uint_32) image->page.width); image 10752 coders/png.c PNGLong(chunk+8,(png_uint_32) image->page.height); image 10754 coders/png.c (void) WriteBlob(image,13,chunk); image 10755 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,13)); image 10770 coders/png.c rowbytes=image->columns; image 10807 coders/png.c quantum_info=AcquireQuantumInfo(image_info,image); image 10812 coders/png.c (void) SetQuantumEndian(image,quantum_info,MSBEndian); image 10833 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 10839 coders/png.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 10846 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10847 coders/png.c quantum_info,GrayQuantum,ping_pixels,&image->exception); image 10853 coders/png.c for (i=0; i < (ssize_t) image->columns; i++) image 10861 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10862 coders/png.c quantum_info,RedQuantum,ping_pixels,&image->exception); image 10866 coders/png.c for (i=0; i < (ssize_t) image->columns; i++) image 10876 coders/png.c status=SetImageProgress(image,LoadImageTag, image 10877 coders/png.c (MagickOffsetType) (pass * image->rows + y), image 10878 coders/png.c num_passes * image->rows); image 10899 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 10901 coders/png.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 10909 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10910 coders/png.c quantum_info,GrayQuantum,ping_pixels,&image->exception); image 10913 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10914 coders/png.c quantum_info,RedQuantum,ping_pixels,&image->exception); image 10927 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10928 coders/png.c quantum_info,GrayAlphaQuantum,ping_pixels,&image->exception); image 10937 coders/png.c status=SetImageProgress(image,LoadImageTag, image 10938 coders/png.c (MagickOffsetType) (pass * image->rows + y), image 10939 coders/png.c num_passes * image->rows); image 10960 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 10962 coders/png.c p=GetVirtualPixels(image,0,y,image->columns,1, image 10963 coders/png.c &image->exception); image 10970 coders/png.c if (image->storage_class == DirectClass) image 10971 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10972 coders/png.c quantum_info,RedQuantum,ping_pixels,&image->exception); image 10975 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10976 coders/png.c quantum_info,GrayQuantum,ping_pixels,&image->exception); image 10981 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10983 coders/png.c &image->exception); image 10991 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10992 coders/png.c quantum_info,RGBAQuantum,ping_pixels,&image->exception); image 10995 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 10996 coders/png.c quantum_info,RGBQuantum,ping_pixels,&image->exception); image 11004 coders/png.c status=SetImageProgress(image,LoadImageTag, image 11005 coders/png.c (MagickOffsetType) (pass * image->rows + y), image 11006 coders/png.c num_passes * image->rows); image 11030 coders/png.c for (y=0; y < (ssize_t) image->rows; y++) image 11036 coders/png.c p=GetVirtualPixels(image,0,y,image->columns,1, image 11037 coders/png.c &image->exception); image 11044 coders/png.c quantum_info->depth=image->depth; image 11046 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 11047 coders/png.c quantum_info,GrayQuantum,ping_pixels,&image->exception); image 11056 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 11058 coders/png.c &image->exception); image 11063 coders/png.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 11064 coders/png.c quantum_info,IndexQuantum,ping_pixels,&image->exception); image 11078 coders/png.c status=SetImageProgress(image,LoadImageTag, image 11079 coders/png.c (MagickOffsetType) (pass * image->rows + y), image 11080 coders/png.c num_passes * image->rows); image 11129 coders/png.c ResetImagePropertyIterator(image); image 11130 coders/png.c property=GetNextImageProperty(image); image 11136 coders/png.c value=GetImageProperty(image,property); image 11193 coders/png.c property=GetNextImageProperty(image); image 11198 coders/png.c (void) Magick_png_write_chunk_from_profile(image,"PNG-chunk-e",logging); image 11206 coders/png.c if (mng_info->need_fram && (int) image->dispose == BackgroundDispose) image 11218 coders/png.c (void) WriteBlobMSBULong(image,27L); /* data length=27 */ image 11235 coders/png.c (void) WriteBlob(image,31,chunk); image 11236 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,31)); image 11245 coders/png.c ((int) image->dispose == 3)) image 11260 coders/png.c (void) SetImageProperty(image,"png:bit-depth-written",s); image 11443 coders/png.c static MagickBooleanType WritePNGImage(const ImageInfo *image_info,Image *image) image 11465 coders/png.c assert(image != (Image *) NULL); image 11466 coders/png.c assert(image->signature == MagickSignature); image 11467 coders/png.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 11482 coders/png.c mng_info->image=image; image 11526 coders/png.c value=GetImageProperty(image,"png:IHDR.bit-depth-orig"); image 11550 coders/png.c value=GetImageProperty(image,"png:IHDR.color-type-orig"); image 11579 coders/png.c image->depth = 8; image 11586 coders/png.c image->depth = 8; image 11588 coders/png.c if (image->matte != MagickFalse) image 11589 coders/png.c (void) SetImageType(image,TrueColorMatteType); image 11592 coders/png.c (void) SetImageType(image,TrueColorType); image 11594 coders/png.c (void) SyncImage(image); image 11601 coders/png.c image->depth = 8; image 11602 coders/png.c image->matte = MagickTrue; image 11603 coders/png.c (void) SetImageType(image,TrueColorMatteType); image 11604 coders/png.c (void) SyncImage(image); image 11611 coders/png.c image->depth = 16; image 11613 coders/png.c if (image->matte != MagickFalse) image 11614 coders/png.c (void) SetImageType(image,TrueColorMatteType); image 11617 coders/png.c (void) SetImageType(image,TrueColorType); image 11619 coders/png.c (void) SyncImage(image); image 11626 coders/png.c image->depth = 16; image 11627 coders/png.c image->matte = MagickTrue; image 11628 coders/png.c (void) SetImageType(image,TrueColorMatteType); image 11629 coders/png.c (void) SyncImage(image); image 11652 coders/png.c (void) ThrowMagickException(&image->exception, image 11683 coders/png.c (void) ThrowMagickException(&image->exception, image 11752 coders/png.c value=GetImageArtifact(image,"png:preserve-colormap"); image 11761 coders/png.c value=GetImageArtifact(image,"png:preserve-iCCP"); image 11770 coders/png.c value=GetImageArtifact(image,"png:compression-level"); image 11809 coders/png.c (void) ThrowMagickException(&image->exception, image 11817 coders/png.c value=GetImageArtifact(image,"png:compression-strategy"); image 11844 coders/png.c (void) ThrowMagickException(&image->exception, image 11852 coders/png.c value=GetImageArtifact(image,"png:compression-filter"); image 11881 coders/png.c (void) ThrowMagickException(&image->exception, image 11895 coders/png.c value=GetImageArtifact(image,"png:exclude-chunks"); image 11901 coders/png.c value=GetImageArtifact(image,"png:exclude-chunk"); image 11907 coders/png.c value=GetImageArtifact(image,"png:include-chunks"); image 11913 coders/png.c value=GetImageArtifact(image,"png:include-chunk"); image 12104 coders/png.c status=WriteOnePNGImage(mng_info,image_info,image); image 12106 coders/png.c (void) CloseBlob(image); image 12120 coders/png.c const ImageInfo *image_info,Image *image) image 12165 coders/png.c image_info->type==TrueColorMatteType || image->matte != MagickFalse; image 12171 coders/png.c jng_alpha_compression_method=image->compression==JPEGCompression? 8 : 0; image 12197 coders/png.c jpeg_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 12233 coders/png.c TrueColorType && SetImageGray(image,&image->exception)) image 12267 coders/png.c &image->exception); image 12281 coders/png.c &image->exception); image 12297 coders/png.c &image->exception); image 12306 coders/png.c &image->exception); image 12323 coders/png.c (void) WriteBlobMSBULong(image,16L); /* chunk data length=16 */ image 12326 coders/png.c PNGLong(chunk+4,(png_uint_32) image->columns); image 12327 coders/png.c PNGLong(chunk+8,(png_uint_32) image->rows); image 12336 coders/png.c (void) WriteBlob(image,20,chunk); image 12337 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,20)); image 12341 coders/png.c " JNG width:%15lu",(unsigned long) image->columns); image 12344 coders/png.c " JNG height:%14lu",(unsigned long) image->rows); image 12372 coders/png.c (void) Magick_png_write_chunk_from_profile(image,"JNG-chunk-b",logging); image 12396 coders/png.c (void) WriteBlobMSBULong(image,(size_t) (num_bytes-4L)); image 12399 coders/png.c red=ScaleQuantumToChar(image->background_color.red); image 12400 coders/png.c green=ScaleQuantumToChar(image->background_color.green); image 12401 coders/png.c blue=ScaleQuantumToChar(image->background_color.blue); image 12408 coders/png.c (void) WriteBlob(image,(size_t) num_bytes,chunk); image 12409 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,(uInt) num_bytes)); image 12412 coders/png.c if ((image->colorspace == sRGBColorspace || image->rendering_intent)) image 12417 coders/png.c (void) WriteBlobMSBULong(image,1L); image 12421 coders/png.c if (image->rendering_intent != UndefinedIntent) image 12424 coders/png.c (image->rendering_intent)); image 12431 coders/png.c (void) WriteBlob(image,5,chunk); image 12432 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,5)); image 12436 coders/png.c if (image->gamma != 0.0) image 12441 coders/png.c (void) WriteBlobMSBULong(image,4L); image 12444 coders/png.c PNGLong(chunk+4,(png_uint_32) (100000*image->gamma+0.5)); image 12445 coders/png.c (void) WriteBlob(image,8,chunk); image 12446 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,8)); image 12450 coders/png.c (image->chromaticity.red_primary.x != 0.0)) image 12458 coders/png.c (void) WriteBlobMSBULong(image,32L); image 12461 coders/png.c primary=image->chromaticity.white_point; image 12464 coders/png.c primary=image->chromaticity.red_primary; image 12467 coders/png.c primary=image->chromaticity.green_primary; image 12470 coders/png.c primary=image->chromaticity.blue_primary; image 12473 coders/png.c (void) WriteBlob(image,36,chunk); image 12474 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,36)); image 12478 coders/png.c if (image->x_resolution && image->y_resolution && !mng_info->equal_physs) image 12483 coders/png.c (void) WriteBlobMSBULong(image,9L); image 12486 coders/png.c if (image->units == PixelsPerInchResolution) image 12489 coders/png.c (image->x_resolution*100.0/2.54+0.5)); image 12492 coders/png.c (image->y_resolution*100.0/2.54+0.5)); image 12499 coders/png.c if (image->units == PixelsPerCentimeterResolution) image 12502 coders/png.c (image->x_resolution*100.0+0.5)); image 12505 coders/png.c (image->y_resolution*100.0+0.5)); image 12512 coders/png.c PNGLong(chunk+4,(png_uint_32) (image->x_resolution+0.5)); image 12513 coders/png.c PNGLong(chunk+8,(png_uint_32) (image->y_resolution+0.5)); image 12517 coders/png.c (void) WriteBlob(image,13,chunk); image 12518 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,13)); image 12521 coders/png.c if (mng_info->write_mng == 0 && (image->page.x || image->page.y)) image 12526 coders/png.c (void) WriteBlobMSBULong(image,9L); image 12529 coders/png.c PNGsLong(chunk+4,(ssize_t) (image->page.x)); image 12530 coders/png.c PNGsLong(chunk+8,(ssize_t) (image->page.y)); image 12532 coders/png.c (void) WriteBlob(image,13,chunk); image 12533 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,13)); image 12535 coders/png.c if (mng_info->write_mng == 0 && (image->page.width || image->page.height)) image 12537 coders/png.c (void) WriteBlobMSBULong(image,9L); /* data length=8 */ image 12540 coders/png.c PNGLong(chunk+4,(png_uint_32) image->page.width); image 12541 coders/png.c PNGLong(chunk+8,(png_uint_32) image->page.height); image 12543 coders/png.c (void) WriteBlob(image,13,chunk); image 12544 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,13)); image 12574 coders/png.c (void) WriteBlobMSBULong(image,len); image 12576 coders/png.c (void) WriteBlob(image,len+4,p); image 12577 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,p,(uInt) len+4)); image 12596 coders/png.c (void) WriteBlobMSBULong(image,(size_t) length); image 12600 coders/png.c (void) WriteBlob(image,4,chunk); image 12601 coders/png.c (void) WriteBlob(image,length,blob); image 12602 coders/png.c (void) WriteBlobMSBULong(image,crc32(crc32(0,chunk,4),blob, image 12620 coders/png.c jpeg_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 12631 coders/png.c &image->exception); image 12653 coders/png.c blob=ImageToBlob(jpeg_image_info,jpeg_image,&length,&image->exception); image 12666 coders/png.c (void) WriteBlobMSBULong(image,(size_t) length); image 12669 coders/png.c (void) WriteBlob(image,4,chunk); image 12670 coders/png.c (void) WriteBlob(image,length,blob); image 12671 coders/png.c (void) WriteBlobMSBULong(image,crc32(crc32(0,chunk,4),blob,(uInt) length)); image 12680 coders/png.c (void) Magick_png_write_chunk_from_profile(image,"JNG-chunk-e",logging); image 12683 coders/png.c (void) WriteBlobMSBULong(image,0L); image 12686 coders/png.c (void) WriteBlob(image,4,chunk); image 12687 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,4)); image 12724 coders/png.c static MagickBooleanType WriteJNGImage(const ImageInfo *image_info,Image *image) image 12739 coders/png.c assert(image != (Image *) NULL); image 12740 coders/png.c assert(image->signature == MagickSignature); image 12741 coders/png.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 12743 coders/png.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 12758 coders/png.c mng_info->image=image; image 12761 coders/png.c (void) WriteBlob(image,8,(const unsigned char *) "\213JNG\r\n\032\n"); image 12763 coders/png.c status=WriteOneJNGImage(mng_info,image_info,image); image 12764 coders/png.c (void) CloseBlob(image); image 12766 coders/png.c (void) CatchImageException(image); image 12777 coders/png.c static MagickBooleanType WriteMNGImage(const ImageInfo *image_info,Image *image) image 12837 coders/png.c assert(image != (Image *) NULL); image 12838 coders/png.c assert(image->signature == MagickSignature); image 12839 coders/png.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 12841 coders/png.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 12856 coders/png.c mng_info->image=image; image 12880 coders/png.c (GetNextImageInList(image) != (Image *) NULL) && write_mng; image 12894 coders/png.c for (p=image; p != (Image *) NULL; p=GetNextImageInList(p)) image 12945 coders/png.c SetGeometry(image,&mng_info->page); image 12959 coders/png.c mng_info->page=image->page; image 12966 coders/png.c initial_delay=image->delay; image 12968 coders/png.c mng_info->equal_chrms=image->chromaticity.red_primary.x != 0.0; image 12980 coders/png.c for (next_image=image; next_image != (Image *) NULL; ) image 13017 coders/png.c if (image->matte != MagickFalse) image 13022 coders/png.c if (SetImageGray(image,&image->exception) == MagickFalse) image 13024 coders/png.c mng_info->equal_palettes=PalettesAreEqual(image,next_image); image 13106 coders/png.c (void) ThrowMagickException(&image->exception, image 13117 coders/png.c (image->ticks_per_second/final_delay); image 13130 coders/png.c (final_delay != (size_t) image->ticks_per_second)) image 13135 coders/png.c mng_info->ticks_per_second=1UL*image->ticks_per_second; image 13144 coders/png.c (void) WriteBlob(image,8,(const unsigned char *) "\212MNG\r\n\032\n"); image 13145 coders/png.c (void) WriteBlobMSBULong(image,28L); /* chunk data length=28 */ image 13195 coders/png.c (void) WriteBlob(image,32,chunk); image 13196 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,32)); image 13208 coders/png.c (void) WriteBlobMSBULong(image,(size_t) length); image 13211 coders/png.c (void) WriteBlob(image,length,chunk); image 13212 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,(uInt) length)); image 13214 coders/png.c if ((GetPreviousImageInList(image) == (Image *) NULL) && image 13215 coders/png.c (GetNextImageInList(image) != (Image *) NULL) && image 13216 coders/png.c (image->iterations != 1)) image 13221 coders/png.c (void) WriteBlobMSBULong(image,10L); /* data length=10 */ image 13227 coders/png.c final_delay/MagickMax(image->ticks_per_second,1))); image 13229 coders/png.c if (image->iterations == 0) image 13233 coders/png.c PNGLong(chunk+10,(png_uint_32) image->iterations); image 13239 coders/png.c final_delay/MagickMax(image->ticks_per_second,1))); image 13241 coders/png.c if (image->iterations == 0) image 13247 coders/png.c " Image iterations: %.20g",(double) image->iterations); image 13249 coders/png.c (void) WriteBlob(image,14,chunk); image 13250 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,14)); image 13255 coders/png.c if ((image->colorspace == sRGBColorspace || image->rendering_intent) && image 13261 coders/png.c (void) WriteBlobMSBULong(image,1L); image 13265 coders/png.c if (image->rendering_intent != UndefinedIntent) image 13268 coders/png.c (image->rendering_intent)); image 13275 coders/png.c (void) WriteBlob(image,5,chunk); image 13276 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,5)); image 13282 coders/png.c if (image->gamma && mng_info->equal_gammas) image 13287 coders/png.c (void) WriteBlobMSBULong(image,4L); image 13290 coders/png.c PNGLong(chunk+4,(png_uint_32) (100000*image->gamma+0.5)); image 13291 coders/png.c (void) WriteBlob(image,8,chunk); image 13292 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,8)); image 13303 coders/png.c (void) WriteBlobMSBULong(image,32L); image 13306 coders/png.c primary=image->chromaticity.white_point; image 13309 coders/png.c primary=image->chromaticity.red_primary; image 13312 coders/png.c primary=image->chromaticity.green_primary; image 13315 coders/png.c primary=image->chromaticity.blue_primary; image 13318 coders/png.c (void) WriteBlob(image,36,chunk); image 13319 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,36)); image 13323 coders/png.c if (image->x_resolution && image->y_resolution && mng_info->equal_physs) image 13328 coders/png.c (void) WriteBlobMSBULong(image,9L); image 13332 coders/png.c if (image->units == PixelsPerInchResolution) image 13335 coders/png.c (image->x_resolution*100.0/2.54+0.5)); image 13338 coders/png.c (image->y_resolution*100.0/2.54+0.5)); image 13345 coders/png.c if (image->units == PixelsPerCentimeterResolution) image 13348 coders/png.c (image->x_resolution*100.0+0.5)); image 13351 coders/png.c (image->y_resolution*100.0+0.5)); image 13358 coders/png.c PNGLong(chunk+4,(png_uint_32) (image->x_resolution+0.5)); image 13359 coders/png.c PNGLong(chunk+8,(png_uint_32) (image->y_resolution+0.5)); image 13363 coders/png.c (void) WriteBlob(image,13,chunk); image 13364 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,13)); image 13370 coders/png.c if (write_mng && (image->matte || image->page.x > 0 || image 13371 coders/png.c image->page.y > 0 || (image->page.width && image 13372 coders/png.c (image->page.width+image->page.x < mng_info->page.width)) image 13373 coders/png.c || (image->page.height && (image->page.height+image->page.y image 13376 coders/png.c (void) WriteBlobMSBULong(image,6L); image 13379 coders/png.c red=ScaleQuantumToShort(image->background_color.red); image 13380 coders/png.c green=ScaleQuantumToShort(image->background_color.green); image 13381 coders/png.c blue=ScaleQuantumToShort(image->background_color.blue); image 13385 coders/png.c (void) WriteBlob(image,10,chunk); image 13386 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,10)); image 13389 coders/png.c (void) WriteBlobMSBULong(image,6L); image 13392 coders/png.c (void) WriteBlob(image,10,chunk); image 13393 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,10)); image 13399 coders/png.c (image->storage_class == PseudoClass) && image 13408 coders/png.c data_length=3*image->colors; image 13409 coders/png.c (void) WriteBlobMSBULong(image,data_length); image 13413 coders/png.c for (i=0; i < (ssize_t) image->colors; i++) image 13415 coders/png.c chunk[4+i*3]=ScaleQuantumToChar(image->colormap[i].red) & 0xff; image 13416 coders/png.c chunk[5+i*3]=ScaleQuantumToChar(image->colormap[i].green) & 0xff; image 13417 coders/png.c chunk[6+i*3]=ScaleQuantumToChar(image->colormap[i].blue) & 0xff; image 13420 coders/png.c (void) WriteBlob(image,data_length+4,chunk); image 13421 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,(uInt) (data_length+4))); image 13451 coders/png.c mng_info->equal_palettes=PalettesAreEqual(image,image->next); image 13460 coders/png.c data_length=3*image->colors; image 13461 coders/png.c (void) WriteBlobMSBULong(image,data_length); image 13465 coders/png.c for (i=0; i < (ssize_t) image->colors; i++) image 13467 coders/png.c chunk[4+i*3]=ScaleQuantumToChar(image->colormap[i].red); image 13468 coders/png.c chunk[5+i*3]=ScaleQuantumToChar(image->colormap[i].green); image 13469 coders/png.c chunk[6+i*3]=ScaleQuantumToChar(image->colormap[i].blue); image 13472 coders/png.c (void) WriteBlob(image,data_length+4,chunk); image 13473 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk, image 13498 coders/png.c mng_info->page=image->page; image 13502 coders/png.c (void) WriteBlobMSBULong(image,12L); /* data length=12 */ image 13511 coders/png.c (void) WriteBlob(image,16,chunk); image 13512 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,16)); image 13519 coders/png.c if ((int) image->dispose >= 3) image 13523 coders/png.c ((image->delay != mng_info->delay) || image 13526 coders/png.c if (image->delay == mng_info->delay) image 13531 coders/png.c (void) WriteBlobMSBULong(image,1L); /* data length=1 */ image 13535 coders/png.c (void) WriteBlob(image,5,chunk); image 13536 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,5)); image 13543 coders/png.c (void) WriteBlobMSBULong(image,10L); /* data length=10 */ image 13554 coders/png.c image->delay)/MagickMax(image->ticks_per_second,1))); image 13555 coders/png.c (void) WriteBlob(image,14,chunk); image 13556 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,14)); image 13557 coders/png.c mng_info->delay=(png_uint_32) image->delay; image 13574 coders/png.c status=WriteOneJNGImage(mng_info,write_info,image); image 13604 coders/png.c status=WriteOnePNGImage(mng_info,image_info,image); image 13610 coders/png.c (void) CloseBlob(image); image 13613 coders/png.c (void) CatchImageException(image); image 13614 coders/png.c if (GetNextImageInList(image) == (Image *) NULL) image 13616 coders/png.c image=SyncNextImageInList(image); image 13617 coders/png.c status=SetImageProgress(image,SaveImagesTag,scene++, image 13618 coders/png.c GetImageListLength(image)); image 13627 coders/png.c while (GetPreviousImageInList(image) != (Image *) NULL) image 13628 coders/png.c image=GetPreviousImageInList(image); image 13632 coders/png.c (void) WriteBlobMSBULong(image,0x00000000L); image 13635 coders/png.c (void) WriteBlob(image,4,chunk); image 13636 coders/png.c (void) WriteBlobMSBULong(image,crc32(0,chunk,4)); image 13641 coders/png.c (void) CloseBlob(image); image 13651 coders/png.c static MagickBooleanType WritePNGImage(const ImageInfo *image_info,Image *image) image 13653 coders/png.c (void) image; image 13661 coders/png.c static MagickBooleanType WriteMNGImage(const ImageInfo *image_info,Image *image) image 13663 coders/png.c return(WritePNGImage(image_info,image)); image 140 coders/pnm.c static int PNMComment(Image *image) image 157 coders/pnm.c comment=AcquireString(GetImageProperty(image,"comment")); image 171 coders/pnm.c c=ReadBlobByte(image); image 180 coders/pnm.c (void) SetImageProperty(image,"comment",comment); image 185 coders/pnm.c static unsigned int PNMInteger(Image *image,const unsigned int base) image 198 coders/pnm.c c=ReadBlobByte(image); image 202 coders/pnm.c c=PNMComment(image); image 217 coders/pnm.c c=ReadBlobByte(image); image 233 coders/pnm.c *image; image 267 coders/pnm.c image=AcquireImage(image_info); image 268 coders/pnm.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 271 coders/pnm.c image=DestroyImageList(image); image 277 coders/pnm.c count=ReadBlob(image,1,(unsigned char *) &format); image 288 coders/pnm.c format=(char) ReadBlobByte(image); image 294 coders/pnm.c image->columns=PNMInteger(image,10); image 295 coders/pnm.c image->rows=PNMInteger(image,10); image 301 coders/pnm.c (void) ReadBlobString(image,scale); image 309 coders/pnm.c max_value=PNMInteger(image,10); image 327 coders/pnm.c for (c=ReadBlobByte(image); c != EOF; c=ReadBlobByte(image)) image 330 coders/pnm.c c=ReadBlobByte(image); image 336 coders/pnm.c c=PNMComment(image); image 337 coders/pnm.c c=ReadBlobByte(image); image 339 coders/pnm.c c=ReadBlobByte(image); image 346 coders/pnm.c c=ReadBlobByte(image); image 352 coders/pnm.c c=ReadBlobByte(image); image 358 coders/pnm.c c=ReadBlobByte(image); image 368 coders/pnm.c image->rows=StringToUnsignedLong(value); image 375 coders/pnm.c (void) SetImageColorspace(image,GRAYColorspace); image 380 coders/pnm.c (void) SetImageColorspace(image,GRAYColorspace); image 381 coders/pnm.c image->matte=MagickTrue; image 386 coders/pnm.c (void) SetImageColorspace(image,GRAYColorspace); image 391 coders/pnm.c (void) SetImageColorspace(image,GRAYColorspace); image 392 coders/pnm.c image->matte=MagickTrue; image 398 coders/pnm.c image->matte=MagickTrue; image 402 coders/pnm.c (void) SetImageColorspace(image,CMYKColorspace); image 407 coders/pnm.c (void) SetImageColorspace(image,CMYKColorspace); image 408 coders/pnm.c image->matte=MagickTrue; image 413 coders/pnm.c image->columns=StringToUnsignedLong(value); image 416 coders/pnm.c if ((image->columns == 0) || (image->rows == 0)) image 421 coders/pnm.c image->depth=depth; image 423 coders/pnm.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 425 coders/pnm.c status=SetImageExtent(image,image->columns,image->rows); image 428 coders/pnm.c InheritException(exception,&image->exception); image 429 coders/pnm.c return(DestroyImageList(image)); image 442 coders/pnm.c (void) SetImageColorspace(image,GRAYColorspace); image 443 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 451 coders/pnm.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 454 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 456 coders/pnm.c SetPixelRed(q,PNMInteger(image,2) == 0 ? QuantumRange : 0); image 461 coders/pnm.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 463 coders/pnm.c if (image->previous == (Image *) NULL) image 465 coders/pnm.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 466 coders/pnm.c image->rows); image 471 coders/pnm.c image->type=BilevelType; image 482 coders/pnm.c (void) SetImageColorspace(image,GRAYColorspace); image 483 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 491 coders/pnm.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 494 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 496 coders/pnm.c intensity=ScaleAnyToQuantum(PNMInteger(image,10),max_value); image 502 coders/pnm.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 504 coders/pnm.c if (image->previous == (Image *) NULL) image 506 coders/pnm.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 507 coders/pnm.c image->rows); image 512 coders/pnm.c image->type=GrayscaleType; image 520 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 528 coders/pnm.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 531 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 536 coders/pnm.c pixel=ScaleAnyToQuantum(PNMInteger(image,10),max_value); image 538 coders/pnm.c pixel=ScaleAnyToQuantum(PNMInteger(image,10),max_value); image 540 coders/pnm.c pixel=ScaleAnyToQuantum(PNMInteger(image,10),max_value); image 544 coders/pnm.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 546 coders/pnm.c if (image->previous == (Image *) NULL) image 548 coders/pnm.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 549 coders/pnm.c image->rows); image 561 coders/pnm.c (void) SetImageColorspace(image,GRAYColorspace); image 563 coders/pnm.c if (image->storage_class == PseudoClass) image 565 coders/pnm.c quantum_info=AcquireQuantumInfo(image_info,image); image 569 coders/pnm.c extent=GetQuantumExtent(image,quantum_info,quantum_type); image 570 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 590 coders/pnm.c pixels=(unsigned char *) ReadBlobStream(image,extent, image 594 coders/pnm.c if ((image->progress_monitor != (MagickProgressMonitor) NULL) && image 595 coders/pnm.c (image->previous == (Image *) NULL)) image 600 coders/pnm.c proceed=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 601 coders/pnm.c row,image->rows); image 606 coders/pnm.c q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception); image 612 coders/pnm.c length=ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 616 coders/pnm.c sync=SyncAuthenticPixels(image,exception); image 623 coders/pnm.c SetQuantumImageType(image,quantum_type); image 631 coders/pnm.c (void) SetImageColorspace(image,GRAYColorspace); image 633 coders/pnm.c if (image->depth <= 8) image 634 coders/pnm.c extent=image->columns; image 636 coders/pnm.c if (image->depth <= 16) image 637 coders/pnm.c extent=2*image->columns; image 639 coders/pnm.c extent=4*image->columns; image 640 coders/pnm.c quantum_info=AcquireQuantumInfo(image_info,image); image 643 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 666 coders/pnm.c pixels=(unsigned char *) ReadBlobStream(image,extent, image 670 coders/pnm.c if ((image->progress_monitor != (MagickProgressMonitor) NULL) && image 671 coders/pnm.c (image->previous == (Image *) NULL)) image 676 coders/pnm.c proceed=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 677 coders/pnm.c row,image->rows); image 682 coders/pnm.c q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception); image 689 coders/pnm.c switch (image->depth) image 695 coders/pnm.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 704 coders/pnm.c if (image->depth <= 8) image 709 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 719 coders/pnm.c if (image->depth <= 16) image 724 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 734 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 745 coders/pnm.c sync=SyncAuthenticPixels(image,exception); image 752 coders/pnm.c SetQuantumImageType(image,quantum_type); image 761 coders/pnm.c if (image->depth <= 8) image 762 coders/pnm.c extent=3*image->columns; image 764 coders/pnm.c if (image->depth <= 16) image 765 coders/pnm.c extent=3*2*image->columns; image 767 coders/pnm.c extent=3*4*image->columns; image 768 coders/pnm.c quantum_info=AcquireQuantumInfo(image_info,image); image 771 coders/pnm.c (void) SetQuantumEndian(image,quantum_info,MSBEndian); image 772 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 795 coders/pnm.c pixels=(unsigned char *) ReadBlobStream(image,extent, image 799 coders/pnm.c if ((image->progress_monitor != (MagickProgressMonitor) NULL) && image 800 coders/pnm.c (image->previous == (Image *) NULL)) image 805 coders/pnm.c proceed=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 806 coders/pnm.c row,image->rows); image 811 coders/pnm.c q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception); image 818 coders/pnm.c switch (image->depth) image 822 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 837 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 855 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 873 coders/pnm.c if (image->depth <= 8) image 878 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 891 coders/pnm.c if (image->depth <= 16) image 896 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 909 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 924 coders/pnm.c sync=SyncAuthenticPixels(image,exception); image 964 coders/pnm.c if (image->matte != MagickFalse) image 966 coders/pnm.c if (image->depth <= 8) image 967 coders/pnm.c extent=channels*image->columns; image 969 coders/pnm.c if (image->depth <= 16) image 970 coders/pnm.c extent=channels*2*image->columns; image 972 coders/pnm.c extent=channels*4*image->columns; image 973 coders/pnm.c quantum_info=AcquireQuantumInfo(image_info,image); image 976 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 999 coders/pnm.c pixels=(unsigned char *) ReadBlobStream(image,extent, image 1003 coders/pnm.c if ((image->progress_monitor != (MagickProgressMonitor) NULL) && image 1004 coders/pnm.c (image->previous == (Image *) NULL)) image 1009 coders/pnm.c proceed=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 1010 coders/pnm.c row,image->rows); image 1015 coders/pnm.c q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception); image 1021 coders/pnm.c indexes=GetAuthenticIndexQueue(image); image 1023 coders/pnm.c switch (image->depth) image 1029 coders/pnm.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1043 coders/pnm.c if (image->depth <= 8) image 1048 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1055 coders/pnm.c if (image->matte != MagickFalse) image 1058 coders/pnm.c if (image->depth != 1) image 1069 coders/pnm.c if (image->depth <= 16) image 1074 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1081 coders/pnm.c if (image->matte != MagickFalse) image 1091 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1098 coders/pnm.c if (image->matte != MagickFalse) image 1113 coders/pnm.c if (image->depth <= 8) image 1118 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1130 coders/pnm.c if (image->matte != MagickFalse) image 1140 coders/pnm.c if (image->depth <= 16) image 1145 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1157 coders/pnm.c if (image->matte != MagickFalse) image 1167 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1178 coders/pnm.c if (image->matte != MagickFalse) image 1192 coders/pnm.c if (image->depth <= 8) image 1197 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1206 coders/pnm.c if (image->matte != MagickFalse) image 1216 coders/pnm.c if (image->depth <= 16) image 1221 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1230 coders/pnm.c if (image->matte != MagickFalse) image 1240 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1249 coders/pnm.c if (image->matte != MagickFalse) image 1262 coders/pnm.c sync=SyncAuthenticPixels(image,exception); image 1269 coders/pnm.c SetQuantumImageType(image,quantum_type); image 1279 coders/pnm.c (void) SetImageColorspace(image,GRAYColorspace); image 1281 coders/pnm.c image->endian=quantum_scale < 0.0 ? LSBEndian : MSBEndian; image 1282 coders/pnm.c image->depth=32; image 1283 coders/pnm.c quantum_info=AcquireQuantumInfo(image_info,image); image 1286 coders/pnm.c status=SetQuantumDepth(image,quantum_info,32); image 1289 coders/pnm.c status=SetQuantumFormat(image,quantum_info,FloatingPointQuantumFormat); image 1294 coders/pnm.c extent=GetQuantumExtent(image,quantum_info,quantum_type); image 1295 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 1315 coders/pnm.c pixels=(unsigned char *) ReadBlobStream(image,extent, image 1319 coders/pnm.c if ((image->progress_monitor != (MagickProgressMonitor) NULL) && image 1320 coders/pnm.c (image->previous == (Image *) NULL)) image 1325 coders/pnm.c proceed=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 1326 coders/pnm.c row,image->rows); image 1331 coders/pnm.c q=QueueAuthenticPixels(image,0,(ssize_t) (image->rows-offset-1), image 1332 coders/pnm.c image->columns,1,exception); image 1338 coders/pnm.c length=ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1342 coders/pnm.c sync=SyncAuthenticPixels(image,exception); image 1349 coders/pnm.c SetQuantumImageType(image,quantum_type); image 1355 coders/pnm.c if (EOFBlob(image) != MagickFalse) image 1358 coders/pnm.c CorruptImageError,"UnexpectedEndOfFile","`%s'",image->filename); image 1365 coders/pnm.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 1373 coders/pnm.c count=ReadBlob(image,1,(unsigned char *) &format); image 1379 coders/pnm.c count=ReadBlob(image,1,(unsigned char *) &format); image 1385 coders/pnm.c AcquireNextImage(image_info,image); image 1386 coders/pnm.c if (GetNextImageInList(image) == (Image *) NULL) image 1388 coders/pnm.c image=DestroyImageList(image); image 1391 coders/pnm.c image=SyncNextImageInList(image); image 1392 coders/pnm.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 1393 coders/pnm.c GetBlobSize(image)); image 1398 coders/pnm.c (void) CloseBlob(image); image 1399 coders/pnm.c return(GetFirstImageInList(image)); image 1528 coders/pnm.c static MagickBooleanType WritePNMImage(const ImageInfo *image_info,Image *image) image 1573 coders/pnm.c assert(image != (Image *) NULL); image 1574 coders/pnm.c assert(image->signature == MagickSignature); image 1575 coders/pnm.c if (image->debug != MagickFalse) image 1576 coders/pnm.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1577 coders/pnm.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1589 coders/pnm.c max_value=GetQuantumRange(image->depth); image 1613 coders/pnm.c if (SetImageGray(image,&image->exception) != MagickFalse) image 1629 coders/pnm.c (SetImageGray(image,&image->exception) != MagickFalse)) image 1634 coders/pnm.c if (SetImageMonochrome(image,&image->exception) != MagickFalse) image 1652 coders/pnm.c (void) WriteBlobString(image,buffer); image 1653 coders/pnm.c value=GetImageProperty(image,"comment"); image 1662 coders/pnm.c (void) WriteBlobByte(image,'#'); image 1665 coders/pnm.c (void) WriteBlobByte(image,(unsigned char) *p); image 1667 coders/pnm.c (void) WriteBlobByte(image,'#'); image 1669 coders/pnm.c (void) WriteBlobByte(image,'\n'); image 1674 coders/pnm.c (double) image->columns,(double) image->rows); image 1675 coders/pnm.c (void) WriteBlobString(image,buffer); image 1686 coders/pnm.c "WIDTH %.20g\nHEIGHT %.20g\n",(double) image->columns,(double) image 1687 coders/pnm.c image->rows); image 1688 coders/pnm.c (void) WriteBlobString(image,buffer); image 1689 coders/pnm.c quantum_type=GetQuantumType(image,&image->exception); image 1709 coders/pnm.c if (image->matte != MagickFalse) image 1716 coders/pnm.c if (image->matte != MagickFalse) image 1721 coders/pnm.c if (image->depth > 32) image 1722 coders/pnm.c image->depth=32; image 1725 coders/pnm.c ((MagickOffsetType) GetQuantumRange(image->depth))); image 1726 coders/pnm.c (void) WriteBlobString(image,buffer); image 1729 coders/pnm.c (void) WriteBlobString(image,buffer); image 1744 coders/pnm.c (void) SetImageType(image,BilevelType); image 1746 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 1754 coders/pnm.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1757 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1759 coders/pnm.c *q++=(unsigned char) (GetPixelLuma(image,p) >= (QuantumRange/2.0) ? image 1765 coders/pnm.c (void) WriteBlob(image,q-pixels,pixels); image 1771 coders/pnm.c (void) WriteBlob(image,q-pixels,pixels); image 1773 coders/pnm.c if (image->previous == (Image *) NULL) image 1775 coders/pnm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1776 coders/pnm.c image->rows); image 1784 coders/pnm.c (void) WriteBlob(image,q-pixels,pixels); image 1796 coders/pnm.c if (image->depth <= 8) image 1797 coders/pnm.c (void) WriteBlobString(image,"255\n"); image 1799 coders/pnm.c if (image->depth <= 16) image 1800 coders/pnm.c (void) WriteBlobString(image,"65535\n"); image 1802 coders/pnm.c (void) WriteBlobString(image,"4294967295\n"); image 1804 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 1812 coders/pnm.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1815 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1817 coders/pnm.c index=ClampToQuantum(GetPixelLuma(image,p)); image 1818 coders/pnm.c if (image->depth <= 8) image 1822 coders/pnm.c if (image->depth <= 16) image 1834 coders/pnm.c (void) WriteBlob(image,q-pixels,pixels); image 1840 coders/pnm.c (void) WriteBlob(image,q-pixels,pixels); image 1842 coders/pnm.c if (image->previous == (Image *) NULL) image 1844 coders/pnm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1845 coders/pnm.c image->rows); image 1853 coders/pnm.c (void) WriteBlob(image,q-pixels,pixels); image 1865 coders/pnm.c (void) TransformImageColorspace(image,sRGBColorspace); image 1866 coders/pnm.c if (image->depth <= 8) image 1867 coders/pnm.c (void) WriteBlobString(image,"255\n"); image 1869 coders/pnm.c if (image->depth <= 16) image 1870 coders/pnm.c (void) WriteBlobString(image,"65535\n"); image 1872 coders/pnm.c (void) WriteBlobString(image,"4294967295\n"); image 1874 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 1882 coders/pnm.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1885 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 1887 coders/pnm.c if (image->depth <= 8) image 1893 coders/pnm.c if (image->depth <= 16) image 1909 coders/pnm.c (void) WriteBlob(image,q-pixels,pixels); image 1915 coders/pnm.c (void) WriteBlob(image,q-pixels,pixels); image 1917 coders/pnm.c if (image->previous == (Image *) NULL) image 1919 coders/pnm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1920 coders/pnm.c image->rows); image 1928 coders/pnm.c (void) WriteBlob(image,q-pixels,pixels); image 1937 coders/pnm.c (void) SetImageType(image,BilevelType); image 1938 coders/pnm.c image->depth=1; image 1939 coders/pnm.c quantum_info=AcquireQuantumInfo(image_info,image); image 1942 coders/pnm.c (void) SetQuantumEndian(image,quantum_info,MSBEndian); image 1945 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 1950 coders/pnm.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1953 coders/pnm.c extent=ExportQuantumPixels(image,(const CacheView *) NULL, image 1954 coders/pnm.c quantum_info,GrayQuantum,pixels,&image->exception); image 1955 coders/pnm.c count=WriteBlob(image,extent,pixels); image 1958 coders/pnm.c if (image->previous == (Image *) NULL) image 1960 coders/pnm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1961 coders/pnm.c image->rows); image 1974 coders/pnm.c if (image->depth > 32) image 1975 coders/pnm.c image->depth=32; image 1977 coders/pnm.c ((MagickOffsetType) GetQuantumRange(image->depth))); image 1978 coders/pnm.c (void) WriteBlobString(image,buffer); image 1979 coders/pnm.c quantum_info=AcquireQuantumInfo(image_info,image); image 1982 coders/pnm.c (void) SetQuantumEndian(image,quantum_info,MSBEndian); image 1985 coders/pnm.c extent=GetQuantumExtent(image,quantum_info,GrayQuantum); image 1986 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 1994 coders/pnm.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1998 coders/pnm.c switch (image->depth) image 2004 coders/pnm.c extent=ExportQuantumPixels(image,(const CacheView *) NULL, image 2005 coders/pnm.c quantum_info,GrayQuantum,pixels,&image->exception); image 2010 coders/pnm.c if (image->depth <= 8) image 2012 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2016 coders/pnm.c GetPixelLuma(image,p)),max_value); image 2019 coders/pnm.c if (image->depth == 8) image 2030 coders/pnm.c if (image->depth <= 16) image 2032 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2036 coders/pnm.c GetPixelLuma(image,p)),max_value); image 2039 coders/pnm.c if (image->depth == 16) image 2050 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2054 coders/pnm.c GetPixelLuma(image,p)),max_value); image 2057 coders/pnm.c if (image->depth == 32) image 2069 coders/pnm.c count=WriteBlob(image,extent,pixels); image 2072 coders/pnm.c if (image->previous == (Image *) NULL) image 2074 coders/pnm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2075 coders/pnm.c image->rows); image 2088 coders/pnm.c (void) TransformImageColorspace(image,sRGBColorspace); image 2089 coders/pnm.c if (image->depth > 32) image 2090 coders/pnm.c image->depth=32; image 2092 coders/pnm.c ((MagickOffsetType) GetQuantumRange(image->depth))); image 2093 coders/pnm.c (void) WriteBlobString(image,buffer); image 2094 coders/pnm.c quantum_info=AcquireQuantumInfo(image_info,image); image 2097 coders/pnm.c (void) SetQuantumEndian(image,quantum_info,MSBEndian); image 2098 coders/pnm.c (void) SetQuantumEndian(image,quantum_info,MSBEndian); image 2100 coders/pnm.c extent=GetQuantumExtent(image,quantum_info,quantum_type); image 2101 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 2109 coders/pnm.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2113 coders/pnm.c switch (image->depth) image 2119 coders/pnm.c extent=ExportQuantumPixels(image,(const CacheView *) NULL, image 2120 coders/pnm.c quantum_info,quantum_type,pixels,&image->exception); image 2125 coders/pnm.c if (image->depth <= 8) image 2127 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2140 coders/pnm.c if (image->depth <= 16) image 2142 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2155 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2169 coders/pnm.c count=WriteBlob(image,extent,pixels); image 2172 coders/pnm.c if (image->previous == (Image *) NULL) image 2174 coders/pnm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2175 coders/pnm.c image->rows); image 2188 coders/pnm.c if (image->depth > 32) image 2189 coders/pnm.c image->depth=32; image 2190 coders/pnm.c quantum_info=AcquireQuantumInfo(image_info,image); image 2193 coders/pnm.c (void) SetQuantumEndian(image,quantum_info,MSBEndian); image 2195 coders/pnm.c for (y=0; y < (ssize_t) image->rows; y++) image 2206 coders/pnm.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2209 coders/pnm.c indexes=GetVirtualIndexQueue(image); image 2211 coders/pnm.c switch (image->depth) image 2217 coders/pnm.c extent=ExportQuantumPixels(image,(const CacheView *) NULL, image 2218 coders/pnm.c quantum_info,quantum_type,pixels,&image->exception); image 2228 coders/pnm.c if (image->depth <= 8) image 2230 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2233 coders/pnm.c GetPixelLuma(image,p)),max_value); image 2235 coders/pnm.c if (image->matte != MagickFalse) image 2245 coders/pnm.c if (image->depth <= 16) image 2247 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2250 coders/pnm.c GetPixelLuma(image,p)),max_value); image 2252 coders/pnm.c if (image->matte != MagickFalse) image 2262 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2265 coders/pnm.c GetPixelLuma(image,p)),max_value); image 2267 coders/pnm.c if (image->matte != MagickFalse) image 2280 coders/pnm.c if (image->depth <= 8) image 2282 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2293 coders/pnm.c if (image->matte != MagickFalse) image 2303 coders/pnm.c if (image->depth <= 16) image 2305 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2316 coders/pnm.c if (image->matte != MagickFalse) image 2326 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2336 coders/pnm.c if (image->matte != MagickFalse) image 2348 coders/pnm.c if (image->depth <= 8) image 2350 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2358 coders/pnm.c if (image->matte != MagickFalse) image 2368 coders/pnm.c if (image->depth <= 16) image 2370 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2378 coders/pnm.c if (image->matte != MagickFalse) image 2388 coders/pnm.c for (x=0; x < (ssize_t) image->columns; x++) image 2396 coders/pnm.c if (image->matte != MagickFalse) image 2411 coders/pnm.c count=WriteBlob(image,extent,pixels); image 2414 coders/pnm.c if (image->previous == (Image *) NULL) image 2416 coders/pnm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2417 coders/pnm.c image->rows); image 2428 coders/pnm.c (void) WriteBlobString(image,image->endian == LSBEndian ? "-1.0\n" : image 2430 coders/pnm.c image->depth=32; image 2432 coders/pnm.c quantum_info=AcquireQuantumInfo((const ImageInfo *) NULL,image); image 2435 coders/pnm.c status=SetQuantumFormat(image,quantum_info,FloatingPointQuantumFormat); image 2439 coders/pnm.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 2444 coders/pnm.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 2447 coders/pnm.c extent=ExportQuantumPixels(image,(const CacheView *) NULL, image 2448 coders/pnm.c quantum_info,quantum_type,pixels,&image->exception); image 2449 coders/pnm.c (void) WriteBlob(image,extent,pixels); image 2450 coders/pnm.c if (image->previous == (Image *) NULL) image 2452 coders/pnm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 2453 coders/pnm.c image->rows); image 2462 coders/pnm.c if (GetNextImageInList(image) == (Image *) NULL) image 2464 coders/pnm.c image=SyncNextImageInList(image); image 2465 coders/pnm.c status=SetImageProgress(image,SaveImagesTag,scene++, image 2466 coders/pnm.c GetImageListLength(image)); image 2470 coders/pnm.c (void) CloseBlob(image); image 165 coders/preview.c Image *image) image 181 coders/preview.c assert(image != (Image *) NULL); image 182 coders/preview.c assert(image->signature == MagickSignature); image 183 coders/preview.c if (image->debug != MagickFalse) image 184 coders/preview.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 185 coders/preview.c preview_image=PreviewImage(image,image_info->preview_type,&image->exception); image 192 coders/preview.c (void) SetImageInfo(write_info,1,&image->exception); image 366 coders/ps.c static inline int ProfileInteger(Image *image,short int *hex_digits) image 380 coders/ps.c c=ReadBlobByte(image); image 440 coders/ps.c *image, image 509 coders/ps.c image=AcquireImage(image_info); image 510 coders/ps.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 513 coders/ps.c image=DestroyImageList(image); image 521 coders/ps.c image=DestroyImageList(image); image 555 coders/ps.c if ((image->x_resolution == 0.0) || (image->y_resolution == 0.0)) image 558 coders/ps.c image->x_resolution=geometry_info.rho; image 559 coders/ps.c image->y_resolution=geometry_info.sigma; image 561 coders/ps.c image->y_resolution=image->x_resolution; image 566 coders/ps.c image->x_resolution=geometry_info.rho; image 567 coders/ps.c image->y_resolution=geometry_info.sigma; image 569 coders/ps.c image->y_resolution=image->x_resolution; image 574 coders/ps.c resolution.x=image->x_resolution; image 575 coders/ps.c resolution.y=image->y_resolution; image 594 coders/ps.c for (c=ReadBlobByte(image); c != EOF; c=ReadBlobByte(image)) image 616 coders/ps.c (void) SetImageProperty(image,"ps:Level",command+4); image 635 coders/ps.c for (i=0; (c=ProfileInteger(image,hex_digits)) != EOF; i++) image 641 coders/ps.c (void) SetImageProfile(image,"icc",profile); image 662 coders/ps.c *p++=(unsigned char) ProfileInteger(image,hex_digits); image 663 coders/ps.c (void) SetImageProfile(image,"8bim",profile); image 681 coders/ps.c c=ReadBlobByte(image); image 693 coders/ps.c (void) SetImageProfile(image,"xmp",profile); image 736 coders/ps.c (void) SetImageProperty(image,property,value); image 795 coders/ps.c (void) SetImageProperty(image,"ps:HiResBoundingBox",geometry); image 817 coders/ps.c image=DestroyImage(image); image 820 coders/ps.c page.width=(size_t) ceil((double) (page.width*image->x_resolution/delta.x) image 822 coders/ps.c page.height=(size_t) ceil((double) (page.height*image->y_resolution/ image 827 coders/ps.c (void) CloseBlob(image); image 836 coders/ps.c ThrowFileException(&image->exception,FileOpenError,"UnableToOpenFile", image 838 coders/ps.c image=DestroyImageList(image); image 869 coders/ps.c image=DestroyImageList(image); image 915 coders/ps.c (void) InterpretImageFilename(image_info,image,filename,1, image 930 coders/ps.c (void) InterpretImageFilename(image_info,image,filename,(int) i, image 939 coders/ps.c (void) InterpretImageFilename(image_info,image,filename,(int) i, image 958 coders/ps.c image=DestroyImageList(image); image 994 coders/ps.c (void) CopyMagickString(postscript_image->magick,image->magick, image 1001 coders/ps.c (void) CloneImageProfiles(postscript_image,image); image 1002 coders/ps.c (void) CloneImageProperties(postscript_image,image); image 1007 coders/ps.c image=DestroyImageList(image); image 1172 coders/ps.c static MagickBooleanType WritePSImage(const ImageInfo *image_info,Image *image) image 1174 coders/ps.c #define WriteRunlengthPacket(image,pixel,length,p) \ image 1176 coders/ps.c if ((image->matte != MagickFalse) && \ image 1560 coders/ps.c assert(image != (Image *) NULL); image 1561 coders/ps.c assert(image->signature == MagickSignature); image 1562 coders/ps.c if (image->debug != MagickFalse) image 1563 coders/ps.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1564 coders/ps.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1568 coders/ps.c compression=image->compression; image 1578 coders/ps.c if (image->colorspace != CMYKColorspace) image 1579 coders/ps.c (void) TransformImageColorspace(image,sRGBColorspace); image 1582 coders/ps.c resolution.x=image->x_resolution; image 1583 coders/ps.c resolution.y=image->y_resolution; image 1600 coders/ps.c if (image->units == PixelsPerCentimeterResolution) image 1605 coders/ps.c SetGeometry(image,&geometry); image 1607 coders/ps.c (double) image->columns,(double) image->rows); image 1611 coders/ps.c if ((image->page.width != 0) && (image->page.height != 0)) image 1613 coders/ps.c "%.20gx%.20g%+.20g%+.20g",(double) image->page.width,(double) image 1614 coders/ps.c image->page.height,(double) image->page.x,(double) image->page.y); image 1616 coders/ps.c if ((image->gravity != UndefinedGravity) && image 1627 coders/ps.c (void) ParseGravityGeometry(image,page_geometry,&page_info, image 1628 coders/ps.c &image->exception); image 1629 coders/ps.c if (image->gravity != UndefinedGravity) image 1632 coders/ps.c geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); image 1638 coders/ps.c value=GetImageProperty(image,"label"); image 1651 coders/ps.c (void) WriteBlobString(image,buffer); image 1652 coders/ps.c (void) WriteBlobString(image,"%%Creator: (ImageMagick)\n"); image 1654 coders/ps.c image->filename); image 1655 coders/ps.c (void) WriteBlobString(image,buffer); image 1660 coders/ps.c (void) WriteBlobString(image,buffer); image 1666 coders/ps.c (GetNextImageInList(image) != (Image *) NULL)) image 1674 coders/ps.c (void) WriteBlobString(image,buffer); image 1679 coders/ps.c (void) WriteBlobString(image,buffer); image 1680 coders/ps.c profile=GetImageProfile(image,"8bim"); image 1688 coders/ps.c (void) WriteBlobString(image,buffer); image 1692 coders/ps.c (void) WriteBlobString(image,"\n% "); image 1695 coders/ps.c (void) WriteBlobString(image,buffer); image 1697 coders/ps.c (void) WriteBlobString(image,"\n%EndPhotoshop\n"); image 1699 coders/ps.c profile=GetImageProfile(image,"xmp"); image 1707 coders/ps.c (void) WriteBlobString(image,"\n%begin_xml_code\n"); image 1711 coders/ps.c (void) WriteBlobString(image,buffer); image 1713 coders/ps.c (void) WriteBlobByte(image,GetStringInfoDatum(profile)[i]); image 1714 coders/ps.c (void) WriteBlobString(image,"\n%end_xml_packet\n%end_xml_code\n"); image 1716 coders/ps.c value=GetImageProperty(image,"label"); image 1718 coders/ps.c (void) WriteBlobString(image, image 1720 coders/ps.c (void) WriteBlobString(image,"%%DocumentData: Clean7Bit\n"); image 1721 coders/ps.c (void) WriteBlobString(image,"%%LanguageLevel: 1\n"); image 1723 coders/ps.c (void) WriteBlobString(image,"%%Pages: 1\n"); image 1729 coders/ps.c (void) WriteBlobString(image,"%%Orientation: Portrait\n"); image 1730 coders/ps.c (void) WriteBlobString(image,"%%PageOrder: Ascend\n"); image 1733 coders/ps.c GetImageListLength(image) : 1.0); image 1734 coders/ps.c (void) WriteBlobString(image,buffer); image 1736 coders/ps.c (void) WriteBlobString(image,"%%EndComments\n"); image 1737 coders/ps.c (void) WriteBlobString(image,"\n%%BeginDefaults\n"); image 1738 coders/ps.c (void) WriteBlobString(image,"%%EndDefaults\n\n"); image 1758 coders/ps.c preview_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 1769 coders/ps.c (void) WriteBlobString(image,buffer); image 1771 coders/ps.c for (y=0; y < (ssize_t) image->rows; y++) image 1783 coders/ps.c pixel=ClampToQuantum(GetPixelLuma(image,p)); image 1793 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 1795 coders/ps.c (void) WriteBlobString(image,"% "); image 1808 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 1810 coders/ps.c (void) WriteBlobString(image,"% "); image 1817 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 1819 coders/ps.c (void) WriteBlobString(image,"\n%%EndPreview\n"); image 1828 coders/ps.c (void) WriteBlobString(image,buffer); image 1830 coders/ps.c value=GetImageProperty(image,"label"); image 1834 coders/ps.c (void) WriteBlobString(image," /label 512 string def\n"); image 1835 coders/ps.c (void) WriteBlobString(image," currentfile label readline pop\n"); image 1838 coders/ps.c (void) WriteBlobString(image,buffer); image 1843 coders/ps.c (void) WriteBlobString(image,buffer); image 1846 coders/ps.c (void) WriteBlobString(image," showpage\n"); image 1847 coders/ps.c (void) WriteBlobString(image,"} bind def\n"); image 1848 coders/ps.c (void) WriteBlobString(image,"%%EndProlog\n"); image 1852 coders/ps.c (void) WriteBlobString(image,buffer); image 1857 coders/ps.c (void) WriteBlobString(image,buffer); image 1866 coders/ps.c value=GetImageProperty(image,"label"); image 1868 coders/ps.c (void) WriteBlobString(image,"%%%%PageResources: font Times-Roman\n"); image 1870 coders/ps.c (void) WriteBlobString(image,"userdict begin\n"); image 1871 coders/ps.c (void) WriteBlobString(image,"DisplayImage\n"); image 1877 coders/ps.c (void) WriteBlobString(image,buffer); image 1879 coders/ps.c value=GetImageProperty(image,"label"); image 1888 coders/ps.c (void) WriteBlobString(image,buffer); image 1898 coders/ps.c (SetImageGray(image,&image->exception) != MagickFalse)) image 1900 coders/ps.c if (SetImageMonochrome(image,&image->exception) == MagickFalse) image 1909 coders/ps.c "%.20g %.20g\n1\n1\n1\n8\n",(double) image->columns,(double) image 1910 coders/ps.c image->rows); image 1911 coders/ps.c (void) WriteBlobString(image,buffer); image 1913 coders/ps.c for (y=0; y < (ssize_t) image->rows; y++) image 1915 coders/ps.c p=GetVirtualPixels(image,0,y,image->columns,1, image 1916 coders/ps.c &image->exception); image 1919 coders/ps.c for (x=0; x < (ssize_t) image->columns; x++) image 1921 coders/ps.c pixel=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); image 1926 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 1931 coders/ps.c if (image->previous == (Image *) NULL) image 1933 coders/ps.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 1934 coders/ps.c y,image->rows); image 1942 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 1957 coders/ps.c "%.20g %.20g\n1\n1\n1\n1\n",(double) image->columns,(double) image 1958 coders/ps.c image->rows); image 1959 coders/ps.c (void) WriteBlobString(image,buffer); image 1961 coders/ps.c for (y=0; y < (ssize_t) image->rows; y++) image 1963 coders/ps.c p=GetVirtualPixels(image,0,y,image->columns,1, image 1964 coders/ps.c &image->exception); image 1967 coders/ps.c indexes=GetVirtualIndexQueue(image); image 1970 coders/ps.c for (x=0; x < (ssize_t) image->columns; x++) image 1973 coders/ps.c pixel=ClampToQuantum(GetPixelLuma(image,p)); image 1983 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 1998 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2002 coders/ps.c if (image->previous == (Image *) NULL) image 2004 coders/ps.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 2005 coders/ps.c y,image->rows); image 2013 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2018 coders/ps.c if ((image->storage_class == DirectClass) || image 2019 coders/ps.c (image->colors > 256) || (image->matte != MagickFalse)) image 2025 coders/ps.c (double) image->columns,(double) image->rows, image 2027 coders/ps.c (void) WriteBlobString(image,buffer); image 2036 coders/ps.c for (y=0; y < (ssize_t) image->rows; y++) image 2038 coders/ps.c p=GetVirtualPixels(image,0,y,image->columns,1, image 2039 coders/ps.c &image->exception); image 2044 coders/ps.c for (x=0; x < (ssize_t) image->columns; x++) image 2050 coders/ps.c (length < 255) && (x < (ssize_t) (image->columns-1))) image 2056 coders/ps.c WriteRunlengthPacket(image,pixel,length,p); image 2060 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2069 coders/ps.c WriteRunlengthPacket(image,pixel,length,p); image 2073 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2076 coders/ps.c if (image->previous == (Image *) NULL) image 2078 coders/ps.c status=SetImageProgress(image,SaveImageTag, image 2079 coders/ps.c (MagickOffsetType) y,image->rows); image 2087 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2098 coders/ps.c for (y=0; y < (ssize_t) image->rows; y++) image 2100 coders/ps.c p=GetVirtualPixels(image,0,y,image->columns,1, image 2101 coders/ps.c &image->exception); image 2104 coders/ps.c for (x=0; x < (ssize_t) image->columns; x++) image 2106 coders/ps.c if ((image->matte != MagickFalse) && image 2125 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2130 coders/ps.c if (image->previous == (Image *) NULL) image 2132 coders/ps.c status=SetImageProgress(image,SaveImageTag, image 2133 coders/ps.c (MagickOffsetType) y,image->rows); image 2141 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2146 coders/ps.c (void) WriteBlobByte(image,'\n'); image 2154 coders/ps.c "%.20g %.20g\n%d\n%d\n0\n",(double) image->columns,(double) image 2155 coders/ps.c image->rows,image->storage_class == PseudoClass ? 1 : 0, image 2157 coders/ps.c (void) WriteBlobString(image,buffer); image 2162 coders/ps.c image->colors); image 2163 coders/ps.c (void) WriteBlobString(image,buffer); image 2164 coders/ps.c for (i=0; i < (ssize_t) image->colors; i++) image 2167 coders/ps.c ScaleQuantumToChar(image->colormap[i].red), image 2168 coders/ps.c ScaleQuantumToChar(image->colormap[i].green), image 2169 coders/ps.c ScaleQuantumToChar(image->colormap[i].blue)); image 2170 coders/ps.c (void) WriteBlobString(image,buffer); image 2180 coders/ps.c for (y=0; y < (ssize_t) image->rows; y++) image 2182 coders/ps.c p=GetVirtualPixels(image,0,y,image->columns,1, image 2183 coders/ps.c &image->exception); image 2186 coders/ps.c indexes=GetVirtualIndexQueue(image); image 2189 coders/ps.c for (x=0; x < (ssize_t) image->columns; x++) image 2192 coders/ps.c (length < 255) && (x < ((ssize_t) image->columns-1))) image 2205 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2221 coders/ps.c if (image->previous == (Image *) NULL) image 2223 coders/ps.c status=SetImageProgress(image,SaveImageTag, image 2224 coders/ps.c (MagickOffsetType) y,image->rows); image 2232 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2243 coders/ps.c for (y=0; y < (ssize_t) image->rows; y++) image 2245 coders/ps.c p=GetVirtualPixels(image,0,y,image->columns,1, image 2246 coders/ps.c &image->exception); image 2249 coders/ps.c indexes=GetVirtualIndexQueue(image); image 2250 coders/ps.c for (x=0; x < (ssize_t) image->columns; x++) image 2257 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2262 coders/ps.c if (image->previous == (Image *) NULL) image 2264 coders/ps.c status=SetImageProgress(image,SaveImageTag, image 2265 coders/ps.c (MagickOffsetType) y,image->rows); image 2273 coders/ps.c (void) WriteBlob(image,q-pixels,pixels); image 2278 coders/ps.c (void) WriteBlobByte(image,'\n'); image 2281 coders/ps.c (void) WriteBlobString(image,"end\n"); image 2282 coders/ps.c (void) WriteBlobString(image,"%%PageTrailer\n"); image 2283 coders/ps.c if (GetNextImageInList(image) == (Image *) NULL) image 2285 coders/ps.c image=SyncNextImageInList(image); image 2286 coders/ps.c status=SetImageProgress(image,SaveImagesTag,scene++, image 2287 coders/ps.c GetImageListLength(image)); image 2291 coders/ps.c (void) WriteBlobString(image,"%%Trailer\n"); image 2297 coders/ps.c (void) WriteBlobString(image,buffer); image 2301 coders/ps.c (void) WriteBlobString(image,buffer); image 2303 coders/ps.c (void) WriteBlobString(image,"%%EOF\n"); image 2304 coders/ps.c (void) CloseBlob(image); image 188 coders/ps2.c Image *image,Image *inject_image) image 209 coders/ps2.c group4_image=CloneImage(inject_image,0,0,MagickTrue,&image->exception); image 213 coders/ps2.c &image->exception); image 218 coders/ps2.c if (WriteBlob(image,length,group4) != (ssize_t) length) image 224 coders/ps2.c static MagickBooleanType WritePS2Image(const ImageInfo *image_info,Image *image) image 462 coders/ps2.c assert(image != (Image *) NULL); image 463 coders/ps2.c assert(image->signature == MagickSignature); image 464 coders/ps2.c if (image->debug != MagickFalse) image 465 coders/ps2.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 466 coders/ps2.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 469 coders/ps2.c compression=image->compression; image 478 coders/ps2.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 480 coders/ps2.c image->filename); image 497 coders/ps2.c resolution.x=image->x_resolution; image 498 coders/ps2.c resolution.y=image->y_resolution; image 515 coders/ps2.c if (image->units == PixelsPerCentimeterResolution) image 520 coders/ps2.c SetGeometry(image,&geometry); image 522 coders/ps2.c (double) image->columns,(double) image->rows); image 526 coders/ps2.c if ((image->page.width != 0) && (image->page.height != 0)) image 528 coders/ps2.c "%.20gx%.20g%+.20g%+.20g",(double) image->page.width,(double) image 529 coders/ps2.c image->page.height,(double) image->page.x,(double) image->page.y); image 531 coders/ps2.c if ((image->gravity != UndefinedGravity) && image 542 coders/ps2.c (void) ParseGravityGeometry(image,page_geometry,&page_info, image 543 coders/ps2.c &image->exception); image 544 coders/ps2.c if (image->gravity != UndefinedGravity) image 547 coders/ps2.c geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); image 553 coders/ps2.c value=GetImageProperty(image,"label"); image 566 coders/ps2.c (void) WriteBlobString(image,buffer); image 567 coders/ps2.c (void) WriteBlobString(image,"%%Creator: (ImageMagick)\n"); image 569 coders/ps2.c image->filename); image 570 coders/ps2.c (void) WriteBlobString(image,buffer); image 575 coders/ps2.c (void) WriteBlobString(image,buffer); image 581 coders/ps2.c (GetNextImageInList(image) != (Image *) NULL)) image 589 coders/ps2.c (void) WriteBlobString(image,buffer); image 594 coders/ps2.c (void) WriteBlobString(image,buffer); image 595 coders/ps2.c value=GetImageProperty(image,"label"); image 597 coders/ps2.c (void) WriteBlobString(image, image 599 coders/ps2.c (void) WriteBlobString(image,"%%LanguageLevel: 2\n"); image 601 coders/ps2.c (void) WriteBlobString(image,"%%Pages: 1\n"); image 604 coders/ps2.c (void) WriteBlobString(image,"%%Orientation: Portrait\n"); image 605 coders/ps2.c (void) WriteBlobString(image,"%%PageOrder: Ascend\n"); image 610 coders/ps2.c "%%%%Pages: %.20g\n",(double) GetImageListLength(image)); image 611 coders/ps2.c (void) WriteBlobString(image,buffer); image 613 coders/ps2.c if (image->colorspace == CMYKColorspace) image 614 coders/ps2.c (void) WriteBlobString(image, image 616 coders/ps2.c (void) WriteBlobString(image,"%%EndComments\n"); image 617 coders/ps2.c (void) WriteBlobString(image,"\n%%BeginDefaults\n"); image 618 coders/ps2.c (void) WriteBlobString(image,"%%EndDefaults\n\n"); image 657 coders/ps2.c (void) WriteBlobString(image,buffer); image 658 coders/ps2.c (void) WriteBlobByte(image,'\n'); image 660 coders/ps2.c value=GetImageProperty(image,"label"); image 664 coders/ps2.c (void) WriteBlobString(image," /label 512 string def\n"); image 665 coders/ps2.c (void) WriteBlobString(image," currentfile label readline pop\n"); image 668 coders/ps2.c (void) WriteBlobString(image,buffer); image 673 coders/ps2.c (void) WriteBlobString(image,buffer); image 676 coders/ps2.c (void) WriteBlobString(image," showpage\n"); image 677 coders/ps2.c (void) WriteBlobString(image,"} bind def\n"); image 678 coders/ps2.c (void) WriteBlobString(image,"%%EndProlog\n"); image 682 coders/ps2.c (void) WriteBlobString(image,buffer); image 687 coders/ps2.c (void) WriteBlobString(image,buffer); image 696 coders/ps2.c value=GetImageProperty(image,"label"); image 698 coders/ps2.c (void) WriteBlobString(image,"%%PageResources: font Times-Roman\n"); image 700 coders/ps2.c (void) WriteBlobString(image,"userdict begin\n"); image 701 coders/ps2.c start=TellBlob(image); image 705 coders/ps2.c (void) WriteBlobString(image,buffer); image 706 coders/ps2.c stop=TellBlob(image); image 707 coders/ps2.c (void) WriteBlobString(image,"DisplayImage\n"); image 713 coders/ps2.c (void) WriteBlobString(image,buffer); image 715 coders/ps2.c value=GetImageProperty(image,"label"); image 724 coders/ps2.c (void) WriteBlobString(image,buffer); image 729 coders/ps2.c number_pixels=(MagickSizeType) image->columns*image->rows; image 734 coders/ps2.c (SetImageGray(image,&image->exception) != MagickFalse))) image 737 coders/ps2.c (double) image->columns,(double) image->rows,(int) image 738 coders/ps2.c (image->colorspace == CMYKColorspace)); image 739 coders/ps2.c (void) WriteBlobString(image,buffer); image 743 coders/ps2.c (void) WriteBlobString(image,buffer); image 744 coders/ps2.c (void) WriteBlobString(image,"0\n"); image 748 coders/ps2.c (void) WriteBlobString(image,buffer); image 756 coders/ps2.c (void) HuffmanEncodeImage(image_info,image,image); image 759 coders/ps2.c (void) Huffman2DEncodeImage(image_info,image,image); image 764 coders/ps2.c status=InjectImageBlob(image_info,image,image,"jpeg", image 765 coders/ps2.c &image->exception); image 767 coders/ps2.c ThrowWriterException(CoderError,image->exception.reason); image 791 coders/ps2.c for (y=0; y < (ssize_t) image->rows; y++) image 793 coders/ps2.c p=GetVirtualPixels(image,0,y,image->columns,1, image 794 coders/ps2.c &image->exception); image 797 coders/ps2.c for (x=0; x < (ssize_t) image->columns; x++) image 800 coders/ps2.c GetPixelLuma(image,p))); image 803 coders/ps2.c progress=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 804 coders/ps2.c image->rows); image 810 coders/ps2.c status=LZWEncodeImage(image,length,pixels); image 812 coders/ps2.c status=PackbitsEncodeImage(image,length,pixels); image 816 coders/ps2.c (void) CloseBlob(image); image 826 coders/ps2.c Ascii85Initialize(image); image 827 coders/ps2.c for (y=0; y < (ssize_t) image->rows; y++) image 829 coders/ps2.c p=GetVirtualPixels(image,0,y,image->columns,1, image 830 coders/ps2.c &image->exception); image 833 coders/ps2.c for (x=0; x < (ssize_t) image->columns; x++) image 835 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar(ClampToQuantum( image 836 coders/ps2.c GetPixelLuma(image,p)))); image 839 coders/ps2.c progress=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 840 coders/ps2.c y,image->rows); image 844 coders/ps2.c Ascii85Flush(image); image 850 coders/ps2.c if ((image->storage_class == DirectClass) || (image->colors > 256) || image 851 coders/ps2.c (compression == JPEGCompression) || (image->matte != MagickFalse)) image 854 coders/ps2.c (double) image->columns,(double) image->rows,(int) image 855 coders/ps2.c (image->colorspace == CMYKColorspace)); image 856 coders/ps2.c (void) WriteBlobString(image,buffer); image 859 coders/ps2.c (void) WriteBlobString(image,buffer); image 864 coders/ps2.c status=InjectImageBlob(image_info,image,image,"jpeg", image 865 coders/ps2.c &image->exception); image 867 coders/ps2.c ThrowWriterException(CoderError,image->exception.reason); image 892 coders/ps2.c for (y=0; y < (ssize_t) image->rows; y++) image 894 coders/ps2.c p=GetVirtualPixels(image,0,y,image->columns,1, image 895 coders/ps2.c &image->exception); image 898 coders/ps2.c indexes=GetVirtualIndexQueue(image); image 899 coders/ps2.c for (x=0; x < (ssize_t) image->columns; x++) image 901 coders/ps2.c if ((image->matte != MagickFalse) && image 909 coders/ps2.c if (image->colorspace != CMYKColorspace) image 925 coders/ps2.c progress=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 926 coders/ps2.c y,image->rows); image 932 coders/ps2.c status=LZWEncodeImage(image,length,pixels); image 934 coders/ps2.c status=PackbitsEncodeImage(image,length,pixels); image 937 coders/ps2.c (void) CloseBlob(image); image 948 coders/ps2.c Ascii85Initialize(image); image 949 coders/ps2.c for (y=0; y < (ssize_t) image->rows; y++) image 951 coders/ps2.c p=GetVirtualPixels(image,0,y,image->columns,1, image 952 coders/ps2.c &image->exception); image 955 coders/ps2.c indexes=GetVirtualIndexQueue(image); image 956 coders/ps2.c for (x=0; x < (ssize_t) image->columns; x++) image 958 coders/ps2.c if ((image->matte != MagickFalse) && image 961 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar((Quantum) image 963 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar((Quantum) image 965 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar((Quantum) image 969 coders/ps2.c if (image->colorspace != CMYKColorspace) image 971 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar( image 973 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar( image 975 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar( image 980 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar( image 982 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar( image 984 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar( image 986 coders/ps2.c Ascii85Encode(image,ScaleQuantumToChar( image 991 coders/ps2.c progress=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 992 coders/ps2.c y,image->rows); image 996 coders/ps2.c Ascii85Flush(image); image 1007 coders/ps2.c (double) image->columns,(double) image->rows,(int) image 1008 coders/ps2.c (image->colorspace == CMYKColorspace)); image 1009 coders/ps2.c (void) WriteBlobString(image,buffer); image 1012 coders/ps2.c (void) WriteBlobString(image,buffer); image 1014 coders/ps2.c image->colors); image 1015 coders/ps2.c (void) WriteBlobString(image,buffer); image 1016 coders/ps2.c for (i=0; i < (ssize_t) image->colors; i++) image 1019 coders/ps2.c ScaleQuantumToChar(image->colormap[i].red), image 1020 coders/ps2.c ScaleQuantumToChar(image->colormap[i].green), image 1021 coders/ps2.c ScaleQuantumToChar(image->colormap[i].blue)); image 1022 coders/ps2.c (void) WriteBlobString(image,buffer); image 1048 coders/ps2.c for (y=0; y < (ssize_t) image->rows; y++) image 1050 coders/ps2.c p=GetVirtualPixels(image,0,y,image->columns,1, image 1051 coders/ps2.c &image->exception); image 1054 coders/ps2.c indexes=GetVirtualIndexQueue(image); image 1055 coders/ps2.c for (x=0; x < (ssize_t) image->columns; x++) image 1057 coders/ps2.c progress=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 1058 coders/ps2.c y,image->rows); image 1064 coders/ps2.c status=LZWEncodeImage(image,length,pixels); image 1066 coders/ps2.c status=PackbitsEncodeImage(image,length,pixels); image 1070 coders/ps2.c (void) CloseBlob(image); image 1080 coders/ps2.c Ascii85Initialize(image); image 1081 coders/ps2.c for (y=0; y < (ssize_t) image->rows; y++) image 1083 coders/ps2.c p=GetVirtualPixels(image,0,y,image->columns,1, image 1084 coders/ps2.c &image->exception); image 1087 coders/ps2.c indexes=GetVirtualIndexQueue(image); image 1088 coders/ps2.c for (x=0; x < (ssize_t) image->columns; x++) image 1089 coders/ps2.c Ascii85Encode(image,(unsigned char) GetPixelIndex( image 1091 coders/ps2.c progress=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 1092 coders/ps2.c y,image->rows); image 1096 coders/ps2.c Ascii85Flush(image); image 1101 coders/ps2.c (void) WriteBlobByte(image,'\n'); image 1102 coders/ps2.c length=(size_t) (TellBlob(image)-stop); image 1103 coders/ps2.c stop=TellBlob(image); image 1104 coders/ps2.c offset=SeekBlob(image,start,SEEK_SET); image 1110 coders/ps2.c (void) WriteBlobString(image,buffer); image 1111 coders/ps2.c (void) SeekBlob(image,stop,SEEK_SET); image 1112 coders/ps2.c (void) WriteBlobString(image,"%%EndData\n"); image 1114 coders/ps2.c (void) WriteBlobString(image,"end\n"); image 1115 coders/ps2.c (void) WriteBlobString(image,"%%PageTrailer\n"); image 1116 coders/ps2.c if (GetNextImageInList(image) == (Image *) NULL) image 1118 coders/ps2.c image=SyncNextImageInList(image); image 1119 coders/ps2.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1120 coders/ps2.c GetImageListLength(image)); image 1124 coders/ps2.c (void) WriteBlobString(image,"%%Trailer\n"); image 1130 coders/ps2.c (void) WriteBlobString(image,buffer); image 1134 coders/ps2.c (void) WriteBlobString(image,buffer); image 1136 coders/ps2.c (void) WriteBlobString(image,"%%EOF\n"); image 1137 coders/ps2.c (void) CloseBlob(image); image 203 coders/ps3.c Image *image,Image *inject_image) image 224 coders/ps3.c group4_image=CloneImage(inject_image,0,0,MagickTrue,&image->exception); image 228 coders/ps3.c &image->exception); image 233 coders/ps3.c if (WriteBlob(image,length,group4) != (ssize_t) length) image 240 coders/ps3.c Image *image,MemoryInfo **pixel_info,size_t *length) image 260 coders/ps3.c assert(image != (Image *) NULL); image 261 coders/ps3.c assert(image->signature == MagickSignature); image 262 coders/ps3.c if (image->debug != MagickFalse) image 263 coders/ps3.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 265 coders/ps3.c *length=(image->colorspace == CMYKColorspace ? 4 : 3)*(size_t) image 266 coders/ps3.c image->columns*image->rows; image 271 coders/ps3.c for (y=0; y < (ssize_t) image->rows; y++) image 273 coders/ps3.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 276 coders/ps3.c indexes=GetVirtualIndexQueue(image); image 277 coders/ps3.c if (image->colorspace != CMYKColorspace) image 278 coders/ps3.c for (x=0; x < (ssize_t) image->columns; x++) image 286 coders/ps3.c for (x=0; x < (ssize_t) image->columns; x++) image 294 coders/ps3.c if (image->previous == (Image *) NULL) image 296 coders/ps3.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 297 coders/ps3.c image->rows); image 308 coders/ps3.c Image *image,MemoryInfo **pixel_info,size_t *length) image 333 coders/ps3.c assert(image != (Image *) NULL); image 334 coders/ps3.c assert(image->signature == MagickSignature); image 335 coders/ps3.c if (image->debug != MagickFalse) image 336 coders/ps3.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 338 coders/ps3.c pack=SetImageMonochrome(image,&image->exception) == MagickFalse ? 1UL : 8UL; image 339 coders/ps3.c padded_columns=((image->columns+pack-1)/pack)*pack; image 340 coders/ps3.c *length=(size_t) padded_columns*image->rows/pack; image 345 coders/ps3.c for (y=0; y < (ssize_t) image->rows; y++) image 347 coders/ps3.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 351 coders/ps3.c for (x=0; x < (ssize_t) image->columns; x++) image 353 coders/ps3.c *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); image 362 coders/ps3.c if (x < (ssize_t) image->columns) image 363 coders/ps3.c bit=(unsigned char) (ClampToQuantum(GetPixelLuma(image,p)) == image 374 coders/ps3.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 375 coders/ps3.c image->rows); image 385 coders/ps3.c Image *image,MemoryInfo **pixel_info,size_t *length) image 405 coders/ps3.c assert(image != (Image *) NULL); image 406 coders/ps3.c assert(image->signature == MagickSignature); image 407 coders/ps3.c if (image->debug != MagickFalse) image 408 coders/ps3.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 410 coders/ps3.c *length=(size_t) image->columns*image->rows; image 415 coders/ps3.c for (y=0; y < (ssize_t) image->rows; y++) image 417 coders/ps3.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 420 coders/ps3.c indexes=GetVirtualIndexQueue(image); image 421 coders/ps3.c for (x=0; x < (ssize_t) image->columns; x++) image 423 coders/ps3.c if (image->previous == (Image *) NULL) image 425 coders/ps3.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 426 coders/ps3.c image->rows); image 437 coders/ps3.c Image *image,const CompressionType compression) image 467 coders/ps3.c assert(image != (Image *) NULL); image 468 coders/ps3.c assert(image->signature == MagickSignature); image 469 coders/ps3.c if (image->debug != MagickFalse) image 470 coders/ps3.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 471 coders/ps3.c assert(image->matte != MagickFalse); image 476 coders/ps3.c start=TellBlob(image); image 482 coders/ps3.c (void) WriteBlobString(image,buffer); image 483 coders/ps3.c stop=TellBlob(image); image 496 coders/ps3.c (double) image->columns,(double) image->rows); image 504 coders/ps3.c (double) image->columns,(double) image->rows); image 511 coders/ps3.c (double) image->columns,(double) image->rows); image 518 coders/ps3.c (double) image->columns,(double) image->rows); image 525 coders/ps3.c (double) image->columns,(double) image->rows); image 529 coders/ps3.c (void) WriteBlobString(image,buffer); image 530 coders/ps3.c (void) WriteBlobString(image,"/ReusableStreamDecode filter\n"); image 531 coders/ps3.c mask_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 533 coders/ps3.c ThrowWriterException(CoderError,image->exception.reason); image 554 coders/ps3.c Ascii85Initialize(image); image 556 coders/ps3.c Ascii85Encode(image,pixels[i]); image 557 coders/ps3.c Ascii85Flush(image); image 566 coders/ps3.c status=HuffmanEncodeImage(image_info,image,mask_image); image 568 coders/ps3.c status=Huffman2DEncodeImage(image_info,image,mask_image); image 577 coders/ps3.c status=LZWEncodeImage(image,length,pixels); image 587 coders/ps3.c status=PackbitsEncodeImage(image,length,pixels); image 597 coders/ps3.c status=ZLIBEncodeImage(image,length,pixels); image 603 coders/ps3.c (void) WriteBlobByte(image,'\n'); image 604 coders/ps3.c length=(size_t) (TellBlob(image)-stop); image 605 coders/ps3.c stop=TellBlob(image); image 608 coders/ps3.c offset=SeekBlob(image,start,SEEK_SET); image 614 coders/ps3.c (void) WriteBlobString(image,buffer); image 615 coders/ps3.c offset=SeekBlob(image,stop,SEEK_SET); image 618 coders/ps3.c (void) WriteBlobString(image,"%%EndData\n"); image 619 coders/ps3.c (void) WriteBlobString(image, "/mask_stream exch def\n"); image 623 coders/ps3.c static MagickBooleanType WritePS3Image(const ImageInfo *image_info,Image *image) image 888 coders/ps3.c assert(image != (Image *) NULL); image 889 coders/ps3.c assert(image->signature == MagickSignature); image 890 coders/ps3.c if (image->debug != MagickFalse) image 891 coders/ps3.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 892 coders/ps3.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 895 coders/ps3.c compression=image->compression; image 903 coders/ps3.c if ((SetImageMonochrome(image,&image->exception) == MagickFalse) || image 904 coders/ps3.c (image->matte != MagickFalse)) image 912 coders/ps3.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 914 coders/ps3.c image->filename); image 922 coders/ps3.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 924 coders/ps3.c image->filename); image 941 coders/ps3.c resolution.x=image->x_resolution; image 942 coders/ps3.c resolution.y=image->y_resolution; image 959 coders/ps3.c if (image->units == PixelsPerCentimeterResolution) image 964 coders/ps3.c SetGeometry(image,&geometry); image 966 coders/ps3.c (double) image->columns,(double) image->rows); image 970 coders/ps3.c if ((image->page.width != 0) && (image->page.height != 0)) image 972 coders/ps3.c "%.20gx%.20g%+.20g%+.20g",(double) image->page.width,(double) image 973 coders/ps3.c image->page.height,(double) image->page.x,(double) image->page.y); image 975 coders/ps3.c if ((image->gravity != UndefinedGravity) && image 986 coders/ps3.c (void) ParseGravityGeometry(image,page_geometry,&page_info, image 987 coders/ps3.c &image->exception); image 988 coders/ps3.c if (image->gravity != UndefinedGravity) image 991 coders/ps3.c geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); image 997 coders/ps3.c value=GetImageProperty(image,"label"); image 1011 coders/ps3.c (void) WriteBlobString(image,buffer); image 1014 coders/ps3.c (void) WriteBlobString(image,buffer); image 1016 coders/ps3.c image->filename); image 1017 coders/ps3.c (void) WriteBlobString(image,buffer); image 1022 coders/ps3.c (void) WriteBlobString(image,buffer); image 1028 coders/ps3.c (GetNextImageInList(image) != (Image *) NULL)) image 1030 coders/ps3.c (void) WriteBlobString(image,"%%BoundingBox: (atend)\n"); image 1031 coders/ps3.c (void) WriteBlobString(image,"%%HiResBoundingBox: (atend)\n"); image 1038 coders/ps3.c (void) WriteBlobString(image,buffer); image 1042 coders/ps3.c (void) WriteBlobString(image,buffer); image 1043 coders/ps3.c if (image->colorspace == CMYKColorspace) image 1044 coders/ps3.c (void) WriteBlobString(image, image 1047 coders/ps3.c if (SetImageGray(image,&image->exception) != MagickFalse) image 1048 coders/ps3.c (void) WriteBlobString(image, image 1054 coders/ps3.c value=GetImageProperty(image,"label"); image 1056 coders/ps3.c (void) WriteBlobString(image, image 1058 coders/ps3.c (void) WriteBlobString(image,"%%LanguageLevel: 3\n"); image 1063 coders/ps3.c (void) WriteBlobString(image,"%%Pages: 1\n"); image 1066 coders/ps3.c (void) WriteBlobString(image,"%%Orientation: Portrait\n"); image 1067 coders/ps3.c (void) WriteBlobString(image,"%%PageOrder: Ascend\n"); image 1072 coders/ps3.c "%%%%Pages: %.20g\n",(double) GetImageListLength(image)); image 1073 coders/ps3.c (void) WriteBlobString(image,buffer); image 1075 coders/ps3.c if (image->colorspace == CMYKColorspace) image 1076 coders/ps3.c (void) WriteBlobString(image, image 1078 coders/ps3.c (void) WriteBlobString(image,"%%EndComments\n"); image 1082 coders/ps3.c (void)WriteBlobString(image,"%%BeginProlog\n"); image 1085 coders/ps3.c (void) WriteBlobString(image,*q); image 1086 coders/ps3.c (void) WriteBlobByte(image,'\n'); image 1091 coders/ps3.c value=GetImageProperty(image,"label"); image 1094 coders/ps3.c (void) WriteBlobString(image,"\n %% Labels.\n /Helvetica " image 1098 coders/ps3.c (void) WriteBlobString(image, image 1102 coders/ps3.c (void) WriteBlobString(image,buffer); image 1110 coders/ps3.c (void) WriteBlobString(image,*q); image 1111 coders/ps3.c (void) WriteBlobByte(image,'\n'); image 1113 coders/ps3.c (void)WriteBlobString(image,"%%EndProlog\n"); image 1117 coders/ps3.c (void) WriteBlobString(image,buffer); image 1125 coders/ps3.c (void) WriteBlobString(image,buffer); image 1129 coders/ps3.c if (image->colorspace == CMYKColorspace) image 1130 coders/ps3.c (void) WriteBlobString(image, image 1133 coders/ps3.c if (SetImageGray(image,&image->exception) != MagickFalse) image 1134 coders/ps3.c (void) WriteBlobString(image,"%%PageProcessColors: Black\n"); image 1149 coders/ps3.c value=GetImageProperty(image,"label"); image 1151 coders/ps3.c (void) WriteBlobString(image,"%%PageResources: font Helvetica\n"); image 1155 coders/ps3.c if ((image->clip_mask == (Image *) NULL) || image 1156 coders/ps3.c (LocaleNCompare("8BIM:",image->clip_mask->magick_filename,5) != 0)) image 1157 coders/ps3.c (void) WriteBlobString(image,"/ClipImage {} def\n"); image 1163 coders/ps3.c value=GetImageProperty(image,image->clip_mask->magick_filename); image 1166 coders/ps3.c (void) WriteBlobString(image,value); image 1167 coders/ps3.c (void) WriteBlobByte(image,'\n'); image 1173 coders/ps3.c (void) WriteBlobString(image,"userdict begin\n"); image 1177 coders/ps3.c if ((image->matte != MagickFalse) && image 1178 coders/ps3.c (WritePS3MaskImage(image_info,image,compression) == MagickFalse)) image 1180 coders/ps3.c (void) CloseBlob(image); image 1186 coders/ps3.c start=TellBlob(image); image 1192 coders/ps3.c (void) WriteBlobString(image,buffer); image 1193 coders/ps3.c stop=TellBlob(image); image 1196 coders/ps3.c (void) WriteBlobString(image,"DisplayImage\n"); image 1202 coders/ps3.c (void) WriteBlobString(image,buffer); image 1207 coders/ps3.c value=GetImageProperty(image,"label"); image 1217 coders/ps3.c (void) WriteBlobByte(image,(unsigned char) labels[i][j]); image 1218 coders/ps3.c (void) WriteBlobByte(image,'\n'); image 1222 coders/ps3.c (void) WriteBlobString(image,"<~"); image 1223 coders/ps3.c Ascii85Initialize(image); image 1225 coders/ps3.c Ascii85Encode(image,(unsigned char) labels[i][j]); image 1226 coders/ps3.c Ascii85Flush(image); image 1235 coders/ps3.c if ((image->clip_mask != (Image *) NULL) && image 1236 coders/ps3.c (LocaleNCompare("8BIM:",image->clip_mask->magick_filename,5) == 0)) image 1237 coders/ps3.c (void) WriteBlobString(image,"true\n"); image 1239 coders/ps3.c (void) WriteBlobString(image,"false\n"); image 1243 coders/ps3.c (void) WriteBlobString(image, LocaleCompare(image_info->magick,"PS3") == 0 ? image 1249 coders/ps3.c (double) image->columns,(double) image->rows,image->colorspace == image 1251 coders/ps3.c (void) WriteBlobString(image,buffer); image 1255 coders/ps3.c (void) WriteBlobString(image,image->matte != MagickFalse ? image 1261 coders/ps3.c (void) WriteBlobString(image,((option != (const char *) NULL) && image 1262 coders/ps3.c (SetImageMonochrome(image,&image->exception) != MagickFalse)) ? image 1273 coders/ps3.c (image->colorspace != CMYKColorspace) && image 1274 coders/ps3.c ((SetImageGray(image,&image->exception) != MagickFalse) || image 1275 coders/ps3.c (SetImageMonochrome(image,&image->exception) != MagickFalse))) image 1280 coders/ps3.c (void) WriteBlobString(image,PS3_PseudoClass"\n"); image 1286 coders/ps3.c (void) WriteBlobString(image,PS3_NoCompression"\n"); image 1292 coders/ps3.c (void) WriteBlobString(image,PS3_FaxCompression"\n"); image 1297 coders/ps3.c (void) WriteBlobString(image,PS3_JPEGCompression"\n"); image 1302 coders/ps3.c (void) WriteBlobString(image,PS3_LZWCompression"\n"); image 1307 coders/ps3.c (void) WriteBlobString(image,PS3_RLECompression"\n"); image 1312 coders/ps3.c (void) WriteBlobString(image,PS3_ZipCompression"\n"); image 1319 coders/ps3.c (void) WriteBlobString(image,"0\n"); image 1324 coders/ps3.c SetImageMonochrome(image,&image->exception) != MagickFalse ? 1 : 8); image 1325 coders/ps3.c (void) WriteBlobString(image,buffer); image 1330 coders/ps3.c status=InjectImageBlob(image_info,image,image,"jpeg", image 1331 coders/ps3.c &image->exception); image 1337 coders/ps3.c status=HuffmanEncodeImage(image_info,image,image); image 1339 coders/ps3.c status=Huffman2DEncodeImage(image_info,image,image); image 1343 coders/ps3.c status=SerializeImageChannel(image_info,image,&pixel_info, image 1347 coders/ps3.c (void) CloseBlob(image); image 1356 coders/ps3.c Ascii85Initialize(image); image 1358 coders/ps3.c Ascii85Encode(image,pixels[i]); image 1359 coders/ps3.c Ascii85Flush(image); image 1365 coders/ps3.c status=LZWEncodeImage(image,length,pixels); image 1370 coders/ps3.c status=PackbitsEncodeImage(image,length,pixels); image 1375 coders/ps3.c status=ZLIBEncodeImage(image,length,pixels); image 1383 coders/ps3.c if ((image->storage_class == DirectClass) || (image->colors > 256) || image 1389 coders/ps3.c (void) WriteBlobString(image,PS3_DirectClass"\n"); image 1395 coders/ps3.c (void) WriteBlobString(image,PS3_NoCompression"\n"); image 1400 coders/ps3.c (void) WriteBlobString(image,PS3_RLECompression"\n"); image 1405 coders/ps3.c (void) WriteBlobString(image,PS3_JPEGCompression"\n"); image 1410 coders/ps3.c (void) WriteBlobString(image,PS3_LZWCompression"\n"); image 1415 coders/ps3.c (void) WriteBlobString(image,PS3_ZipCompression"\n"); image 1423 coders/ps3.c status=InjectImageBlob(image_info,image,image,"jpeg", image 1424 coders/ps3.c &image->exception); image 1430 coders/ps3.c status=SerializeImage(image_info,image,&pixel_info,&length); image 1433 coders/ps3.c (void) CloseBlob(image); image 1442 coders/ps3.c Ascii85Initialize(image); image 1444 coders/ps3.c Ascii85Encode(image,pixels[i]); image 1445 coders/ps3.c Ascii85Flush(image); image 1451 coders/ps3.c status=PackbitsEncodeImage(image,length,pixels); image 1456 coders/ps3.c status=LZWEncodeImage(image,length,pixels); image 1461 coders/ps3.c status=ZLIBEncodeImage(image,length,pixels); image 1473 coders/ps3.c (void) WriteBlobString(image,PS3_PseudoClass"\n"); image 1479 coders/ps3.c (void) WriteBlobString(image,PS3_NoCompression"\n"); image 1484 coders/ps3.c (void) WriteBlobString(image,PS3_RLECompression"\n"); image 1489 coders/ps3.c (void) WriteBlobString(image,PS3_LZWCompression"\n"); image 1494 coders/ps3.c (void) WriteBlobString(image,PS3_ZipCompression"\n"); image 1502 coders/ps3.c (double) image->colors); image 1503 coders/ps3.c (void) WriteBlobString(image,buffer); image 1510 coders/ps3.c for (i=0; i < (ssize_t) image->colors; i++) image 1512 coders/ps3.c pixel=ScaleQuantumToChar(image->colormap[i].red); image 1513 coders/ps3.c (void) WriteBlobByte(image,(unsigned char) pixel); image 1514 coders/ps3.c pixel=ScaleQuantumToChar(image->colormap[i].green); image 1515 coders/ps3.c (void) WriteBlobByte(image,(unsigned char) pixel); image 1516 coders/ps3.c pixel=ScaleQuantumToChar(image->colormap[i].blue); image 1517 coders/ps3.c (void) WriteBlobByte(image,(unsigned char) pixel); image 1522 coders/ps3.c Ascii85Initialize(image); image 1523 coders/ps3.c for (i=0; i < (ssize_t) image->colors; i++) image 1525 coders/ps3.c pixel=ScaleQuantumToChar(image->colormap[i].red); image 1526 coders/ps3.c Ascii85Encode(image,(unsigned char) pixel); image 1527 coders/ps3.c pixel=ScaleQuantumToChar(image->colormap[i].green); image 1528 coders/ps3.c Ascii85Encode(image,(unsigned char) pixel); image 1529 coders/ps3.c pixel=ScaleQuantumToChar(image->colormap[i].blue); image 1530 coders/ps3.c Ascii85Encode(image,(unsigned char) pixel); image 1532 coders/ps3.c Ascii85Flush(image); image 1534 coders/ps3.c status=SerializeImageIndexes(image_info,image,&pixel_info,&length); image 1537 coders/ps3.c (void) CloseBlob(image); image 1546 coders/ps3.c Ascii85Initialize(image); image 1548 coders/ps3.c Ascii85Encode(image,pixels[i]); image 1549 coders/ps3.c Ascii85Flush(image); image 1555 coders/ps3.c status=PackbitsEncodeImage(image,length,pixels); image 1560 coders/ps3.c status=LZWEncodeImage(image,length,pixels); image 1565 coders/ps3.c status=ZLIBEncodeImage(image,length,pixels); image 1571 coders/ps3.c (void) WriteBlobByte(image,'\n'); image 1574 coders/ps3.c (void) CloseBlob(image); image 1580 coders/ps3.c length=(size_t) (TellBlob(image)-stop); image 1581 coders/ps3.c stop=TellBlob(image); image 1584 coders/ps3.c offset=SeekBlob(image,start,SEEK_SET); image 1590 coders/ps3.c (void) WriteBlobString(image,buffer); image 1591 coders/ps3.c (void) SeekBlob(image,stop,SEEK_SET); image 1592 coders/ps3.c (void) WriteBlobString(image,"%%EndData\n"); image 1597 coders/ps3.c (void) WriteBlobString(image,"end\n"); image 1598 coders/ps3.c (void) WriteBlobString(image,"%%PageTrailer\n"); image 1599 coders/ps3.c if (GetNextImageInList(image) == (Image *) NULL) image 1601 coders/ps3.c image=SyncNextImageInList(image); image 1602 coders/ps3.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1603 coders/ps3.c GetImageListLength(image)); image 1607 coders/ps3.c (void) WriteBlobString(image,"%%Trailer\n"); image 1613 coders/ps3.c (void) WriteBlobString(image,buffer); image 1617 coders/ps3.c (void) WriteBlobString(image,buffer); image 1619 coders/ps3.c (void) WriteBlobString(image,"%%EOF\n"); image 1620 coders/ps3.c (void) CloseBlob(image); image 126 coders/psd.c *image; image 145 coders/psd.c *image; image 278 coders/psd.c Image *image, ExceptionInfo* exception) image 289 coders/psd.c if (image->matte == MagickFalse || image->colorspace != sRGBColorspace) image 299 coders/psd.c for (y=0; y < (ssize_t) image->rows; y++) image 309 coders/psd.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 315 coders/psd.c for (x=0; x < (ssize_t) image->columns; x++) image 329 coders/psd.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 363 coders/psd.c layer_info->image->matte=MagickTrue; image 369 coders/psd.c for (y=0; y < (ssize_t) layer_info->image->rows; y++) image 379 coders/psd.c q=GetAuthenticPixels(layer_info->image,0,y,layer_info->image->columns,1, image 386 coders/psd.c for (x=0; x < (ssize_t) layer_info->image->columns; x++) image 392 coders/psd.c if (SyncAuthenticPixels(layer_info->image,exception) == MagickFalse) image 533 coders/psd.c if (layer_info[i].image != (Image *) NULL) image 534 coders/psd.c layer_info[i].image=DestroyImage(layer_info[i].image); image 535 coders/psd.c if (layer_info[i].mask.image != (Image *) NULL) image 536 coders/psd.c layer_info[i].mask.image=DestroyImage(layer_info[i].mask.image); image 542 coders/psd.c static inline size_t GetPSDPacketSize(Image *image) image 544 coders/psd.c if (image->storage_class == PseudoClass) image 546 coders/psd.c if (image->colors > 256) image 548 coders/psd.c else if (image->depth > 8) image 552 coders/psd.c if (image->depth > 8) image 558 coders/psd.c static inline MagickSizeType GetPSDSize(const PSDInfo *psd_info,Image *image) image 561 coders/psd.c return((MagickSizeType) ReadBlobLong(image)); image 562 coders/psd.c return((MagickSizeType) ReadBlobLongLong(image)); image 565 coders/psd.c static inline size_t GetPSDRowSize(Image *image) image 567 coders/psd.c if (image->depth == 1) image 568 coders/psd.c return((image->columns+7)/8); image 570 coders/psd.c return(image->columns*GetPSDPacketSize(image)); image 589 coders/psd.c static void ParseImageResourceBlocks(Image *image, image 611 coders/psd.c (void) SetImageProfile(image,"8bim",profile); image 637 coders/psd.c image->x_resolution=(double) resolution; image 639 coders/psd.c image->x_resolution); image 640 coders/psd.c (void) SetImageProperty(image,"tiff:XResolution",value); image 645 coders/psd.c image->y_resolution=(double) resolution; image 647 coders/psd.c image->y_resolution); image 648 coders/psd.c (void) SetImageProperty(image,"tiff:YResolution",value); image 652 coders/psd.c image->units=PixelsPerInchResolution; image 727 coders/psd.c static inline void ReversePSDString(Image *image,char *p,size_t length) image 732 coders/psd.c if (image->endian == MSBEndian) image 744 coders/psd.c static MagickBooleanType ReadPSDChannelPixels(Image *image,const size_t channels, image 770 coders/psd.c q=GetAuthenticPixels(image,0,row,image->columns,1,exception); image 773 coders/psd.c indexes=GetAuthenticIndexQueue(image); image 774 coders/psd.c packet_size=GetPSDPacketSize(image); image 775 coders/psd.c for (x=0; x < (ssize_t) image->columns; x++) image 800 coders/psd.c if (image->storage_class == PseudoClass) image 806 coders/psd.c SetPixelRGBO(q,image->colormap+(ssize_t) image 807 coders/psd.c ConstrainColormapIndex(image,GetPixelIndex(indexes+x))); image 808 coders/psd.c if (image->depth == 1) image 814 coders/psd.c number_bits=image->columns-x; image 821 coders/psd.c SetPixelRGBO(q,image->colormap+(ssize_t) image 834 coders/psd.c if (image->storage_class == PseudoClass) image 842 coders/psd.c if (image->storage_class == PseudoClass) image 850 coders/psd.c if (image->colorspace == CMYKColorspace) image 853 coders/psd.c if (image->matte != MagickFalse) image 859 coders/psd.c if ((IssRGBCompatibleColorspace(image->colorspace) != MagickFalse) && image 862 coders/psd.c if (image->matte != MagickFalse) image 871 coders/psd.c return(SyncAuthenticPixels(image,exception)); image 874 coders/psd.c static MagickBooleanType ReadPSDChannelRaw(Image *image,const size_t channels, image 890 coders/psd.c if (image->debug != MagickFalse) image 894 coders/psd.c row_size=GetPSDRowSize(image); image 898 coders/psd.c image->filename); image 901 coders/psd.c for (y=0; y < (ssize_t) image->rows; y++) image 905 coders/psd.c count=ReadBlob(image,row_size,pixels); image 909 coders/psd.c status=ReadPSDChannelPixels(image,channels,y,type,pixels,exception); image 918 coders/psd.c static inline MagickOffsetType *ReadPSDRLEOffsets(Image *image, image 933 coders/psd.c offsets[y]=(MagickOffsetType) ReadBlobShort(image); image 935 coders/psd.c offsets[y]=(MagickOffsetType) ReadBlobLong(image); image 941 coders/psd.c static MagickBooleanType ReadPSDChannelRLE(Image *image,const PSDInfo *psd_info, image 959 coders/psd.c if (image->debug != MagickFalse) image 963 coders/psd.c row_size=GetPSDRowSize(image); image 967 coders/psd.c image->filename); image 970 coders/psd.c for (y=0; y < (ssize_t) image->rows; y++) image 979 coders/psd.c image->filename); image 985 coders/psd.c for (y=0; y < (ssize_t) image->rows; y++) image 989 coders/psd.c count=ReadBlob(image,(size_t) offsets[y],compact_pixels); image 994 coders/psd.c (ssize_t) (image->depth == 1 ? 123456 : image->depth),row_size,pixels); image 998 coders/psd.c status=ReadPSDChannelPixels(image,psd_info->channels,y,type,pixels, image 1010 coders/psd.c static MagickBooleanType ReadPSDChannelZip(Image *image,const size_t channels, image 1036 coders/psd.c if (image->debug != MagickFalse) image 1044 coders/psd.c image->filename); image 1046 coders/psd.c packet_size=GetPSDPacketSize(image); image 1047 coders/psd.c row_size=image->columns*packet_size; image 1048 coders/psd.c count=image->rows*row_size; image 1055 coders/psd.c image->filename); image 1060 coders/psd.c (void) ReadBlob(image,compact_size,compact_pixels); image 1090 coders/psd.c length=image->columns; image 1109 coders/psd.c for (y=0; y < (ssize_t) image->rows; y++) image 1111 coders/psd.c status=ReadPSDChannelPixels(image,channels,y,type,p,exception); image 1124 coders/psd.c static MagickBooleanType ReadPSDChannel(Image *image,const PSDInfo *psd_info, image 1138 coders/psd.c channel_image=image; image 1149 coders/psd.c SeekBlob(image,layer_info->channel_info[channel].size-2,SEEK_CUR); image 1152 coders/psd.c mask=CloneImage(image,layer_info->mask.page.width, image 1174 coders/psd.c image->filename); image 1187 coders/psd.c SeekBlob(image,offset+layer_info->channel_info[channel].size-2,SEEK_SET); image 1190 coders/psd.c "'%s' (ZLIB)",image->filename); image 1194 coders/psd.c SeekBlob(image,offset+layer_info->channel_info[channel].size-2,SEEK_SET); image 1204 coders/psd.c SeekBlob(image,offset+layer_info->channel_info[channel].size-2,SEEK_SET); image 1206 coders/psd.c image->filename); image 1215 coders/psd.c layer_info->mask.image=CloneImage(image,image->columns,image->rows, image 1217 coders/psd.c layer_info->mask.image->matte=MagickFalse; image 1218 coders/psd.c GetMagickPixelPacket(layer_info->mask.image,&color); image 1223 coders/psd.c SetImageColor(layer_info->mask.image,&color); image 1224 coders/psd.c (void) CompositeImage(layer_info->mask.image,OverCompositeOp,mask, image 1233 coders/psd.c static MagickBooleanType ReadPSDLayer(Image *image,const PSDInfo *psd_info, image 1248 coders/psd.c if (image->debug != MagickFalse) image 1251 coders/psd.c (void) SetImageBackgroundColor(layer_info->image); image 1252 coders/psd.c layer_info->image->compose=PSDBlendModeToCompositeOperator( image 1256 coders/psd.c layer_info->image->compose=NoCompositeOp; image 1257 coders/psd.c (void) SetImageArtifact(layer_info->image,"psd:layer.invisible","true"); image 1260 coders/psd.c SetImageColorspace(layer_info->image,CMYKColorspace); image 1263 coders/psd.c SetImageColorspace(layer_info->image,GRAYColorspace); image 1269 coders/psd.c (void) SetImageArtifact(layer_info->image,"psd:layer.x",message); image 1272 coders/psd.c (void) SetImageArtifact(layer_info->image,"psd:layer.y",message); image 1275 coders/psd.c (void) SetImageArtifact(layer_info->image,"psd:layer.opacity",message); image 1276 coders/psd.c (void) SetImageProperty(layer_info->image,"label",(char *) layer_info->name); image 1281 coders/psd.c if (image->debug != MagickFalse) image 1285 coders/psd.c compression=(PSDCompressionType) ReadBlobShort(layer_info->image); image 1286 coders/psd.c layer_info->image->compression=ConvertPSDCompression(compression); image 1288 coders/psd.c layer_info->image->matte=MagickTrue; image 1290 coders/psd.c status=ReadPSDChannel(layer_info->image,psd_info,layer_info,j, image 1292 coders/psd.c InheritException(exception,&layer_info->image->exception); image 1302 coders/psd.c (layer_info->image->colorspace == CMYKColorspace)) image 1303 coders/psd.c status=NegateImage(layer_info->image,MagickFalse); image 1305 coders/psd.c if (status != MagickFalse && layer_info->mask.image != (Image *) NULL) image 1307 coders/psd.c status=CompositeImage(layer_info->image,CopyOpacityCompositeOp, image 1308 coders/psd.c layer_info->mask.image,0,0); image 1309 coders/psd.c layer_info->mask.image=DestroyImage(layer_info->mask.image); image 1315 coders/psd.c ModuleExport MagickBooleanType ReadPSDLayers(Image *image, image 1339 coders/psd.c size=GetPSDSize(psd_info,image); image 1345 coders/psd.c (void) ReadBlobLong(image); image 1346 coders/psd.c count=ReadBlob(image,4,(unsigned char *) type); image 1347 coders/psd.c ReversePSDString(image,type,4); image 1353 coders/psd.c count=ReadBlob(image,4,(unsigned char *) type); image 1354 coders/psd.c ReversePSDString(image,type,4); image 1356 coders/psd.c size=GetPSDSize(psd_info,image); image 1365 coders/psd.c number_layers=(short) ReadBlobShort(image); image 1374 coders/psd.c if (image->debug != MagickFalse) image 1377 coders/psd.c image->matte=MagickTrue; image 1386 coders/psd.c if (image->debug != MagickFalse) image 1392 coders/psd.c image->filename); image 1398 coders/psd.c if (image->debug != MagickFalse) image 1402 coders/psd.c image->filename); image 1413 coders/psd.c if (image->debug != MagickFalse) image 1416 coders/psd.c layer_info[i].page.y=(int) ReadBlobLong(image); image 1417 coders/psd.c layer_info[i].page.x=(int) ReadBlobLong(image); image 1418 coders/psd.c y=(int) ReadBlobLong(image); image 1419 coders/psd.c x=(int) ReadBlobLong(image); image 1422 coders/psd.c layer_info[i].channels=ReadBlobShort(image); image 1427 coders/psd.c image->filename); image 1429 coders/psd.c if (image->debug != MagickFalse) image 1437 coders/psd.c layer_info[i].channel_info[j].type=(short) ReadBlobShort(image); image 1439 coders/psd.c image); image 1440 coders/psd.c if (image->debug != MagickFalse) image 1446 coders/psd.c count=ReadBlob(image,4,(unsigned char *) type); image 1447 coders/psd.c ReversePSDString(image,type,4); image 1450 coders/psd.c if (image->debug != MagickFalse) image 1455 coders/psd.c image->filename); image 1457 coders/psd.c (void) ReadBlob(image,4,(unsigned char *) layer_info[i].blendkey); image 1458 coders/psd.c ReversePSDString(image,layer_info[i].blendkey,4); image 1460 coders/psd.c (unsigned char) ReadBlobByte(image))); image 1461 coders/psd.c layer_info[i].clipping=(unsigned char) ReadBlobByte(image); image 1462 coders/psd.c layer_info[i].flags=(unsigned char) ReadBlobByte(image); image 1464 coders/psd.c if (image->debug != MagickFalse) image 1470 coders/psd.c (void) ReadBlobByte(image); /* filler */ image 1472 coders/psd.c size=ReadBlobLong(image); image 1479 coders/psd.c if (image->debug != MagickFalse) image 1482 coders/psd.c length=ReadBlobLong(image); image 1489 coders/psd.c layer_info[i].mask.page.y=(int) ReadBlobLong(image); image 1490 coders/psd.c layer_info[i].mask.page.x=(int) ReadBlobLong(image); image 1491 coders/psd.c layer_info[i].mask.page.height=(size_t) (ReadBlobLong(image)- image 1493 coders/psd.c layer_info[i].mask.page.width=(size_t) (ReadBlobLong(image)- image 1496 coders/psd.c image); image 1497 coders/psd.c layer_info[i].mask.flags=(unsigned char) ReadBlobByte(image); image 1505 coders/psd.c if (image->debug != MagickFalse) image 1515 coders/psd.c if (DiscardBlobBytes(image,(MagickSizeType) (length-18)) == MagickFalse) image 1519 coders/psd.c image->filename); image 1522 coders/psd.c length=ReadBlobLong(image); image 1529 coders/psd.c if (image->debug != MagickFalse) image 1538 coders/psd.c size_t blend_source=ReadBlobLong(image); image 1539 coders/psd.c size_t blend_dest=ReadBlobLong(image); image 1540 coders/psd.c if (image->debug != MagickFalse) image 1549 coders/psd.c length=(size_t) ReadBlobByte(image); image 1552 coders/psd.c (void) ReadBlob(image,(size_t) length++,layer_info[i].name); image 1554 coders/psd.c if (image->debug != MagickFalse) image 1560 coders/psd.c if (image->debug != MagickFalse) image 1564 coders/psd.c if (DiscardBlobBytes(image,(MagickSizeType) (size-combined_length)) == MagickFalse) image 1568 coders/psd.c "UnexpectedEndOfFile",image->filename); image 1578 coders/psd.c if (image->debug != MagickFalse) image 1587 coders/psd.c layer_info[i].image=CloneImage(image,layer_info[i].page.width, image 1589 coders/psd.c if (layer_info[i].image == (Image *) NULL) image 1592 coders/psd.c if (image->debug != MagickFalse) image 1596 coders/psd.c image->filename); image 1604 coders/psd.c if (layer_info[i].image == (Image *) NULL) image 1608 coders/psd.c if (DiscardBlobBytes(image,(MagickSizeType) image 1613 coders/psd.c "UnexpectedEndOfFile",image->filename); image 1619 coders/psd.c if (image->debug != MagickFalse) image 1622 coders/psd.c status=ReadPSDLayer(image,psd_info,&layer_info[i],exception); image 1626 coders/psd.c status=SetImageProgress(image,LoadImagesTag,i,(MagickSizeType) image 1637 coders/psd.c if (layer_info[i].image == (Image *) NULL) image 1651 coders/psd.c layer_info[i].image->previous=layer_info[i-1].image; image 1653 coders/psd.c layer_info[i].image->next=layer_info[i+1].image; image 1654 coders/psd.c layer_info[i].image->page=layer_info[i].page; image 1656 coders/psd.c image->next=layer_info[0].image; image 1657 coders/psd.c layer_info[0].image->previous=image; image 1668 coders/psd.c static MagickBooleanType ReadPSDMergedImage(const ImageInfo *image_info,Image* image, image 1683 coders/psd.c compression=(PSDCompressionType) ReadBlobMSBShort(image); image 1684 coders/psd.c image->compression=ConvertPSDCompression(compression); image 1696 coders/psd.c offsets=ReadPSDRLEOffsets(image,psd_info,image->rows*psd_info->channels); image 1699 coders/psd.c image->filename); image 1706 coders/psd.c status=ReadPSDChannelRLE(image,psd_info,i,offsets+(i*image->rows), image 1709 coders/psd.c status=ReadPSDChannelRaw(image,psd_info->channels,i,exception); image 1712 coders/psd.c status=SetImageProgress(image,LoadImagesTag,i,psd_info->channels); image 1718 coders/psd.c if ((status != MagickFalse) && (image->colorspace == CMYKColorspace)) image 1719 coders/psd.c status=NegateImage(image,MagickFalse); image 1722 coders/psd.c status=CorrectPSDAlphaBlend(image_info,image,exception); image 1733 coders/psd.c *image; image 1771 coders/psd.c image=AcquireImage(image_info); image 1772 coders/psd.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 1775 coders/psd.c image=DestroyImageList(image); image 1781 coders/psd.c image->endian=MSBEndian; image 1782 coders/psd.c count=ReadBlob(image,4,(unsigned char *) psd_info.signature); image 1783 coders/psd.c psd_info.version=ReadBlobMSBShort(image); image 1787 coders/psd.c (void) ReadBlob(image,6,psd_info.reserved); image 1788 coders/psd.c psd_info.channels=ReadBlobMSBShort(image); image 1791 coders/psd.c psd_info.rows=ReadBlobMSBLong(image); image 1792 coders/psd.c psd_info.columns=ReadBlobMSBLong(image); image 1796 coders/psd.c psd_info.depth=ReadBlobMSBShort(image); image 1799 coders/psd.c psd_info.mode=ReadBlobMSBShort(image); image 1800 coders/psd.c if (image->debug != MagickFalse) image 1809 coders/psd.c image->depth=psd_info.depth; image 1810 coders/psd.c image->columns=psd_info.columns; image 1811 coders/psd.c image->rows=psd_info.rows; image 1812 coders/psd.c status=SetImageExtent(image,image->columns,image->rows); image 1815 coders/psd.c InheritException(exception,&image->exception); image 1816 coders/psd.c return(DestroyImageList(image)); image 1818 coders/psd.c if (SetImageBackgroundColor(image) == MagickFalse) image 1820 coders/psd.c InheritException(exception,&image->exception); image 1821 coders/psd.c image=DestroyImageList(image); image 1825 coders/psd.c SetImageColorspace(image,LabColorspace); image 1828 coders/psd.c SetImageColorspace(image,CMYKColorspace); image 1829 coders/psd.c image->matte=psd_info.channels > 4 ? MagickTrue : MagickFalse; image 1834 coders/psd.c status=AcquireImageColormap(image,psd_info.depth != 16 ? 256 : 65536); image 1837 coders/psd.c if (image->debug != MagickFalse) image 1840 coders/psd.c SetImageColorspace(image,GRAYColorspace); image 1841 coders/psd.c image->matte=psd_info.channels > 1 ? MagickTrue : MagickFalse; image 1844 coders/psd.c image->matte=psd_info.channels > 3 ? MagickTrue : MagickFalse; image 1848 coders/psd.c length=ReadBlobMSBLong(image); image 1851 coders/psd.c if (image->debug != MagickFalse) image 1863 coders/psd.c (void) ReadBlob(image,(size_t) length,data); image 1877 coders/psd.c if (AcquireImageColormap(image,number_colors) == MagickFalse) image 1879 coders/psd.c for (i=0; i < (ssize_t) image->colors; i++) image 1880 coders/psd.c image->colormap[i].red=ScaleCharToQuantum((unsigned char) image 1881 coders/psd.c ReadBlobByte(image)); image 1882 coders/psd.c for (i=0; i < (ssize_t) image->colors; i++) image 1883 coders/psd.c image->colormap[i].green=ScaleCharToQuantum((unsigned char) image 1884 coders/psd.c ReadBlobByte(image)); image 1885 coders/psd.c for (i=0; i < (ssize_t) image->colors; i++) image 1886 coders/psd.c image->colormap[i].blue=ScaleCharToQuantum((unsigned char) image 1887 coders/psd.c ReadBlobByte(image)); image 1888 coders/psd.c image->matte=MagickFalse; image 1892 coders/psd.c length=ReadBlobMSBLong(image); image 1901 coders/psd.c if (image->debug != MagickFalse) image 1909 coders/psd.c count=ReadBlob(image,(size_t) length,blocks); image 1916 coders/psd.c ParseImageResourceBlocks(image,blocks,(size_t) length,&has_merged_image); image 1922 coders/psd.c length=GetPSDSize(&psd_info,image); image 1925 coders/psd.c length=ReadBlobMSBLong(image); image 1926 coders/psd.c length=ReadBlobMSBLong(image); image 1928 coders/psd.c offset=TellBlob(image); image 1933 coders/psd.c if (image->debug != MagickFalse) image 1940 coders/psd.c if (image->debug != MagickFalse) image 1946 coders/psd.c if (ReadPSDLayers(image,image_info,&psd_info,skip_layers,exception) != image 1949 coders/psd.c (void) CloseBlob(image); image 1950 coders/psd.c image=DestroyImageList(image); image 1956 coders/psd.c SeekBlob(image,offset+length,SEEK_SET); image 1963 coders/psd.c (void) CloseBlob(image); image 1964 coders/psd.c return(GetFirstImageInList(image)); image 1969 coders/psd.c if (image->debug != MagickFalse) image 1972 coders/psd.c if (has_merged_image != MagickFalse || GetImageListLength(image) == 1) image 1973 coders/psd.c has_merged_image=(MagickBooleanType) ReadPSDMergedImage(image_info,image, image 1975 coders/psd.c if ((has_merged_image == MagickFalse) && (GetImageListLength(image) == 1) && image 1978 coders/psd.c SeekBlob(image,offset,SEEK_SET); image 1979 coders/psd.c status=ReadPSDLayers(image,image_info,&psd_info,MagickFalse,exception); image 1982 coders/psd.c (void) CloseBlob(image); image 1983 coders/psd.c image=DestroyImageList(image); image 1987 coders/psd.c if ((has_merged_image == MagickFalse) && (GetImageListLength(image) > 1)) image 1992 coders/psd.c SetImageAlphaChannel(image,TransparentAlphaChannel); image 1993 coders/psd.c image->background_color.opacity=TransparentOpacity; image 1994 coders/psd.c merged=MergeImageLayers(image,FlattenLayer,exception); image 1995 coders/psd.c ReplaceImageInList(&image,merged); image 1997 coders/psd.c (void) CloseBlob(image); image 1998 coders/psd.c return(GetFirstImageInList(image)); image 2098 coders/psd.c static inline ssize_t SetPSDOffset(const PSDInfo *psd_info,Image *image, image 2102 coders/psd.c return(WriteBlobMSBShort(image,(unsigned short) offset)); image 2103 coders/psd.c return(WriteBlobMSBLong(image,(unsigned short) offset)); image 2106 coders/psd.c static inline ssize_t SetPSDSize(const PSDInfo *psd_info,Image *image, image 2110 coders/psd.c return(WriteBlobMSBLong(image,(unsigned int) size)); image 2111 coders/psd.c return(WriteBlobMSBLongLong(image,size)); image 2114 coders/psd.c static size_t PSDPackbitsEncodeImage(Image *image,const size_t length, image 2133 coders/psd.c assert(image != (Image *) NULL); image 2134 coders/psd.c assert(image->signature == MagickSignature); image 2135 coders/psd.c if (image->debug != MagickFalse) image 2136 coders/psd.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2141 coders/psd.c image->filename); image 2224 coders/psd.c const ImageInfo *image_info,Image *image,Image *next_image, image 2247 coders/psd.c quantum_info=AcquireQuantumInfo(image_info,image); image 2251 coders/psd.c p=GetVirtualPixels(next_image,0,y,next_image->columns,1,&image->exception); image 2255 coders/psd.c quantum_type,pixels,&image->exception); image 2256 coders/psd.c length=PSDPackbitsEncodeImage(image,length,pixels,compact_pixels); image 2257 coders/psd.c (void) SetPSDOffset(psd_info,image,length); image 2263 coders/psd.c Image *image,Image *next_image,unsigned char *compact_pixels, image 2291 coders/psd.c (void) WriteBlobMSBShort(image,0); image 2294 coders/psd.c monochrome=IsMonochromeImage(image,&image->exception) && (image->depth == 1) image 2298 coders/psd.c quantum_info=AcquireQuantumInfo(image_info,image); image 2302 coders/psd.c p=GetVirtualPixels(next_image,0,y,next_image->columns,1,&image->exception); image 2306 coders/psd.c quantum_type,pixels,&image->exception); image 2311 coders/psd.c (void) WriteBlob(image,length,pixels); image 2314 coders/psd.c length=PSDPackbitsEncodeImage(image,length,pixels,compact_pixels); image 2315 coders/psd.c (void) WriteBlob(image,length,compact_pixels); image 2322 coders/psd.c const ImageInfo *image_info,Image *image,Image *next_image, image 2352 coders/psd.c (void) WriteBlobMSBShort(image,1); image 2353 coders/psd.c WritePackbitsLength(psd_info,image_info,image,next_image, image 2356 coders/psd.c WritePackbitsLength(psd_info,image_info,image,next_image, image 2359 coders/psd.c WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, image 2362 coders/psd.c WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, image 2364 coders/psd.c (void) SetImageProgress(image,SaveImagesTag,0,1); image 2374 coders/psd.c (void) WriteBlobMSBShort(image,1); image 2375 coders/psd.c WritePackbitsLength(psd_info,image_info,image,next_image, image 2378 coders/psd.c WritePackbitsLength(psd_info,image_info,image,next_image, image 2381 coders/psd.c WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, image 2384 coders/psd.c WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, image 2386 coders/psd.c (void) SetImageProgress(image,SaveImagesTag,0,1); image 2397 coders/psd.c (void) WriteBlobMSBShort(image,1); image 2398 coders/psd.c WritePackbitsLength(psd_info,image_info,image,next_image, image 2400 coders/psd.c WritePackbitsLength(psd_info,image_info,image,next_image, image 2402 coders/psd.c WritePackbitsLength(psd_info,image_info,image,next_image, image 2405 coders/psd.c WritePackbitsLength(psd_info,image_info,image,next_image, image 2408 coders/psd.c WritePackbitsLength(psd_info,image_info,image,next_image, image 2411 coders/psd.c (void) SetImageProgress(image,SaveImagesTag,0,6); image 2412 coders/psd.c WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, image 2414 coders/psd.c (void) SetImageProgress(image,SaveImagesTag,1,6); image 2415 coders/psd.c WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, image 2417 coders/psd.c (void) SetImageProgress(image,SaveImagesTag,2,6); image 2418 coders/psd.c WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, image 2420 coders/psd.c (void) SetImageProgress(image,SaveImagesTag,3,6); image 2422 coders/psd.c WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, image 2424 coders/psd.c (void) SetImageProgress(image,SaveImagesTag,4,6); image 2426 coders/psd.c WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, image 2428 coders/psd.c (void) SetImageProgress(image,SaveImagesTag,5,6); image 2463 coders/psd.c static void WriteResolutionResourceBlock(Image *image) image 2472 coders/psd.c if (image->units == PixelsPerCentimeterResolution) image 2474 coders/psd.c x_resolution=2.54*65536.0*image->x_resolution+0.5; image 2475 coders/psd.c y_resolution=2.54*65536.0*image->y_resolution+0.5; image 2480 coders/psd.c x_resolution=65536.0*image->x_resolution+0.5; image 2481 coders/psd.c y_resolution=65536.0*image->y_resolution+0.5; image 2484 coders/psd.c (void) WriteBlob(image,4,(const unsigned char *) "8BIM"); image 2485 coders/psd.c (void) WriteBlobMSBShort(image,0x03ED); image 2486 coders/psd.c (void) WriteBlobMSBShort(image,0); image 2487 coders/psd.c (void) WriteBlobMSBLong(image,16); /* resource size */ image 2488 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) (x_resolution+0.5)); image 2489 coders/psd.c (void) WriteBlobMSBShort(image,units); /* horizontal resolution unit */ image 2490 coders/psd.c (void) WriteBlobMSBShort(image,units); /* width unit */ image 2491 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) (y_resolution+0.5)); image 2492 coders/psd.c (void) WriteBlobMSBShort(image,units); /* vertical resolution unit */ image 2493 coders/psd.c (void) WriteBlobMSBShort(image,units); /* height unit */ image 2592 coders/psd.c static MagickBooleanType WritePSDImage(const ImageInfo *image_info,Image *image) image 2631 coders/psd.c assert(image != (Image *) NULL); image 2632 coders/psd.c assert(image->signature == MagickSignature); image 2633 coders/psd.c if (image->debug != MagickFalse) image 2634 coders/psd.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2635 coders/psd.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 2638 coders/psd.c packet_size=(size_t) (image->depth > 8 ? 6 : 3); image 2639 coders/psd.c if (image->matte != MagickFalse) image 2640 coders/psd.c packet_size+=image->depth > 8 ? 2 : 1; image 2643 coders/psd.c (image->columns > 30000) || (image->rows > 30000)) image 2645 coders/psd.c (void) WriteBlob(image,4,(const unsigned char *) "8BPS"); image 2646 coders/psd.c (void) WriteBlobMSBShort(image,psd_info.version); /* version */ image 2648 coders/psd.c (void) WriteBlobByte(image, 0); /* 6 bytes of reserved */ image 2649 coders/psd.c if (SetImageGray(image,&image->exception) != MagickFalse) image 2650 coders/psd.c num_channels=(image->matte != MagickFalse ? 2UL : 1UL); image 2653 coders/psd.c TrueColorMatteType) && (image->storage_class == PseudoClass)) image 2654 coders/psd.c num_channels=(image->matte != MagickFalse ? 2UL : 1UL); image 2657 coders/psd.c if (image->storage_class == PseudoClass) image 2658 coders/psd.c (void) SetImageStorageClass(image,DirectClass); image 2659 coders/psd.c if (image->colorspace != CMYKColorspace) image 2660 coders/psd.c num_channels=(image->matte != MagickFalse ? 4UL : 3UL); image 2662 coders/psd.c num_channels=(image->matte != MagickFalse ? 5UL : 4UL); image 2664 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) num_channels); image 2665 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) image->rows); image 2666 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) image->columns); image 2667 coders/psd.c if (IsGrayImage(image,&image->exception) != MagickFalse) image 2675 coders/psd.c monochrome=IsMonochromeImage(image,&image->exception) && image 2676 coders/psd.c (image->depth == 1) ? MagickTrue : MagickFalse; image 2677 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) image 2678 coders/psd.c (monochrome != MagickFalse ? 1 : image->depth > 8 ? 16 : 8)); image 2679 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) image 2684 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) (image->storage_class == image 2685 coders/psd.c PseudoClass ? 8 : image->depth > 8 ? 16 : 8)); image 2687 coders/psd.c (image->colorspace != CMYKColorspace)) && image 2690 coders/psd.c (void) TransformImageColorspace(image,sRGBColorspace); image 2691 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) image 2692 coders/psd.c (image->storage_class == PseudoClass ? IndexedMode : RGBMode)); image 2696 coders/psd.c if (image->colorspace != CMYKColorspace) image 2697 coders/psd.c (void) TransformImageColorspace(image,CMYKColorspace); image 2698 coders/psd.c (void) WriteBlobMSBShort(image,CMYKMode); image 2701 coders/psd.c if ((IsGrayImage(image,&image->exception) != MagickFalse) || image 2702 coders/psd.c (image->storage_class == DirectClass) || (image->colors > 256)) image 2703 coders/psd.c (void) WriteBlobMSBLong(image,0); image 2709 coders/psd.c (void) WriteBlobMSBLong(image,768); image 2710 coders/psd.c for (i=0; i < (ssize_t) image->colors; i++) image 2711 coders/psd.c (void) WriteBlobByte(image,ScaleQuantumToChar(image->colormap[i].red)); image 2713 coders/psd.c (void) WriteBlobByte(image,0); image 2714 coders/psd.c for (i=0; i < (ssize_t) image->colors; i++) image 2715 coders/psd.c (void) WriteBlobByte(image,ScaleQuantumToChar( image 2716 coders/psd.c image->colormap[i].green)); image 2718 coders/psd.c (void) WriteBlobByte(image,0); image 2719 coders/psd.c for (i=0; i < (ssize_t) image->colors; i++) image 2720 coders/psd.c (void) WriteBlobByte(image,ScaleQuantumToChar(image->colormap[i].blue)); image 2722 coders/psd.c (void) WriteBlobByte(image,0); image 2728 coders/psd.c bim_profile=(StringInfo *) GetImageProfile(image,"8bim"); image 2729 coders/psd.c icc_profile=GetImageProfile(image,"icc"); image 2740 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) length); image 2741 coders/psd.c WriteResolutionResourceBlock(image); image 2744 coders/psd.c (void) WriteBlob(image,GetStringInfoLength(bim_profile), image 2750 coders/psd.c (void) WriteBlob(image,4,(const unsigned char *) "8BIM"); image 2751 coders/psd.c (void) WriteBlobMSBShort(image,0x0000040F); image 2752 coders/psd.c (void) WriteBlobMSBShort(image,0); image 2753 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) GetStringInfoLength( image 2755 coders/psd.c (void) WriteBlob(image,GetStringInfoLength(icc_profile), image 2759 coders/psd.c (void) WriteBlobByte(image,0); image 2763 coders/psd.c base_image=GetNextImageInList(image); image 2764 coders/psd.c if ((image->matte != MagickFalse) && (base_image == (Image *) NULL)) image 2765 coders/psd.c base_image=image; image 2770 coders/psd.c if (IsGrayImage(next_image,&image->exception) != MagickFalse) image 2798 coders/psd.c (void) SetPSDSize(&psd_info,image,0); image 2804 coders/psd.c (void) SetPSDSize(&psd_info,image,layer_info_size+ image 2810 coders/psd.c (void) SetPSDSize(&psd_info,image,rounded_layer_info_size); image 2811 coders/psd.c if (image->matte != MagickFalse) image 2812 coders/psd.c (void) WriteBlobMSBShort(image,-(unsigned short) layer_count); image 2814 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) layer_count); image 2820 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) next_image->page.y); image 2821 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) next_image->page.x); image 2822 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) (next_image->page.y+ image 2824 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) (next_image->page.x+ image 2829 coders/psd.c if ((IsGrayImage(next_image,&image->exception) != MagickFalse) || image 2832 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) image 2834 coders/psd.c (void) WriteBlobMSBShort(image,0); image 2835 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2838 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) -1); image 2839 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2845 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) image 2847 coders/psd.c (void) WriteBlobMSBShort(image,0); image 2848 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2849 coders/psd.c (void) WriteBlobMSBShort(image,1); image 2850 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2851 coders/psd.c (void) WriteBlobMSBShort(image,2); image 2852 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2855 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) -1); image 2856 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2861 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) image 2863 coders/psd.c (void) WriteBlobMSBShort(image,0); image 2864 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2865 coders/psd.c (void) WriteBlobMSBShort(image,1); image 2866 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2867 coders/psd.c (void) WriteBlobMSBShort(image,2); image 2868 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2869 coders/psd.c (void) WriteBlobMSBShort(image,3); image 2870 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2873 coders/psd.c (void) WriteBlobMSBShort(image,(unsigned short) -1); image 2874 coders/psd.c (void) SetPSDSize(&psd_info,image,channel_size); image 2877 coders/psd.c (void) WriteBlob(image,4,(const unsigned char *) "8BIM"); image 2878 coders/psd.c (void) WriteBlob(image,4,(const unsigned char *) image 2880 coders/psd.c (void) WriteBlobByte(image,255); /* layer opacity */ image 2881 coders/psd.c (void) WriteBlobByte(image,0); image 2882 coders/psd.c (void) WriteBlobByte(image,next_image->compose==NoCompositeOp ? image 2884 coders/psd.c (void) WriteBlobByte(image,0); image 2891 coders/psd.c (void) WriteBlobMSBLong(image,16); image 2892 coders/psd.c (void) WriteBlobMSBLong(image,0); image 2893 coders/psd.c (void) WriteBlobMSBLong(image,0); image 2896 coders/psd.c WritePascalString(image,layer_name,4); image 2904 coders/psd.c (void) WriteBlobMSBLong(image,(unsigned int) (length+(4- image 2906 coders/psd.c (void) WriteBlobMSBLong(image,0); image 2907 coders/psd.c (void) WriteBlobMSBLong(image,0); image 2908 coders/psd.c WritePascalString(image,property,4); image 2918 coders/psd.c status=WriteImageChannels(&psd_info,image_info,image,next_image, image 2922 coders/psd.c (void) WriteBlobMSBLong(image,0); /* user mask data */ image 2929 coders/psd.c status=WriteImageChannels(&psd_info,image_info,image,image,MagickFalse); image 2930 coders/psd.c (void) CloseBlob(image); image 129 coders/pwp.c *image, image 170 coders/pwp.c image=pwp_image; image 209 coders/pwp.c image->filename); image 210 coders/pwp.c image=DestroyImageList(image); image 227 coders/pwp.c if (image == (Image *) NULL) image 228 coders/pwp.c image=next_image; image 234 coders/pwp.c for (p=image; p->next != (Image *) NULL; p=GetNextImageInList(p)) ; image 242 coders/pwp.c status=SetImageProgress(image,LoadImagesTag,TellBlob(pwp_image), image 253 coders/pwp.c if (EOFBlob(image) != MagickFalse) image 260 coders/pwp.c "UnexpectedEndOfFile","`%s': %s",image->filename,message); image 263 coders/pwp.c (void) CloseBlob(image); image 264 coders/pwp.c return(GetFirstImageInList(image)); image 103 coders/raw.c *image; image 134 coders/raw.c image=AcquireImage(image_info); image 135 coders/raw.c if ((image->columns == 0) || (image->rows == 0)) image 137 coders/raw.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 140 coders/raw.c image=DestroyImageList(image); image 143 coders/raw.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 145 coders/raw.c image->filename); image 149 coders/raw.c canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, image 158 coders/raw.c while (image->scene < image_info->scene) image 163 coders/raw.c image->scene++; image 165 coders/raw.c for (y=0; y < (ssize_t) image->rows; y++) image 167 coders/raw.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 182 coders/raw.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 184 coders/raw.c status=SetImageExtent(image,image->columns,image->rows); image 187 coders/raw.c InheritException(exception,&image->exception); image 188 coders/raw.c return(DestroyImageList(image)); image 193 coders/raw.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 196 coders/raw.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 210 coders/raw.c image->filename); image 220 coders/raw.c if (((y-image->extract_info.y) >= 0) && image 221 coders/raw.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 224 coders/raw.c image->columns,1,exception); image 225 coders/raw.c q=QueueAuthenticPixels(image,0,y-image->extract_info.y,image->columns, image 229 coders/raw.c for (x=0; x < (ssize_t) image->columns; x++) image 237 coders/raw.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 240 coders/raw.c if (image->previous == (Image *) NULL) image 242 coders/raw.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 243 coders/raw.c image->rows); image 247 coders/raw.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 250 coders/raw.c SetQuantumImageType(image,quantum_type); image 255 coders/raw.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 262 coders/raw.c AcquireNextImage(image_info,image); image 263 coders/raw.c if (GetNextImageInList(image) == (Image *) NULL) image 265 coders/raw.c image=DestroyImageList(image); image 268 coders/raw.c image=SyncNextImageInList(image); image 269 coders/raw.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 270 coders/raw.c GetBlobSize(image)); image 277 coders/raw.c InheritException(&image->exception,&canvas_image->exception); image 279 coders/raw.c (void) CloseBlob(image); image 280 coders/raw.c return(GetFirstImageInList(image)); image 450 coders/raw.c static MagickBooleanType WriteRAWImage(const ImageInfo *image_info,Image *image) image 482 coders/raw.c assert(image != (Image *) NULL); image 483 coders/raw.c assert(image->signature == MagickSignature); image 484 coders/raw.c if (image->debug != MagickFalse) image 485 coders/raw.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 486 coders/raw.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 489 coders/raw.c switch (*image->magick) image 507 coders/raw.c if (image->colorspace == CMYKColorspace) image 527 coders/raw.c if (image->colorspace == CMYKColorspace) image 535 coders/raw.c if (image->colorspace == CMYKColorspace) image 555 coders/raw.c if (image->colorspace == CMYKColorspace) image 571 coders/raw.c quantum_info=AcquireQuantumInfo(image_info,image); image 575 coders/raw.c for (y=0; y < (ssize_t) image->rows; y++) image 577 coders/raw.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 580 coders/raw.c length=ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 581 coders/raw.c quantum_type,pixels,&image->exception); image 582 coders/raw.c count=WriteBlob(image,length,pixels); image 585 coders/raw.c if (image->previous == (Image *) NULL) image 587 coders/raw.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 588 coders/raw.c image->rows); image 594 coders/raw.c if (GetNextImageInList(image) == (Image *) NULL) image 596 coders/raw.c image=SyncNextImageInList(image); image 597 coders/raw.c status=SetImageProgress(image,SaveImagesTag,scene++, image 598 coders/raw.c GetImageListLength(image)); image 602 coders/raw.c (void) CloseBlob(image); image 108 coders/rgb.c *image; image 142 coders/rgb.c image=AcquireImage(image_info); image 143 coders/rgb.c if ((image->columns == 0) || (image->rows == 0)) image 147 coders/rgb.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 150 coders/rgb.c image=DestroyImageList(image); image 153 coders/rgb.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 155 coders/rgb.c image->filename); image 160 coders/rgb.c canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, image 170 coders/rgb.c image->matte=MagickTrue; image 175 coders/rgb.c image->matte=MagickTrue; image 179 coders/rgb.c while (image->scene < image_info->scene) image 184 coders/rgb.c image->scene++; image 186 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 188 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 203 coders/rgb.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 205 coders/rgb.c status=SetImageExtent(image,image->columns,image->rows); image 208 coders/rgb.c InheritException(exception,&image->exception); image 209 coders/rgb.c return(DestroyImageList(image)); image 222 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 225 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 239 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 250 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 251 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 255 coders/rgb.c q=QueueAuthenticPixels(image,0,y-image->extract_info.y, image 256 coders/rgb.c image->columns,1,exception); image 260 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 266 coders/rgb.c if (image->matte != MagickFalse) image 271 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 274 coders/rgb.c if (image->previous == (Image *) NULL) image 276 coders/rgb.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 277 coders/rgb.c image->rows); image 281 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 305 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 308 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 322 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 325 coders/rgb.c for (i=0; i < (ssize_t) (image->matte != MagickFalse ? 4 : 3); i++) image 336 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 337 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 341 coders/rgb.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 342 coders/rgb.c image->columns,1,exception); image 346 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 381 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 384 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 387 coders/rgb.c if (image->previous == (Image *) NULL) image 389 coders/rgb.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 390 coders/rgb.c image->rows); image 405 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 408 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 422 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 433 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 434 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 438 coders/rgb.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 439 coders/rgb.c image->columns,1,exception); image 443 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 449 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 452 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 455 coders/rgb.c if (image->previous == (Image *) NULL) image 457 coders/rgb.c status=SetImageProgress(image,LoadImageTag,1,6); image 461 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 475 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 486 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 487 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 491 coders/rgb.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 492 coders/rgb.c image->columns,1,exception); image 496 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 502 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 505 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 508 coders/rgb.c if (image->previous == (Image *) NULL) image 510 coders/rgb.c status=SetImageProgress(image,LoadImageTag,2,6); image 514 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 528 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 539 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 540 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 544 coders/rgb.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 545 coders/rgb.c image->columns,1,exception); image 549 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 555 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 558 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 561 coders/rgb.c if (image->previous == (Image *) NULL) image 563 coders/rgb.c status=SetImageProgress(image,LoadImageTag,3,6); image 567 coders/rgb.c if (image->previous == (Image *) NULL) image 569 coders/rgb.c status=SetImageProgress(image,LoadImageTag,4,6); image 573 coders/rgb.c if (image->matte != MagickFalse) image 575 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 589 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 600 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 601 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 606 coders/rgb.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 607 coders/rgb.c image->columns,1,exception); image 611 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 617 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 620 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 623 coders/rgb.c if (image->previous == (Image *) NULL) image 625 coders/rgb.c status=SetImageProgress(image,LoadImageTag,5,6); image 630 coders/rgb.c if (image->previous == (Image *) NULL) image 632 coders/rgb.c status=SetImageProgress(image,LoadImageTag,6,6); image 643 coders/rgb.c AppendImageFormat("R",image->filename); image 644 coders/rgb.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 648 coders/rgb.c image=DestroyImageList(image); image 651 coders/rgb.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 653 coders/rgb.c image->filename); image 656 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 658 coders/rgb.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 663 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 667 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 669 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 683 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 694 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 695 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 699 coders/rgb.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 700 coders/rgb.c image->columns,1,exception); image 704 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 710 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 713 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 716 coders/rgb.c if (image->previous == (Image *) NULL) image 718 coders/rgb.c status=SetImageProgress(image,LoadImageTag,1,5); image 722 coders/rgb.c (void) CloseBlob(image); image 723 coders/rgb.c AppendImageFormat("G",image->filename); image 724 coders/rgb.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 728 coders/rgb.c image=DestroyImageList(image); image 733 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 735 coders/rgb.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 740 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 744 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 746 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 760 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 771 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 772 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 776 coders/rgb.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 777 coders/rgb.c image->columns,1,exception); image 781 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 787 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 790 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 793 coders/rgb.c if (image->previous == (Image *) NULL) image 795 coders/rgb.c status=SetImageProgress(image,LoadImageTag,2,5); image 799 coders/rgb.c (void) CloseBlob(image); image 800 coders/rgb.c AppendImageFormat("B",image->filename); image 801 coders/rgb.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 805 coders/rgb.c image=DestroyImageList(image); image 810 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 812 coders/rgb.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 817 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 821 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 823 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 837 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 848 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 849 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 853 coders/rgb.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 854 coders/rgb.c image->columns,1,exception); image 858 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 864 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 867 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 870 coders/rgb.c if (image->previous == (Image *) NULL) image 872 coders/rgb.c status=SetImageProgress(image,LoadImageTag,3,5); image 876 coders/rgb.c if (image->matte != MagickFalse) image 878 coders/rgb.c (void) CloseBlob(image); image 879 coders/rgb.c AppendImageFormat("A",image->filename); image 880 coders/rgb.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 884 coders/rgb.c image=DestroyImageList(image); image 889 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 891 coders/rgb.c (void) ReadBlobStream(image,length, image 896 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 900 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 902 coders/rgb.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 916 coders/rgb.c "UnexpectedEndOfFile",image->filename); image 927 coders/rgb.c if (((y-image->extract_info.y) >= 0) && image 928 coders/rgb.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 932 coders/rgb.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 933 coders/rgb.c image->columns,1,exception); image 937 coders/rgb.c for (x=0; x < (ssize_t) image->columns; x++) image 943 coders/rgb.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 946 coders/rgb.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 949 coders/rgb.c if (image->previous == (Image *) NULL) image 951 coders/rgb.c status=SetImageProgress(image,LoadImageTag,4,5); image 956 coders/rgb.c (void) CloseBlob(image); image 957 coders/rgb.c if (image->previous == (Image *) NULL) image 959 coders/rgb.c status=SetImageProgress(image,LoadImageTag,5,5); image 966 coders/rgb.c SetQuantumImageType(image,quantum_type); image 971 coders/rgb.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 978 coders/rgb.c AcquireNextImage(image_info,image); image 979 coders/rgb.c if (GetNextImageInList(image) == (Image *) NULL) image 981 coders/rgb.c image=DestroyImageList(image); image 984 coders/rgb.c image=SyncNextImageInList(image); image 985 coders/rgb.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 986 coders/rgb.c GetBlobSize(image)); image 993 coders/rgb.c InheritException(&image->exception,&canvas_image->exception); image 995 coders/rgb.c (void) CloseBlob(image); image 996 coders/rgb.c return(GetFirstImageInList(image)); image 1106 coders/rgb.c static MagickBooleanType WriteRGBImage(const ImageInfo *image_info,Image *image) image 1135 coders/rgb.c assert(image != (Image *) NULL); image 1136 coders/rgb.c assert(image->signature == MagickSignature); image 1137 coders/rgb.c if (image->debug != MagickFalse) image 1138 coders/rgb.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1144 coders/rgb.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1159 coders/rgb.c (void) TransformImageColorspace(image,sRGBColorspace); image 1161 coders/rgb.c (image->matte == MagickFalse)) image 1162 coders/rgb.c (void) SetImageAlphaChannel(image,ResetAlphaChannel); image 1163 coders/rgb.c quantum_info=AcquireQuantumInfo(image_info,image); image 1175 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1180 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1183 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1184 coders/rgb.c quantum_info,quantum_type,pixels,&image->exception); image 1185 coders/rgb.c count=WriteBlob(image,length,pixels); image 1188 coders/rgb.c if (image->previous == (Image *) NULL) image 1190 coders/rgb.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1191 coders/rgb.c image->rows); image 1203 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1208 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1211 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1212 coders/rgb.c quantum_info,RedQuantum,pixels,&image->exception); image 1213 coders/rgb.c count=WriteBlob(image,length,pixels); image 1216 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1217 coders/rgb.c quantum_info,GreenQuantum,pixels,&image->exception); image 1218 coders/rgb.c count=WriteBlob(image,length,pixels); image 1221 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1222 coders/rgb.c quantum_info,BlueQuantum,pixels,&image->exception); image 1223 coders/rgb.c count=WriteBlob(image,length,pixels); image 1228 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1229 coders/rgb.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1230 coders/rgb.c count=WriteBlob(image,length,pixels); image 1236 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1237 coders/rgb.c quantum_info,OpacityQuantum,pixels,&image->exception); image 1238 coders/rgb.c count=WriteBlob(image,length,pixels); image 1242 coders/rgb.c if (image->previous == (Image *) NULL) image 1244 coders/rgb.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1245 coders/rgb.c image->rows); image 1257 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1262 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1265 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1266 coders/rgb.c quantum_info,RedQuantum,pixels,&image->exception); image 1267 coders/rgb.c count=WriteBlob(image,length,pixels); image 1271 coders/rgb.c if (image->previous == (Image *) NULL) image 1273 coders/rgb.c status=SetImageProgress(image,SaveImageTag,1,6); image 1277 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1282 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1285 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1286 coders/rgb.c quantum_info,GreenQuantum,pixels,&image->exception); image 1287 coders/rgb.c count=WriteBlob(image,length,pixels); image 1291 coders/rgb.c if (image->previous == (Image *) NULL) image 1293 coders/rgb.c status=SetImageProgress(image,SaveImageTag,2,6); image 1297 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1302 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1305 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1306 coders/rgb.c quantum_info,BlueQuantum,pixels,&image->exception); image 1307 coders/rgb.c count=WriteBlob(image,length,pixels); image 1311 coders/rgb.c if (image->previous == (Image *) NULL) image 1313 coders/rgb.c status=SetImageProgress(image,SaveImageTag,3,6); image 1319 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1324 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1327 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1328 coders/rgb.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1329 coders/rgb.c count=WriteBlob(image,length,pixels); image 1333 coders/rgb.c if (image->previous == (Image *) NULL) image 1335 coders/rgb.c status=SetImageProgress(image,SaveImageTag,5,6); image 1341 coders/rgb.c (void) CopyMagickString(image->filename,image_info->filename, image 1343 coders/rgb.c if (image->previous == (Image *) NULL) image 1345 coders/rgb.c status=SetImageProgress(image,SaveImageTag,6,6); image 1356 coders/rgb.c AppendImageFormat("R",image->filename); image 1357 coders/rgb.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1358 coders/rgb.c AppendBinaryBlobMode,&image->exception); image 1361 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1366 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1369 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1370 coders/rgb.c quantum_info,RedQuantum,pixels,&image->exception); image 1371 coders/rgb.c count=WriteBlob(image,length,pixels); image 1375 coders/rgb.c if (image->previous == (Image *) NULL) image 1377 coders/rgb.c status=SetImageProgress(image,SaveImageTag,1,6); image 1381 coders/rgb.c (void) CloseBlob(image); image 1382 coders/rgb.c AppendImageFormat("G",image->filename); image 1383 coders/rgb.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1384 coders/rgb.c AppendBinaryBlobMode,&image->exception); image 1387 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1392 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1395 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1396 coders/rgb.c quantum_info,GreenQuantum,pixels,&image->exception); image 1397 coders/rgb.c count=WriteBlob(image,length,pixels); image 1401 coders/rgb.c if (image->previous == (Image *) NULL) image 1403 coders/rgb.c status=SetImageProgress(image,SaveImageTag,2,6); image 1407 coders/rgb.c (void) CloseBlob(image); image 1408 coders/rgb.c AppendImageFormat("B",image->filename); image 1409 coders/rgb.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1410 coders/rgb.c AppendBinaryBlobMode,&image->exception); image 1413 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1418 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1421 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1422 coders/rgb.c quantum_info,BlueQuantum,pixels,&image->exception); image 1423 coders/rgb.c count=WriteBlob(image,length,pixels); image 1427 coders/rgb.c if (image->previous == (Image *) NULL) image 1429 coders/rgb.c status=SetImageProgress(image,SaveImageTag,3,6); image 1435 coders/rgb.c (void) CloseBlob(image); image 1436 coders/rgb.c AppendImageFormat("A",image->filename); image 1437 coders/rgb.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1438 coders/rgb.c AppendBinaryBlobMode,&image->exception); image 1441 coders/rgb.c for (y=0; y < (ssize_t) image->rows; y++) image 1446 coders/rgb.c p=GetVirtualPixels(image,0,y,image->columns,1, image 1447 coders/rgb.c &image->exception); image 1450 coders/rgb.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1451 coders/rgb.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1452 coders/rgb.c count=WriteBlob(image,length,pixels); image 1456 coders/rgb.c if (image->previous == (Image *) NULL) image 1458 coders/rgb.c status=SetImageProgress(image,SaveImageTag,5,6); image 1463 coders/rgb.c (void) CloseBlob(image); image 1464 coders/rgb.c (void) CopyMagickString(image->filename,image_info->filename, image 1466 coders/rgb.c if (image->previous == (Image *) NULL) image 1468 coders/rgb.c status=SetImageProgress(image,SaveImageTag,6,6); image 1476 coders/rgb.c if (GetNextImageInList(image) == (Image *) NULL) image 1478 coders/rgb.c image=SyncNextImageInList(image); image 1479 coders/rgb.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1480 coders/rgb.c GetImageListLength(image)); image 1484 coders/rgb.c (void) CloseBlob(image); image 102 coders/rgf.c *image; image 141 coders/rgf.c image=AcquireImage(image_info); image 142 coders/rgf.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 145 coders/rgf.c image=DestroyImageList(image); image 151 coders/rgf.c image->columns = (unsigned long) ReadBlobByte(image); image 152 coders/rgf.c image->rows = (unsigned long) ReadBlobByte(image); image 153 coders/rgf.c image->depth=8; image 154 coders/rgf.c image->storage_class=PseudoClass; image 155 coders/rgf.c image->colors=2; image 159 coders/rgf.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 164 coders/rgf.c image->colormap[0].red=QuantumRange; image 165 coders/rgf.c image->colormap[0].green=QuantumRange; image 166 coders/rgf.c image->colormap[0].blue=QuantumRange; image 167 coders/rgf.c image->colormap[1].red=(Quantum) 0; image 168 coders/rgf.c image->colormap[1].green=(Quantum) 0; image 169 coders/rgf.c image->colormap[1].blue=(Quantum) 0; image 172 coders/rgf.c (void) CloseBlob(image); image 173 coders/rgf.c return(GetFirstImageInList(image)); image 175 coders/rgf.c status=SetImageExtent(image,image->columns,image->rows); image 178 coders/rgf.c InheritException(exception,&image->exception); image 179 coders/rgf.c return(DestroyImageList(image)); image 184 coders/rgf.c data=(unsigned char *) AcquireQuantumMemory(image->rows,image->columns* image 189 coders/rgf.c for (i=0; i < (ssize_t) (image->columns * image->rows); i++) image 191 coders/rgf.c *p++=ReadBlobByte(image); image 198 coders/rgf.c for (y=0; y < (ssize_t) image->rows; y++) image 200 coders/rgf.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 203 coders/rgf.c indexes=GetAuthenticIndexQueue(image); image 206 coders/rgf.c for (x=0; x < (ssize_t) image->columns; x++) image 216 coders/rgf.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 218 coders/rgf.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 219 coders/rgf.c image->rows); image 224 coders/rgf.c (void) SyncImage(image); image 225 coders/rgf.c (void) CloseBlob(image); image 226 coders/rgf.c return(GetFirstImageInList(image)); image 319 coders/rgf.c static MagickBooleanType WriteRGFImage(const ImageInfo *image_info,Image *image, image 345 coders/rgf.c assert(image != (Image *) NULL); image 346 coders/rgf.c assert(image->signature == MagickSignature); image 347 coders/rgf.c if (image->debug != MagickFalse) image 348 coders/rgf.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 351 coders/rgf.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); image 354 coders/rgf.c (void) TransformImageColorspace(image,sRGBColorspace); image 355 coders/rgf.c if((image->columns > 255L) || (image->rows > 255L)) image 360 coders/rgf.c (void) WriteBlobByte(image,image->columns & 0xff); image 361 coders/rgf.c (void) WriteBlobByte(image,image->rows & 0xff); image 365 coders/rgf.c (void) SetImageType(image,BilevelType); image 368 coders/rgf.c for (y=0; y < (ssize_t) image->rows; y++) image 370 coders/rgf.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 375 coders/rgf.c for (x=0; x < (ssize_t) image->columns; x++) image 378 coders/rgf.c if (GetPixelLuma(image,p) < (QuantumRange/2.0)) image 386 coders/rgf.c (void) WriteBlobByte(image,byte); image 393 coders/rgf.c (void) WriteBlobByte(image,byte); image 394 coders/rgf.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 395 coders/rgf.c image->rows); image 399 coders/rgf.c (void) CloseBlob(image); image 159 coders/rla.c *image; image 200 coders/rla.c image=AcquireImage(image_info); image 201 coders/rla.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 204 coders/rla.c image=DestroyImageList(image); image 208 coders/rla.c rla_info.window.left=(short) ReadBlobMSBShort(image); image 209 coders/rla.c rla_info.window.right=(short) ReadBlobMSBShort(image); image 210 coders/rla.c rla_info.window.bottom=(short) ReadBlobMSBShort(image); image 211 coders/rla.c rla_info.window.top=(short) ReadBlobMSBShort(image); image 212 coders/rla.c rla_info.active_window.left=(short) ReadBlobMSBShort(image); image 213 coders/rla.c rla_info.active_window.right=(short) ReadBlobMSBShort(image); image 214 coders/rla.c rla_info.active_window.bottom=(short) ReadBlobMSBShort(image); image 215 coders/rla.c rla_info.active_window.top=(short) ReadBlobMSBShort(image); image 216 coders/rla.c rla_info.frame=(short) ReadBlobMSBShort(image); image 217 coders/rla.c rla_info.storage_type=(short) ReadBlobMSBShort(image); image 218 coders/rla.c rla_info.number_channels=(short) ReadBlobMSBShort(image); image 219 coders/rla.c rla_info.number_matte_channels=(short) ReadBlobMSBShort(image); image 223 coders/rla.c rla_info.number_auxiliary_channels=(short) ReadBlobMSBShort(image); image 224 coders/rla.c rla_info.revision=(short) ReadBlobMSBShort(image); image 225 coders/rla.c count=ReadBlob(image,16,(unsigned char *) rla_info.gamma); image 226 coders/rla.c count=ReadBlob(image,24,(unsigned char *) rla_info.red_primary); image 227 coders/rla.c count=ReadBlob(image,24,(unsigned char *) rla_info.green_primary); image 228 coders/rla.c count=ReadBlob(image,24,(unsigned char *) rla_info.blue_primary); image 229 coders/rla.c count=ReadBlob(image,24,(unsigned char *) rla_info.white_point); image 230 coders/rla.c rla_info.job_number=(int) ReadBlobMSBLong(image); image 231 coders/rla.c count=ReadBlob(image,128,(unsigned char *) rla_info.name); image 232 coders/rla.c count=ReadBlob(image,128,(unsigned char *) rla_info.description); image 234 coders/rla.c count=ReadBlob(image,64,(unsigned char *) rla_info.program); image 235 coders/rla.c count=ReadBlob(image,32,(unsigned char *) rla_info.machine); image 236 coders/rla.c count=ReadBlob(image,32,(unsigned char *) rla_info.user); image 237 coders/rla.c count=ReadBlob(image,20,(unsigned char *) rla_info.date); image 238 coders/rla.c count=ReadBlob(image,24,(unsigned char *) rla_info.aspect); image 239 coders/rla.c count=ReadBlob(image,8,(unsigned char *) rla_info.aspect_ratio); image 240 coders/rla.c count=ReadBlob(image,32,(unsigned char *) rla_info.chan); image 241 coders/rla.c rla_info.field=(short) ReadBlobMSBShort(image); image 242 coders/rla.c count=ReadBlob(image,12,(unsigned char *) rla_info.time); image 243 coders/rla.c count=ReadBlob(image,32,(unsigned char *) rla_info.filter); image 244 coders/rla.c rla_info.bits_per_channel=(short) ReadBlobMSBShort(image); image 245 coders/rla.c rla_info.matte_type=(short) ReadBlobMSBShort(image); image 246 coders/rla.c rla_info.matte_bits=(short) ReadBlobMSBShort(image); image 247 coders/rla.c rla_info.auxiliary_type=(short) ReadBlobMSBShort(image); image 248 coders/rla.c rla_info.auxiliary_bits=(short) ReadBlobMSBShort(image); image 249 coders/rla.c count=ReadBlob(image,32,(unsigned char *) rla_info.auxiliary); image 250 coders/rla.c count=ReadBlob(image,36,(unsigned char *) rla_info.space); image 253 coders/rla.c rla_info.next=(int) ReadBlobMSBLong(image); image 257 coders/rla.c image->matte=rla_info.number_matte_channels != 0 ? MagickTrue : MagickFalse; image 258 coders/rla.c image->columns=(size_t) (rla_info.active_window.right- image 260 coders/rla.c image->rows=(size_t) (rla_info.active_window.top- image 264 coders/rla.c (void) CloseBlob(image); image 265 coders/rla.c return(GetFirstImageInList(image)); image 267 coders/rla.c status=SetImageExtent(image,image->columns,image->rows); image 270 coders/rla.c InheritException(exception,&image->exception); image 271 coders/rla.c return(DestroyImageList(image)); image 273 coders/rla.c scanlines=(MagickOffsetType *) AcquireQuantumMemory(image->rows, image 278 coders/rla.c (void) SetImageProperty(image,"comment",(char *) rla_info.description); image 282 coders/rla.c for (i=0; i < (ssize_t) image->rows; i++) image 283 coders/rla.c scanlines[i]=(MagickOffsetType) ((int) ReadBlobMSBLong(image)); image 288 coders/rla.c for (y=0; y < (ssize_t) image->rows; y++) image 290 coders/rla.c offset=SeekBlob(image,scanlines[image->rows-y-1],SEEK_SET); image 295 coders/rla.c length=(int) ReadBlobMSBShort(image); image 298 coders/rla.c byte=(unsigned char) ReadBlobByte(image); image 309 coders/rla.c q=GetAuthenticPixels(image,(ssize_t) (x % image->columns), image 310 coders/rla.c (ssize_t) (y % image->rows),1,1,exception); image 313 coders/rla.c byte=(unsigned char) ReadBlobByte(image); image 339 coders/rla.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 346 coders/rla.c byte=(unsigned char) ReadBlobByte(image); image 351 coders/rla.c q=GetAuthenticPixels(image,(ssize_t) (x % image->columns), image 352 coders/rla.c (ssize_t) (y % image->rows),1,1,exception); image 379 coders/rla.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 387 coders/rla.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 388 coders/rla.c image->rows); image 393 coders/rla.c if (EOFBlob(image) != MagickFalse) image 395 coders/rla.c image->filename); image 396 coders/rla.c (void) CloseBlob(image); image 397 coders/rla.c return(GetFirstImageInList(image)); image 140 coders/rle.c *image; image 205 coders/rle.c image=AcquireImage(image_info); image 206 coders/rle.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 208 coders/rle.c return(DestroyImageList(image)); image 212 coders/rle.c count=ReadBlob(image,2,(unsigned char *) magick); image 220 coders/rle.c image->page.x=ReadBlobLSBShort(image); image 221 coders/rle.c image->page.y=ReadBlobLSBShort(image); image 222 coders/rle.c image->columns=ReadBlobLSBShort(image); image 223 coders/rle.c image->rows=ReadBlobLSBShort(image); image 224 coders/rle.c flags=(MagickStatusType) ReadBlobByte(image); image 225 coders/rle.c image->matte=flags & 0x04 ? MagickTrue : MagickFalse; image 226 coders/rle.c number_planes=(size_t) ReadBlobByte(image); image 227 coders/rle.c bits_per_pixel=(size_t) ReadBlobByte(image); image 228 coders/rle.c number_colormaps=(size_t) ReadBlobByte(image); image 229 coders/rle.c map_length=(unsigned char) ReadBlobByte(image); image 235 coders/rle.c (image->columns == 0)) image 244 coders/rle.c (void) ReadBlobByte(image); image 253 coders/rle.c *p++=(unsigned char) ReadBlobByte(image); image 256 coders/rle.c (void) ReadBlobByte(image); image 257 coders/rle.c if (EOFBlob(image) != MagickFalse) image 260 coders/rle.c image->filename); image 276 coders/rle.c *p++=(unsigned char) ScaleShortToQuantum(ReadBlobLSBShort(image)); image 289 coders/rle.c length=ReadBlobLSBShort(image); image 295 coders/rle.c (void) ReadBlob(image,length-1,(unsigned char *) comment); image 297 coders/rle.c (void) SetImageProperty(image,"comment",comment); image 300 coders/rle.c (void) ReadBlobByte(image); image 304 coders/rle.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 306 coders/rle.c status=SetImageExtent(image,image->columns,image->rows); image 309 coders/rle.c InheritException(exception,&image->exception); image 310 coders/rle.c return(DestroyImageList(image)); image 315 coders/rle.c if (image->matte != MagickFalse) image 317 coders/rle.c number_pixels=(MagickSizeType) image->columns*image->rows; image 323 coders/rle.c pixel_info_length=image->columns*image->rows*number_planes_filled; image 339 coders/rle.c if (image->matte == MagickFalse) image 356 coders/rle.c opcode=ReadBlobByte(image); image 363 coders/rle.c operand=ReadBlobByte(image); image 365 coders/rle.c operand=(int) ReadBlobLSBShort(image); image 372 coders/rle.c operand=ReadBlobByte(image); image 381 coders/rle.c operand=ReadBlobByte(image); image 383 coders/rle.c operand=(int) ReadBlobLSBShort(image); image 389 coders/rle.c operand=ReadBlobByte(image); image 391 coders/rle.c operand=(int) ReadBlobLSBShort(image); image 392 coders/rle.c offset=((image->rows-y-1)*image->columns*number_planes)+x* image 405 coders/rle.c pixel=(unsigned char) ReadBlobByte(image); image 406 coders/rle.c if ((y < (ssize_t) image->rows) && image 407 coders/rle.c ((x+i) < (ssize_t) image->columns)) image 412 coders/rle.c (void) ReadBlobByte(image); image 418 coders/rle.c operand=ReadBlobByte(image); image 420 coders/rle.c operand=(int) ReadBlobLSBShort(image); image 421 coders/rle.c pixel=(unsigned char) ReadBlobByte(image); image 422 coders/rle.c (void) ReadBlobByte(image); image 424 coders/rle.c offset=((image->rows-y-1)*image->columns*number_planes)+x* image 436 coders/rle.c if ((y < (ssize_t) image->rows) && image 437 coders/rle.c ((x+i) < (ssize_t) image->columns)) image 447 coders/rle.c opcode=ReadBlobByte(image); image 463 coders/rle.c if (IsValidColormapIndex(image,*p & mask,&index,exception) == image 474 coders/rle.c if (IsValidColormapIndex(image,(size_t) (x*map_length+ image 496 coders/rle.c for (y=0; y < (ssize_t) image->rows; y++) image 498 coders/rle.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 501 coders/rle.c for (x=0; x < (ssize_t) image->columns; x++) image 506 coders/rle.c if (image->matte != MagickFalse) image 510 coders/rle.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 512 coders/rle.c if (image->previous == (Image *) NULL) image 514 coders/rle.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 515 coders/rle.c image->rows); image 528 coders/rle.c if (AcquireImageColormap(image,map_length) == MagickFalse) image 532 coders/rle.c for (i=0; i < (ssize_t) image->colors; i++) image 537 coders/rle.c image->colormap[i].red=ScaleCharToQuantum((unsigned char) i); image 538 coders/rle.c image->colormap[i].green=ScaleCharToQuantum((unsigned char) i); image 539 coders/rle.c image->colormap[i].blue=ScaleCharToQuantum((unsigned char) i); image 543 coders/rle.c for (i=0; i < (ssize_t) image->colors; i++) image 545 coders/rle.c image->colormap[i].red=ScaleCharToQuantum(*p); image 546 coders/rle.c image->colormap[i].green=ScaleCharToQuantum(*(p+map_length)); image 547 coders/rle.c image->colormap[i].blue=ScaleCharToQuantum(*(p+map_length*2)); image 551 coders/rle.c if (image->matte == MagickFalse) image 556 coders/rle.c for (y=0; y < (ssize_t) image->rows; y++) image 558 coders/rle.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 561 coders/rle.c indexes=GetAuthenticIndexQueue(image); image 562 coders/rle.c for (x=0; x < (ssize_t) image->columns; x++) image 564 coders/rle.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 566 coders/rle.c if (image->previous == (Image *) NULL) image 568 coders/rle.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 569 coders/rle.c y,image->rows); image 574 coders/rle.c (void) SyncImage(image); image 581 coders/rle.c for (y=0; y < (ssize_t) image->rows; y++) image 583 coders/rle.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 586 coders/rle.c for (x=0; x < (ssize_t) image->columns; x++) image 588 coders/rle.c if (IsValidColormapIndex(image,*p++,&index,exception) == image 591 coders/rle.c SetPixelRed(q,image->colormap[(ssize_t) index].red); image 592 coders/rle.c if (IsValidColormapIndex(image,*p++,&index,exception) == image 595 coders/rle.c SetPixelGreen(q,image->colormap[(ssize_t) index].green); image 596 coders/rle.c if (IsValidColormapIndex(image,*p++,&index,exception) == image 599 coders/rle.c SetPixelBlue(q,image->colormap[(ssize_t) index].blue); image 603 coders/rle.c if (x < (ssize_t) image->columns) image 605 coders/rle.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 607 coders/rle.c if (image->previous == (Image *) NULL) image 609 coders/rle.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 610 coders/rle.c y,image->rows); image 615 coders/rle.c image->colormap=(PixelPacket *) RelinquishMagickMemory( image 616 coders/rle.c image->colormap); image 617 coders/rle.c image->storage_class=DirectClass; image 618 coders/rle.c image->colors=0; image 624 coders/rle.c if (EOFBlob(image) != MagickFalse) image 627 coders/rle.c image->filename); image 634 coders/rle.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 636 coders/rle.c (void) ReadBlobByte(image); image 637 coders/rle.c count=ReadBlob(image,2,(unsigned char *) magick); image 643 coders/rle.c AcquireNextImage(image_info,image); image 644 coders/rle.c if (GetNextImageInList(image) == (Image *) NULL) image 646 coders/rle.c image=DestroyImageList(image); image 649 coders/rle.c image=SyncNextImageInList(image); image 650 coders/rle.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 651 coders/rle.c GetBlobSize(image)); image 656 coders/rle.c (void) CloseBlob(image); image 657 coders/rle.c return(GetFirstImageInList(image)); image 129 coders/scr.c *image; image 150 coders/scr.c image=AcquireImage(image_info); image 151 coders/scr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 154 coders/scr.c image=DestroyImageList(image); image 157 coders/scr.c image->columns = 256; image 158 coders/scr.c image->rows = 192; image 159 coders/scr.c status=SetImageExtent(image,image->columns,image->rows); image 162 coders/scr.c InheritException(exception,&image->exception); image 163 coders/scr.c return(DestroyImageList(image)); image 165 coders/scr.c count=ReadBlob(image,6144,(unsigned char *) zxscr); image 167 coders/scr.c count=ReadBlob(image,768,(unsigned char *) zxattr); image 221 coders/scr.c q=QueueAuthenticPixels(image,pix,piy,1,1,exception); image 248 coders/scr.c (void) CloseBlob(image); image 249 coders/scr.c return(GetFirstImageInList(image)); image 105 coders/screenshot.c *image; image 113 coders/screenshot.c image=(Image *) NULL; image 154 coders/screenshot.c image=(Image *) NULL; image 171 coders/screenshot.c InheritException(exception,&image->exception); image 172 coders/screenshot.c return(DestroyImageList(image)); image 174 coders/screenshot.c if (image == (Image *) NULL) image 175 coders/screenshot.c image=screen; image 177 coders/screenshot.c AppendImageToList(&image,screen); image 250 coders/screenshot.c image=XImportImage(image_info,&ximage_info); image 253 coders/screenshot.c return(image); image 128 coders/sct.c *image; image 172 coders/sct.c image=AcquireImage(image_info); image 173 coders/sct.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 176 coders/sct.c image=DestroyImageList(image); image 182 coders/sct.c count=ReadBlob(image,80,buffer); image 184 coders/sct.c count=ReadBlob(image,2,(unsigned char *) magick); image 196 coders/sct.c count=ReadBlob(image,174,buffer); image 197 coders/sct.c count=ReadBlob(image,768,buffer); image 201 coders/sct.c units=1UL*ReadBlobByte(image); image 203 coders/sct.c image->units=PixelsPerCentimeterResolution; image 204 coders/sct.c separations=1UL*ReadBlobByte(image); image 205 coders/sct.c separations_mask=ReadBlobMSBShort(image); image 206 coders/sct.c count=ReadBlob(image,14,buffer); image 209 coders/sct.c count=ReadBlob(image,14,buffer); image 211 coders/sct.c count=ReadBlob(image,12,buffer); image 213 coders/sct.c image->rows=StringToUnsignedLong((char *) buffer); image 214 coders/sct.c count=ReadBlob(image,12,buffer); image 215 coders/sct.c image->columns=StringToUnsignedLong((char *) buffer); image 216 coders/sct.c count=ReadBlob(image,200,buffer); image 217 coders/sct.c count=ReadBlob(image,768,buffer); image 219 coders/sct.c SetImageColorspace(image,CMYKColorspace); image 220 coders/sct.c image->x_resolution=1.0*image->columns/width; image 221 coders/sct.c image->y_resolution=1.0*image->rows/height; image 224 coders/sct.c (void) CloseBlob(image); image 225 coders/sct.c return(GetFirstImageInList(image)); image 227 coders/sct.c status=SetImageExtent(image,image->columns,image->rows); image 230 coders/sct.c InheritException(exception,&image->exception); image 231 coders/sct.c return(DestroyImageList(image)); image 236 coders/sct.c for (y=0; y < (ssize_t) image->rows; y++) image 240 coders/sct.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 243 coders/sct.c indexes=GetAuthenticIndexQueue(image); image 244 coders/sct.c for (x=0; x < (ssize_t) image->columns; x++) image 246 coders/sct.c pixel=(Quantum) ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 247 coders/sct.c if (image->colorspace == CMYKColorspace) image 270 coders/sct.c if (image->colorspace == CMYKColorspace) image 277 coders/sct.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 279 coders/sct.c if ((image->columns % 2) != 0) image 280 coders/sct.c (void) ReadBlobByte(image); /* pad */ image 282 coders/sct.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 283 coders/sct.c image->rows); image 287 coders/sct.c if (EOFBlob(image) != MagickFalse) image 289 coders/sct.c image->filename); image 290 coders/sct.c (void) CloseBlob(image); image 291 coders/sct.c return(GetFirstImageInList(image)); image 210 coders/sfw.c *image; image 245 coders/sfw.c image=AcquireImage(image_info); image 246 coders/sfw.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 249 coders/sfw.c image=DestroyImageList(image); image 255 coders/sfw.c if (GetBlobSize(image) != (size_t) GetBlobSize(image)) image 257 coders/sfw.c buffer=(unsigned char *) AcquireQuantumMemory((size_t) GetBlobSize(image), image 261 coders/sfw.c count=ReadBlob(image,(size_t) GetBlobSize(image),buffer); image 262 coders/sfw.c if ((count != (ssize_t) GetBlobSize(image)) || image 265 coders/sfw.c (void) CloseBlob(image); image 317 coders/sfw.c (void) CopyMagickString(image->filename,read_info->filename, image 320 coders/sfw.c image->filename); image 321 coders/sfw.c image=DestroyImageList(image); image 340 coders/sfw.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 341 coders/sfw.c FileOpenError,"UnableToWriteFile","`%s': %s",image->filename,message); image 343 coders/sfw.c image=DestroyImageList(image); image 354 coders/sfw.c image=DestroyImageList(image); image 357 coders/sfw.c (void) CopyMagickString(jpeg_image->filename,image->filename,MaxTextExtent); image 358 coders/sfw.c (void) CopyMagickString(jpeg_image->magick,image->magick,MaxTextExtent); image 359 coders/sfw.c image=DestroyImageList(image); image 360 coders/sfw.c image=jpeg_image; image 364 coders/sfw.c flipped_image=FlipImage(image,exception); image 367 coders/sfw.c DuplicateBlob(flipped_image,image); image 368 coders/sfw.c image=DestroyImage(image); image 369 coders/sfw.c image=flipped_image; image 371 coders/sfw.c return(GetFirstImageInList(image)); image 259 coders/sgi.c *image; image 307 coders/sgi.c image=AcquireImage(image_info); image 308 coders/sgi.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 311 coders/sgi.c image=DestroyImageList(image); image 317 coders/sgi.c iris_info.magic=ReadBlobMSBShort(image); image 325 coders/sgi.c iris_info.storage=(unsigned char) ReadBlobByte(image); image 328 coders/sgi.c case 0x00: image->compression=NoCompression; break; image 329 coders/sgi.c case 0x01: image->compression=RLECompression; break; image 333 coders/sgi.c iris_info.bytes_per_pixel=(unsigned char) ReadBlobByte(image); image 336 coders/sgi.c iris_info.dimension=ReadBlobMSBShort(image); image 337 coders/sgi.c iris_info.columns=ReadBlobMSBShort(image); image 338 coders/sgi.c iris_info.rows=ReadBlobMSBShort(image); image 339 coders/sgi.c iris_info.depth=ReadBlobMSBShort(image); image 342 coders/sgi.c iris_info.minimum_value=ReadBlobMSBLong(image); image 343 coders/sgi.c iris_info.maximum_value=ReadBlobMSBLong(image); image 344 coders/sgi.c iris_info.sans=ReadBlobMSBLong(image); image 345 coders/sgi.c (void) ReadBlob(image,sizeof(iris_info.name),(unsigned char *) image 349 coders/sgi.c (void) SetImageProperty(image,"label",iris_info.name); image 350 coders/sgi.c iris_info.pixel_format=ReadBlobMSBLong(image); image 353 coders/sgi.c (void) ReadBlob(image,sizeof(iris_info.filler),iris_info.filler); image 354 coders/sgi.c image->columns=iris_info.columns; image 355 coders/sgi.c image->rows=iris_info.rows; image 356 coders/sgi.c image->depth=(size_t) MagickMin(iris_info.depth,MAGICKCORE_QUANTUM_DEPTH); image 358 coders/sgi.c image->depth=(size_t) MagickMin((size_t) 8* image 362 coders/sgi.c image->storage_class=PseudoClass; image 363 coders/sgi.c image->colors=iris_info.bytes_per_pixel > 1 ? 65535 : 256; image 366 coders/sgi.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 368 coders/sgi.c status=SetImageExtent(image,image->columns,image->rows); image 371 coders/sgi.c InheritException(exception,&image->exception); image 372 coders/sgi.c return(DestroyImageList(image)); image 404 coders/sgi.c (void) ReadBlob(image,bytes_per_pixel*iris_info.columns,scanline); image 405 coders/sgi.c if (EOFBlob(image) != MagickFalse) image 465 coders/sgi.c offsets[i]=(int) ReadBlobMSBLong(image); image 468 coders/sgi.c runlength[i]=ReadBlobMSBLong(image); image 484 coders/sgi.c offset=(ssize_t) TellBlob(image); image 495 coders/sgi.c offset=(ssize_t) SeekBlob(image,(ssize_t) offset,SEEK_SET); image 497 coders/sgi.c (void) ReadBlob(image,(size_t) runlength[y+z*iris_info.rows], image 499 coders/sgi.c if (EOFBlob(image) != MagickFalse) image 516 coders/sgi.c position=TellBlob(image); image 525 coders/sgi.c offset=(ssize_t) SeekBlob(image,(ssize_t) offset,SEEK_SET); image 527 coders/sgi.c (void) ReadBlob(image,(size_t) runlength[y+z*iris_info.rows], image 529 coders/sgi.c if (EOFBlob(image) != MagickFalse) image 540 coders/sgi.c offset=(ssize_t) SeekBlob(image,position,SEEK_SET); image 549 coders/sgi.c image->matte=iris_info.depth == 4 ? MagickTrue : MagickFalse; image 550 coders/sgi.c image->columns=iris_info.columns; image 551 coders/sgi.c image->rows=iris_info.rows; image 555 coders/sgi.c if (image->storage_class == DirectClass) image 562 coders/sgi.c for (y=0; y < (ssize_t) image->rows; y++) image 564 coders/sgi.c p=pixels+(image->rows-y-1)*8*image->columns; image 565 coders/sgi.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 568 coders/sgi.c for (x=0; x < (ssize_t) image->columns; x++) image 577 coders/sgi.c if (image->matte != MagickFalse) image 583 coders/sgi.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 585 coders/sgi.c if (image->previous == (Image *) NULL) image 587 coders/sgi.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 588 coders/sgi.c y,image->rows); image 595 coders/sgi.c for (y=0; y < (ssize_t) image->rows; y++) image 597 coders/sgi.c p=pixels+(image->rows-y-1)*4*image->columns; image 598 coders/sgi.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 601 coders/sgi.c for (x=0; x < (ssize_t) image->columns; x++) image 607 coders/sgi.c if (image->matte != MagickFalse) image 612 coders/sgi.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 614 coders/sgi.c if (image->previous == (Image *) NULL) image 616 coders/sgi.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 617 coders/sgi.c image->rows); image 628 coders/sgi.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 635 coders/sgi.c for (y=0; y < (ssize_t) image->rows; y++) image 637 coders/sgi.c p=pixels+(image->rows-y-1)*8*image->columns; image 638 coders/sgi.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 641 coders/sgi.c indexes=GetAuthenticIndexQueue(image); image 642 coders/sgi.c for (x=0; x < (ssize_t) image->columns; x++) image 650 coders/sgi.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 652 coders/sgi.c if (image->previous == (Image *) NULL) image 654 coders/sgi.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 655 coders/sgi.c y,image->rows); image 662 coders/sgi.c for (y=0; y < (ssize_t) image->rows; y++) image 664 coders/sgi.c p=pixels+(image->rows-y-1)*4*image->columns; image 665 coders/sgi.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 668 coders/sgi.c indexes=GetAuthenticIndexQueue(image); image 669 coders/sgi.c for (x=0; x < (ssize_t) image->columns; x++) image 675 coders/sgi.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 677 coders/sgi.c if (image->previous == (Image *) NULL) image 679 coders/sgi.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 680 coders/sgi.c image->rows); image 685 coders/sgi.c (void) SyncImage(image); image 688 coders/sgi.c if (EOFBlob(image) != MagickFalse) image 691 coders/sgi.c image->filename); image 698 coders/sgi.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 700 coders/sgi.c iris_info.magic=ReadBlobMSBShort(image); image 706 coders/sgi.c AcquireNextImage(image_info,image); image 707 coders/sgi.c if (GetNextImageInList(image) == (Image *) NULL) image 709 coders/sgi.c image=DestroyImageList(image); image 712 coders/sgi.c image=SyncNextImageInList(image); image 713 coders/sgi.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 714 coders/sgi.c GetBlobSize(image)); image 719 coders/sgi.c (void) CloseBlob(image); image 720 coders/sgi.c return(GetFirstImageInList(image)); image 864 coders/sgi.c static MagickBooleanType WriteSGIImage(const ImageInfo *image_info,Image *image) image 910 coders/sgi.c assert(image != (Image *) NULL); image 911 coders/sgi.c assert(image->signature == MagickSignature); image 912 coders/sgi.c if (image->debug != MagickFalse) image 913 coders/sgi.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 914 coders/sgi.c if ((image->columns > 65535UL) || (image->rows > 65535UL)) image 916 coders/sgi.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 925 coders/sgi.c (void) TransformImageColorspace(image,sRGBColorspace); image 928 coders/sgi.c compression=image->compression; image 931 coders/sgi.c if (image->depth > 8) image 937 coders/sgi.c iris_info.bytes_per_pixel=(unsigned char) (image->depth > 8 ? 2 : 1); image 939 coders/sgi.c iris_info.columns=(unsigned short) image->columns; image 940 coders/sgi.c iris_info.rows=(unsigned short) image->rows; image 941 coders/sgi.c if (image->matte != MagickFalse) image 946 coders/sgi.c (SetImageGray(image,&image->exception) != MagickFalse)) image 955 coders/sgi.c iris_info.maximum_value=(size_t) (image->depth <= 8 ? image 961 coders/sgi.c (void) WriteBlobMSBShort(image,iris_info.magic); image 962 coders/sgi.c (void) WriteBlobByte(image,iris_info.storage); image 963 coders/sgi.c (void) WriteBlobByte(image,iris_info.bytes_per_pixel); image 964 coders/sgi.c (void) WriteBlobMSBShort(image,iris_info.dimension); image 965 coders/sgi.c (void) WriteBlobMSBShort(image,iris_info.columns); image 966 coders/sgi.c (void) WriteBlobMSBShort(image,iris_info.rows); image 967 coders/sgi.c (void) WriteBlobMSBShort(image,iris_info.depth); image 968 coders/sgi.c (void) WriteBlobMSBLong(image,(unsigned int) iris_info.minimum_value); image 969 coders/sgi.c (void) WriteBlobMSBLong(image,(unsigned int) iris_info.maximum_value); image 970 coders/sgi.c (void) WriteBlobMSBLong(image,(unsigned int) iris_info.sans); image 971 coders/sgi.c value=GetImageProperty(image,"label"); image 974 coders/sgi.c (void) WriteBlob(image,sizeof(iris_info.name),(unsigned char *) image 976 coders/sgi.c (void) WriteBlobMSBLong(image,(unsigned int) iris_info.pixel_format); image 977 coders/sgi.c (void) WriteBlob(image,sizeof(iris_info.filler),iris_info.filler); image 981 coders/sgi.c number_pixels=(MagickSizeType) image->columns*image->rows; image 993 coders/sgi.c for (y=0; y < (ssize_t) image->rows; y++) image 995 coders/sgi.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 998 coders/sgi.c if (image->depth <= 8) image 999 coders/sgi.c for (x=0; x < (ssize_t) image->columns; x++) image 1013 coders/sgi.c for (x=0; x < (ssize_t) image->columns; x++) image 1026 coders/sgi.c if (image->previous == (Image *) NULL) image 1028 coders/sgi.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1029 coders/sgi.c image->rows); image 1045 coders/sgi.c if (image->depth <= 8) image 1053 coders/sgi.c (void) WriteBlobByte(image,*q); image 1063 coders/sgi.c (void) WriteBlobMSBShort(image,*q); image 1091 coders/sgi.c image->rows,4*sizeof(*packets)); image 1125 coders/sgi.c (void) WriteBlobMSBLong(image,(unsigned int) offsets[i]); image 1127 coders/sgi.c (void) WriteBlobMSBLong(image,(unsigned int) runlength[i]); image 1128 coders/sgi.c (void) WriteBlob(image,number_packets,packets); image 1139 coders/sgi.c if (GetNextImageInList(image) == (Image *) NULL) image 1141 coders/sgi.c image=SyncNextImageInList(image); image 1142 coders/sgi.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1143 coders/sgi.c GetImageListLength(image)); image 1147 coders/sgi.c (void) CloseBlob(image); image 116 coders/sixel.c Image *image; image 545 coders/sixel.c sixel_output_t *sixel_output_create(Image *image) image 556 coders/sixel.c output->image = image; image 565 coders/sixel.c WriteBlob(context->image,SIXEL_OUTPUT_PACKET_SIZE,context->buffer); image 863 coders/sixel.c (void) WriteBlob(context->image,context->pos,context->buffer); image 948 coders/sixel.c *image; image 987 coders/sixel.c image=AcquireImage(image_info); image 988 coders/sixel.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 991 coders/sixel.c image=DestroyImageList(image); image 1001 coders/sixel.c while (ReadBlobString(image,p) != (char *) NULL) image 1023 coders/sixel.c if (sixel_decode((unsigned char *)sixel_buffer, &sixel_pixels, &image->columns, &image->rows, &sixel_palette, &image->colors) == MagickFalse) image 1029 coders/sixel.c image->depth=24; image 1030 coders/sixel.c image->storage_class=PseudoClass; image 1031 coders/sixel.c status=SetImageExtent(image,image->columns,image->rows); image 1034 coders/sixel.c InheritException(exception,&image->exception); image 1035 coders/sixel.c return(DestroyImageList(image)); image 1037 coders/sixel.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 1043 coders/sixel.c for (i = 0; i < (ssize_t) image->colors; ++i) { image 1044 coders/sixel.c image->colormap[i].red = ScaleCharToQuantum(sixel_palette[i * 4 + 0]); image 1045 coders/sixel.c image->colormap[i].green = ScaleCharToQuantum(sixel_palette[i * 4 + 1]); image 1046 coders/sixel.c image->colormap[i].blue = ScaleCharToQuantum(sixel_palette[i * 4 + 2]); image 1055 coders/sixel.c for (y=0; y < (ssize_t) image->rows; y++) image 1057 coders/sixel.c r=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1060 coders/sixel.c indexes=GetAuthenticIndexQueue(image); image 1061 coders/sixel.c for (x=0; x < (ssize_t) image->columns; x++) image 1063 coders/sixel.c j=(ssize_t) sixel_pixels[y * image->columns + x]; image 1067 coders/sixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1070 coders/sixel.c if (y < (ssize_t) image->rows) image 1082 coders/sixel.c (void) CloseBlob(image); image 1083 coders/sixel.c return(GetFirstImageInList(image)); image 1185 coders/sixel.c static MagickBooleanType WriteSIXELImage(const ImageInfo *image_info,Image *image) image 1216 coders/sixel.c assert(image != (Image *) NULL); image 1217 coders/sixel.c assert(image->signature == MagickSignature); image 1218 coders/sixel.c if (image->debug != MagickFalse) image 1219 coders/sixel.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1220 coders/sixel.c exception=(&image->exception); image 1221 coders/sixel.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); image 1224 coders/sixel.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1225 coders/sixel.c (void) TransformImageColorspace(image,sRGBColorspace); image 1227 coders/sixel.c if (image->matte == MagickFalse) image 1229 coders/sixel.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 1230 coders/sixel.c (void) SetImageType(image,PaletteType); image 1241 coders/sixel.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 1242 coders/sixel.c (void) SetImageType(image,PaletteBilevelMatteType); image 1243 coders/sixel.c for (i=0; i < (ssize_t) image->colors; i++) image 1244 coders/sixel.c if (image->colormap[i].opacity != OpaqueOpacity) image 1251 coders/sixel.c alpha=(MagickRealType) image->colormap[i].opacity; image 1252 coders/sixel.c beta=(MagickRealType) image->colormap[opacity].opacity; image 1258 coders/sixel.c (void) SetImageType(image,PaletteBilevelMatteType); image 1259 coders/sixel.c for (i=0; i < (ssize_t) image->colors; i++) image 1260 coders/sixel.c if (image->colormap[i].opacity != OpaqueOpacity) image 1267 coders/sixel.c alpha=(MagickRealType) image->colormap[i].opacity; image 1268 coders/sixel.c beta=(MagickRealType) image->colormap[opacity].opacity; image 1275 coders/sixel.c image->colormap[opacity].red=image->transparent_color.red; image 1276 coders/sixel.c image->colormap[opacity].green=image->transparent_color.green; image 1277 coders/sixel.c image->colormap[opacity].blue=image->transparent_color.blue; image 1283 coders/sixel.c for (i=0; i < (ssize_t) image->colors; i++) image 1285 coders/sixel.c sixel_palette[i * 3 + 0] = ScaleQuantumToChar(image->colormap[i].red); image 1286 coders/sixel.c sixel_palette[i * 3 + 1] = ScaleQuantumToChar(image->colormap[i].green); image 1287 coders/sixel.c sixel_palette[i * 3 + 2] = ScaleQuantumToChar(image->colormap[i].blue); image 1293 coders/sixel.c output = sixel_output_create(image); image 1294 coders/sixel.c sixel_pixels =(unsigned char *) AcquireQuantumMemory(image->columns * image->rows,1); image 1295 coders/sixel.c for (y=0; y < (ssize_t) image->rows; y++) image 1297 coders/sixel.c (void) GetVirtualPixels(image,0,y,image->columns,1,exception); image 1298 coders/sixel.c indexes=GetVirtualIndexQueue(image); image 1299 coders/sixel.c for (x=0; x < (ssize_t) image->columns; x++) image 1300 coders/sixel.c sixel_pixels[y * image->columns + x] = (unsigned char) ((ssize_t) GetPixelIndex(indexes + x)); image 1302 coders/sixel.c status = sixel_encode_impl(sixel_pixels, image->columns, image->rows, image 1303 coders/sixel.c sixel_palette, image->colors, -1, image 1307 coders/sixel.c (void) CloseBlob(image); image 99 coders/stegano.c *image, image 144 coders/stegano.c image=AcquireImage(image_info); image 145 coders/stegano.c if ((image->columns == 0) || (image->rows == 0)) image 155 coders/stegano.c if (AcquireImageColormap(image,MaxColormapSize) == MagickFalse) image 159 coders/stegano.c (void) CloseBlob(image); image 160 coders/stegano.c return(GetFirstImageInList(image)); image 162 coders/stegano.c status=SetImageExtent(image,image->columns,image->rows); image 165 coders/stegano.c InheritException(exception,&image->exception); image 166 coders/stegano.c return(DestroyImageList(image)); image 176 coders/stegano.c for (k=image->offset; (i >= 0) && (j < (ssize_t) depth); i--) image 178 coders/stegano.c for (y=0; (y < (ssize_t) image->rows) && (j < (ssize_t) depth); y++) image 181 coders/stegano.c for ( ; (x < (ssize_t) image->columns) && (j < (ssize_t) depth); x++) image 187 coders/stegano.c q=GetAuthenticPixels(image,x,y,1,1,exception); image 190 coders/stegano.c indexes=GetAuthenticIndexQueue(image); image 209 coders/stegano.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 217 coders/stegano.c if (k == image->offset) image 221 coders/stegano.c status=SetImageProgress(image,LoadImagesTag,(MagickOffsetType) i,depth); image 226 coders/stegano.c (void) SyncImage(image); image 227 coders/stegano.c return(GetFirstImageInList(image)); image 235 coders/sun.c *image; image 285 coders/sun.c image=AcquireImage(image_info); image 286 coders/sun.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 289 coders/sun.c image=DestroyImageList(image); image 296 coders/sun.c sun_info.magic=ReadBlobMSBLong(image); image 304 coders/sun.c sun_info.width=ReadBlobMSBLong(image); image 305 coders/sun.c sun_info.height=ReadBlobMSBLong(image); image 306 coders/sun.c sun_info.depth=ReadBlobMSBLong(image); image 307 coders/sun.c sun_info.length=ReadBlobMSBLong(image); image 308 coders/sun.c sun_info.type=ReadBlobMSBLong(image); image 309 coders/sun.c sun_info.maptype=ReadBlobMSBLong(image); image 310 coders/sun.c sun_info.maplength=ReadBlobMSBLong(image); image 324 coders/sun.c image->columns=sun_info.width; image 325 coders/sun.c image->rows=sun_info.height; image 326 coders/sun.c image->depth=sun_info.depth <= 8 ? sun_info.depth : image 333 coders/sun.c image->colors=sun_info.maplength; image 336 coders/sun.c image->colors=one << sun_info.depth; image 338 coders/sun.c image->colors=sun_info.maplength/3; image 339 coders/sun.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 354 coders/sun.c sun_colormap=(unsigned char *) AcquireQuantumMemory(image->colors, image 358 coders/sun.c count=ReadBlob(image,image->colors,sun_colormap); image 359 coders/sun.c if (count != (ssize_t) image->colors) image 361 coders/sun.c for (i=0; i < (ssize_t) image->colors; i++) image 362 coders/sun.c image->colormap[i].red=ScaleCharToQuantum(sun_colormap[i]); image 363 coders/sun.c count=ReadBlob(image,image->colors,sun_colormap); image 364 coders/sun.c if (count != (ssize_t) image->colors) image 366 coders/sun.c for (i=0; i < (ssize_t) image->colors; i++) image 367 coders/sun.c image->colormap[i].green=ScaleCharToQuantum(sun_colormap[i]); image 368 coders/sun.c count=ReadBlob(image,image->colors,sun_colormap); image 369 coders/sun.c if (count != (ssize_t) image->colors) image 371 coders/sun.c for (i=0; i < (ssize_t) image->colors; i++) image 372 coders/sun.c image->colormap[i].blue=ScaleCharToQuantum(sun_colormap[i]); image 388 coders/sun.c count=ReadBlob(image,sun_info.maplength,sun_colormap); image 397 coders/sun.c image->matte=sun_info.depth == 32 ? MagickTrue : MagickFalse; image 398 coders/sun.c image->columns=sun_info.width; image 399 coders/sun.c image->rows=sun_info.height; image 402 coders/sun.c (void) CloseBlob(image); image 403 coders/sun.c return(GetFirstImageInList(image)); image 405 coders/sun.c status=SetImageExtent(image,image->columns,image->rows); image 408 coders/sun.c InheritException(exception,&image->exception); image 409 coders/sun.c return(DestroyImageList(image)); image 414 coders/sun.c number_pixels=(MagickSizeType) (image->columns*image->rows); image 423 coders/sun.c count=(ssize_t) ReadBlob(image,sun_info.length,sun_data); image 454 coders/sun.c for (y=0; y < (ssize_t) image->rows; y++) image 456 coders/sun.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 459 coders/sun.c indexes=GetAuthenticIndexQueue(image); image 460 coders/sun.c for (x=0; x < ((ssize_t) image->columns-7); x+=8) image 466 coders/sun.c if ((image->columns % 8) != 0) image 468 coders/sun.c for (bit=7; bit >= (int) (8-(image->columns % 8)); bit--) image 472 coders/sun.c if ((((image->columns/8)+(image->columns % 8 ? 1 : 0)) % 2) != 0) image 474 coders/sun.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 476 coders/sun.c if (image->previous == (Image *) NULL) image 478 coders/sun.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 479 coders/sun.c image->rows); image 485 coders/sun.c if (image->storage_class == PseudoClass) image 487 coders/sun.c for (y=0; y < (ssize_t) image->rows; y++) image 489 coders/sun.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 492 coders/sun.c indexes=GetAuthenticIndexQueue(image); image 493 coders/sun.c for (x=0; x < (ssize_t) image->columns; x++) image 495 coders/sun.c SetPixelIndex(indexes+x,ConstrainColormapIndex(image,*p)); image 498 coders/sun.c if ((image->columns % 2) != 0) image 500 coders/sun.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 502 coders/sun.c if (image->previous == (Image *) NULL) image 504 coders/sun.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 505 coders/sun.c image->rows); image 517 coders/sun.c if (image->matte != MagickFalse) image 519 coders/sun.c for (y=0; y < (ssize_t) image->rows; y++) image 521 coders/sun.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 524 coders/sun.c for (x=0; x < (ssize_t) image->columns; x++) image 526 coders/sun.c if (image->matte != MagickFalse) image 540 coders/sun.c if (image->colors != 0) image 542 coders/sun.c SetPixelRed(q,image->colormap[(ssize_t) image 544 coders/sun.c SetPixelGreen(q,image->colormap[(ssize_t) image 546 coders/sun.c SetPixelBlue(q,image->colormap[(ssize_t) image 551 coders/sun.c if (((bytes_per_pixel*image->columns) % 2) != 0) image 553 coders/sun.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 555 coders/sun.c if (image->previous == (Image *) NULL) image 557 coders/sun.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 558 coders/sun.c image->rows); image 564 coders/sun.c if (image->storage_class == PseudoClass) image 565 coders/sun.c (void) SyncImage(image); image 567 coders/sun.c if (EOFBlob(image) != MagickFalse) image 570 coders/sun.c image->filename); image 577 coders/sun.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 579 coders/sun.c sun_info.magic=ReadBlobMSBLong(image); image 585 coders/sun.c AcquireNextImage(image_info,image); image 586 coders/sun.c if (GetNextImageInList(image) == (Image *) NULL) image 588 coders/sun.c image=DestroyImageList(image); image 591 coders/sun.c image=SyncNextImageInList(image); image 592 coders/sun.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 593 coders/sun.c GetBlobSize(image)); image 598 coders/sun.c (void) CloseBlob(image); image 599 coders/sun.c return(GetFirstImageInList(image)); image 695 coders/sun.c static MagickBooleanType WriteSUNImage(const ImageInfo *image_info,Image *image) image 746 coders/sun.c assert(image != (Image *) NULL); image 747 coders/sun.c assert(image->signature == MagickSignature); image 748 coders/sun.c if (image->debug != MagickFalse) image 749 coders/sun.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 750 coders/sun.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 759 coders/sun.c (void) TransformImageColorspace(image,sRGBColorspace); image 761 coders/sun.c if ((image->columns != (unsigned int) image->columns) || image 762 coders/sun.c (image->rows != (unsigned int) image->rows)) image 764 coders/sun.c sun_info.width=(unsigned int) image->columns; image 765 coders/sun.c sun_info.height=(unsigned int) image->rows; image 766 coders/sun.c sun_info.type=(unsigned int) (image->storage_class == DirectClass ? image 770 coders/sun.c number_pixels=(MagickSizeType) image->columns*image->rows; image 773 coders/sun.c if (image->storage_class == DirectClass) image 778 coders/sun.c sun_info.depth=(unsigned int) image->matte ? 32U : 24U; image 779 coders/sun.c sun_info.length=(unsigned int) ((image->matte ? 4 : 3)*number_pixels); image 780 coders/sun.c sun_info.length+=sun_info.length & 0x01 ? (unsigned int) image->rows : image 784 coders/sun.c if (SetImageMonochrome(image,&image->exception)) image 790 coders/sun.c sun_info.length=(unsigned int) (((image->columns+7) >> 3)* image 791 coders/sun.c image->rows); image 792 coders/sun.c sun_info.length+=(unsigned int) (((image->columns/8)+(image->columns % image 793 coders/sun.c 8 ? 1 : 0)) % 2 ? image->rows : 0); image 802 coders/sun.c sun_info.length+=(unsigned int) (image->columns & 0x01 ? image->rows : image 805 coders/sun.c sun_info.maplength=(unsigned int) (3*image->colors); image 810 coders/sun.c (void) WriteBlobMSBLong(image,sun_info.magic); image 811 coders/sun.c (void) WriteBlobMSBLong(image,sun_info.width); image 812 coders/sun.c (void) WriteBlobMSBLong(image,sun_info.height); image 813 coders/sun.c (void) WriteBlobMSBLong(image,sun_info.depth); image 814 coders/sun.c (void) WriteBlobMSBLong(image,sun_info.length); image 815 coders/sun.c (void) WriteBlobMSBLong(image,sun_info.type); image 816 coders/sun.c (void) WriteBlobMSBLong(image,sun_info.maptype); image 817 coders/sun.c (void) WriteBlobMSBLong(image,sun_info.maplength); image 823 coders/sun.c if (image->storage_class == DirectClass) image 839 coders/sun.c if (image->matte != MagickFalse) image 841 coders/sun.c length=image->columns; image 848 coders/sun.c for (y=0; y < (ssize_t) image->rows; y++) image 850 coders/sun.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 854 coders/sun.c for (x=0; x < (ssize_t) image->columns; x++) image 856 coders/sun.c if (image->matte != MagickFalse) image 863 coders/sun.c if (((bytes_per_pixel*image->columns) & 0x01) != 0) image 865 coders/sun.c (void) WriteBlob(image,(size_t) (q-pixels),pixels); image 866 coders/sun.c if (image->previous == (Image *) NULL) image 868 coders/sun.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 869 coders/sun.c image->rows); image 877 coders/sun.c if (SetImageMonochrome(image,&image->exception)) image 886 coders/sun.c (void) SetImageType(image,BilevelType); image 887 coders/sun.c for (y=0; y < (ssize_t) image->rows; y++) image 889 coders/sun.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 892 coders/sun.c indexes=GetVirtualIndexQueue(image); image 895 coders/sun.c for (x=0; x < (ssize_t) image->columns; x++) image 898 coders/sun.c if (GetPixelLuma(image,p) < (QuantumRange/2.0)) image 903 coders/sun.c (void) WriteBlobByte(image,byte); image 910 coders/sun.c (void) WriteBlobByte(image,(unsigned char) (byte << (8-bit))); image 911 coders/sun.c if ((((image->columns/8)+ image 912 coders/sun.c (image->columns % 8 ? 1 : 0)) % 2) != 0) image 913 coders/sun.c (void) WriteBlobByte(image,0); /* pad scanline */ image 914 coders/sun.c if (image->previous == (Image *) NULL) image 916 coders/sun.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 917 coders/sun.c image->rows); image 928 coders/sun.c for (i=0; i < (ssize_t) image->colors; i++) image 929 coders/sun.c (void) WriteBlobByte(image,ScaleQuantumToChar( image 930 coders/sun.c image->colormap[i].red)); image 931 coders/sun.c for (i=0; i < (ssize_t) image->colors; i++) image 932 coders/sun.c (void) WriteBlobByte(image,ScaleQuantumToChar( image 933 coders/sun.c image->colormap[i].green)); image 934 coders/sun.c for (i=0; i < (ssize_t) image->colors; i++) image 935 coders/sun.c (void) WriteBlobByte(image,ScaleQuantumToChar( image 936 coders/sun.c image->colormap[i].blue)); image 940 coders/sun.c for (y=0; y < (ssize_t) image->rows; y++) image 942 coders/sun.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 945 coders/sun.c indexes=GetVirtualIndexQueue(image); image 946 coders/sun.c for (x=0; x < (ssize_t) image->columns; x++) image 948 coders/sun.c (void) WriteBlobByte(image,(unsigned char) image 952 coders/sun.c if (image->columns & 0x01) image 953 coders/sun.c (void) WriteBlobByte(image,0); /* pad scanline */ image 954 coders/sun.c if (image->previous == (Image *) NULL) image 956 coders/sun.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 957 coders/sun.c image->rows); image 963 coders/sun.c if (GetNextImageInList(image) == (Image *) NULL) image 965 coders/sun.c image=SyncNextImageInList(image); image 966 coders/sun.c status=SetImageProgress(image,SaveImagesTag,scene++, image 967 coders/sun.c GetImageListLength(image)); image 971 coders/sun.c (void) CloseBlob(image); image 135 coders/svg.c *image; image 1126 coders/svg.c GetTypeMetrics(svg_info->image,draw_info,&metrics); image 2447 coders/svg.c GetTypeMetrics(svg_info->image,draw_info,&metrics); image 2757 coders/svg.c *image, image 2789 coders/svg.c image=AcquireImage(image_info); image 2790 coders/svg.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 2793 coders/svg.c image=DestroyImageList(image); image 2796 coders/svg.c if ((image->x_resolution < MagickEpsilon) || image 2797 coders/svg.c (image->y_resolution < MagickEpsilon)) image 2806 coders/svg.c image->x_resolution=geometry_info.rho; image 2807 coders/svg.c image->y_resolution=geometry_info.sigma; image 2809 coders/svg.c image->y_resolution=image->x_resolution; image 2837 coders/svg.c status=AcquireUniqueSymbolicLink(image->filename,input_filename); image 2842 coders/svg.c image->x_resolution,image->y_resolution); image 2845 coders/svg.c 100.0*QuantumScale*image->background_color.red, image 2846 coders/svg.c 100.0*QuantumScale*image->background_color.green, image 2847 coders/svg.c 100.0*QuantumScale*image->background_color.blue); image 2849 coders/svg.c (QuantumRange-image->background_color.opacity)); image 2877 coders/svg.c (void) CopyMagickString(next->filename,image->filename, image 2879 coders/svg.c (void) CopyMagickString(next->magick,image->magick, image 2883 coders/svg.c image=DestroyImage(image); image 2940 coders/svg.c if ((image->x_resolution != 90.0) && (image->y_resolution != 90.0)) image 2941 coders/svg.c rsvg_handle_set_dpi_x_y(svg_handle,image->x_resolution, image 2942 coders/svg.c image->y_resolution); image 2943 coders/svg.c while ((n=ReadBlob(image,MaxTextExtent,message)) != 0) image 2956 coders/svg.c image->columns=image->x_resolution*dimension_info.width/90.0; image 2957 coders/svg.c image->rows=image->y_resolution*dimension_info.height/90.0; image 2962 coders/svg.c image->columns=gdk_pixbuf_get_width(pixel_buffer); image 2963 coders/svg.c image->rows=gdk_pixbuf_get_height(pixel_buffer); image 2965 coders/svg.c status=SetImageExtent(image,image->columns,image->rows); image 2968 coders/svg.c InheritException(exception,&image->exception); image 2969 coders/svg.c return(DestroyImageList(image)); image 2971 coders/svg.c image->matte=MagickTrue; image 2972 coders/svg.c SetImageProperty(image,"svg:base-uri", image 2974 coders/svg.c if ((image->columns == 0) || (image->rows == 0)) image 2989 coders/svg.c stride=4*image->columns; image 2992 coders/svg.c (int) image->columns); image 2994 coders/svg.c pixel_info=AcquireVirtualMemory(stride,image->rows*sizeof(*pixels)); image 3003 coders/svg.c (void) SetImageBackgroundColor(image); image 3006 coders/svg.c CAIRO_FORMAT_ARGB32,(int) image->columns,(int) image->rows, (int) image 3019 coders/svg.c cairo_scale(cairo_image,image->x_resolution/90.0, image 3020 coders/svg.c image->y_resolution/90.0); image 3029 coders/svg.c for (y=0; y < (ssize_t) image->rows; y++) image 3031 coders/svg.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 3034 coders/svg.c for (x=0; x < (ssize_t) image->columns; x++) image 3062 coders/svg.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3064 coders/svg.c if (image->previous == (Image *) NULL) image 3066 coders/svg.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) image 3067 coders/svg.c y,image->rows); image 3079 coders/svg.c (void) CloseBlob(image); image 3080 coders/svg.c for (next=GetFirstImageInList(image); next != (Image *) NULL; ) image 3082 coders/svg.c (void) CopyMagickString(next->filename,image->filename,MaxTextExtent); image 3083 coders/svg.c (void) CopyMagickString(next->magick,image->magick,MaxTextExtent); image 3086 coders/svg.c return(GetFirstImageInList(image)); image 3099 coders/svg.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 3101 coders/svg.c image->filename); image 3102 coders/svg.c image=DestroyImageList(image); image 3116 coders/svg.c svg_info->image=image; image 3118 coders/svg.c svg_info->bounds.width=image->columns; image 3119 coders/svg.c svg_info->bounds.height=image->rows; image 3122 coders/svg.c if (image->debug != MagickFalse) image 3154 coders/svg.c n=ReadBlob(image,MaxTextExtent,message); image 3158 coders/svg.c message,n,image->filename); image 3159 coders/svg.c while ((n=ReadBlob(image,MaxTextExtent,message)) != 0) image 3168 coders/svg.c if (image->debug != MagickFalse) image 3171 coders/svg.c (void) CloseBlob(image); image 3172 coders/svg.c image->columns=svg_info->width; image 3173 coders/svg.c image->rows=svg_info->height; image 3176 coders/svg.c image=DestroyImage(image); image 3187 coders/svg.c image=DestroyImage(image); image 3188 coders/svg.c image=(Image *) NULL; image 3195 coders/svg.c image=ReadImage(read_info,exception); image 3197 coders/svg.c if (image != (Image *) NULL) image 3198 coders/svg.c (void) CopyMagickString(image->filename,image_info->filename, image 3204 coders/svg.c if (image != (Image *) NULL) image 3207 coders/svg.c (void) SetImageProperty(image,"svg:title",svg_info->title); image 3209 coders/svg.c (void) SetImageProperty(image,"svg:comment",svg_info->comment); image 3213 coders/svg.c for (next=GetFirstImageInList(image); next != (Image *) NULL; ) image 3215 coders/svg.c (void) CopyMagickString(next->filename,image->filename,MaxTextExtent); image 3216 coders/svg.c (void) CopyMagickString(next->magick,image->magick,MaxTextExtent); image 3219 coders/svg.c return(GetFirstImageInList(image)); image 3365 coders/svg.c static void AffineToTransform(Image *image,AffineMatrix *affine) image 3378 coders/svg.c (void) WriteBlobString(image,"\">\n"); image 3383 coders/svg.c (void) WriteBlobString(image,transform); image 3399 coders/svg.c (void) WriteBlobString(image,transform); image 3413 coders/svg.c (void) WriteBlobString(image,transform); image 3420 coders/svg.c (void) WriteBlobString(image,transform); image 3436 coders/svg.c static MagickBooleanType TraceSVGImage(Image *image,ExceptionInfo *exception) image 3473 coders/svg.c type=GetImageType(image,exception); image 3477 coders/svg.c trace=at_bitmap_new(image->columns,image->rows,number_planes); image 3479 coders/svg.c for (y=0; y < (ssize_t) image->rows; y++) image 3481 coders/svg.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 3484 coders/svg.c for (x=0; x < (ssize_t) image->columns; x++) image 3498 coders/svg.c GetBlobFileHandle(image),image->filename,output_options,splines,NULL, image 3533 coders/svg.c (void) WriteBlobString(image, image 3535 coders/svg.c (void) WriteBlobString(image, image 3537 coders/svg.c (void) WriteBlobString(image, image 3545 coders/svg.c (double) image->columns,(double) image->rows, image 3546 coders/svg.c (double) image->columns,(double) image->rows, image 3547 coders/svg.c (double) image->columns,(double) image->rows); image 3548 coders/svg.c (void) WriteBlobString(image,message); image 3549 coders/svg.c clone_image=CloneImage(image,0,0,MagickTrue,exception); image 3567 coders/svg.c (double) image->scene,(double) image->columns,(double) image->rows, image 3568 coders/svg.c (double) image->page.x,(double) image->page.y); image 3569 coders/svg.c (void) WriteBlobString(image,message); image 3574 coders/svg.c (void) WriteBlobString(image,message); image 3577 coders/svg.c (void) WriteBlobString(image,"\n"); image 3580 coders/svg.c (void) WriteBlobString(image,"\" />\n"); image 3581 coders/svg.c (void) WriteBlobString(image,"</svg>\n"); image 3587 coders/svg.c static MagickBooleanType WriteSVGImage(const ImageInfo *image_info,Image *image) image 3645 coders/svg.c assert(image != (Image *) NULL); image 3646 coders/svg.c assert(image->signature == MagickSignature); image 3647 coders/svg.c if (image->debug != MagickFalse) image 3648 coders/svg.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3649 coders/svg.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 3652 coders/svg.c value=GetImageArtifact(image,"SVG"); image 3655 coders/svg.c (void) WriteBlobString(image,value); image 3656 coders/svg.c (void) CloseBlob(image); image 3659 coders/svg.c value=GetImageArtifact(image,"MVG"); image 3661 coders/svg.c return(TraceSVGImage(image,&image->exception)); image 3665 coders/svg.c (void) WriteBlobString(image,"<?xml version=\"1.0\" standalone=\"no\"?>\n"); image 3666 coders/svg.c (void) WriteBlobString(image, image 3668 coders/svg.c (void) WriteBlobString(image, image 3671 coders/svg.c "<svg width=\"%.20g\" height=\"%.20g\">\n",(double) image->columns,(double) image 3672 coders/svg.c image->rows); image 3673 coders/svg.c (void) WriteBlobString(image,message); image 3702 coders/svg.c AffineToTransform(image,&affine); image 3705 coders/svg.c (void) WriteBlobString(image,"<desc>"); image 3706 coders/svg.c (void) WriteBlobString(image,keyword+1); image 3710 coders/svg.c case '<': (void) WriteBlobString(image,"<"); break; image 3711 coders/svg.c case '>': (void) WriteBlobString(image,">"); break; image 3712 coders/svg.c case '&': (void) WriteBlobString(image,"&"); break; image 3713 coders/svg.c default: (void) WriteBlobByte(image,*q); break; image 3715 coders/svg.c (void) WriteBlobString(image,"</desc>\n"); image 3786 coders/svg.c (void) WriteBlobString(image,message); image 3794 coders/svg.c (void) WriteBlobString(image,message); image 3802 coders/svg.c (void) WriteBlobString(image,message); image 3826 coders/svg.c (void) WriteBlobString(image,message); image 3851 coders/svg.c (void) WriteBlobString(image,message); image 3859 coders/svg.c (void) WriteBlobString(image,message); image 3867 coders/svg.c (void) WriteBlobString(image,message); image 3875 coders/svg.c (void) WriteBlobString(image,message); image 3883 coders/svg.c (void) WriteBlobString(image,message); image 3891 coders/svg.c (void) WriteBlobString(image,message); image 3899 coders/svg.c (void) WriteBlobString(image,message); image 3907 coders/svg.c (void) WriteBlobString(image,message); image 3926 coders/svg.c (void) WriteBlobString(image,message); image 3934 coders/svg.c (void) WriteBlobString(image,message); image 3982 coders/svg.c (void) WriteBlobString(image,message); image 4016 coders/svg.c (void) WriteBlobString(image,"</clipPath>\n"); image 4021 coders/svg.c (void) WriteBlobString(image,"</defs>\n"); image 4028 coders/svg.c (void) WriteBlobString(image,message); image 4037 coders/svg.c (void) WriteBlobString(image,"</g>\n"); image 4041 coders/svg.c (void) WriteBlobString(image,"</pattern>\n"); image 4045 coders/svg.c (void) WriteBlobString(image,"</g>\n"); image 4056 coders/svg.c (void) WriteBlobString(image,message); image 4061 coders/svg.c (void) WriteBlobString(image,"<defs>\n"); image 4108 coders/svg.c (void) WriteBlobString(image,message); image 4116 coders/svg.c AffineToTransform(image,&affine); image 4119 coders/svg.c (void) WriteBlobString(image,"<g style=\""); image 4147 coders/svg.c (void) WriteBlobString(image,message); image 4173 coders/svg.c (void) WriteBlobString(image,message); image 4197 coders/svg.c (void) WriteBlobString(image,message); image 4205 coders/svg.c (void) WriteBlobString(image,message); image 4218 coders/svg.c (void) WriteBlobString(image,message); image 4226 coders/svg.c (void) WriteBlobString(image,message); image 4234 coders/svg.c (void) WriteBlobString(image,message); image 4248 coders/svg.c (void) WriteBlobString(image,"stroke-dasharray:"); image 4254 coders/svg.c (void) WriteBlobString(image,message); image 4256 coders/svg.c (void) WriteBlobString(image,";"); image 4262 coders/svg.c (void) WriteBlobString(image,message); image 4270 coders/svg.c (void) WriteBlobString(image,message); image 4278 coders/svg.c (void) WriteBlobString(image,message); image 4286 coders/svg.c (void) WriteBlobString(image,message); image 4294 coders/svg.c (void) WriteBlobString(image,message); image 4302 coders/svg.c (void) WriteBlobString(image,message); image 4310 coders/svg.c (void) WriteBlobString(image,message); image 4329 coders/svg.c (void) WriteBlobString(image,message); image 4413 coders/svg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 4414 coders/svg.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 4424 coders/svg.c AffineToTransform(image,&affine); image 4451 coders/svg.c (void) WriteBlobString(image,message); image 4466 coders/svg.c (void) WriteBlobString(image,message); image 4483 coders/svg.c (void) WriteBlobString(image,message); image 4506 coders/svg.c (void) WriteBlobString(image,message); image 4526 coders/svg.c (void) WriteBlobString(image,message); image 4537 coders/svg.c (void) WriteBlobString(image,message); image 4546 coders/svg.c (void) WriteBlobString(image,"\n "); image 4549 coders/svg.c (void) WriteBlobString(image,message); image 4551 coders/svg.c (void) WriteBlobString(image,"\"/>\n"); image 4566 coders/svg.c (void) WriteBlobString(image,message); image 4575 coders/svg.c (void) WriteBlobString(image,"\n "); image 4578 coders/svg.c (void) WriteBlobString(image,message); image 4580 coders/svg.c (void) WriteBlobString(image,"\"/>\n"); image 4609 coders/svg.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 4611 coders/svg.c image->filename); image 4615 coders/svg.c (void) WriteBlobString(image," <path d=\""); image 4616 coders/svg.c (void) WriteBlobString(image,token); image 4617 coders/svg.c (void) WriteBlobString(image,"\"/>\n"); image 4655 coders/svg.c (void) WriteBlobString(image,message); image 4659 coders/svg.c case '<': (void) WriteBlobString(image,"<"); break; image 4660 coders/svg.c case '>': (void) WriteBlobString(image,">"); break; image 4661 coders/svg.c case '&': (void) WriteBlobString(image,"&"); break; image 4662 coders/svg.c default: (void) WriteBlobByte(image,*p); break; image 4664 coders/svg.c (void) WriteBlobString(image,"</text>\n"); image 4680 coders/svg.c (void) WriteBlobString(image,message); image 4690 coders/svg.c (void) WriteBlobString(image,"</svg>\n"); image 4697 coders/svg.c (void) CloseBlob(image); image 149 coders/tga.c *image; image 203 coders/tga.c image=AcquireImage(image_info); image 204 coders/tga.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 207 coders/tga.c image=DestroyImageList(image); image 213 coders/tga.c count=ReadBlob(image,1,&tga_info.id_length); image 214 coders/tga.c tga_info.colormap_type=(unsigned char) ReadBlobByte(image); image 215 coders/tga.c tga_info.image_type=(TGAImageType) ReadBlobByte(image); image 227 coders/tga.c tga_info.colormap_index=ReadBlobLSBShort(image); image 228 coders/tga.c tga_info.colormap_length=ReadBlobLSBShort(image); image 229 coders/tga.c tga_info.colormap_size=(unsigned char) ReadBlobByte(image); image 230 coders/tga.c tga_info.x_origin=ReadBlobLSBShort(image); image 231 coders/tga.c tga_info.y_origin=ReadBlobLSBShort(image); image 232 coders/tga.c tga_info.width=(unsigned short) ReadBlobLSBShort(image); image 233 coders/tga.c tga_info.height=(unsigned short) ReadBlobLSBShort(image); image 234 coders/tga.c tga_info.bits_per_pixel=(unsigned char) ReadBlobByte(image); image 235 coders/tga.c tga_info.attributes=(unsigned char) ReadBlobByte(image); image 236 coders/tga.c if (EOFBlob(image) != MagickFalse) image 244 coders/tga.c image->columns=tga_info.width; image 245 coders/tga.c image->rows=tga_info.height; image 247 coders/tga.c image->matte=(alpha_bits > 0) || (tga_info.bits_per_pixel == 32) || image 251 coders/tga.c image->depth=(size_t) ((tga_info.bits_per_pixel <= 8) ? 8 : image 254 coders/tga.c image->depth=(size_t) ((tga_info.colormap_size <= 8) ? 8 : image 260 coders/tga.c image->storage_class=PseudoClass; image 261 coders/tga.c image->compression=NoCompression; image 265 coders/tga.c image->compression=RLECompression; image 266 coders/tga.c if (image->storage_class == PseudoClass) image 269 coders/tga.c image->colors=tga_info.colormap_index+tga_info.colormap_length; image 276 coders/tga.c image->colors=one << tga_info.bits_per_pixel; image 277 coders/tga.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 299 coders/tga.c (void) ReadBlob(image,tga_info.id_length,(unsigned char *) comment); image 301 coders/tga.c (void) SetImageProperty(image,"comment",comment); image 307 coders/tga.c SetImageArtifact(image,"tga:image-origin","TopRight"); image 309 coders/tga.c SetImageArtifact(image,"tga:image-origin","BottomRight"); image 314 coders/tga.c SetImageArtifact(image,"tga:image-origin","TopLeft"); image 316 coders/tga.c SetImageArtifact(image,"tga:image-origin","BottomLeft"); image 320 coders/tga.c (void) CloseBlob(image); image 321 coders/tga.c return(image); image 323 coders/tga.c status=SetImageExtent(image,image->columns,image->rows); image 326 coders/tga.c InheritException(exception,&image->exception); image 327 coders/tga.c return(DestroyImageList(image)); image 336 coders/tga.c if (image->colors < tga_info.colormap_index) image 337 coders/tga.c image->colors=tga_info.colormap_index; image 338 coders/tga.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 341 coders/tga.c image->colormap[i]=pixel; image 342 coders/tga.c for ( ; i < (ssize_t) image->colors; i++) image 352 coders/tga.c pixel.red=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 366 coders/tga.c j=(unsigned char) ReadBlobByte(image); image 367 coders/tga.c k=(unsigned char) ReadBlobByte(image); image 380 coders/tga.c pixel.blue=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 381 coders/tga.c pixel.green=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 382 coders/tga.c pixel.red=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 390 coders/tga.c pixel.blue=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 391 coders/tga.c pixel.green=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 392 coders/tga.c pixel.red=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); image 394 coders/tga.c (unsigned char) ReadBlobByte(image))); image 398 coders/tga.c image->colormap[i]=pixel; image 411 coders/tga.c for (y=0; y < (ssize_t) image->rows; y++) image 415 coders/tga.c real=image->rows-real-1; image 416 coders/tga.c q=QueueAuthenticPixels(image,0,(ssize_t) real,image->columns,1,exception); image 419 coders/tga.c indexes=GetAuthenticIndexQueue(image); image 420 coders/tga.c for (x=0; x < (ssize_t) image->columns; x++) image 433 coders/tga.c count=ReadBlob(image,1,&runlength); image 451 coders/tga.c index=(IndexPacket) ReadBlobByte(image); image 453 coders/tga.c pixel=image->colormap[(ssize_t) ConstrainColormapIndex(image, image 472 coders/tga.c if (ReadBlob(image,2,pixels) != 2) image 481 coders/tga.c if (image->matte != MagickFalse) image 484 coders/tga.c if (image->storage_class == PseudoClass) image 485 coders/tga.c index=ConstrainColormapIndex(image,((size_t) k << 8)+j); image 493 coders/tga.c if (ReadBlob(image,3,pixels) != 3) image 505 coders/tga.c if (ReadBlob(image,4,pixels) != 4) image 517 coders/tga.c if (image->storage_class == PseudoClass) image 522 coders/tga.c if (image->matte != MagickFalse) image 535 coders/tga.c if (offset >= image->rows) image 540 coders/tga.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 542 coders/tga.c if (image->previous == (Image *) NULL) image 544 coders/tga.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 545 coders/tga.c image->rows); image 550 coders/tga.c if (EOFBlob(image) != MagickFalse) image 552 coders/tga.c image->filename); image 553 coders/tga.c (void) CloseBlob(image); image 554 coders/tga.c return(GetFirstImageInList(image)); image 668 coders/tga.c static inline void WriteTGAPixel(Image *image,TGAImageType image_type, image 673 coders/tga.c (void) WriteBlobByte(image,(unsigned char) GetPixelIndex(indexes)); image 677 coders/tga.c (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( image 678 coders/tga.c GetPixelLuma(image,p)))); image 680 coders/tga.c if (image->depth == 5) image 689 coders/tga.c (void) WriteBlobByte(image,value); image 690 coders/tga.c value=(unsigned char) ((((image->matte != MagickFalse) && image 694 coders/tga.c (void) WriteBlobByte(image,value); image 698 coders/tga.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelBlue(p))); image 699 coders/tga.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelGreen(p))); image 700 coders/tga.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelRed(p))); image 701 coders/tga.c if (image->matte != MagickFalse) image 702 coders/tga.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelAlpha(p))); image 707 coders/tga.c static MagickBooleanType WriteTGAImage(const ImageInfo *image_info,Image *image) image 751 coders/tga.c assert(image != (Image *) NULL); image 752 coders/tga.c assert(image->signature == MagickSignature); image 753 coders/tga.c if (image->debug != MagickFalse) image 754 coders/tga.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 755 coders/tga.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 761 coders/tga.c if ((image->columns > 65535L) || (image->rows > 65535L)) image 763 coders/tga.c (void) TransformImageColorspace(image,sRGBColorspace); image 764 coders/tga.c compression=image->compression; image 769 coders/tga.c value=GetImageProperty(image,"comment"); image 778 coders/tga.c tga_info.width=(unsigned short) image->columns; image 779 coders/tga.c tga_info.height=(unsigned short) image->rows; image 785 coders/tga.c (image->matte == MagickFalse) && image 786 coders/tga.c (SetImageGray(image,&image->exception) != MagickFalse)) image 790 coders/tga.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 799 coders/tga.c if (image->matte != MagickFalse) image 805 coders/tga.c if (image->matte != MagickFalse) image 820 coders/tga.c tga_info.colormap_length=(unsigned short) image->colors; image 826 coders/tga.c value=GetImageArtifact(image,"tga:image-origin"); image 842 coders/tga.c (void) WriteBlobByte(image,tga_info.id_length); image 843 coders/tga.c (void) WriteBlobByte(image,tga_info.colormap_type); image 844 coders/tga.c (void) WriteBlobByte(image,(unsigned char) tga_info.image_type); image 845 coders/tga.c (void) WriteBlobLSBShort(image,tga_info.colormap_index); image 846 coders/tga.c (void) WriteBlobLSBShort(image,tga_info.colormap_length); image 847 coders/tga.c (void) WriteBlobByte(image,tga_info.colormap_size); image 848 coders/tga.c (void) WriteBlobLSBShort(image,tga_info.x_origin); image 849 coders/tga.c (void) WriteBlobLSBShort(image,tga_info.y_origin); image 850 coders/tga.c (void) WriteBlobLSBShort(image,tga_info.width); image 851 coders/tga.c (void) WriteBlobLSBShort(image,tga_info.height); image 852 coders/tga.c (void) WriteBlobByte(image,tga_info.bits_per_pixel); image 853 coders/tga.c (void) WriteBlobByte(image,tga_info.attributes); image 855 coders/tga.c (void) WriteBlob(image,tga_info.id_length,(unsigned char *) value); image 871 coders/tga.c for (i=0; i < (ssize_t) image->colors; i++) image 875 coders/tga.c green=(unsigned char) ScaleQuantumToAny(image->colormap[i].green, image 877 coders/tga.c *q++=((unsigned char) ScaleQuantumToAny(image->colormap[i].blue, image 879 coders/tga.c *q++=(((image->matte != MagickFalse) && ( image 880 coders/tga.c (double) image->colormap[i].opacity < midpoint)) ? 0x80 : 0) | image 881 coders/tga.c ((unsigned char) ScaleQuantumToAny(image->colormap[i].red, image 886 coders/tga.c *q++=ScaleQuantumToChar(image->colormap[i].blue); image 887 coders/tga.c *q++=ScaleQuantumToChar(image->colormap[i].green); image 888 coders/tga.c *q++=ScaleQuantumToChar(image->colormap[i].red); image 891 coders/tga.c (void) WriteBlob(image,(size_t) ((tga_info.colormap_size/8)* image 898 coders/tga.c for (y=(ssize_t) (image->rows-1); y >= 0; y--) image 900 coders/tga.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 903 coders/tga.c indexes=GetVirtualIndexQueue(image); image 908 coders/tga.c while (x < (ssize_t) image->columns) image 912 coders/tga.c ((x + i) < (ssize_t) image->columns)) image 922 coders/tga.c if (GetPixelLuma(image,p+i) != GetPixelLuma(image,p+(i-1))) image 931 coders/tga.c if ((image->matte != MagickFalse) && image 944 coders/tga.c ((x + i) == (ssize_t) image->columns)) image 948 coders/tga.c (void) WriteBlobByte(image,(unsigned char) (--count)); image 951 coders/tga.c WriteTGAPixel(image,tga_info.image_type,indexes-(count+1), image 960 coders/tga.c (void) WriteBlobByte(image,(unsigned char) ((i-1) | 0x80)); image 961 coders/tga.c WriteTGAPixel(image,tga_info.image_type,indexes,p,range,midpoint); image 970 coders/tga.c for (x=0; x < (ssize_t) image->columns; x++) image 971 coders/tga.c WriteTGAPixel(image,tga_info.image_type,indexes+x,p++,range,midpoint); image 973 coders/tga.c if (image->previous == (Image *) NULL) image 975 coders/tga.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 976 coders/tga.c image->rows); image 981 coders/tga.c (void) CloseBlob(image); image 154 coders/thumbnail.c Image *image) image 183 coders/thumbnail.c profile=GetImageProfile(image,"exif"); image 186 coders/thumbnail.c property=GetImageProperty(image,"exif:JPEGInterchangeFormat"); image 190 coders/thumbnail.c property=GetImageProperty(image,"exif:JPEGInterchangeFormatLength"); image 204 coders/thumbnail.c length,&image->exception); image 209 coders/thumbnail.c (void) CopyMagickString(thumbnail_image->filename,image->filename, image 212 coders/thumbnail.c (void) SetImageInfo(write_info,1,&image->exception); image 318 coders/tiff.c *image; image 347 coders/tiff.c image=AcquireImage(image_info); image 348 coders/tiff.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 351 coders/tiff.c image=DestroyImageList(image); image 366 coders/tiff.c length=WriteLSBLong(file,image->columns); image 368 coders/tiff.c length=WriteLSBLong(file,image->rows); image 379 coders/tiff.c length=WriteLSBLong(file,image->rows); image 388 coders/tiff.c length=WriteLSBLong(file,(size_t) (image->x_resolution+0.5)); image 390 coders/tiff.c for (length=0; (c=ReadBlobByte(image)) != EOF; length++) image 395 coders/tiff.c (void) CloseBlob(image); image 396 coders/tiff.c image=DestroyImage(image); image 402 coders/tiff.c image=ReadTIFFImage(read_info,exception); image 404 coders/tiff.c if (image != (Image *) NULL) image 406 coders/tiff.c (void) CopyMagickString(image->filename,image_info->filename, image 408 coders/tiff.c (void) CopyMagickString(image->magick_filename,image_info->filename, image 410 coders/tiff.c (void) CopyMagickString(image->magick,"GROUP4",MaxTextExtent); image 413 coders/tiff.c return(image); image 456 coders/tiff.c static MagickBooleanType DecodeLabImage(Image *image,ExceptionInfo *exception) image 468 coders/tiff.c image_view=AcquireAuthenticCacheView(image,exception); image 469 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 479 coders/tiff.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 485 coders/tiff.c for (x=0; x < (ssize_t) image->columns; x++) image 508 coders/tiff.c static MagickBooleanType ReadProfile(Image *image,const char *name, image 522 coders/tiff.c image->filename); image 523 coders/tiff.c status=SetImageProfile(image,name,profile); image 527 coders/tiff.c image->filename); image 535 coders/tiff.c static int TIFFCloseBlob(thandle_t image) image 537 coders/tiff.c (void) CloseBlob((Image *) image); image 561 coders/tiff.c static toff_t TIFFGetBlobSize(thandle_t image) image 563 coders/tiff.c return((toff_t) GetBlobSize((Image *) image)); image 566 coders/tiff.c static void TIFFGetProfiles(TIFF *tiff,Image *image,MagickBooleanType ping) image 580 coders/tiff.c (void) ReadProfile(image,"icc",profile,(ssize_t) length); image 585 coders/tiff.c (void) ReadProfile(image,"8bim",profile,(ssize_t) length); image 593 coders/tiff.c (void) ReadProfile(image,"iptc",profile,4L*length); image 599 coders/tiff.c (void) ReadProfile(image,"xmp",profile,(ssize_t) length); image 603 coders/tiff.c (void) ReadProfile(image,"tiff:34118",profile,(ssize_t) length); image 607 coders/tiff.c (void) ReadProfile(image,"tiff:37724",profile,(ssize_t) length); image 610 coders/tiff.c static void TIFFGetProperties(TIFF *tiff,Image *image) image 625 coders/tiff.c (void) SetImageProperty(image,"tiff:artist",text); image 627 coders/tiff.c (void) SetImageProperty(image,"tiff:copyright",text); image 629 coders/tiff.c (void) SetImageProperty(image,"tiff:timestamp",text); image 631 coders/tiff.c (void) SetImageProperty(image,"tiff:document",text); image 633 coders/tiff.c (void) SetImageProperty(image,"tiff:hostcomputer",text); image 635 coders/tiff.c (void) SetImageProperty(image,"comment",text); image 637 coders/tiff.c (void) SetImageProperty(image,"tiff:make",text); image 639 coders/tiff.c (void) SetImageProperty(image,"tiff:model",text); image 645 coders/tiff.c (void) SetImageProperty(image,"tiff:image-id",message); image 648 coders/tiff.c (void) SetImageProperty(image,"label",text); image 650 coders/tiff.c (void) SetImageProperty(image,"tiff:software",text); image 656 coders/tiff.c (void) SetImageProperty(image,"tiff:kodak-33423",message); image 663 coders/tiff.c (void) SetImageProperty(image,"tiff:kodak-36867",message); image 670 coders/tiff.c (void) SetImageProperty(image,"tiff:subfiletype","REDUCEDIMAGE"); image 675 coders/tiff.c (void) SetImageProperty(image,"tiff:subfiletype","PAGE"); image 680 coders/tiff.c (void) SetImageProperty(image,"tiff:subfiletype","MASK"); image 689 coders/tiff.c (void) SetImageProperty(image,"tiff:tietz_offset",message); image 693 coders/tiff.c static void TIFFGetEXIFProperties(TIFF *tiff,Image *image) image 823 coders/tiff.c (void) SetImageProperty(image,exif_info[i].property,value); image 828 coders/tiff.c (void) image; image 832 coders/tiff.c static int TIFFMapBlob(thandle_t image,tdata_t *base,toff_t *size) image 834 coders/tiff.c *base=(tdata_t *) GetBlobStreamData((Image *) image); image 836 coders/tiff.c *size=(toff_t) GetBlobSize((Image *) image); image 842 coders/tiff.c static tsize_t TIFFReadBlob(thandle_t image,tdata_t data,tsize_t size) image 847 coders/tiff.c count=(tsize_t) ReadBlob((Image *) image,(size_t) size, image 863 coders/tiff.c static toff_t TIFFSeekBlob(thandle_t image,toff_t offset,int whence) image 865 coders/tiff.c return((toff_t) SeekBlob((Image *) image,(MagickOffsetType) offset,whence)); image 868 coders/tiff.c static void TIFFUnmapBlob(thandle_t image,tdata_t base,toff_t size) image 870 coders/tiff.c (void) image; image 895 coders/tiff.c static tsize_t TIFFWriteBlob(thandle_t image,tdata_t data,tsize_t size) image 900 coders/tiff.c count=(tsize_t) WriteBlob((Image *) image,(size_t) size, image 905 coders/tiff.c static TIFFMethodType GetJPEGMethod(Image* image,TIFF *tiff,uint16 photometric, image 940 coders/tiff.c position=TellBlob(image); image 942 coders/tiff.c if (SeekBlob(image,offset,SEEK_SET) != offset) image 945 coders/tiff.c if (ReadBlob(image,BUFFER_SIZE,buffer) == BUFFER_SIZE) image 977 coders/tiff.c (void) SeekBlob(image,position,SEEK_SET); image 981 coders/tiff.c static void TIFFReadPhotoshopLayers(Image* image,const ImageInfo *image_info, image 999 coders/tiff.c if (GetImageListLength(image) != 1) image 1006 coders/tiff.c layer_info=GetImageProfile(image,"tiff:37724"); image 1012 coders/tiff.c image->endian == MSBEndian ? "8BIM" : "MIB8",4) != 0) image 1016 coders/tiff.c image->endian == MSBEndian ? "Layr" : "ryaL",4) == 0) || image 1018 coders/tiff.c image->endian == MSBEndian ? "LMsk" : "ksML",4) == 0) || image 1020 coders/tiff.c image->endian == MSBEndian ? "Lr16" : "61rL",4) == 0) || image 1022 coders/tiff.c image->endian == MSBEndian ? "Lr32" : "23rL",4) == 0)) image 1028 coders/tiff.c layers=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 1037 coders/tiff.c if (IsGrayImage(image,&image->exception) != MagickFalse) image 1038 coders/tiff.c info.channels=(image->matte != MagickFalse ? 2UL : 1UL); image 1040 coders/tiff.c if (image->storage_class == PseudoClass) image 1041 coders/tiff.c info.channels=(image->matte != MagickFalse ? 2UL : 1UL); image 1044 coders/tiff.c if (image->colorspace != CMYKColorspace) image 1045 coders/tiff.c info.channels=(image->matte != MagickFalse ? 4UL : 3UL); image 1047 coders/tiff.c info.channels=(image->matte != MagickFalse ? 5UL : 4UL); image 1054 coders/tiff.c SetImageArtifact(image,"tiff:has-layers","true"); image 1055 coders/tiff.c AppendImageToList(&image,layers); image 1083 coders/tiff.c *image; image 1150 coders/tiff.c image=AcquireImage(image_info); image 1151 coders/tiff.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 1154 coders/tiff.c image=DestroyImageList(image); image 1158 coders/tiff.c tiff=TIFFClientOpen(image->filename,"rb",(thandle_t) image,TIFFReadBlob, image 1163 coders/tiff.c image=DestroyImageList(image); image 1181 coders/tiff.c image=DestroyImageList(image); image 1184 coders/tiff.c AcquireNextImage(image_info,image); image 1185 coders/tiff.c if (GetNextImageInList(image) == (Image *) NULL) image 1188 coders/tiff.c image=DestroyImageList(image); image 1191 coders/tiff.c image=SyncNextImageInList(image); image 1217 coders/tiff.c (void) SetImageProperty(image,"quantum:format","floating-point"); image 1222 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","min-is-black"); image 1227 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","min-is-white"); image 1232 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","palette"); image 1237 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","RGB"); image 1242 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","CIELAB"); image 1247 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","CIE Log2(L)"); image 1252 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","LOGLUV"); image 1258 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","MASK"); image 1264 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","separated"); image 1269 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","YCBCR"); image 1274 coders/tiff.c (void) SetImageProperty(image,"tiff:photometric","unknown"); image 1278 coders/tiff.c if (image->debug != MagickFalse) image 1291 coders/tiff.c "interpretation: %s",GetImageProperty(image,"tiff:photometric")); image 1293 coders/tiff.c image->columns=(size_t) width; image 1294 coders/tiff.c image->rows=(size_t) height; image 1295 coders/tiff.c image->depth=(size_t) bits_per_sample; image 1296 coders/tiff.c status=SetImageExtent(image,image->columns,image->rows); image 1299 coders/tiff.c InheritException(exception,&image->exception); image 1300 coders/tiff.c return(DestroyImageList(image)); image 1302 coders/tiff.c if (image->debug != MagickFalse) image 1304 coders/tiff.c (double) image->depth); image 1305 coders/tiff.c image->endian=MSBEndian; image 1307 coders/tiff.c image->endian=LSBEndian; image 1311 coders/tiff.c (void) SetImageProperty(image,"tiff:endian","lsb"); image 1312 coders/tiff.c image->endian=LSBEndian; image 1316 coders/tiff.c (void) SetImageProperty(image,"tiff:endian","msb"); image 1317 coders/tiff.c image->endian=MSBEndian; image 1322 coders/tiff.c SetImageColorspace(image,GRAYColorspace); image 1324 coders/tiff.c SetImageColorspace(image,CMYKColorspace); image 1326 coders/tiff.c SetImageColorspace(image,LabColorspace); image 1327 coders/tiff.c TIFFGetProfiles(tiff,image,image_info->ping); image 1328 coders/tiff.c TIFFGetProperties(tiff,image); image 1332 coders/tiff.c TIFFGetEXIFProperties(tiff,image); image 1336 coders/tiff.c image->x_resolution=x_resolution; image 1337 coders/tiff.c image->y_resolution=y_resolution; image 1342 coders/tiff.c image->units=PixelsPerInchResolution; image 1344 coders/tiff.c image->units=PixelsPerCentimeterResolution; image 1349 coders/tiff.c image->page.x=(ssize_t) ceil(x_position*image->x_resolution-0.5); image 1350 coders/tiff.c image->page.y=(ssize_t) ceil(y_position*image->y_resolution-0.5); image 1353 coders/tiff.c image->orientation=(OrientationType) orientation; image 1358 coders/tiff.c image->chromaticity.white_point.x=chromaticity[0]; image 1359 coders/tiff.c image->chromaticity.white_point.y=chromaticity[1]; image 1366 coders/tiff.c image->chromaticity.red_primary.x=chromaticity[0]; image 1367 coders/tiff.c image->chromaticity.red_primary.y=chromaticity[1]; image 1368 coders/tiff.c image->chromaticity.green_primary.x=chromaticity[2]; image 1369 coders/tiff.c image->chromaticity.green_primary.y=chromaticity[3]; image 1370 coders/tiff.c image->chromaticity.blue_primary.x=chromaticity[4]; image 1371 coders/tiff.c image->chromaticity.blue_primary.y=chromaticity[5]; image 1384 coders/tiff.c case COMPRESSION_NONE: image->compression=NoCompression; break; image 1385 coders/tiff.c case COMPRESSION_CCITTFAX3: image->compression=FaxCompression; break; image 1386 coders/tiff.c case COMPRESSION_CCITTFAX4: image->compression=Group4Compression; break; image 1389 coders/tiff.c image->compression=JPEGCompression; image 1408 coders/tiff.c (void) SetImageProperty(image,"jpeg:sampling-factor", image 1417 coders/tiff.c case COMPRESSION_OJPEG: image->compression=JPEGCompression; break; image 1419 coders/tiff.c case COMPRESSION_LZMA: image->compression=LZMACompression; break; image 1421 coders/tiff.c case COMPRESSION_LZW: image->compression=LZWCompression; break; image 1422 coders/tiff.c case COMPRESSION_DEFLATE: image->compression=ZipCompression; break; image 1423 coders/tiff.c case COMPRESSION_ADOBE_DEFLATE: image->compression=ZipCompression; break; image 1424 coders/tiff.c default: image->compression=RLECompression; break; image 1429 coders/tiff.c quantum_info=AcquireQuantumInfo(image_info,image); image 1436 coders/tiff.c status=SetQuantumFormat(image,quantum_info,UnsignedQuantumFormat); image 1438 coders/tiff.c status=SetQuantumFormat(image,quantum_info,SignedQuantumFormat); image 1440 coders/tiff.c status=SetQuantumFormat(image,quantum_info,FloatingPointQuantumFormat); image 1467 coders/tiff.c (void) SetImageProperty(image,"tiff:alpha","unspecified"); image 1471 coders/tiff.c image->matte=MagickTrue; image 1476 coders/tiff.c image->matte=MagickTrue; image 1480 coders/tiff.c (void) SetImageProperty(image,"tiff:alpha","associated"); image 1484 coders/tiff.c (void) SetImageProperty(image,"tiff:alpha","unassociated"); image 1494 coders/tiff.c if (AcquireImageColormap(image,colors) == MagickFalse) image 1501 coders/tiff.c image->scene=value; image 1502 coders/tiff.c if (image->storage_class == PseudoClass) image 1527 coders/tiff.c for (i=0; i < (ssize_t) image->colors; i++) image 1534 coders/tiff.c for (i=0; i < (ssize_t) image->colors; i++) image 1536 coders/tiff.c image->colormap[i].red=ClampToQuantum(((double) image 1538 coders/tiff.c image->colormap[i].green=ClampToQuantum(((double) image 1540 coders/tiff.c image->colormap[i].blue=ClampToQuantum(((double) image 1545 coders/tiff.c if (image->matte == MagickFalse) image 1546 coders/tiff.c image->depth=GetImageDepth(image,exception); image 1551 coders/tiff.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 1567 coders/tiff.c (void) SetImageProperty(image,"tiff:rows-per-strip",value); image 1577 coders/tiff.c if (image->storage_class == PseudoClass) image 1585 coders/tiff.c if (image->compression == JPEGCompression) image 1586 coders/tiff.c method=GetJPEGMethod(image,tiff,photometric,bits_per_sample, image 1604 coders/tiff.c if (image->matte != MagickFalse) image 1606 coders/tiff.c if (image->storage_class != PseudoClass) image 1619 coders/tiff.c if (image->storage_class != PseudoClass) image 1624 coders/tiff.c status=SetQuantumPad(image,quantum_info,pad*((bits_per_sample+7) >> 3)); image 1631 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 1642 coders/tiff.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1645 coders/tiff.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1647 coders/tiff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1649 coders/tiff.c if (image->previous == (Image *) NULL) image 1651 coders/tiff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 1652 coders/tiff.c image->rows); image 1666 coders/tiff.c if (image->matte != MagickFalse) image 1671 coders/tiff.c if (image->colorspace == CMYKColorspace) image 1675 coders/tiff.c if (image->matte != MagickFalse) image 1681 coders/tiff.c status=SetQuantumPad(image,quantum_info,pad*((bits_per_sample+7) >> 3)); image 1688 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 1699 coders/tiff.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1702 coders/tiff.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1704 coders/tiff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1706 coders/tiff.c if (image->previous == (Image *) NULL) image 1708 coders/tiff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 1709 coders/tiff.c image->rows); image 1723 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 1735 coders/tiff.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 1738 coders/tiff.c if (image->colorspace != CMYKColorspace) image 1757 coders/tiff.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 1759 coders/tiff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1762 coders/tiff.c if (image->previous == (Image *) NULL) image 1764 coders/tiff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 1765 coders/tiff.c image->rows); image 1775 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 1795 coders/tiff.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1798 coders/tiff.c indexes=GetAuthenticIndexQueue(image); image 1800 coders/tiff.c for (x=0; x < (ssize_t) image->columns; x++) image 1813 coders/tiff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1815 coders/tiff.c if (image->previous == (Image *) NULL) image 1817 coders/tiff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 1818 coders/tiff.c image->rows); image 1835 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 1843 coders/tiff.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1851 coders/tiff.c image->rows-y); image 1854 coders/tiff.c p=((uint32 *) pixels)+image->columns*i; image 1855 coders/tiff.c for (x=0; x < (ssize_t) image->columns; x++) image 1863 coders/tiff.c if (image->matte != MagickFalse) image 1869 coders/tiff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1871 coders/tiff.c if (image->previous == (Image *) NULL) image 1873 coders/tiff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 1874 coders/tiff.c image->rows); image 1903 coders/tiff.c (void) SetImageStorageClass(image,DirectClass); image 1912 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y+=rows) image 1927 coders/tiff.c rows_remaining=image->rows-y; image 1928 coders/tiff.c if ((ssize_t) (y+rows) < (ssize_t) image->rows) image 1930 coders/tiff.c tile=QueueAuthenticPixels(image,0,y,image->columns,rows_remaining, image 1934 coders/tiff.c for (x=0; x < (ssize_t) image->columns; x+=columns) image 1942 coders/tiff.c columns_remaining=image->columns-x; image 1943 coders/tiff.c if ((ssize_t) (x+columns) < (ssize_t) image->columns) image 1946 coders/tiff.c q=tile+(image->columns*(rows_remaining-1)+x); image 1949 coders/tiff.c if (image->matte != MagickFalse) image 1976 coders/tiff.c q-=(image->columns+columns_remaining); image 1979 coders/tiff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1981 coders/tiff.c if (image->previous == (Image *) NULL) image 1983 coders/tiff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 1984 coders/tiff.c image->rows); image 2007 coders/tiff.c number_pixels=(MagickSizeType) image->columns*image->rows; image 2014 coders/tiff.c pixel_info=AcquireVirtualMemory(image->columns,image->rows* image 2022 coders/tiff.c (void) TIFFReadRGBAImage(tiff,(uint32) image->columns,(uint32) image 2023 coders/tiff.c image->rows,(uint32 *) pixels,0); image 2028 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 2036 coders/tiff.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 2039 coders/tiff.c q+=image->columns-1; image 2040 coders/tiff.c for (x=0; x < (ssize_t) image->columns; x++) image 2045 coders/tiff.c if (image->matte != MagickFalse) image 2050 coders/tiff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2052 coders/tiff.c if (image->previous == (Image *) NULL) image 2054 coders/tiff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 2055 coders/tiff.c image->rows); image 2064 coders/tiff.c SetQuantumImageType(image,quantum_type); image 2068 coders/tiff.c DecodeLabImage(image,exception); image 2073 coders/tiff.c image->type=GrayscaleType; image 2075 coders/tiff.c image->type=BilevelType; image 2081 coders/tiff.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 2089 coders/tiff.c AcquireNextImage(image_info,image); image 2090 coders/tiff.c if (GetNextImageInList(image) == (Image *) NULL) image 2092 coders/tiff.c image=DestroyImageList(image); image 2095 coders/tiff.c image=SyncNextImageInList(image); image 2096 coders/tiff.c status=SetImageProgress(image,LoadImagesTag,image->scene-1, image 2097 coders/tiff.c image->scene); image 2103 coders/tiff.c TIFFReadPhotoshopLayers(image,image_info,exception); image 2106 coders/tiff.c if (image_info->scene >= GetImageListLength(image)) image 2109 coders/tiff.c image = DestroyImageList(image); image 2113 coders/tiff.c return(GetFirstImageInList(image)); image 2155 coders/tiff.c *image; image 2168 coders/tiff.c image=(Image *)TIFFClientdata(tiff); image 2169 coders/tiff.c tags=GetImageArtifact(image,"tiff:ignore-tags"); image 2418 coders/tiff.c Image *image) image 2459 coders/tiff.c assert(image != (Image *) NULL); image 2460 coders/tiff.c assert(image->signature == MagickSignature); image 2461 coders/tiff.c if (image->debug != MagickFalse) image 2462 coders/tiff.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2463 coders/tiff.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 2466 coders/tiff.c huffman_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 2469 coders/tiff.c (void) CloseBlob(image); image 2479 coders/tiff.c ThrowFileException(&image->exception,FileOpenError, image 2488 coders/tiff.c (void) SetImageType(image,BilevelType); image 2489 coders/tiff.c (void) SetImageDepth(image,1); image 2498 coders/tiff.c InheritException(&image->exception,&huffman_image->exception); image 2510 coders/tiff.c ThrowFileException(&image->exception,FileOpenError,"UnableToOpenFile", image 2546 coders/tiff.c if (WriteBlob(image,(size_t) count,buffer) != count) image 2554 coders/tiff.c (void) CloseBlob(image); image 2587 coders/tiff.c Image *image) image 2613 coders/tiff.c exception=(&image->exception); image 2615 coders/tiff.c for (next=image; next != (Image *) NULL; next=GetNextImageInList(next)) image 2637 coders/tiff.c pyramid_image=ResizeImage(next,columns,rows,image->filter,image->blur, image 2707 coders/tiff.c static MagickBooleanType EncodeLabImage(Image *image,ExceptionInfo *exception) image 2719 coders/tiff.c image_view=AcquireAuthenticCacheView(image,exception); image 2720 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 2730 coders/tiff.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2736 coders/tiff.c for (x=0; x < (ssize_t) image->columns; x++) image 2801 coders/tiff.c tsample_t sample,Image *image) image 2833 coders/tiff.c (row != (ssize_t) (image->rows-1))) image 2841 coders/tiff.c number_tiles=(image->columns+tiff_info->tile_geometry.width)/ image 2845 coders/tiff.c tile_width=(i == (ssize_t) (number_tiles-1)) ? image->columns-(i* image 2864 coders/tiff.c if ((i*tiff_info->tile_geometry.width) != image->columns) image 2875 coders/tiff.c static void TIFFSetProfiles(TIFF *tiff,Image *image) image 2883 coders/tiff.c if (image->profiles == (void *) NULL) image 2885 coders/tiff.c ResetImageProfileIterator(image); image 2886 coders/tiff.c for (name=GetNextImageProfile(image); name != (const char *) NULL; ) image 2888 coders/tiff.c profile=GetImageProfile(image,name); image 2891 coders/tiff.c name=GetNextImageProfile(image); image 2934 coders/tiff.c name=GetNextImageProfile(image); image 2939 coders/tiff.c Image *image) image 2944 coders/tiff.c value=GetImageArtifact(image,"tiff:document"); image 2947 coders/tiff.c value=GetImageArtifact(image,"tiff:hostcomputer"); image 2950 coders/tiff.c value=GetImageArtifact(image,"tiff:artist"); image 2953 coders/tiff.c value=GetImageArtifact(image,"tiff:timestamp"); image 2956 coders/tiff.c value=GetImageArtifact(image,"tiff:make"); image 2959 coders/tiff.c value=GetImageArtifact(image,"tiff:model"); image 2962 coders/tiff.c value=GetImageArtifact(image,"tiff:software"); image 2965 coders/tiff.c value=GetImageArtifact(image,"tiff:copyright"); image 2968 coders/tiff.c value=GetImageArtifact(image,"kodak-33423"); image 2971 coders/tiff.c value=GetImageArtifact(image,"kodak-36867"); image 2974 coders/tiff.c value=GetImageProperty(image,"label"); image 2977 coders/tiff.c value=GetImageProperty(image,"comment"); image 2980 coders/tiff.c value=GetImageArtifact(image,"tiff:subfiletype"); image 2998 coders/tiff.c page=(uint16) image->scene; image 2999 coders/tiff.c pages=(uint16) GetImageListLength(image); image 3006 coders/tiff.c static void TIFFSetEXIFProperties(TIFF *tiff,Image *image) image 3025 coders/tiff.c value=GetImageProperty(image,exif_info[i].property); image 3070 coders/tiff.c (void) image; image 3075 coders/tiff.c Image *image) image 3133 coders/tiff.c assert(image != (Image *) NULL); image 3134 coders/tiff.c assert(image->signature == MagickSignature); image 3135 coders/tiff.c if (image->debug != MagickFalse) image 3136 coders/tiff.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3137 coders/tiff.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 3140 coders/tiff.c (void) SetMagickThreadValue(tiff_exception,&image->exception); image 3165 coders/tiff.c tiff=TIFFClientOpen(image->filename,mode,(thandle_t) image,TIFFReadBlob, image 3180 coders/tiff.c (void) SetImageType(image,image_info->type); image 3182 coders/tiff.c if (image->compression != JPEGCompression) image 3183 coders/tiff.c compression=image->compression; image 3191 coders/tiff.c (void) SetImageType(image,BilevelType); image 3192 coders/tiff.c (void) SetImageDepth(image,1); image 3197 coders/tiff.c (void) SetImageStorageClass(image,DirectClass); image 3198 coders/tiff.c (void) SetImageDepth(image,8); image 3204 coders/tiff.c quantum_info=AcquireQuantumInfo(image_info,image); image 3207 coders/tiff.c if ((image->storage_class != PseudoClass) && (image->depth >= 32) && image 3209 coders/tiff.c (IsHighDynamicRangeImage(image,&image->exception) != MagickFalse)) image 3211 coders/tiff.c status=SetQuantumFormat(image,quantum_info,FloatingPointQuantumFormat); image 3216 coders/tiff.c (GetPreviousImageInList(image) != (Image *) NULL)) image 3218 coders/tiff.c if ((image->columns != (uint32) image->columns) || image 3219 coders/tiff.c (image->rows != (uint32) image->rows)) image 3221 coders/tiff.c (void) TIFFSetField(tiff,TIFFTAG_IMAGELENGTH,(uint32) image->rows); image 3222 coders/tiff.c (void) TIFFSetField(tiff,TIFFTAG_IMAGEWIDTH,(uint32) image->columns); image 3282 coders/tiff.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 3313 coders/tiff.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 3321 coders/tiff.c if (image->colorspace == CMYKColorspace) image 3332 coders/tiff.c if (image->colorspace == LabColorspace) image 3335 coders/tiff.c EncodeLabImage(image,&image->exception); image 3338 coders/tiff.c if (image->colorspace == YCbCrColorspace) image 3342 coders/tiff.c (void) SetImageStorageClass(image,DirectClass); image 3343 coders/tiff.c (void) SetImageDepth(image,8); image 3352 coders/tiff.c (SetImageGray(image,&image->exception) != MagickFalse)) image 3358 coders/tiff.c if ((image->depth == 1) && (image->matte == MagickFalse)) image 3359 coders/tiff.c SetImageMonochrome(image,&image->exception); image 3362 coders/tiff.c if (image->storage_class == PseudoClass) image 3373 coders/tiff.c while ((GetQuantumRange(depth)+1) < image->colors) image 3375 coders/tiff.c status=SetQuantumDepth(image,quantum_info,depth); image 3407 coders/tiff.c if (image->matte != MagickFalse) image 3487 coders/tiff.c if (IssRGBCompatibleColorspace(image->colorspace) != MagickFalse) image 3494 coders/tiff.c value=GetImageProperty(image,"jpeg:sampling-factor"); image 3498 coders/tiff.c if (image->debug != MagickFalse) image 3509 coders/tiff.c if (image->colorspace == YCbCrColorspace) image 3523 coders/tiff.c rows_per_strip=(uint32) image->rows; image 3540 coders/tiff.c rows_per_strip=(uint32) image->rows; image 3546 coders/tiff.c rows_per_strip=(uint32) image->rows; image 3577 coders/tiff.c if ((image->rows/rows_per_strip) >= (1UL << 15)) image 3578 coders/tiff.c rows_per_strip=(uint32) (image->rows >> 15); image 3580 coders/tiff.c if ((image->x_resolution != 0.0) && (image->y_resolution != 0.0)) image 3589 coders/tiff.c if (image->units == PixelsPerInchResolution) image 3591 coders/tiff.c if (image->units == PixelsPerCentimeterResolution) image 3594 coders/tiff.c (void) TIFFSetField(tiff,TIFFTAG_XRESOLUTION,image->x_resolution); image 3595 coders/tiff.c (void) TIFFSetField(tiff,TIFFTAG_YRESOLUTION,image->y_resolution); image 3596 coders/tiff.c if ((image->page.x < 0) || (image->page.y < 0)) image 3597 coders/tiff.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 3599 coders/tiff.c image->filename); image 3600 coders/tiff.c if ((image->page.x > 0) && (image->x_resolution > 0.0)) image 3605 coders/tiff.c (void) TIFFSetField(tiff,TIFFTAG_XPOSITION,(float) image->page.x/ image 3606 coders/tiff.c image->x_resolution); image 3608 coders/tiff.c if ((image->page.y > 0) && (image->y_resolution > 0.0)) image 3613 coders/tiff.c (void) TIFFSetField(tiff,TIFFTAG_YPOSITION,(float) image->page.y/ image 3614 coders/tiff.c image->y_resolution); image 3617 coders/tiff.c if (image->chromaticity.white_point.x != 0.0) image 3625 coders/tiff.c chromaticity[0]=(float) image->chromaticity.red_primary.x; image 3626 coders/tiff.c chromaticity[1]=(float) image->chromaticity.red_primary.y; image 3627 coders/tiff.c chromaticity[2]=(float) image->chromaticity.green_primary.x; image 3628 coders/tiff.c chromaticity[3]=(float) image->chromaticity.green_primary.y; image 3629 coders/tiff.c chromaticity[4]=(float) image->chromaticity.blue_primary.x; image 3630 coders/tiff.c chromaticity[5]=(float) image->chromaticity.blue_primary.y; image 3632 coders/tiff.c chromaticity[0]=(float) image->chromaticity.white_point.x; image 3633 coders/tiff.c chromaticity[1]=(float) image->chromaticity.white_point.y; image 3637 coders/tiff.c (image_info->adjoin != MagickFalse) && (GetImageListLength(image) > 1)) image 3640 coders/tiff.c if (image->scene != 0) image 3641 coders/tiff.c (void) TIFFSetField(tiff,TIFFTAG_PAGENUMBER,(uint16) image->scene, image 3642 coders/tiff.c GetImageListLength(image)); image 3644 coders/tiff.c if (image->orientation != UndefinedOrientation) image 3645 coders/tiff.c (void) TIFFSetField(tiff,TIFFTAG_ORIENTATION,(uint16) image->orientation); image 3646 coders/tiff.c (void) TIFFSetProfiles(tiff,image); image 3653 coders/tiff.c pages=(uint16) GetImageListLength(image); image 3659 coders/tiff.c (void) TIFFSetProperties(tiff,image_info,image); image 3663 coders/tiff.c (void) TIFFSetEXIFProperties(tiff,image); image 3687 coders/tiff.c if (image->matte != MagickFalse) image 3689 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 3694 coders/tiff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 3697 coders/tiff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 3698 coders/tiff.c quantum_info,quantum_type,pixels,&image->exception); image 3699 coders/tiff.c if (TIFFWritePixels(tiff,&tiff_info,y,0,image) == -1) image 3701 coders/tiff.c if (image->previous == (Image *) NULL) image 3703 coders/tiff.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 3704 coders/tiff.c y,image->rows); image 3717 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 3722 coders/tiff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 3725 coders/tiff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 3726 coders/tiff.c quantum_info,RedQuantum,pixels,&image->exception); image 3727 coders/tiff.c if (TIFFWritePixels(tiff,&tiff_info,y,0,image) == -1) image 3730 coders/tiff.c if (image->previous == (Image *) NULL) image 3732 coders/tiff.c status=SetImageProgress(image,SaveImageTag,100,400); image 3736 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 3741 coders/tiff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 3744 coders/tiff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 3745 coders/tiff.c quantum_info,GreenQuantum,pixels,&image->exception); image 3746 coders/tiff.c if (TIFFWritePixels(tiff,&tiff_info,y,1,image) == -1) image 3749 coders/tiff.c if (image->previous == (Image *) NULL) image 3751 coders/tiff.c status=SetImageProgress(image,SaveImageTag,200,400); image 3755 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 3760 coders/tiff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 3763 coders/tiff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 3764 coders/tiff.c quantum_info,BlueQuantum,pixels,&image->exception); image 3765 coders/tiff.c if (TIFFWritePixels(tiff,&tiff_info,y,2,image) == -1) image 3768 coders/tiff.c if (image->previous == (Image *) NULL) image 3770 coders/tiff.c status=SetImageProgress(image,SaveImageTag,300,400); image 3774 coders/tiff.c if (image->matte != MagickFalse) image 3775 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 3780 coders/tiff.c p=GetVirtualPixels(image,0,y,image->columns,1, image 3781 coders/tiff.c &image->exception); image 3784 coders/tiff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 3785 coders/tiff.c quantum_info,AlphaQuantum,pixels,&image->exception); image 3786 coders/tiff.c if (TIFFWritePixels(tiff,&tiff_info,y,3,image) == -1) image 3789 coders/tiff.c if (image->previous == (Image *) NULL) image 3791 coders/tiff.c status=SetImageProgress(image,SaveImageTag,400,400); image 3806 coders/tiff.c if (image->matte != MagickFalse) image 3808 coders/tiff.c if (image->colorspace != CMYKColorspace) image 3809 coders/tiff.c (void) TransformImageColorspace(image,CMYKColorspace); image 3810 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 3815 coders/tiff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 3818 coders/tiff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 3819 coders/tiff.c quantum_info,quantum_type,pixels,&image->exception); image 3820 coders/tiff.c if (TIFFWritePixels(tiff,&tiff_info,y,0,image) == -1) image 3822 coders/tiff.c if (image->previous == (Image *) NULL) image 3824 coders/tiff.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 3825 coders/tiff.c image->rows); image 3854 coders/tiff.c for (i=0; i < (ssize_t) image->colors; i++) image 3856 coders/tiff.c red[i]=ScaleQuantumToShort(image->colormap[i].red); image 3857 coders/tiff.c green[i]=ScaleQuantumToShort(image->colormap[i].green); image 3858 coders/tiff.c blue[i]=ScaleQuantumToShort(image->colormap[i].blue); image 3871 coders/tiff.c if (image->matte != MagickFalse) image 3881 coders/tiff.c for (y=0; y < (ssize_t) image->rows; y++) image 3886 coders/tiff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 3889 coders/tiff.c (void) ExportQuantumPixels(image,(const CacheView *) NULL, image 3890 coders/tiff.c quantum_info,quantum_type,pixels,&image->exception); image 3891 coders/tiff.c if (TIFFWritePixels(tiff,&tiff_info,y,0,image) == -1) image 3893 coders/tiff.c if (image->previous == (Image *) NULL) image 3895 coders/tiff.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 3896 coders/tiff.c image->rows); image 3905 coders/tiff.c if (image->colorspace == LabColorspace) image 3906 coders/tiff.c DecodeLabImage(image,&image->exception); image 3913 coders/tiff.c image=SyncNextImageInList(image); image 3914 coders/tiff.c if (image == (Image *) NULL) image 3916 coders/tiff.c status=SetImageProgress(image,SaveImagesTag,scene++, image 3917 coders/tiff.c GetImageListLength(image)); image 92 coders/tile.c *image, image 118 coders/tile.c image=AcquireImage(image_info); image 119 coders/tile.c if ((image->columns == 0) || (image->rows == 0)) image 121 coders/tile.c status=SetImageExtent(image,image->columns,image->rows); image 124 coders/tile.c InheritException(exception,&image->exception); image 125 coders/tile.c return(DestroyImageList(image)); image 129 coders/tile.c image->colorspace=tile_image->colorspace; image 130 coders/tile.c image->matte=tile_image->matte; image 131 coders/tile.c if (image->matte != MagickFalse) image 132 coders/tile.c (void) SetImageBackgroundColor(image); image 133 coders/tile.c (void) CopyMagickString(image->filename,image_info->filename,MaxTextExtent); image 139 coders/tile.c (void) TextureImage(image,tile_image); image 141 coders/tile.c if (image->colorspace == GRAYColorspace) image 142 coders/tile.c image->type=GrayscaleType; image 143 coders/tile.c return(GetFirstImageInList(image)); image 103 coders/tim.c *image; image 155 coders/tim.c image=AcquireImage(image_info); image 156 coders/tim.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 159 coders/tim.c image=DestroyImageList(image); image 165 coders/tim.c tim_info.id=ReadBlobLSBLong(image); image 173 coders/tim.c tim_info.flag=ReadBlobLSBLong(image); image 184 coders/tim.c image->depth=8; image 193 coders/tim.c (void)ReadBlobLSBLong(image); image 194 coders/tim.c (void)ReadBlobLSBShort(image); image 195 coders/tim.c (void)ReadBlobLSBShort(image); image 196 coders/tim.c width=ReadBlobLSBShort(image); image 197 coders/tim.c height=ReadBlobLSBShort(image); image 198 coders/tim.c image->columns=width; image 199 coders/tim.c image->rows=height; image 200 coders/tim.c if (AcquireImageColormap(image,pixel_mode == 1 ? 256UL : 16UL) == MagickFalse) image 202 coders/tim.c tim_colormap=(unsigned char *) AcquireQuantumMemory(image->colors, image 206 coders/tim.c count=ReadBlob(image,2*image->colors,tim_colormap); image 207 coders/tim.c if (count != (ssize_t) (2*image->colors)) image 210 coders/tim.c for (i=0; i < (ssize_t) image->colors; i++) image 214 coders/tim.c image->colormap[i].blue=ScaleCharToQuantum( image 216 coders/tim.c image->colormap[i].green=ScaleCharToQuantum( image 218 coders/tim.c image->colormap[i].red=ScaleCharToQuantum( image 224 coders/tim.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 226 coders/tim.c status=SetImageExtent(image,image->columns,image->rows); image 229 coders/tim.c InheritException(exception,&image->exception); image 230 coders/tim.c return(DestroyImageList(image)); image 235 coders/tim.c (void) ReadBlobLSBLong(image); image 236 coders/tim.c (void) ReadBlobLSBShort(image); image 237 coders/tim.c (void) ReadBlobLSBShort(image); image 238 coders/tim.c width=ReadBlobLSBShort(image); image 239 coders/tim.c height=ReadBlobLSBShort(image); image 247 coders/tim.c count=ReadBlob(image,image_size,tim_data); image 254 coders/tim.c image->columns=width; image 255 coders/tim.c image->rows=height; image 266 coders/tim.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 268 coders/tim.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 271 coders/tim.c indexes=GetAuthenticIndexQueue(image); image 273 coders/tim.c for (x=0; x < ((ssize_t) image->columns-1); x+=2) image 279 coders/tim.c if ((image->columns % 2) != 0) image 284 coders/tim.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 286 coders/tim.c if (image->previous == (Image *) NULL) image 288 coders/tim.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 289 coders/tim.c image->rows); image 301 coders/tim.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 303 coders/tim.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 306 coders/tim.c indexes=GetAuthenticIndexQueue(image); image 308 coders/tim.c for (x=0; x < (ssize_t) image->columns; x++) image 310 coders/tim.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 312 coders/tim.c if (image->previous == (Image *) NULL) image 314 coders/tim.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 315 coders/tim.c image->rows); image 327 coders/tim.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 330 coders/tim.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 333 coders/tim.c for (x=0; x < (ssize_t) image->columns; x++) image 345 coders/tim.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 347 coders/tim.c if (image->previous == (Image *) NULL) image 349 coders/tim.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 350 coders/tim.c image->rows); image 362 coders/tim.c for (y=(ssize_t) image->rows-1; y >= 0; y--) image 365 coders/tim.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 368 coders/tim.c for (x=0; x < (ssize_t) image->columns; x++) image 375 coders/tim.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 377 coders/tim.c if (image->previous == (Image *) NULL) image 379 coders/tim.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 380 coders/tim.c image->rows); image 390 coders/tim.c if (image->storage_class == PseudoClass) image 391 coders/tim.c (void) SyncImage(image); image 393 coders/tim.c if (EOFBlob(image) != MagickFalse) image 396 coders/tim.c image->filename); image 402 coders/tim.c tim_info.id=ReadBlobLSBLong(image); image 408 coders/tim.c AcquireNextImage(image_info,image); image 409 coders/tim.c if (GetNextImageInList(image) == (Image *) NULL) image 411 coders/tim.c image=DestroyImageList(image); image 414 coders/tim.c image=SyncNextImageInList(image); image 415 coders/tim.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 416 coders/tim.c GetBlobSize(image)); image 421 coders/tim.c (void) CloseBlob(image); image 422 coders/tim.c return(GetFirstImageInList(image)); image 187 coders/ttf.c *image; image 215 coders/ttf.c image=AcquireImage(image_info); image 216 coders/ttf.c image->columns=800; image 217 coders/ttf.c image->rows=480; image 221 coders/ttf.c (void) CopyMagickString(image->filename,type_info->glyphs,MaxTextExtent); image 222 coders/ttf.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 225 coders/ttf.c image=DestroyImageList(image); image 228 coders/ttf.c status=SetImageExtent(image,image->columns,image->rows); image 231 coders/ttf.c InheritException(exception,&image->exception); image 232 coders/ttf.c return(DestroyImageList(image)); image 238 coders/ttf.c for (y=0; y < (ssize_t) image->rows; y++) image 240 coders/ttf.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 243 coders/ttf.c for (x=0; x < (ssize_t) image->columns; x++) image 245 coders/ttf.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 248 coders/ttf.c (void) CopyMagickString(image->magick,image_info->magick,MaxTextExtent); image 249 coders/ttf.c (void) CopyMagickString(image->filename,image_info->filename,MaxTextExtent); image 255 coders/ttf.c draw_info->font=AcquireString(image->filename); image 258 coders/ttf.c (double) image->columns,(double) image->rows); image 286 coders/ttf.c (void) DrawImage(image,draw_info); image 291 coders/ttf.c (void) CloseBlob(image); image 292 coders/ttf.c return(GetFirstImageInList(image)); image 160 coders/txt.c static Image *ReadTEXTImage(const ImageInfo *image_info,Image *image, image 204 coders/txt.c if ((image->x_resolution == 0.0) || (image->y_resolution == 0.0)) image 213 coders/txt.c image->x_resolution=geometry_info.rho; image 214 coders/txt.c image->y_resolution=geometry_info.sigma; image 216 coders/txt.c image->y_resolution=image->x_resolution; image 227 coders/txt.c image->columns=(size_t) floor((((double) page.width*image->x_resolution)/ image 229 coders/txt.c image->rows=(size_t) floor((((double) page.height*image->y_resolution)/ image 231 coders/txt.c status=SetImageExtent(image,image->columns,image->rows); image 234 coders/txt.c InheritException(exception,&image->exception); image 235 coders/txt.c return(DestroyImageList(image)); image 237 coders/txt.c image->page.x=0; image 238 coders/txt.c image->page.y=0; image 255 coders/txt.c (void) SetImageBackgroundColor(image); image 261 coders/txt.c status=GetTypeMetrics(image,draw_info,&metrics); image 280 coders/txt.c if (image->previous == (Image *) NULL) image 282 coders/txt.c status=SetImageProgress(image,LoadImageTag,offset,image->rows); image 286 coders/txt.c p=ReadBlobString(image,text); image 287 coders/txt.c if ((offset < (ssize_t) image->rows) && (p != (char *) NULL)) image 294 coders/txt.c progress_monitor=SetImageProgressMonitor(image, image 295 coders/txt.c (MagickProgressMonitor) NULL,image->client_data); image 296 coders/txt.c (void) TextureImage(image,texture); image 297 coders/txt.c (void) SetImageProgressMonitor(image,progress_monitor, image 298 coders/txt.c image->client_data); image 300 coders/txt.c (void) AnnotateImage(image,draw_info); image 308 coders/txt.c AcquireNextImage(image_info,image); image 309 coders/txt.c if (GetNextImageInList(image) == (Image *) NULL) image 311 coders/txt.c image=DestroyImageList(image); image 314 coders/txt.c image->next->columns=image->columns; image 315 coders/txt.c image->next->rows=image->rows; image 316 coders/txt.c image=SyncNextImageInList(image); image 317 coders/txt.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 318 coders/txt.c (void) SetImageBackgroundColor(image); image 319 coders/txt.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 320 coders/txt.c GetBlobSize(image)); image 329 coders/txt.c progress_monitor=SetImageProgressMonitor(image, image 330 coders/txt.c (MagickProgressMonitor) NULL,image->client_data); image 331 coders/txt.c (void) TextureImage(image,texture); image 332 coders/txt.c (void) SetImageProgressMonitor(image,progress_monitor,image->client_data); image 334 coders/txt.c (void) AnnotateImage(image,draw_info); image 338 coders/txt.c (void) CloseBlob(image); image 339 coders/txt.c return(GetFirstImageInList(image)); image 375 coders/txt.c *image; image 421 coders/txt.c image=AcquireImage(image_info); image 422 coders/txt.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 425 coders/txt.c image=DestroyImageList(image); image 429 coders/txt.c (void) ReadBlobString(image,text); image 431 coders/txt.c return(ReadTEXTImage(image_info,image,text,exception)); image 442 coders/txt.c image->columns=width; image 443 coders/txt.c image->rows=height; image 445 coders/txt.c image->depth=depth; image 446 coders/txt.c status=SetImageExtent(image,image->columns,image->rows); image 449 coders/txt.c InheritException(exception,&image->exception); image 450 coders/txt.c return(DestroyImageList(image)); image 454 coders/txt.c image->matte=MagickFalse; image 458 coders/txt.c image->matte=MagickTrue; image 463 coders/txt.c image->colorspace=(ColorspaceType) type; image 465 coders/txt.c (void) SetImageBackgroundColor(image); image 466 coders/txt.c range=GetQuantumRange(image->depth); image 467 coders/txt.c for (y=0; y < (ssize_t) image->rows; y++) image 481 coders/txt.c for (x=0; x < (ssize_t) image->columns; x++) image 483 coders/txt.c if (ReadBlobString(image,text) == (char *) NULL) image 485 coders/txt.c switch (image->colorspace) image 489 coders/txt.c if (image->matte != MagickFalse) image 504 coders/txt.c if (image->matte != MagickFalse) image 518 coders/txt.c if (image->matte != MagickFalse) image 538 coders/txt.c if (image->colorspace == LabColorspace) image 548 coders/txt.c q=GetAuthenticPixels(image,x_offset,y_offset,1,1,exception); image 554 coders/txt.c if (image->colorspace == CMYKColorspace) image 556 coders/txt.c indexes=GetAuthenticIndexQueue(image); image 559 coders/txt.c if (image->matte != MagickFalse) image 561 coders/txt.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 565 coders/txt.c (void) ReadBlobString(image,text); image 571 coders/txt.c AcquireNextImage(image_info,image); image 572 coders/txt.c if (GetNextImageInList(image) == (Image *) NULL) image 574 coders/txt.c image=DestroyImageList(image); image 577 coders/txt.c image=SyncNextImageInList(image); image 578 coders/txt.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 579 coders/txt.c GetBlobSize(image)); image 584 coders/txt.c (void) CloseBlob(image); image 585 coders/txt.c return(GetFirstImageInList(image)); image 690 coders/txt.c static MagickBooleanType WriteTXTImage(const ImageInfo *image_info,Image *image) image 723 coders/txt.c assert(image != (Image *) NULL); image 724 coders/txt.c assert(image->signature == MagickSignature); image 725 coders/txt.c if (image->debug != MagickFalse) image 726 coders/txt.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 727 coders/txt.c status=OpenBlob(image_info,image,WriteBlobMode,&image->exception); image 740 coders/txt.c MagickColorspaceOptions,(ssize_t) image->colorspace),MaxTextExtent); image 742 coders/txt.c image->depth=GetImageQuantumDepth(image,MagickTrue); image 743 coders/txt.c if (image->matte != MagickFalse) image 754 coders/txt.c image->columns,(double) image->rows,(double) ((MagickOffsetType) image 755 coders/txt.c GetQuantumRange(image->depth)),colorspace); image 756 coders/txt.c (void) WriteBlobString(image,buffer); image 758 coders/txt.c GetMagickPixelPacket(image,&pixel); image 759 coders/txt.c for (y=0; y < (ssize_t) image->rows; y++) image 761 coders/txt.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 764 coders/txt.c indexes=GetVirtualIndexQueue(image); image 765 coders/txt.c for (x=0; x < (ssize_t) image->columns; x++) image 767 coders/txt.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 781 coders/txt.c (void) QueryMagickColorname(image,&pixel,SVGCompliance,tuple, image 782 coders/txt.c &image->exception); image 785 coders/txt.c (void) WriteBlobString(image,buffer); image 786 coders/txt.c (void) WriteBlobString(image,tuple); image 787 coders/txt.c (void) WriteBlobString(image," "); image 794 coders/txt.c (void) WriteBlobString(image,buffer); image 812 coders/txt.c (void) WriteBlobString(image,tuple); image 813 coders/txt.c (void) WriteBlobString(image," "); image 816 coders/txt.c (void) WriteBlobString(image,buffer); image 817 coders/txt.c (void) WriteBlobString(image," "); image 818 coders/txt.c (void) QueryMagickColorname(image,&pixel,SVGCompliance,tuple, image 819 coders/txt.c &image->exception); image 820 coders/txt.c (void) WriteBlobString(image,tuple); image 821 coders/txt.c (void) WriteBlobString(image,"\n"); image 824 coders/txt.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 825 coders/txt.c image->rows); image 829 coders/txt.c if (GetNextImageInList(image) == (Image *) NULL) image 831 coders/txt.c image=SyncNextImageInList(image); image 832 coders/txt.c status=SetImageProgress(image,SaveImagesTag,scene++, image 833 coders/txt.c GetImageListLength(image)); image 837 coders/txt.c (void) CloseBlob(image); image 158 coders/uil.c static MagickBooleanType WriteUILImage(const ImageInfo *image_info,Image *image) image 211 coders/uil.c assert(image != (Image *) NULL); image 212 coders/uil.c assert(image->signature == MagickSignature); image 213 coders/uil.c if (image->debug != MagickFalse) image 214 coders/uil.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 215 coders/uil.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 218 coders/uil.c (void) TransformImageColorspace(image,sRGBColorspace); image 219 coders/uil.c exception=(&image->exception); image 223 coders/uil.c if (image->storage_class == PseudoClass) image 224 coders/uil.c colors=image->colors; image 234 coders/uil.c if (image->matte != MagickFalse) image 239 coders/uil.c number_pixels=(MagickSizeType) image->columns*image->rows; image 242 coders/uil.c matte_image=(unsigned char *) AcquireQuantumMemory(image->columns, image 243 coders/uil.c image->rows*sizeof(*matte_image)); image 246 coders/uil.c for (y=0; y < (ssize_t) image->rows; y++) image 248 coders/uil.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 251 coders/uil.c for (x=0; x < (ssize_t) image->columns; x++) image 262 coders/uil.c (void) SetImageType(image,PaletteType); image 263 coders/uil.c colors=image->colors; image 273 coders/uil.c for (y=0; y < (ssize_t) image->rows; y++) image 275 coders/uil.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 278 coders/uil.c indexes=GetAuthenticIndexQueue(image); image 279 coders/uil.c for (x=0; x < (ssize_t) image->columns; x++) image 282 coders/uil.c SetPixelIndex(indexes+x,image->colors); image 299 coders/uil.c (void) WriteBlobString(image,"/* UIL */\n"); image 300 coders/uil.c GetPathComponent(image->filename,BasePath,basename); image 303 coders/uil.c (void) WriteBlobString(image,buffer); image 304 coders/uil.c GetMagickPixelPacket(image,&pixel); image 310 coders/uil.c SetMagickPixelPacket(image,image->colormap+i,(IndexPacket *) NULL,&pixel); image 336 coders/uil.c GetPixelLuma(image,image->colormap+i) < (QuantumRange/2.0) ? image 338 coders/uil.c (void) WriteBlobString(image,buffer); image 341 coders/uil.c (void) WriteBlobString(image,buffer); image 346 coders/uil.c GetPathComponent(image->filename,BasePath,basename); image 349 coders/uil.c (void) WriteBlobString(image,buffer); image 350 coders/uil.c for (y=0; y < (ssize_t) image->rows; y++) image 352 coders/uil.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 355 coders/uil.c indexes=GetVirtualIndexQueue(image); image 356 coders/uil.c (void) WriteBlobString(image," \""); image 357 coders/uil.c for (x=0; x < (ssize_t) image->columns; x++) image 368 coders/uil.c (void) WriteBlobString(image,buffer); image 372 coders/uil.c (y == (ssize_t) (image->rows-1) ? ");" : ",")); image 373 coders/uil.c (void) WriteBlobString(image,buffer); image 374 coders/uil.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 375 coders/uil.c image->rows); image 380 coders/uil.c (void) CloseBlob(image); image 144 coders/url.c *image; image 152 coders/url.c image=(Image *) NULL; image 256 coders/url.c image=ReadImage(read_info,exception); image 260 coders/url.c if (image != (Image *) NULL) image 261 coders/url.c GetPathComponent(image_info->filename,TailPath,image->filename); image 268 coders/url.c return(GetFirstImageInList(image)); image 100 coders/uyvy.c *image; image 130 coders/uyvy.c image=AcquireImage(image_info); image 131 coders/uyvy.c if ((image->columns == 0) || (image->rows == 0)) image 133 coders/uyvy.c if ((image->columns % 2) != 0) image 134 coders/uyvy.c image->columns++; image 135 coders/uyvy.c (void) CopyMagickString(image->filename,image_info->filename,MaxTextExtent); image 136 coders/uyvy.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 139 coders/uyvy.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 141 coders/uyvy.c image->filename); image 142 coders/uyvy.c image->depth=8; image 145 coders/uyvy.c (void) CloseBlob(image); image 146 coders/uyvy.c return(GetFirstImageInList(image)); image 148 coders/uyvy.c status=SetImageExtent(image,image->columns,image->rows); image 151 coders/uyvy.c InheritException(exception,&image->exception); image 152 coders/uyvy.c return(DestroyImageList(image)); image 157 coders/uyvy.c for (y=0; y < (ssize_t) image->rows; y++) image 159 coders/uyvy.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 162 coders/uyvy.c for (x=0; x < (ssize_t) (image->columns >> 1); x++) image 164 coders/uyvy.c u=(unsigned char) ReadBlobByte(image); image 165 coders/uyvy.c y1=(unsigned char) ReadBlobByte(image); image 166 coders/uyvy.c v=(unsigned char) ReadBlobByte(image); image 167 coders/uyvy.c y2=(unsigned char) ReadBlobByte(image); image 177 coders/uyvy.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 179 coders/uyvy.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 180 coders/uyvy.c image->rows); image 184 coders/uyvy.c SetImageColorspace(image,YCbCrColorspace); image 185 coders/uyvy.c if (EOFBlob(image) != MagickFalse) image 187 coders/uyvy.c image->filename); image 188 coders/uyvy.c (void) CloseBlob(image); image 189 coders/uyvy.c return(GetFirstImageInList(image)); image 295 coders/uyvy.c Image *image) image 321 coders/uyvy.c assert(image != (Image *) NULL); image 322 coders/uyvy.c assert(image->signature == MagickSignature); image 323 coders/uyvy.c if (image->debug != MagickFalse) image 324 coders/uyvy.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 325 coders/uyvy.c if ((image->columns % 2) != 0) image 326 coders/uyvy.c image->columns++; image 327 coders/uyvy.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 333 coders/uyvy.c uyvy_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 335 coders/uyvy.c ThrowWriterException(ResourceLimitError,image->exception.reason); image 339 coders/uyvy.c for (y=0; y < (ssize_t) image->rows; y++) image 341 coders/uyvy.c p=GetVirtualPixels(uyvy_image,0,y,image->columns,1,&image->exception); image 344 coders/uyvy.c for (x=0; x < (ssize_t) image->columns; x++) image 350 coders/uyvy.c (void) WriteBlobByte(image,ScaleQuantumToChar((Quantum) pixel.green)); image 351 coders/uyvy.c (void) WriteBlobByte(image,ScaleQuantumToChar((Quantum) pixel.red)); image 352 coders/uyvy.c (void) WriteBlobByte(image,ScaleQuantumToChar((Quantum) pixel.blue)); image 353 coders/uyvy.c (void) WriteBlobByte(image,ScaleQuantumToChar( image 362 coders/uyvy.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 363 coders/uyvy.c image->rows); image 368 coders/uyvy.c (void) CloseBlob(image); image 155 coders/vicar.c *image; image 190 coders/vicar.c image=AcquireImage(image_info); image 191 coders/vicar.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 194 coders/vicar.c image=DestroyImageList(image); image 200 coders/vicar.c c=ReadBlobByte(image); image 204 coders/vicar.c image=DestroyImage(image); image 208 coders/vicar.c image->columns=0; image 209 coders/vicar.c image->rows=0; image 210 coders/vicar.c while (isgraph(c) && ((image->columns == 0) || (image->rows == 0))) image 214 coders/vicar.c c=ReadBlobByte(image); image 230 coders/vicar.c c=ReadBlobByte(image); image 239 coders/vicar.c c=ReadBlobByte(image); image 249 coders/vicar.c c=ReadBlobByte(image); image 261 coders/vicar.c image->columns=StringToUnsignedLong(value); image 263 coders/vicar.c image->columns=StringToUnsignedLong(value); image 265 coders/vicar.c image->rows=StringToUnsignedLong(value); image 267 coders/vicar.c image->rows=StringToUnsignedLong(value); image 271 coders/vicar.c c=ReadBlobByte(image); image 277 coders/vicar.c c=ReadBlobByte(image); image 282 coders/vicar.c if ((image->columns == 0) || (image->rows == 0)) image 284 coders/vicar.c image->depth=8; image 287 coders/vicar.c (void) CloseBlob(image); image 288 coders/vicar.c return(GetFirstImageInList(image)); image 290 coders/vicar.c status=SetImageExtent(image,image->columns,image->rows); image 293 coders/vicar.c InheritException(exception,&image->exception); image 294 coders/vicar.c return(DestroyImageList(image)); image 299 coders/vicar.c (void) SetImageColorspace(image,GRAYColorspace); image 301 coders/vicar.c quantum_info=AcquireQuantumInfo(image_info,image); image 304 coders/vicar.c length=GetQuantumExtent(image,quantum_info,quantum_type); image 306 coders/vicar.c for (y=0; y < (ssize_t) image->rows; y++) image 308 coders/vicar.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 311 coders/vicar.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 315 coders/vicar.c (void) ImportQuantumPixels(image,(CacheView *) NULL,quantum_info, image 317 coders/vicar.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 319 coders/vicar.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 320 coders/vicar.c image->rows); image 324 coders/vicar.c SetQuantumImageType(image,quantum_type); image 326 coders/vicar.c if (EOFBlob(image) != MagickFalse) image 328 coders/vicar.c image->filename); image 329 coders/vicar.c (void) CloseBlob(image); image 330 coders/vicar.c return(GetFirstImageInList(image)); image 428 coders/vicar.c Image *image) image 459 coders/vicar.c assert(image != (Image *) NULL); image 460 coders/vicar.c assert(image->signature == MagickSignature); image 461 coders/vicar.c if (image->debug != MagickFalse) image 462 coders/vicar.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 463 coders/vicar.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 466 coders/vicar.c (void) TransformImageColorspace(image,sRGBColorspace); image 474 coders/vicar.c "NLB=0 TASK='ImageMagick'",(double) MaxTextExtent,(double) image->columns, image 475 coders/vicar.c (double) image->rows,(double) image->columns); image 476 coders/vicar.c (void) WriteBlob(image,MaxTextExtent,(unsigned char *) header); image 480 coders/vicar.c image->depth=8; image 481 coders/vicar.c quantum_info=AcquireQuantumInfo(image_info,image); image 485 coders/vicar.c for (y=0; y < (ssize_t) image->rows; y++) image 487 coders/vicar.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 490 coders/vicar.c length=ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 491 coders/vicar.c GrayQuantum,pixels,&image->exception); image 492 coders/vicar.c count=WriteBlob(image,length,pixels); image 495 coders/vicar.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 496 coders/vicar.c image->rows); image 501 coders/vicar.c (void) CloseBlob(image); image 108 coders/vid.c *image, image 142 coders/vid.c image=AcquireImage(image_info); image 151 coders/vid.c image=DestroyImage(image); image 304 coders/vid.c static MagickBooleanType WriteVIDImage(const ImageInfo *image_info,Image *image) image 324 coders/vid.c for (p=image; p != (Image *) NULL; p=GetNextImageInList(p)) image 327 coders/vid.c montage_image=MontageImageList(image_info,montage_info,image, image 328 coders/vid.c &image->exception); image 336 coders/vid.c (void) SetImageInfo(write_info,1,&image->exception); image 215 coders/viff.c *image; image 269 coders/viff.c image=AcquireImage(image_info); image 270 coders/viff.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 273 coders/viff.c image=DestroyImageList(image); image 279 coders/viff.c count=ReadBlob(image,1,&viff_info.identifier); image 290 coders/viff.c (void) ReadBlob(image,sizeof(viff_info.file_type),&viff_info.file_type); image 291 coders/viff.c (void) ReadBlob(image,sizeof(viff_info.release),&viff_info.release); image 292 coders/viff.c (void) ReadBlob(image,sizeof(viff_info.version),&viff_info.version); image 293 coders/viff.c (void) ReadBlob(image,sizeof(viff_info.machine_dependency), image 295 coders/viff.c (void) ReadBlob(image,sizeof(viff_info.reserve),viff_info.reserve); image 296 coders/viff.c (void) ReadBlob(image,512,(unsigned char *) viff_info.comment); image 299 coders/viff.c (void) SetImageProperty(image,"comment",viff_info.comment); image 302 coders/viff.c image->endian=LSBEndian; image 304 coders/viff.c image->endian=MSBEndian; image 305 coders/viff.c viff_info.rows=ReadBlobLong(image); image 306 coders/viff.c viff_info.columns=ReadBlobLong(image); image 307 coders/viff.c viff_info.subrows=ReadBlobLong(image); image 308 coders/viff.c viff_info.x_offset=(int) ReadBlobLong(image); image 309 coders/viff.c viff_info.y_offset=(int) ReadBlobLong(image); image 310 coders/viff.c viff_info.x_bits_per_pixel=(float) ReadBlobLong(image); image 311 coders/viff.c viff_info.y_bits_per_pixel=(float) ReadBlobLong(image); image 312 coders/viff.c viff_info.location_type=ReadBlobLong(image); image 313 coders/viff.c viff_info.location_dimension=ReadBlobLong(image); image 314 coders/viff.c viff_info.number_of_images=ReadBlobLong(image); image 315 coders/viff.c viff_info.number_data_bands=ReadBlobLong(image); image 316 coders/viff.c viff_info.data_storage_type=ReadBlobLong(image); image 317 coders/viff.c viff_info.data_encode_scheme=ReadBlobLong(image); image 318 coders/viff.c viff_info.map_scheme=ReadBlobLong(image); image 319 coders/viff.c viff_info.map_storage_type=ReadBlobLong(image); image 320 coders/viff.c viff_info.map_rows=ReadBlobLong(image); image 321 coders/viff.c viff_info.map_columns=ReadBlobLong(image); image 322 coders/viff.c viff_info.map_subrows=ReadBlobLong(image); image 323 coders/viff.c viff_info.map_enable=ReadBlobLong(image); image 324 coders/viff.c viff_info.maps_per_cycle=ReadBlobLong(image); image 325 coders/viff.c viff_info.color_space_model=ReadBlobLong(image); image 327 coders/viff.c (void) ReadBlobByte(image); image 328 coders/viff.c if (EOFBlob(image) != MagickFalse) image 330 coders/viff.c image->columns=viff_info.rows; image 331 coders/viff.c image->rows=viff_info.columns; image 332 coders/viff.c image->depth=viff_info.x_bits_per_pixel <= 8 ? 8UL : image 380 coders/viff.c image->colors=2; image 383 coders/viff.c image->colors=256UL; image 385 coders/viff.c image->colors=image->depth <= 8 ? 256UL : 65536UL; image 386 coders/viff.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 409 coders/viff.c image->colors=viff_info.map_columns; image 410 coders/viff.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 412 coders/viff.c viff_colormap=(unsigned char *) AcquireQuantumMemory(image->colors, image 419 coders/viff.c (void) ReadBlob(image,bytes_per_pixel*image->colors*viff_info.map_rows, image 429 coders/viff.c MSBOrderShort(viff_colormap,(bytes_per_pixel*image->colors* image 436 coders/viff.c MSBOrderLong(viff_colormap,(bytes_per_pixel*image->colors* image 442 coders/viff.c for (i=0; i < (ssize_t) (viff_info.map_rows*image->colors); i++) image 452 coders/viff.c if (i < (ssize_t) image->colors) image 454 coders/viff.c image->colormap[i].red=ScaleCharToQuantum((unsigned char) value); image 455 coders/viff.c image->colormap[i].green=ScaleCharToQuantum((unsigned char) image 457 coders/viff.c image->colormap[i].blue=ScaleCharToQuantum((unsigned char) value); image 460 coders/viff.c if (i < (ssize_t) (2*image->colors)) image 461 coders/viff.c image->colormap[i % image->colors].green=ScaleCharToQuantum( image 464 coders/viff.c if (i < (ssize_t) (3*image->colors)) image 465 coders/viff.c image->colormap[i % image->colors].blue=ScaleCharToQuantum( image 477 coders/viff.c image->matte=viff_info.number_data_bands == 4 ? MagickTrue : MagickFalse; image 478 coders/viff.c image->storage_class= image 480 coders/viff.c image->columns=viff_info.rows; image 481 coders/viff.c image->rows=viff_info.columns; image 483 coders/viff.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 485 coders/viff.c status=SetImageExtent(image,image->columns,image->rows); image 488 coders/viff.c InheritException(exception,&image->exception); image 489 coders/viff.c return(DestroyImageList(image)); image 503 coders/viff.c max_packets=((image->columns+7UL) >> 3UL)*image->rows; image 510 coders/viff.c (void) ReadBlob(image,bytes_per_pixel*max_packets,pixels); image 613 coders/viff.c if (image->storage_class != PseudoClass) image 615 coders/viff.c for (y=0; y < (ssize_t) image->rows; y++) image 617 coders/viff.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 620 coders/viff.c indexes=GetAuthenticIndexQueue(image); image 621 coders/viff.c for (x=0; x < (ssize_t) (image->columns-7); x+=8) image 629 coders/viff.c if (image->storage_class == PseudoClass) image 634 coders/viff.c if ((image->columns % 8) != 0) image 636 coders/viff.c for (bit=0; bit < (int) (image->columns % 8); bit++) image 642 coders/viff.c if (image->storage_class == PseudoClass) image 647 coders/viff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 649 coders/viff.c if (image->previous == (Image *) NULL) image 651 coders/viff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 652 coders/viff.c image->rows); image 659 coders/viff.c if (image->storage_class == PseudoClass) image 660 coders/viff.c for (y=0; y < (ssize_t) image->rows; y++) image 662 coders/viff.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 665 coders/viff.c indexes=GetAuthenticIndexQueue(image); image 666 coders/viff.c for (x=0; x < (ssize_t) image->columns; x++) image 668 coders/viff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 670 coders/viff.c if (image->previous == (Image *) NULL) image 672 coders/viff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 673 coders/viff.c image->rows); image 683 coders/viff.c number_pixels=(MagickSizeType) image->columns*image->rows; image 684 coders/viff.c for (y=0; y < (ssize_t) image->rows; y++) image 686 coders/viff.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 689 coders/viff.c for (x=0; x < (ssize_t) image->columns; x++) image 694 coders/viff.c if (image->colors != 0) image 700 coders/viff.c SetPixelRed(q,image->colormap[(ssize_t) image 701 coders/viff.c ConstrainColormapIndex(image,index)].red); image 703 coders/viff.c SetPixelGreen(q,image->colormap[(ssize_t) image 704 coders/viff.c ConstrainColormapIndex(image,index)].green); image 706 coders/viff.c SetPixelBlue(q,image->colormap[(ssize_t) image 707 coders/viff.c ConstrainColormapIndex(image,index)].blue); image 709 coders/viff.c SetPixelOpacity(q,image->matte != MagickFalse ? QuantumRange- image 714 coders/viff.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 716 coders/viff.c if (image->previous == (Image *) NULL) image 718 coders/viff.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 719 coders/viff.c image->rows); image 726 coders/viff.c if (image->storage_class == PseudoClass) image 727 coders/viff.c (void) SyncImage(image); image 728 coders/viff.c if (EOFBlob(image) != MagickFalse) image 731 coders/viff.c image->filename); image 738 coders/viff.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 740 coders/viff.c count=ReadBlob(image,1,&viff_info.identifier); image 746 coders/viff.c AcquireNextImage(image_info,image); image 747 coders/viff.c if (GetNextImageInList(image) == (Image *) NULL) image 749 coders/viff.c image=DestroyImageList(image); image 752 coders/viff.c image=SyncNextImageInList(image); image 753 coders/viff.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 754 coders/viff.c GetBlobSize(image)); image 759 coders/viff.c (void) CloseBlob(image); image 760 coders/viff.c return(GetFirstImageInList(image)); image 858 coders/viff.c Image *image) image 956 coders/viff.c assert(image != (Image *) NULL); image 957 coders/viff.c assert(image->signature == MagickSignature); image 958 coders/viff.c if (image->debug != MagickFalse) image 959 coders/viff.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 960 coders/viff.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 970 coders/viff.c (void) TransformImageColorspace(image,sRGBColorspace); image 979 coders/viff.c value=GetImageProperty(image,"comment"); image 983 coders/viff.c viff_info.rows=image->columns; image 984 coders/viff.c viff_info.columns=image->rows; image 1001 coders/viff.c number_pixels=(MagickSizeType) image->columns*image->rows; image 1002 coders/viff.c if (image->storage_class == DirectClass) image 1007 coders/viff.c viff_info.number_data_bands=image->matte ? 4U : 3U; image 1018 coders/viff.c if (SetImageGray(image,&image->exception) == MagickFalse) image 1026 coders/viff.c viff_info.map_columns=(unsigned int) image->colors; image 1029 coders/viff.c if (image->colors <= 2) image 1035 coders/viff.c packets=((image->columns+7) >> 3)*image->rows; image 1041 coders/viff.c (void) WriteBlob(image,sizeof(viff_info.identifier),(unsigned char *) image 1043 coders/viff.c (void) WriteBlob(image,sizeof(viff_info.file_type),(unsigned char *) image 1045 coders/viff.c (void) WriteBlob(image,sizeof(viff_info.release),(unsigned char *) image 1047 coders/viff.c (void) WriteBlob(image,sizeof(viff_info.version),(unsigned char *) image 1049 coders/viff.c (void) WriteBlob(image,sizeof(viff_info.machine_dependency), image 1051 coders/viff.c (void) WriteBlob(image,sizeof(viff_info.reserve),(unsigned char *) image 1053 coders/viff.c (void) WriteBlob(image,512,(unsigned char *) viff_info.comment); image 1054 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.rows); image 1055 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.columns); image 1056 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.subrows); image 1057 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.x_offset); image 1058 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.y_offset); image 1060 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.x_bits_per_pixel); image 1062 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.y_bits_per_pixel); image 1063 coders/viff.c (void) WriteBlobMSBLong(image,viff_info.location_type); image 1064 coders/viff.c (void) WriteBlobMSBLong(image,viff_info.location_dimension); image 1065 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.number_of_images); image 1066 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.number_data_bands); image 1067 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.data_storage_type); image 1068 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.data_encode_scheme); image 1069 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.map_scheme); image 1070 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.map_storage_type); image 1071 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.map_rows); image 1072 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.map_columns); image 1073 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.map_subrows); image 1074 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.map_enable); image 1075 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.maps_per_cycle); image 1076 coders/viff.c (void) WriteBlobMSBLong(image,(unsigned int) viff_info.color_space_model); image 1078 coders/viff.c (void) WriteBlobByte(image,'\0'); image 1087 coders/viff.c if (image->storage_class == DirectClass) image 1092 coders/viff.c number_pixels=(MagickSizeType) image->columns*image->rows; image 1093 coders/viff.c for (y=0; y < (ssize_t) image->rows; y++) image 1095 coders/viff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1098 coders/viff.c for (x=0; x < (ssize_t) image->columns; x++) image 1103 coders/viff.c if (image->matte != MagickFalse) image 1109 coders/viff.c if (image->previous == (Image *) NULL) image 1111 coders/viff.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1112 coders/viff.c image->rows); image 1119 coders/viff.c if (SetImageGray(image,&image->exception) == MagickFalse) image 1127 coders/viff.c viff_colormap=(unsigned char *) AcquireQuantumMemory(image->colors, image 1132 coders/viff.c for (i=0; i < (ssize_t) image->colors; i++) image 1133 coders/viff.c *q++=ScaleQuantumToChar(image->colormap[i].red); image 1134 coders/viff.c for (i=0; i < (ssize_t) image->colors; i++) image 1135 coders/viff.c *q++=ScaleQuantumToChar(image->colormap[i].green); image 1136 coders/viff.c for (i=0; i < (ssize_t) image->colors; i++) image 1137 coders/viff.c *q++=ScaleQuantumToChar(image->colormap[i].blue); image 1138 coders/viff.c (void) WriteBlob(image,3*image->colors,viff_colormap); image 1144 coders/viff.c for (y=0; y < (ssize_t) image->rows; y++) image 1146 coders/viff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1149 coders/viff.c indexes=GetVirtualIndexQueue(image); image 1150 coders/viff.c for (x=0; x < (ssize_t) image->columns; x++) image 1152 coders/viff.c if (image->previous == (Image *) NULL) image 1154 coders/viff.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1155 coders/viff.c image->rows); image 1162 coders/viff.c if (image->colors <= 2) image 1175 coders/viff.c (void) SetImageType(image,BilevelType); image 1176 coders/viff.c for (y=0; y < (ssize_t) image->rows; y++) image 1178 coders/viff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1181 coders/viff.c indexes=GetVirtualIndexQueue(image); image 1184 coders/viff.c for (x=0; x < (ssize_t) image->columns; x++) image 1187 coders/viff.c if (GetPixelLuma(image,p) < (QuantumRange/2.0)) image 1199 coders/viff.c if (image->previous == (Image *) NULL) image 1201 coders/viff.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 1202 coders/viff.c y,image->rows); image 1213 coders/viff.c for (y=0; y < (ssize_t) image->rows; y++) image 1215 coders/viff.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1218 coders/viff.c for (x=0; x < (ssize_t) image->columns; x++) image 1220 coders/viff.c *q++=(unsigned char) ClampToQuantum(GetPixelLuma(image,p)); image 1223 coders/viff.c if (image->previous == (Image *) NULL) image 1225 coders/viff.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) image 1226 coders/viff.c y,image->rows); image 1232 coders/viff.c (void) WriteBlob(image,(size_t) packets,pixels); image 1234 coders/viff.c if (GetNextImageInList(image) == (Image *) NULL) image 1236 coders/viff.c image=SyncNextImageInList(image); image 1237 coders/viff.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1238 coders/viff.c GetImageListLength(image)); image 1242 coders/viff.c (void) CloseBlob(image); image 214 coders/vips.c static inline Quantum ReadVIPSPixelNONE(Image *image, image 229 coders/vips.c c=(unsigned char) ReadBlobByte(image); image 233 coders/vips.c c=(unsigned char) ReadBlobShort(image); image 237 coders/vips.c c=(unsigned char) ReadBlobLong(image); image 240 coders/vips.c c=(unsigned char) ReadBlobFloat(image); image 243 coders/vips.c c=(unsigned char) ReadBlobDouble(image); image 261 coders/vips.c s=(unsigned short) ReadBlobShort(image); image 265 coders/vips.c s=(unsigned short) ReadBlobLong(image); image 268 coders/vips.c s=(unsigned short) ReadBlobFloat(image); image 271 coders/vips.c s=(unsigned short) ReadBlobDouble(image); image 285 coders/vips.c return(ScaleCharToQuantum((unsigned char) ReadBlobByte(image))); image 288 coders/vips.c return(ScaleShortToQuantum(ReadBlobShort(image))); image 291 coders/vips.c return(ScaleLongToQuantum(ReadBlobLong(image))); image 293 coders/vips.c return((Quantum) ((float) QuantumRange*(ReadBlobFloat(image)/1.0))); image 296 coders/vips.c image)/1.0))); image 305 coders/vips.c static MagickBooleanType ReadVIPSPixelsNONE(Image *image, image 324 coders/vips.c for (y = 0; y < (ssize_t) image->rows; y++) image 326 coders/vips.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 329 coders/vips.c indexes=GetAuthenticIndexQueue(image); image 330 coders/vips.c for (x=0; x < (ssize_t) image->columns; x++) image 332 coders/vips.c pixel=ReadVIPSPixelNONE(image,format,type); image 339 coders/vips.c SetPixelAlpha(q,ReadVIPSPixelNONE(image,format,type)); image 343 coders/vips.c SetPixelGreen(q,ReadVIPSPixelNONE(image,format,type)); image 344 coders/vips.c SetPixelBlue(q,ReadVIPSPixelNONE(image,format,type)); image 347 coders/vips.c if (image->colorspace == CMYKColorspace) image 348 coders/vips.c SetPixelIndex(indexes+x,ReadVIPSPixelNONE(image,format,type)); image 350 coders/vips.c SetPixelAlpha(q,ReadVIPSPixelNONE(image,format,type)); image 354 coders/vips.c SetPixelIndex(indexes+x,ReadVIPSPixelNONE(image,format,type)); image 355 coders/vips.c SetPixelAlpha(q,ReadVIPSPixelNONE(image,format,type)); image 360 coders/vips.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 374 coders/vips.c *image; image 403 coders/vips.c image=AcquireImage(image_info); image 404 coders/vips.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 407 coders/vips.c image=DestroyImageList(image); image 410 coders/vips.c marker=ReadBlobLSBLong(image); image 412 coders/vips.c image->endian=LSBEndian; image 414 coders/vips.c image->endian=MSBEndian; image 417 coders/vips.c image->columns=(size_t) ReadBlobLong(image); image 418 coders/vips.c image->rows=(size_t) ReadBlobLong(image); image 419 coders/vips.c status=SetImageExtent(image,image->columns,image->rows); image 422 coders/vips.c InheritException(exception,&image->exception); image 423 coders/vips.c return(DestroyImageList(image)); image 425 coders/vips.c channels=ReadBlobLong(image); image 426 coders/vips.c (void) ReadBlobLong(image); /* Legacy */ image 427 coders/vips.c format=(VIPSBandFormat) ReadBlobLong(image); image 432 coders/vips.c image->depth=8; image 436 coders/vips.c image->depth=16; image 441 coders/vips.c image->depth=32; image 444 coders/vips.c image->depth=64; image 452 coders/vips.c coding=(VIPSCoding) ReadBlobLong(image); image 453 coders/vips.c type=(VIPSType) ReadBlobLong(image); image 457 coders/vips.c SetImageColorspace(image,CMYKColorspace); image 459 coders/vips.c image->matte=MagickTrue; image 463 coders/vips.c SetImageColorspace(image,GRAYColorspace); image 465 coders/vips.c image->matte=MagickTrue; image 469 coders/vips.c SetImageColorspace(image,RGBColorspace); image 471 coders/vips.c image->matte=MagickTrue; image 474 coders/vips.c SetImageColorspace(image,sRGBColorspace); image 476 coders/vips.c image->matte=MagickTrue; image 491 coders/vips.c image->units=PixelsPerCentimeterResolution; image 492 coders/vips.c image->x_resolution=ReadBlobFloat(image)*10; image 493 coders/vips.c image->y_resolution=ReadBlobFloat(image)*10; image 497 coders/vips.c (void) ReadBlobLongLong(image); image 498 coders/vips.c (void) ReadBlobLongLong(image); image 499 coders/vips.c (void) ReadBlobLongLong(image); image 501 coders/vips.c return(image); image 508 coders/vips.c status=ReadVIPSPixelsNONE(image,format,type,channels,exception); image 512 coders/vips.c while ((n=ReadBlob(image,MaxTextExtent-1,(unsigned char *) buffer)) != 0) image 521 coders/vips.c SetImageProperty(image,"vips:metadata",metadata); image 522 coders/vips.c (void) CloseBlob(image); image 525 coders/vips.c return(image); image 616 coders/vips.c static inline void WriteVIPSPixel(Image *image, const Quantum value) image 618 coders/vips.c if (image->depth == 16) image 619 coders/vips.c (void) WriteBlobShort(image,ScaleQuantumToShort(value)); image 621 coders/vips.c (void) WriteBlobByte(image,ScaleQuantumToChar(value)); image 625 coders/vips.c Image *image) image 650 coders/vips.c assert(image != (Image *) NULL); image 651 coders/vips.c assert(image->signature == MagickSignature); image 652 coders/vips.c if (image->debug != MagickFalse) image 653 coders/vips.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 655 coders/vips.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 658 coders/vips.c if (image->endian == LSBEndian) image 659 coders/vips.c (void) WriteBlobLSBLong(image,VIPS_MAGIC_LSB); image 661 coders/vips.c (void) WriteBlobLSBLong(image,VIPS_MAGIC_MSB); image 662 coders/vips.c (void) WriteBlobLong(image,(unsigned int) image->columns); image 663 coders/vips.c (void) WriteBlobLong(image,(unsigned int) image->rows); image 664 coders/vips.c (void) SetImageStorageClass(image,DirectClass); image 665 coders/vips.c channels=image->matte ? 4 : 3; image 666 coders/vips.c if (SetImageGray(image,&image->exception) != MagickFalse) image 667 coders/vips.c channels=image->matte ? 2 : 1; image 668 coders/vips.c else if (image->colorspace == CMYKColorspace) image 669 coders/vips.c channels=image->matte ? 5 : 4; image 670 coders/vips.c (void) WriteBlobLong(image,channels); image 671 coders/vips.c (void) WriteBlobLong(image,0); image 672 coders/vips.c if (image->depth == 16) image 673 coders/vips.c (void) WriteBlobLong(image,(unsigned int) VIPSBandFormatUSHORT); image 676 coders/vips.c image->depth=8; image 677 coders/vips.c (void) WriteBlobLong(image,(unsigned int) VIPSBandFormatUCHAR); image 679 coders/vips.c (void) WriteBlobLong(image,VIPSCodingNONE); image 680 coders/vips.c switch(image->colorspace) image 683 coders/vips.c (void) WriteBlobLong(image,VIPSTypeCMYK); image 686 coders/vips.c if (image->depth == 16) image 687 coders/vips.c (void) WriteBlobLong(image, VIPSTypeGREY16); image 689 coders/vips.c (void) WriteBlobLong(image, VIPSTypeB_W); image 692 coders/vips.c if (image->depth == 16) image 693 coders/vips.c (void) WriteBlobLong(image, VIPSTypeRGB16); image 695 coders/vips.c (void) WriteBlobLong(image, VIPSTypeRGB); image 699 coders/vips.c (void) SetImageColorspace(image,sRGBColorspace); image 700 coders/vips.c (void) WriteBlobLong(image,VIPSTypesRGB); image 703 coders/vips.c if (image->units == PixelsPerCentimeterResolution) image 705 coders/vips.c (void) WriteBlobFloat(image,(image->x_resolution / 10)); image 706 coders/vips.c (void) WriteBlobFloat(image,(image->y_resolution / 10)); image 708 coders/vips.c else if (image->units == PixelsPerInchResolution) image 710 coders/vips.c (void) WriteBlobFloat(image,(image->x_resolution / 25.4)); image 711 coders/vips.c (void) WriteBlobFloat(image,(image->y_resolution / 25.4)); image 715 coders/vips.c (void) WriteBlobLong(image,0); image 716 coders/vips.c (void) WriteBlobLong(image,0); image 722 coders/vips.c (void) WriteBlobByte(image,0); image 723 coders/vips.c for (y=0; y < (ssize_t) image->rows; y++) image 725 coders/vips.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 728 coders/vips.c indexes=GetVirtualIndexQueue(image); image 729 coders/vips.c for (x=0; x < (ssize_t) image->columns; x++) image 731 coders/vips.c WriteVIPSPixel(image,GetPixelRed(p)); image 733 coders/vips.c WriteVIPSPixel(image,GetPixelAlpha(p)); image 736 coders/vips.c WriteVIPSPixel(image,GetPixelGreen(p)); image 737 coders/vips.c WriteVIPSPixel(image,GetPixelBlue(p)); image 740 coders/vips.c if (image->colorspace == CMYKColorspace) image 741 coders/vips.c WriteVIPSPixel(image,GetPixelIndex(indexes+x)); image 743 coders/vips.c WriteVIPSPixel(image,GetPixelAlpha(p)); image 747 coders/vips.c WriteVIPSPixel(image,GetPixelIndex(indexes+x)); image 748 coders/vips.c WriteVIPSPixel(image,GetPixelAlpha(p)); image 754 coders/vips.c metadata=GetImageProperty(image,"vips:metadata"); image 756 coders/vips.c WriteBlobString(image,metadata); image 757 coders/vips.c (void) CloseBlob(image); image 101 coders/wbmp.c static MagickBooleanType WBMPReadInteger(Image *image,size_t *value) image 109 coders/wbmp.c byte=ReadBlobByte(image); image 122 coders/wbmp.c *image; image 158 coders/wbmp.c image=AcquireImage(image_info); image 159 coders/wbmp.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 162 coders/wbmp.c image=DestroyImageList(image); image 165 coders/wbmp.c if (ReadBlob(image,2,(unsigned char *) &header) == 0) image 172 coders/wbmp.c if (WBMPReadInteger(image,&image->columns) == MagickFalse) image 174 coders/wbmp.c if (WBMPReadInteger(image,&image->rows) == MagickFalse) image 176 coders/wbmp.c if ((image->columns == 0) || (image->rows == 0)) image 178 coders/wbmp.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 180 coders/wbmp.c image->filename); image 181 coders/wbmp.c if (AcquireImageColormap(image,2) == MagickFalse) image 185 coders/wbmp.c (void) CloseBlob(image); image 186 coders/wbmp.c return(GetFirstImageInList(image)); image 188 coders/wbmp.c status=SetImageExtent(image,image->columns,image->rows); image 191 coders/wbmp.c InheritException(exception,&image->exception); image 192 coders/wbmp.c return(DestroyImageList(image)); image 197 coders/wbmp.c for (y=0; y < (ssize_t) image->rows; y++) image 199 coders/wbmp.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 202 coders/wbmp.c indexes=GetAuthenticIndexQueue(image); image 205 coders/wbmp.c for (x=0; x < (ssize_t) image->columns; x++) image 209 coders/wbmp.c byte=ReadBlobByte(image); image 218 coders/wbmp.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 220 coders/wbmp.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 221 coders/wbmp.c image->rows); image 225 coders/wbmp.c (void) SyncImage(image); image 226 coders/wbmp.c if (EOFBlob(image) != MagickFalse) image 228 coders/wbmp.c image->filename); image 229 coders/wbmp.c (void) CloseBlob(image); image 230 coders/wbmp.c return(GetFirstImageInList(image)); image 325 coders/wbmp.c static void WBMPWriteInteger(Image *image,const size_t value) image 353 coders/wbmp.c (void) WriteBlob(image,(size_t) n,buffer+5-n); image 357 coders/wbmp.c Image *image) image 380 coders/wbmp.c assert(image != (Image *) NULL); image 381 coders/wbmp.c assert(image->signature == MagickSignature); image 382 coders/wbmp.c if (image->debug != MagickFalse) image 383 coders/wbmp.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 384 coders/wbmp.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 387 coders/wbmp.c (void) TransformImageColorspace(image,sRGBColorspace); image 391 coders/wbmp.c (void) SetImageType(image,BilevelType); image 392 coders/wbmp.c (void) WriteBlobMSBShort(image,0); image 393 coders/wbmp.c WBMPWriteInteger(image,image->columns); image 394 coders/wbmp.c WBMPWriteInteger(image,image->rows); image 395 coders/wbmp.c for (y=0; y < (ssize_t) image->rows; y++) image 397 coders/wbmp.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 402 coders/wbmp.c for (x=0; x < (ssize_t) image->columns; x++) image 404 coders/wbmp.c if (GetPixelLuma(image,p) >= (QuantumRange/2.0)) image 409 coders/wbmp.c (void) WriteBlobByte(image,byte); image 416 coders/wbmp.c (void) WriteBlobByte(image,byte); image 417 coders/wbmp.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 418 coders/wbmp.c image->rows); image 422 coders/wbmp.c (void) CloseBlob(image); image 208 coders/webp.c *image; image 249 coders/webp.c image=AcquireImage(image_info); image 250 coders/webp.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 253 coders/webp.c image=DestroyImageList(image); image 259 coders/webp.c count=ReadBlob(image,12,header); image 272 coders/webp.c count=ReadBlob(image,length-12,stream+12); image 278 coders/webp.c image->columns=(size_t) features->width; image 279 coders/webp.c image->rows=(size_t) features->height; image 280 coders/webp.c image->depth=8; image 281 coders/webp.c image->matte=features->has_alpha != 0 ? MagickTrue : MagickFalse; image 283 coders/webp.c image->quality=100; image 287 coders/webp.c (void) CloseBlob(image); image 288 coders/webp.c return(GetFirstImageInList(image)); image 290 coders/webp.c status=SetImageExtent(image,image->columns,image->rows); image 293 coders/webp.c InheritException(exception,&image->exception); image 294 coders/webp.c return(DestroyImageList(image)); image 343 coders/webp.c for (y=0; y < (ssize_t) image->rows; y++) image 351 coders/webp.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 354 coders/webp.c for (x=0; x < (ssize_t) image->columns; x++) image 362 coders/webp.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 364 coders/webp.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 365 coders/webp.c image->rows); image 371 coders/webp.c return(image); image 485 coders/webp.c *image; image 490 coders/webp.c image=(Image *) picture->custom_ptr; image 491 coders/webp.c status=SetImageProgress(image,EncodeImageTag,percent-1,100); image 500 coders/webp.c *image; image 502 coders/webp.c image=(Image *) picture->custom_ptr; image 503 coders/webp.c return(length != 0 ? (int) WriteBlob(image,length,stream) : 1); image 507 coders/webp.c Image *image) image 541 coders/webp.c assert(image != (Image *) NULL); image 542 coders/webp.c assert(image->signature == MagickSignature); image 543 coders/webp.c if (image->debug != MagickFalse) image 544 coders/webp.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 545 coders/webp.c if ((image->columns > 16383UL) || (image->rows > 16383UL)) image 547 coders/webp.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 553 coders/webp.c picture.custom_ptr=(void *) image; image 558 coders/webp.c picture.width=(int) image->columns; image 559 coders/webp.c picture.height=(int) image->rows; image 560 coders/webp.c picture.argb_stride=(int) image->columns; image 562 coders/webp.c if (image->quality != UndefinedCompressionQuality) image 563 coders/webp.c configure.quality=(float) image->quality; image 564 coders/webp.c if (image->quality >= 100) image 654 coders/webp.c (void) TransformImageColorspace(image,sRGBColorspace); image 655 coders/webp.c pixel_info=AcquireVirtualMemory(image->columns,image->rows* image 664 coders/webp.c for (y=0; y < (ssize_t) image->rows; y++) image 672 coders/webp.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 675 coders/webp.c for (x=0; x < (ssize_t) image->columns; x++) image 677 coders/webp.c *q++=(uint32_t) (image->matte != MagickFalse ? image 684 coders/webp.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 685 coders/webp.c image->rows); image 755 coders/webp.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 756 coders/webp.c CorruptImageError,(char *) message,"`%s'",image->filename); image 761 coders/webp.c (void) CloseBlob(image); image 102 coders/wmf.c static int WMFReadBlob(void *image) image 104 coders/wmf.c return(ReadBlobByte((Image *) image)); image 107 coders/wmf.c static int WMFSeekBlob(void *image,long offset) image 109 coders/wmf.c return((int) SeekBlob((Image *) image,(MagickOffsetType) offset,SEEK_SET)); image 112 coders/wmf.c static long WMFTellBlob(void *image) image 114 coders/wmf.c return((long) TellBlob((Image*) image)); image 129 coders/wmf.c *image; image 158 coders/wmf.c image=AcquireImage(image_info); image 159 coders/wmf.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 162 coders/wmf.c image=DestroyImageList(image); image 178 coders/wmf.c (void *) image); image 184 coders/wmf.c image->filename); image 185 coders/wmf.c image=DestroyImageList(image); image 217 coders/wmf.c (void) CloseBlob(image); image 218 coders/wmf.c image=DestroyImage(image); image 226 coders/wmf.c image=ReadImage(read_info,exception); image 228 coders/wmf.c if (image != (Image *) NULL) image 230 coders/wmf.c (void) CopyMagickString(image->filename,image_info->filename, image 232 coders/wmf.c (void) CopyMagickString(image->magick_filename,image_info->filename, image 234 coders/wmf.c (void) CopyMagickString(image->magick,"WMF",MaxTextExtent); image 237 coders/wmf.c return(GetFirstImageInList(image)); image 342 coders/wmf.c *image; image 451 coders/wmf.c *image; image 456 coders/wmf.c image=(Image *) context; image 457 coders/wmf.c assert(image->signature == MagickSignature); image 458 coders/wmf.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 459 coders/wmf.c GetBlobSize(image)); image 648 coders/wmf.c *image; image 664 coders/wmf.c image = (Image*)bmp_draw->bmp.data; image 665 coders/wmf.c if (!image) image 667 coders/wmf.c InheritException(&ddata->image->exception,exception); image 688 coders/wmf.c crop_image = CropImage( image, &crop_info, exception ); image 691 coders/wmf.c image=DestroyImageList(image); image 692 coders/wmf.c image = crop_image; image 693 coders/wmf.c bmp_draw->bmp.data = (void*)image; image 696 coders/wmf.c InheritException(&ddata->image->exception,exception); image 713 coders/wmf.c TransparentPaintImage( image, &white, QuantumRange, MagickFalse ); image 719 coders/wmf.c magick_wand=NewMagickWandFromImage(image); image 733 coders/wmf.c printf("image size WxH = %lux%lu\n", image->columns, image->rows); image 745 coders/wmf.c *image; image 770 coders/wmf.c image=BlobToImage(image_info, (const void *) bmp_read->buffer, image 773 coders/wmf.c if (image == (Image *) NULL) image 780 coders/wmf.c (void) ThrowMagickException(&ddata->image->exception,GetMagickModule(), image 786 coders/wmf.c printf("ipa_bmp_read: rows=%ld,columns=%ld\n\n", image->rows, image->columns); image 789 coders/wmf.c bmp_read->bmp.data = (void*)image; image 790 coders/wmf.c bmp_read->bmp.width = (U16)image->columns; image 791 coders/wmf.c bmp_read->bmp.height = (U16)image->rows; image 819 coders/wmf.c ddata->draw_wand = AcquireDrawingWand(ddata->draw_info,ddata->image); image 857 coders/wmf.c DrawSetViewbox(WmfDrawingWand, 0, 0, ddata->image->columns, ddata->image->rows ); image 879 coders/wmf.c PixelSetQuantumColor(background_color,&ddata->image->background_color); image 890 coders/wmf.c *image; image 906 coders/wmf.c image = ReadImage(image_info,exception); image 908 coders/wmf.c if (image) image 916 coders/wmf.c (void) CopyMagickString(image->magick,"MIFF",MaxTextExtent); image 918 coders/wmf.c draw_pattern_push(API,ddata->pattern_id,image->columns,image->rows); image 919 coders/wmf.c magick_wand=NewMagickWandFromImage(image); image 921 coders/wmf.c image->columns,image->rows,magick_wand); image 933 coders/wmf.c image=DestroyImageList(image); image 939 coders/wmf.c InheritException(&ddata->image->exception,exception); image 1450 coders/wmf.c ddata->image = 0; image 1541 coders/wmf.c *image = ddata->image; image 1551 coders/wmf.c if (GetTypeMetrics(image, draw_info, &metrics) != MagickFalse) image 1884 coders/wmf.c *image; image 1889 coders/wmf.c image = (Image*)brush_bmp->data; image 1953 coders/wmf.c magick_wand=NewMagickWandFromImage(image); image 2158 coders/wmf.c *image = ddata->image; image 2177 coders/wmf.c if (GetTypeMetrics(image, draw_info, &metrics) != MagickFalse) image 2185 coders/wmf.c if (GetTypeMetrics(image, draw_info, &metrics) != MagickFalse) image 2192 coders/wmf.c if (GetTypeMetrics(image, draw_info, &metrics) != MagickFalse) image 2198 coders/wmf.c if (GetTypeMetrics(image, &draw_info, &metrics) != MagickFalse) image 2269 coders/wmf.c *image = ddata->image; image 2287 coders/wmf.c orig_x_resolution = image->x_resolution; image 2288 coders/wmf.c orig_y_resolution = image->y_resolution; image 2289 coders/wmf.c orig_resolution_units = image->units; image 2299 coders/wmf.c image->x_resolution = 72; image 2300 coders/wmf.c image->y_resolution = 72; image 2301 coders/wmf.c image->units = PixelsPerInchResolution; image 2303 coders/wmf.c if (GetTypeMetrics(image, draw_info, &metrics) != MagickFalse) image 2304 coders/wmf.c stringwidth = ((metrics.width * 72)/(image->x_resolution * draw_info->pointsize)); /* *0.916348; */ image 2320 coders/wmf.c image->x_resolution = orig_x_resolution; image 2321 coders/wmf.c image->y_resolution = orig_y_resolution; image 2322 coders/wmf.c image->units = orig_resolution_units; image 2419 coders/wmf.c InheritException(&ddata->image->exception,exception); image 2580 coders/wmf.c *image; image 2603 coders/wmf.c image=AcquireImage(image_info); image 2604 coders/wmf.c if (OpenBlob(image_info,image,ReadBinaryBlobMode,exception) == MagickFalse) image 2606 coders/wmf.c if (image->debug != MagickFalse) image 2613 coders/wmf.c image=DestroyImageList(image); image 2635 coders/wmf.c if (image->debug != MagickFalse) image 2646 coders/wmf.c wmf_status_function(API,image,magick_progress_callback); image 2649 coders/wmf.c ddata->image=image; image 2669 coders/wmf.c ipa_blob_tell,(void*)image); image 2673 coders/wmf.c if (image->debug != MagickFalse) image 2681 coders/wmf.c image->filename); image 2682 coders/wmf.c image=DestroyImageList(image); image 2690 coders/wmf.c if (image->debug != MagickFalse) image 2697 coders/wmf.c if (image->debug != MagickFalse) image 2716 coders/wmf.c if (image->y_resolution != 0.0) image 2718 coders/wmf.c resolution_y = image->y_resolution; image 2719 coders/wmf.c if (image->units == PixelsPerCentimeterResolution) image 2723 coders/wmf.c if (image->x_resolution != 0.0) image 2725 coders/wmf.c resolution_x = image->x_resolution; image 2726 coders/wmf.c if (image->units == PixelsPerCentimeterResolution) image 2735 coders/wmf.c if (image->debug != MagickFalse) image 2791 coders/wmf.c if (image->debug != MagickFalse) image 2864 coders/wmf.c image->rows=(unsigned long) ceil(image_height); image 2865 coders/wmf.c image->columns=(unsigned long) ceil(image_width); image 2870 coders/wmf.c (void) CloseBlob(image); image 2871 coders/wmf.c if (image->debug != MagickFalse) image 2874 coders/wmf.c return(GetFirstImageInList(image)); image 2876 coders/wmf.c status=SetImageExtent(image,image->columns,image->rows); image 2879 coders/wmf.c InheritException(exception,&image->exception); image 2880 coders/wmf.c return(DestroyImageList(image)); image 2882 coders/wmf.c if (image->debug != MagickFalse) image 2884 coders/wmf.c " Creating canvas image with size %lux%lu",(unsigned long) image->rows, image 2885 coders/wmf.c (unsigned long) image->columns); image 2891 coders/wmf.c image->background_color = image_info->background_color; image 2892 coders/wmf.c if (image->background_color.opacity != OpaqueOpacity) image 2893 coders/wmf.c image->matte = MagickTrue; image 2894 coders/wmf.c (void) SetImageBackgroundColor(image); image 2901 coders/wmf.c if (image->debug != MagickFalse) image 2909 coders/wmf.c if (image->debug != MagickFalse) image 2924 coders/wmf.c if (image->debug != MagickFalse) image 2929 coders/wmf.c if (image->debug != MagickFalse) image 2934 coders/wmf.c (void) CloseBlob(image); image 2937 coders/wmf.c return image; image 244 coders/wpg.c static void Rd_WP_DWORD(Image *image,size_t *d) image 249 coders/wpg.c b=ReadBlobByte(image); image 253 coders/wpg.c b=ReadBlobByte(image); image 255 coders/wpg.c b=ReadBlobByte(image); image 260 coders/wpg.c b=ReadBlobByte(image); image 262 coders/wpg.c b=ReadBlobByte(image); image 267 coders/wpg.c static void InsertRow(unsigned char *p,ssize_t y,Image *image, int bpp) image 287 coders/wpg.c exception=(&image->exception); image 292 coders/wpg.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 295 coders/wpg.c indexes=GetAuthenticIndexQueue(image); image 296 coders/wpg.c for (x=0; x < ((ssize_t) image->columns-7); x+=8) image 302 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 307 coders/wpg.c if ((image->columns % 8) != 0) image 309 coders/wpg.c for (bit=0; bit < (ssize_t) (image->columns % 8); bit++) image 313 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 318 coders/wpg.c if (!SyncAuthenticPixels(image,exception)) image 324 coders/wpg.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 327 coders/wpg.c indexes=GetAuthenticIndexQueue(image); image 328 coders/wpg.c for (x=0; x < ((ssize_t) image->columns-1); x+=2) image 330 coders/wpg.c index=ConstrainColormapIndex(image,(*p >> 6) & 0x3); image 332 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 334 coders/wpg.c index=ConstrainColormapIndex(image,(*p >> 4) & 0x3); image 336 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 338 coders/wpg.c index=ConstrainColormapIndex(image,(*p >> 2) & 0x3); image 340 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 342 coders/wpg.c index=ConstrainColormapIndex(image,(*p) & 0x3); image 344 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 348 coders/wpg.c if ((image->columns % 4) != 0) image 350 coders/wpg.c index=ConstrainColormapIndex(image,(*p >> 6) & 0x3); image 352 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 354 coders/wpg.c if ((image->columns % 4) >= 1) image 357 coders/wpg.c index=ConstrainColormapIndex(image,(*p >> 4) & 0x3); image 359 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 361 coders/wpg.c if ((image->columns % 4) >= 2) image 364 coders/wpg.c index=ConstrainColormapIndex(image,(*p >> 2) & 0x3); image 366 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 372 coders/wpg.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 379 coders/wpg.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 382 coders/wpg.c indexes=GetAuthenticIndexQueue(image); image 383 coders/wpg.c for (x=0; x < ((ssize_t) image->columns-1); x+=2) image 385 coders/wpg.c index=ConstrainColormapIndex(image,(*p >> 4) & 0x0f); image 387 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 389 coders/wpg.c index=ConstrainColormapIndex(image,(*p) & 0x0f); image 391 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 395 coders/wpg.c if ((image->columns % 2) != 0) image 397 coders/wpg.c index=ConstrainColormapIndex(image,(*p >> 4) & 0x0f); image 399 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 403 coders/wpg.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 409 coders/wpg.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 411 coders/wpg.c indexes=GetAuthenticIndexQueue(image); image 413 coders/wpg.c for (x=0; x < (ssize_t) image->columns; x++) image 415 coders/wpg.c index=ConstrainColormapIndex(image,*p); image 417 coders/wpg.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 421 coders/wpg.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 427 coders/wpg.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 430 coders/wpg.c for (x=0; x < (ssize_t) image->columns; x++) image 437 coders/wpg.c if (!SyncAuthenticPixels(image,exception)) image 451 coders/wpg.c InsertRow(BImgBuff,(ssize_t) y,image,bpp); \ image 457 coders/wpg.c static int UnpackWPGRaster(Image *image,int bpp) image 475 coders/wpg.c ldblk=(ssize_t) ((bpp*image->columns+7)/8); image 480 coders/wpg.c while(y<(ssize_t) image->rows) image 485 coders/wpg.c c=ReadBlobByte(image); image 494 coders/wpg.c bbuf=ReadBlobByte(image); image 498 coders/wpg.c c=ReadBlobByte(image); image 510 coders/wpg.c bbuf=ReadBlobByte(image); image 515 coders/wpg.c c=ReadBlobByte(image); image 529 coders/wpg.c if(y>(ssize_t) image->rows) image 534 coders/wpg.c InsertRow(BImgBuff,y-1,image,bpp); image 540 coders/wpg.c return(y < (ssize_t) image->rows ? -5 : 0); image 556 coders/wpg.c InsertRow(BImgBuff,(ssize_t) y,image,bpp); \ image 562 coders/wpg.c static int UnpackWPG2Raster(Image *image,int bpp) image 587 coders/wpg.c ldblk=(ssize_t) ((bpp*image->columns+7)/8); image 593 coders/wpg.c while( y< image->rows) image 595 coders/wpg.c bbuf=ReadBlobByte(image); image 600 coders/wpg.c SampleSize=ReadBlobByte(image); /* DSZ */ image 612 coders/wpg.c RunCount=ReadBlobByte(image); /* BLK */ image 621 coders/wpg.c RunCount=ReadBlobByte(image); /* EXT */ image 629 coders/wpg.c RunCount=ReadBlobByte(image); /* RST */ image 643 coders/wpg.c InsertRow(BImgBuff,(ssize_t) (image->rows >= y ? y : image->rows-1), image 644 coders/wpg.c image,bpp); image 650 coders/wpg.c RunCount=ReadBlobByte(image); /* WHT */ image 664 coders/wpg.c SampleBuffer[i]=ReadBlobByte(image); image 672 coders/wpg.c bbuf=ReadBlobByte(image); image 685 coders/wpg.c static unsigned LoadWPG2Flags(Image *image,char Precision,float *Angle,tCTM *CTM) image 697 coders/wpg.c Flags=ReadBlobLSBShort(image); image 698 coders/wpg.c if(Flags & LCK) (void) ReadBlobLSBLong(image); /*Edit lock*/ image 702 coders/wpg.c {(void) ReadBlobLSBShort(image);} /*ObjectID*/ image 704 coders/wpg.c {(void) ReadBlobLSBLong(image);} /*ObjectID (Double precision)*/ image 708 coders/wpg.c x=ReadBlobLSBLong(image); /*Rot Angle*/ image 713 coders/wpg.c x=ReadBlobLSBLong(image); /*Sx*cos()*/ image 715 coders/wpg.c x=ReadBlobLSBLong(image); /*Sy*cos()*/ image 720 coders/wpg.c x=ReadBlobLSBLong(image); /*Kx*sin()*/ image 722 coders/wpg.c x=ReadBlobLSBLong(image); /*Ky*sin()*/ image 727 coders/wpg.c x=ReadBlobLSBLong(image); DenX=ReadBlobLSBShort(image); /*Tx*/ image 730 coders/wpg.c x=ReadBlobLSBLong(image); DenX=ReadBlobLSBShort(image); /*Ty*/ image 737 coders/wpg.c x=ReadBlobLSBShort(image); DenX=ReadBlobLSBShort(image); /*Px*/ image 739 coders/wpg.c x=ReadBlobLSBShort(image); DenX=ReadBlobLSBShort(image); /*Py*/ image 746 coders/wpg.c static Image *ExtractPostscript(Image *image,const ImageInfo *image_info, image 769 coders/wpg.c return(image); image 780 coders/wpg.c (void) SeekBlob(image,PS_Offset,SEEK_SET); image 781 coders/wpg.c (void) ReadBlob(image, 2*MaxTextExtent, magick); image 783 coders/wpg.c (void) SeekBlob(image,PS_Offset,SEEK_SET); image 786 coders/wpg.c (void) fputc(ReadBlobByte(image),ps_file); image 811 coders/wpg.c (void) CopyMagickMemory(image2->filename,image->filename,MaxTextExtent); image 812 coders/wpg.c (void) CopyMagickMemory(image2->magick_filename,image->magick_filename,MaxTextExtent); image 813 coders/wpg.c (void) CopyMagickMemory(image2->magick,image->magick,MaxTextExtent); image 814 coders/wpg.c image2->depth=image->depth; image 816 coders/wpg.c image2->blob=ReferenceBlob(image->blob); image 818 coders/wpg.c if ((image->rows == 0) || (image->columns == 0)) image 819 coders/wpg.c DeleteImageFromList(&image); image 821 coders/wpg.c AppendImageToList(&image,image2); image 827 coders/wpg.c return(image); image 942 coders/wpg.c *image; image 994 coders/wpg.c image=AcquireImage(image_info); image 995 coders/wpg.c image->depth=8; image 996 coders/wpg.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 999 coders/wpg.c image=DestroyImageList(image); image 1005 coders/wpg.c Header.FileId=ReadBlobLSBLong(image); image 1006 coders/wpg.c Header.DataOffset=(MagickOffsetType) ReadBlobLSBLong(image); image 1007 coders/wpg.c Header.ProductType=ReadBlobLSBShort(image); image 1008 coders/wpg.c Header.FileType=ReadBlobLSBShort(image); image 1009 coders/wpg.c Header.MajorVersion=ReadBlobByte(image); image 1010 coders/wpg.c Header.MinorVersion=ReadBlobByte(image); image 1011 coders/wpg.c Header.EncryptKey=ReadBlobLSBShort(image); image 1012 coders/wpg.c Header.Reserved=ReadBlobLSBShort(image); image 1019 coders/wpg.c image->columns = 1; image 1020 coders/wpg.c image->rows = 1; image 1021 coders/wpg.c image->colors = 0; image 1028 coders/wpg.c while(!EOFBlob(image)) /* object parser loop */ image 1030 coders/wpg.c (void) SeekBlob(image,Header.DataOffset,SEEK_SET); image 1031 coders/wpg.c if(EOFBlob(image)) image 1034 coders/wpg.c Rec.RecType=(i=ReadBlobByte(image)); image 1037 coders/wpg.c Rd_WP_DWORD(image,&Rec.RecordLength); image 1038 coders/wpg.c if(EOFBlob(image)) image 1041 coders/wpg.c Header.DataOffset=TellBlob(image)+Rec.RecordLength; image 1046 coders/wpg.c BitmapHeader1.Width=ReadBlobLSBShort(image); image 1047 coders/wpg.c BitmapHeader1.Height=ReadBlobLSBShort(image); image 1050 coders/wpg.c BitmapHeader1.Depth=ReadBlobLSBShort(image); image 1051 coders/wpg.c BitmapHeader1.HorzRes=ReadBlobLSBShort(image); image 1052 coders/wpg.c BitmapHeader1.VertRes=ReadBlobLSBShort(image); image 1056 coders/wpg.c image->units=PixelsPerCentimeterResolution; image 1057 coders/wpg.c image->x_resolution=BitmapHeader1.HorzRes/470.0; image 1058 coders/wpg.c image->y_resolution=BitmapHeader1.VertRes/470.0; image 1060 coders/wpg.c image->columns=BitmapHeader1.Width; image 1061 coders/wpg.c image->rows=BitmapHeader1.Height; image 1067 coders/wpg.c WPG_Palette.StartIndex=ReadBlobLSBShort(image); image 1068 coders/wpg.c WPG_Palette.NumOfEntries=ReadBlobLSBShort(image); image 1070 coders/wpg.c image->colors=WPG_Palette.NumOfEntries; image 1071 coders/wpg.c if (!AcquireImageColormap(image,image->colors)) image 1076 coders/wpg.c image->colormap[i].red=ScaleCharToQuantum((unsigned char) image 1077 coders/wpg.c ReadBlobByte(image)); image 1078 coders/wpg.c image->colormap[i].green=ScaleCharToQuantum((unsigned char) image 1079 coders/wpg.c ReadBlobByte(image)); image 1080 coders/wpg.c image->colormap[i].blue=ScaleCharToQuantum((unsigned char) image 1081 coders/wpg.c ReadBlobByte(image)); image 1087 coders/wpg.c image=ExtractPostscript(image,image_info, image 1088 coders/wpg.c TellBlob(image)+8, /* skip PS header in the wpg */ image 1093 coders/wpg.c BitmapHeader2.RotAngle=ReadBlobLSBShort(image); image 1094 coders/wpg.c BitmapHeader2.LowLeftX=ReadBlobLSBShort(image); image 1095 coders/wpg.c BitmapHeader2.LowLeftY=ReadBlobLSBShort(image); image 1096 coders/wpg.c BitmapHeader2.UpRightX=ReadBlobLSBShort(image); image 1097 coders/wpg.c BitmapHeader2.UpRightY=ReadBlobLSBShort(image); image 1098 coders/wpg.c BitmapHeader2.Width=ReadBlobLSBShort(image); image 1099 coders/wpg.c BitmapHeader2.Height=ReadBlobLSBShort(image); image 1102 coders/wpg.c BitmapHeader2.Depth=ReadBlobLSBShort(image); image 1103 coders/wpg.c BitmapHeader2.HorzRes=ReadBlobLSBShort(image); image 1104 coders/wpg.c BitmapHeader2.VertRes=ReadBlobLSBShort(image); image 1106 coders/wpg.c image->units=PixelsPerCentimeterResolution; image 1107 coders/wpg.c image->page.width=(unsigned int) image 1109 coders/wpg.c image->page.height=(unsigned int) image 1111 coders/wpg.c image->page.x=(int) (BitmapHeader2.LowLeftX/470.0); image 1112 coders/wpg.c image->page.y=(int) (BitmapHeader2.LowLeftX/470.0); image 1115 coders/wpg.c image->x_resolution=BitmapHeader2.HorzRes/470.0; image 1116 coders/wpg.c image->y_resolution=BitmapHeader2.VertRes/470.0; image 1118 coders/wpg.c image->columns=BitmapHeader2.Width; image 1119 coders/wpg.c image->rows=BitmapHeader2.Height; image 1123 coders/wpg.c if ((image->colors == 0) && (bpp != 24)) image 1125 coders/wpg.c image->colors=one << bpp; image 1126 coders/wpg.c if (!AcquireImageColormap(image,image->colors)) image 1133 coders/wpg.c for (i=0; (i < (int) image->colors) && (i < 256); i++) image 1135 coders/wpg.c image->colormap[i].red=ScaleCharToQuantum(WPG1_Palette[i].Red); image 1136 coders/wpg.c image->colormap[i].green=ScaleCharToQuantum(WPG1_Palette[i].Green); image 1137 coders/wpg.c image->colormap[i].blue=ScaleCharToQuantum(WPG1_Palette[i].Blue); image 1143 coders/wpg.c if ( (image->colors < (one << bpp)) && (bpp != 24) ) image 1144 coders/wpg.c image->colormap=(PixelPacket *) ResizeQuantumMemory( image 1145 coders/wpg.c image->colormap,(size_t) (one << bpp), image 1146 coders/wpg.c sizeof(*image->colormap)); image 1151 coders/wpg.c if(image->colormap[0].red==0 && image 1152 coders/wpg.c image->colormap[0].green==0 && image 1153 coders/wpg.c image->colormap[0].blue==0 && image 1154 coders/wpg.c image->colormap[1].red==0 && image 1155 coders/wpg.c image->colormap[1].green==0 && image 1156 coders/wpg.c image->colormap[1].blue==0) image 1158 coders/wpg.c image->colormap[1].red = image 1159 coders/wpg.c image->colormap[1].green = image 1160 coders/wpg.c image->colormap[1].blue = QuantumRange; image 1164 coders/wpg.c if(UnpackWPGRaster(image,bpp) < 0) image 1179 coders/wpg.c flop_image = FlopImage(image, exception); image 1181 coders/wpg.c DuplicateBlob(flop_image,image); image 1182 coders/wpg.c (void) RemoveLastImageFromList(&image); image 1183 coders/wpg.c AppendImageToList(&image,flop_image); image 1192 coders/wpg.c flip_image = FlipImage(image, exception); image 1194 coders/wpg.c DuplicateBlob(flip_image,image); image 1195 coders/wpg.c (void) RemoveLastImageFromList(&image); image 1196 coders/wpg.c AppendImageToList(&image,flip_image); image 1206 coders/wpg.c rotate_image=RotateImage(image,(BitmapHeader2.RotAngle & image 1209 coders/wpg.c DuplicateBlob(rotate_image,image); image 1210 coders/wpg.c (void) RemoveLastImageFromList(&image); image 1211 coders/wpg.c AppendImageToList(&image,rotate_image); image 1217 coders/wpg.c AcquireNextImage(image_info,image); image 1218 coders/wpg.c image->depth=8; image 1219 coders/wpg.c if (image->next == (Image *) NULL) image 1221 coders/wpg.c image=SyncNextImageInList(image); image 1222 coders/wpg.c image->columns=image->rows=0; image 1223 coders/wpg.c image->colors=0; image 1228 coders/wpg.c image=ExtractPostscript(image,image_info, image 1229 coders/wpg.c TellBlob(image)+0x3C, /* skip PS l2 header in the wpg */ image 1239 coders/wpg.c while(!EOFBlob(image)) /* object parser loop */ image 1241 coders/wpg.c (void) SeekBlob(image,Header.DataOffset,SEEK_SET); image 1242 coders/wpg.c if(EOFBlob(image)) image 1245 coders/wpg.c Rec2.Class=(i=ReadBlobByte(image)); image 1248 coders/wpg.c Rec2.RecType=(i=ReadBlobByte(image)); image 1251 coders/wpg.c Rd_WP_DWORD(image,&Rec2.Extension); image 1252 coders/wpg.c Rd_WP_DWORD(image,&Rec2.RecordLength); image 1253 coders/wpg.c if(EOFBlob(image)) image 1256 coders/wpg.c Header.DataOffset=TellBlob(image)+Rec2.RecordLength; image 1261 coders/wpg.c StartWPG.HorizontalUnits=ReadBlobLSBShort(image); image 1262 coders/wpg.c StartWPG.VerticalUnits=ReadBlobLSBShort(image); image 1263 coders/wpg.c StartWPG.PosSizePrecision=ReadBlobByte(image); image 1266 coders/wpg.c WPG_Palette.StartIndex=ReadBlobLSBShort(image); image 1267 coders/wpg.c WPG_Palette.NumOfEntries=ReadBlobLSBShort(image); image 1269 coders/wpg.c image->colors=WPG_Palette.NumOfEntries; image 1270 coders/wpg.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 1276 coders/wpg.c image->colormap[i].red=ScaleCharToQuantum((char) image 1277 coders/wpg.c ReadBlobByte(image)); image 1278 coders/wpg.c image->colormap[i].green=ScaleCharToQuantum((char) image 1279 coders/wpg.c ReadBlobByte(image)); image 1280 coders/wpg.c image->colormap[i].blue=ScaleCharToQuantum((char) image 1281 coders/wpg.c ReadBlobByte(image)); image 1282 coders/wpg.c (void) ReadBlobByte(image); /*Opacity??*/ image 1286 coders/wpg.c Bitmap2Header1.Width=ReadBlobLSBShort(image); image 1287 coders/wpg.c Bitmap2Header1.Height=ReadBlobLSBShort(image); image 1290 coders/wpg.c Bitmap2Header1.Depth=ReadBlobByte(image); image 1291 coders/wpg.c Bitmap2Header1.Compression=ReadBlobByte(image); image 1315 coders/wpg.c image->columns=Bitmap2Header1.Width; image 1316 coders/wpg.c image->rows=Bitmap2Header1.Height; image 1318 coders/wpg.c if ((image->colors == 0) && (bpp != 24)) image 1324 coders/wpg.c image->colors=one << bpp; image 1325 coders/wpg.c if (!AcquireImageColormap(image,image->colors)) image 1331 coders/wpg.c if( image->colors<(one << bpp) && bpp!=24 ) image 1332 coders/wpg.c image->colormap=(PixelPacket *) ResizeQuantumMemory( image 1333 coders/wpg.c image->colormap,(size_t) (one << bpp), image 1334 coders/wpg.c sizeof(*image->colormap)); image 1342 coders/wpg.c ldblk=(ssize_t) ((bpp*image->columns+7)/8); image 1348 coders/wpg.c for(i=0; i< (ssize_t) image->rows; i++) image 1350 coders/wpg.c (void) ReadBlob(image,ldblk,BImgBuff); image 1351 coders/wpg.c InsertRow(BImgBuff,i,image,bpp); image 1360 coders/wpg.c if( UnpackWPG2Raster(image,bpp) < 0) image 1371 coders/wpg.c flop_image = FlopImage(image, exception); image 1373 coders/wpg.c DuplicateBlob(flop_image,image); image 1374 coders/wpg.c (void) RemoveLastImageFromList(&image); image 1375 coders/wpg.c AppendImageToList(&image,flop_image); image 1388 coders/wpg.c flip_image = FlipImage(image, exception); image 1390 coders/wpg.c DuplicateBlob(flip_image,image); image 1391 coders/wpg.c (void) RemoveLastImageFromList(&image); image 1392 coders/wpg.c AppendImageToList(&image,flip_image); image 1404 coders/wpg.c AcquireNextImage(image_info,image); image 1405 coders/wpg.c image->depth=8; image 1406 coders/wpg.c if (image->next == (Image *) NULL) image 1408 coders/wpg.c image=SyncNextImageInList(image); image 1409 coders/wpg.c image->columns=image->rows=1; image 1410 coders/wpg.c image->colors=0; image 1414 coders/wpg.c i=ReadBlobLSBShort(image); image 1416 coders/wpg.c image=ExtractPostscript(image,image_info, image 1417 coders/wpg.c TellBlob(image)+i, /*skip PS header in the wpg2*/ image 1422 coders/wpg.c WPG2Flags = LoadWPG2Flags(image,StartWPG.PosSizePrecision,NULL,&CTM); image 1435 coders/wpg.c status=SetImageExtent(image,image->columns,image->rows); image 1438 coders/wpg.c InheritException(exception,&image->exception); image 1439 coders/wpg.c return(DestroyImageList(image)); image 1443 coders/wpg.c (void) CloseBlob(image); image 1455 coders/wpg.c p=image; image 1456 coders/wpg.c image=NULL; image 1464 coders/wpg.c image=p; image 1471 coders/wpg.c for (p=image; p != (Image *) NULL; p=p->next) image 1474 coders/wpg.c if (image == (Image *) NULL) image 1477 coders/wpg.c return(image); image 206 coders/x.c static MagickBooleanType WriteXImage(const ImageInfo *image_info,Image *image) image 208 coders/x.c return(DisplayImages(image_info,image)); image 134 coders/xbm.c static unsigned int XBMInteger(Image *image,short int *hex_digits) image 147 coders/xbm.c c=ReadBlobByte(image); image 163 coders/xbm.c c=ReadBlobByte(image); image 177 coders/xbm.c *image; image 225 coders/xbm.c image=AcquireImage(image_info); image 226 coders/xbm.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 229 coders/xbm.c image=DestroyImageList(image); image 237 coders/xbm.c while (ReadBlobString(image,buffer) != (char *) NULL) image 242 coders/xbm.c while (ReadBlobString(image,buffer) != (char *) NULL) image 247 coders/xbm.c image->columns=width; image 248 coders/xbm.c image->rows=height; image 249 coders/xbm.c image->depth=8; image 250 coders/xbm.c image->storage_class=PseudoClass; image 251 coders/xbm.c image->colors=2; image 256 coders/xbm.c while (ReadBlobString(image,buffer) != (char *) NULL) image 276 coders/xbm.c if ((image->columns == 0) || (image->rows == 0) || image 277 coders/xbm.c (EOFBlob(image) != MagickFalse)) image 282 coders/xbm.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 287 coders/xbm.c image->colormap[0].red=QuantumRange; image 288 coders/xbm.c image->colormap[0].green=QuantumRange; image 289 coders/xbm.c image->colormap[0].blue=QuantumRange; image 290 coders/xbm.c image->colormap[1].red=(Quantum) 0; image 291 coders/xbm.c image->colormap[1].green=(Quantum) 0; image 292 coders/xbm.c image->colormap[1].blue=(Quantum) 0; image 295 coders/xbm.c (void) CloseBlob(image); image 296 coders/xbm.c return(GetFirstImageInList(image)); image 298 coders/xbm.c status=SetImageExtent(image,image->columns,image->rows); image 301 coders/xbm.c InheritException(exception,&image->exception); image 302 coders/xbm.c return(DestroyImageList(image)); image 339 coders/xbm.c if (((image->columns % 16) != 0) && ((image->columns % 16) < 9) && image 342 coders/xbm.c bytes_per_line=(unsigned int) (image->columns+7)/8+padding; image 343 coders/xbm.c length=(unsigned int) image->rows; image 350 coders/xbm.c for (i=0; i < (ssize_t) (bytes_per_line*image->rows); (i+=2)) image 352 coders/xbm.c value=XBMInteger(image,hex_digits); image 358 coders/xbm.c for (i=0; i < (ssize_t) (bytes_per_line*image->rows); i++) image 360 coders/xbm.c value=XBMInteger(image,hex_digits); image 367 coders/xbm.c for (y=0; y < (ssize_t) image->rows; y++) image 369 coders/xbm.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 372 coders/xbm.c indexes=GetAuthenticIndexQueue(image); image 375 coders/xbm.c for (x=0; x < (ssize_t) image->columns; x++) image 385 coders/xbm.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 387 coders/xbm.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 388 coders/xbm.c image->rows); image 393 coders/xbm.c (void) SyncImage(image); image 394 coders/xbm.c (void) CloseBlob(image); image 395 coders/xbm.c return(GetFirstImageInList(image)); image 487 coders/xbm.c static MagickBooleanType WriteXBMImage(const ImageInfo *image_info,Image *image) image 515 coders/xbm.c assert(image != (Image *) NULL); image 516 coders/xbm.c assert(image->signature == MagickSignature); image 517 coders/xbm.c if (image->debug != MagickFalse) image 518 coders/xbm.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 519 coders/xbm.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 522 coders/xbm.c (void) TransformImageColorspace(image,sRGBColorspace); image 526 coders/xbm.c GetPathComponent(image->filename,BasePath,basename); image 528 coders/xbm.c basename,(double) image->columns); image 529 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 531 coders/xbm.c basename,(double) image->rows); image 532 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 535 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 537 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 541 coders/xbm.c (void) SetImageType(image,BilevelType); image 548 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 549 coders/xbm.c for (y=0; y < (ssize_t) image->rows; y++) image 551 coders/xbm.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 554 coders/xbm.c for (x=0; x < (ssize_t) image->columns; x++) image 557 coders/xbm.c if (GetPixelLuma(image,p) < (QuantumRange/2.0)) image 567 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 572 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 588 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 593 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 599 coders/xbm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 600 coders/xbm.c image->rows); image 605 coders/xbm.c (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer); image 606 coders/xbm.c (void) CloseBlob(image); image 96 coders/xc.c *image; image 130 coders/xc.c image=AcquireImage(image_info); image 131 coders/xc.c if (image->columns == 0) image 132 coders/xc.c image->columns=1; image 133 coders/xc.c if (image->rows == 0) image 134 coders/xc.c image->rows=1; image 135 coders/xc.c status=SetImageExtent(image,image->columns,image->rows); image 138 coders/xc.c InheritException(exception,&image->exception); image 139 coders/xc.c return(DestroyImageList(image)); image 141 coders/xc.c (void) CopyMagickString(image->filename,image_info->filename,MaxTextExtent); image 145 coders/xc.c image=DestroyImage(image); image 148 coders/xc.c (void) SetImageColorspace(image,color.colorspace); image 149 coders/xc.c image->matte=color.matte; image 152 coders/xc.c SetPixelPacket(image,&color,&pixel,&index); image 153 coders/xc.c for (y=0; y < (ssize_t) image->rows; y++) image 155 coders/xc.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 158 coders/xc.c for (x=0; x < (ssize_t) image->columns; x++) image 160 coders/xc.c if (image->colorspace == CMYKColorspace) image 162 coders/xc.c indexes=GetAuthenticIndexQueue(image); image 163 coders/xc.c for (x=0; x < (ssize_t) image->columns; x++) image 166 coders/xc.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 169 coders/xc.c return(GetFirstImageInList(image)); image 161 coders/xcf.c *image; image 293 coders/xcf.c static char *ReadBlobStringWithLongSize(Image *image,char *string,size_t max) image 307 coders/xcf.c assert(image != (Image *) NULL); image 308 coders/xcf.c assert(image->signature == MagickSignature); image 310 coders/xcf.c if (image->debug != MagickFalse) image 311 coders/xcf.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 312 coders/xcf.c length=ReadBlobMSBLong(image); image 315 coders/xcf.c c=ReadBlobByte(image); image 321 coders/xcf.c offset=SeekBlob(image,(MagickOffsetType) (length-i),SEEK_CUR); image 323 coders/xcf.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 324 coders/xcf.c CorruptImageError,"ImproperImageHeader","`%s'",image->filename); image 328 coders/xcf.c static MagickBooleanType load_tile(Image *image,Image *tile_image, image 356 coders/xcf.c image->filename); image 359 coders/xcf.c count=ReadBlob(image,data_length,(unsigned char *) xcfdata); image 362 coders/xcf.c image->filename); image 363 coders/xcf.c exception=(&image->exception); image 403 coders/xcf.c static MagickBooleanType load_tile_rle(Image *image,Image *tile_image, image 438 coders/xcf.c image->filename); image 440 coders/xcf.c count=ReadBlob(image, (size_t) data_length, xcfdata); image 442 coders/xcf.c exception=(&image->exception); image 587 coders/xcf.c static MagickBooleanType load_level(Image *image,XCFDocInfo *inDocInfo, image 622 coders/xcf.c width=ReadBlobMSBLong(image); image 623 coders/xcf.c height=ReadBlobMSBLong(image); image 629 coders/xcf.c offset=(MagickOffsetType) ReadBlobMSBLong(image); image 642 coders/xcf.c ThrowBinaryException(CorruptImageError,"NotEnoughTiles",image->filename); image 646 coders/xcf.c saved_pos=TellBlob(image); image 649 coders/xcf.c offset2=(MagickOffsetType)ReadBlobMSBLong(image); image 655 coders/xcf.c offset=SeekBlob(image, offset, SEEK_SET); image 668 coders/xcf.c tile_image=CloneImage(inLayerInfo->image,tile_image_width, image 675 coders/xcf.c if (load_tile(image,tile_image,inDocInfo,inLayerInfo,(size_t) (offset2-offset)) == 0) image 679 coders/xcf.c if (load_tile_rle (image,tile_image,inDocInfo,inLayerInfo, image 685 coders/xcf.c image->filename) image 688 coders/xcf.c image->filename) image 692 coders/xcf.c (void) CompositeImage(inLayerInfo->image,CopyCompositeOp,tile_image, image 708 coders/xcf.c offset=SeekBlob(image, saved_pos, SEEK_SET); image 710 coders/xcf.c offset=(MagickOffsetType) ReadBlobMSBLong(image); image 713 coders/xcf.c ThrowBinaryException(CorruptImageError,"CorruptImage",image->filename) image 717 coders/xcf.c static MagickBooleanType load_hierarchy(Image *image,XCFDocInfo *inDocInfo, image 730 coders/xcf.c width=ReadBlobMSBLong(image); image 732 coders/xcf.c height=ReadBlobMSBLong(image); image 734 coders/xcf.c bytes_per_pixel=inDocInfo->bytes_per_pixel=ReadBlobMSBLong(image); image 741 coders/xcf.c offset=(MagickOffsetType) ReadBlobMSBLong(image); /* top level */ image 747 coders/xcf.c junk=(MagickOffsetType) ReadBlobMSBLong(image); image 754 coders/xcf.c saved_pos=TellBlob(image); image 757 coders/xcf.c offset=SeekBlob(image, offset, SEEK_SET); image 760 coders/xcf.c if (load_level (image, inDocInfo, inLayer) == 0) image 765 coders/xcf.c offset=SeekBlob(image, saved_pos, SEEK_SET); image 769 coders/xcf.c static MagickBooleanType ReadOneLayer(const ImageInfo *image_info,Image* image, image 785 coders/xcf.c outLayer->width = ReadBlobMSBLong(image); image 786 coders/xcf.c outLayer->height = ReadBlobMSBLong(image); image 787 coders/xcf.c outLayer->type = ReadBlobMSBLong(image); image 788 coders/xcf.c (void) ReadBlobStringWithLongSize(image, outLayer->name, image 792 coders/xcf.c while ( (foundPropEnd == MagickFalse) && (EOFBlob(image) == MagickFalse) ) { image 793 coders/xcf.c PropType prop_type = (PropType) ReadBlobMSBLong(image); image 794 coders/xcf.c size_t prop_size = ReadBlobMSBLong(image); image 804 coders/xcf.c outLayer->floating_offset = ReadBlobMSBLong(image); image 807 coders/xcf.c outLayer->alpha = ReadBlobMSBLong(image); image 810 coders/xcf.c outLayer->visible = ReadBlobMSBLong(image); image 813 coders/xcf.c outLayer->linked = ReadBlobMSBLong(image); image 816 coders/xcf.c outLayer->preserve_trans = ReadBlobMSBLong(image); image 819 coders/xcf.c outLayer->apply_mask = ReadBlobMSBLong(image); image 822 coders/xcf.c outLayer->edit_mask = ReadBlobMSBLong(image); image 825 coders/xcf.c outLayer->show_mask = ReadBlobMSBLong(image); image 828 coders/xcf.c outLayer->offset_x = (int) ReadBlobMSBLong(image); image 829 coders/xcf.c outLayer->offset_y = (int) ReadBlobMSBLong(image); image 832 coders/xcf.c outLayer->mode = ReadBlobMSBLong(image); image 835 coders/xcf.c outLayer->preserve_trans = ReadBlobMSBLong(image); image 839 coders/xcf.c if (DiscardBlobBytes(image,prop_size) == MagickFalse) image 840 coders/xcf.c ThrowFileException(&image->exception,CorruptImageError, image 841 coders/xcf.c "UnexpectedEndOfFile",image->filename); image 866 coders/xcf.c while ((prop_size > 0) && (EOFBlob(image) == MagickFalse)) image 869 coders/xcf.c amount = ReadBlob(image, (size_t) amount, (unsigned char *) &buf); image 872 coders/xcf.c image->filename); image 891 coders/xcf.c outLayer->image=CloneImage(image,0,0,MagickTrue,&image->exception); image 892 coders/xcf.c if (outLayer->image == (Image *) NULL) image 894 coders/xcf.c outLayer->image->page.x=outLayer->offset_x; image 895 coders/xcf.c outLayer->image->page.y=outLayer->offset_y; image 896 coders/xcf.c outLayer->image->page.width=outLayer->width; image 897 coders/xcf.c outLayer->image->page.height=outLayer->height; image 902 coders/xcf.c outLayer->image=CloneImage(image,outLayer->width, outLayer->height,MagickTrue, image 903 coders/xcf.c &image->exception); image 904 coders/xcf.c if (outLayer->image == (Image *) NULL) image 907 coders/xcf.c outLayer->image->background_color.opacity= image 909 coders/xcf.c (void) SetImageBackgroundColor(outLayer->image); image 911 coders/xcf.c outLayer->image->page.x=outLayer->offset_x; image 912 coders/xcf.c outLayer->image->page.y=outLayer->offset_y; image 913 coders/xcf.c outLayer->image->page.width=outLayer->width; image 914 coders/xcf.c outLayer->image->page.height=outLayer->height; image 916 coders/xcf.c outLayer->image->compose = GIMPBlendModeToCompositeOperator( outLayer->mode ); image 920 coders/xcf.c outLayer->image->compose = NoCompositeOp; image 924 coders/xcf.c hierarchy_offset = ReadBlobMSBLong(image); image 925 coders/xcf.c layer_mask_offset = ReadBlobMSBLong(image); image 928 coders/xcf.c offset=SeekBlob(image, (MagickOffsetType) hierarchy_offset, SEEK_SET); image 930 coders/xcf.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 931 coders/xcf.c CorruptImageError,"InvalidImageHeader","`%s'",image->filename); image 932 coders/xcf.c if (load_hierarchy (image, inDocInfo, outLayer) == 0) image 938 coders/xcf.c offset=SeekBlob(image, (MagickOffsetType) layer_mask_offset, SEEK_SET); image 1003 coders/xcf.c *image; image 1037 coders/xcf.c image=AcquireImage(image_info); image 1038 coders/xcf.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 1041 coders/xcf.c image=DestroyImageList(image); image 1044 coders/xcf.c count=ReadBlob(image,14,(unsigned char *) magick); image 1050 coders/xcf.c doc_info.width=ReadBlobMSBLong(image); image 1051 coders/xcf.c doc_info.height=ReadBlobMSBLong(image); image 1054 coders/xcf.c doc_info.image_type=ReadBlobMSBLong(image); image 1058 coders/xcf.c image->columns=doc_info.width; image 1059 coders/xcf.c image->rows=doc_info.height; image 1061 coders/xcf.c doc_info.file_size=GetBlobSize(image); image 1062 coders/xcf.c image->compression=NoCompression; image 1063 coders/xcf.c image->depth=8; image 1068 coders/xcf.c image->colorspace=GRAYColorspace; image 1072 coders/xcf.c (void) SetImageOpacity(image,OpaqueOpacity); image 1073 coders/xcf.c (void) SetImageBackgroundColor(image); image 1077 coders/xcf.c while ((foundPropEnd == MagickFalse) && (EOFBlob(image) == MagickFalse)) image 1079 coders/xcf.c PropType prop_type = (PropType) ReadBlobMSBLong(image); image 1080 coders/xcf.c size_t prop_size = ReadBlobMSBLong(image); image 1092 coders/xcf.c size_t num_colours = ReadBlobMSBLong(image); image 1093 coders/xcf.c if (DiscardBlobBytes(image,3*num_colours) == MagickFalse) image 1094 coders/xcf.c ThrowFileException(&image->exception,CorruptImageError, image 1095 coders/xcf.c "UnexpectedEndOfFile",image->filename); image 1129 coders/xcf.c doc_info.compression = ReadBlobByte(image); image 1141 coders/xcf.c if (DiscardBlobBytes(image,prop_size) == MagickFalse) image 1142 coders/xcf.c ThrowFileException(&image->exception,CorruptImageError, image 1143 coders/xcf.c "UnexpectedEndOfFile",image->filename); image 1149 coders/xcf.c /* float xres = (float) */ (void) ReadBlobMSBLong(image); image 1150 coders/xcf.c /* float yres = (float) */ (void) ReadBlobMSBLong(image); image 1174 coders/xcf.c /*size_t tattoo_state = */ (void) ReadBlobMSBLong(image); image 1181 coders/xcf.c if (DiscardBlobBytes(image,prop_size) == MagickFalse) image 1182 coders/xcf.c ThrowFileException(&image->exception,CorruptImageError, image 1183 coders/xcf.c "UnexpectedEndOfFile",image->filename); image 1203 coders/xcf.c /*size_t unit = */ (void) ReadBlobMSBLong(image); image 1210 coders/xcf.c if (DiscardBlobBytes(image,prop_size) == MagickFalse) image 1211 coders/xcf.c ThrowFileException(&image->exception,CorruptImageError, image 1212 coders/xcf.c "UnexpectedEndOfFile",image->filename); image 1225 coders/xcf.c /*float factor = (float) */ (void) ReadBlobMSBLong(image); image 1226 coders/xcf.c /* size_t digits = */ (void) ReadBlobMSBLong(image); image 1228 coders/xcf.c (void) ReadBlobStringWithLongSize(image, unit_string, image 1239 coders/xcf.c while ((prop_size > 0) && (EOFBlob(image) == MagickFalse)) image 1242 coders/xcf.c amount=(ssize_t) ReadBlob(image,(size_t) amount,(unsigned char *) &buf); image 1266 coders/xcf.c oldPos=TellBlob(image); image 1271 coders/xcf.c status=SetImageExtent(image,image->columns,image->rows); image 1274 coders/xcf.c InheritException(exception,&image->exception); image 1275 coders/xcf.c return(DestroyImageList(image)); image 1282 coders/xcf.c ssize_t offset = (int) ReadBlobMSBLong(image); image 1287 coders/xcf.c if (EOFBlob(image) != MagickFalse) image 1290 coders/xcf.c "UnexpectedEndOfFile",image->filename); image 1295 coders/xcf.c offset=SeekBlob(image,oldPos,SEEK_SET); /* restore the position! */ image 1315 coders/xcf.c offset=(MagickOffsetType) ReadBlobMSBLong(image); image 1324 coders/xcf.c saved_pos=TellBlob(image); image 1326 coders/xcf.c offset=SeekBlob(image,offset,SEEK_SET); image 1328 coders/xcf.c layer_ok=ReadOneLayer(image_info,image,&doc_info, image 1335 coders/xcf.c layer_info[j].image=DestroyImage(layer_info[j].image); image 1342 coders/xcf.c offset=SeekBlob(image, saved_pos, SEEK_SET); image 1350 coders/xcf.c (void) CompositeImage(image,CopyCompositeOp,layer_info[0].image, image 1352 coders/xcf.c layer_info[0].image =DestroyImage( layer_info[0].image); image 1364 coders/xcf.c CompositeImage(image, OverCompositeOp, layer_info[j].image, image 1366 coders/xcf.c layer_info[j].image =DestroyImage( layer_info[j].image ); image 1373 coders/xcf.c QuantizeImage( &qi, layer_info[j].image ); image 1384 coders/xcf.c (void) CompositeImage(image,CopyCompositeOp, image 1385 coders/xcf.c layer_info[number_layers-1].image, image 1388 coders/xcf.c layer_info[number_layers-1].image=DestroyImage( image 1389 coders/xcf.c layer_info[number_layers-1].image); image 1395 coders/xcf.c AppendImageToList(&image,layer_info[j].image); image 1441 coders/xcf.c (void) CloseBlob(image); image 1443 coders/xcf.c image->type=GrayscaleType; image 1444 coders/xcf.c return(GetFirstImageInList(image)); image 246 coders/xpm.c *image; image 293 coders/xpm.c image=AcquireImage(image_info); image 294 coders/xpm.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 297 coders/xpm.c image=DestroyImageList(image); image 309 coders/xpm.c while (ReadBlobString(image,p) != (char *) NULL) image 337 coders/xpm.c image->columns=columns; image 338 coders/xpm.c image->rows=rows; image 339 coders/xpm.c image->colors=colors; image 343 coders/xpm.c if ((count != 4) || (width > 10) || (image->columns == 0) || image 344 coders/xpm.c (image->rows == 0) || (image->colors == 0)) image 371 coders/xpm.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 379 coders/xpm.c image->depth=1; image 381 coders/xpm.c for (j=0; (j < (ssize_t) image->colors) && (next != (char *) NULL); j++) image 416 coders/xpm.c image->storage_class=DirectClass; image 417 coders/xpm.c image->matte=MagickTrue; image 419 coders/xpm.c status=QueryColorCompliance(target,XPMCompliance,&image->colormap[j], image 424 coders/xpm.c if (image->depth < pixel.depth) image 425 coders/xpm.c image->depth=pixel.depth; image 427 coders/xpm.c if (j < (ssize_t) image->colors) image 439 coders/xpm.c status=SetImageExtent(image,image->columns,image->rows); image 442 coders/xpm.c InheritException(exception,&image->exception); image 443 coders/xpm.c return(DestroyImageList(image)); image 445 coders/xpm.c for (y=0; y < (ssize_t) image->rows; y++) image 450 coders/xpm.c r=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 453 coders/xpm.c indexes=GetAuthenticIndexQueue(image); image 454 coders/xpm.c for (x=0; x < (ssize_t) image->columns; x++) image 460 coders/xpm.c if (image->storage_class == PseudoClass) image 462 coders/xpm.c *r=image->colormap[j]; image 466 coders/xpm.c if (x < (ssize_t) image->columns) image 468 coders/xpm.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 471 coders/xpm.c if (y < (ssize_t) image->rows) image 483 coders/xpm.c (void) CloseBlob(image); image 484 coders/xpm.c return(GetFirstImageInList(image)); image 593 coders/xpm.c Image *image) image 690 coders/xpm.c assert(image != (Image *) NULL); image 691 coders/xpm.c assert(image->signature == MagickSignature); image 692 coders/xpm.c if (image->debug != MagickFalse) image 693 coders/xpm.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 694 coders/xpm.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 697 coders/xpm.c (void) TransformImageColorspace(image,sRGBColorspace); image 698 coders/xpm.c SetGeometry(image,&geometry); image 701 coders/xpm.c picon=ResizeImage(image,geometry.width,geometry.height,TriangleFilter,1.0, image 702 coders/xpm.c &image->exception); image 706 coders/xpm.c (SetImageGray(image,&image->exception) != MagickFalse)) image 708 coders/xpm.c &image->exception); image 711 coders/xpm.c &image->exception); image 721 coders/xpm.c exception=(&image->exception); image 793 coders/xpm.c (void) WriteBlobString(image,"/* XPM */\n"); image 797 coders/xpm.c (void) WriteBlobString(image,buffer); image 798 coders/xpm.c (void) WriteBlobString(image,"/* columns rows colors chars-per-pixel */\n"); image 802 coders/xpm.c (void) WriteBlobString(image,buffer); image 803 coders/xpm.c GetMagickPixelPacket(image,&pixel); image 809 coders/xpm.c SetMagickPixelPacket(image,picon->colormap+i,(IndexPacket *) NULL,&pixel); image 813 coders/xpm.c (void) QueryMagickColorname(image,&pixel,XPMCompliance,name, image 814 coders/xpm.c &image->exception); image 833 coders/xpm.c (void) WriteBlobString(image,buffer); image 838 coders/xpm.c (void) WriteBlobString(image,"/* pixels */\n"); image 845 coders/xpm.c (void) WriteBlobString(image,"\""); image 857 coders/xpm.c (void) WriteBlobString(image,buffer); image 861 coders/xpm.c (void) WriteBlobString(image,buffer); image 862 coders/xpm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 868 coders/xpm.c (void) WriteBlobString(image,"};\n"); image 869 coders/xpm.c (void) CloseBlob(image); image 897 coders/xpm.c static MagickBooleanType WriteXPMImage(const ImageInfo *image_info,Image *image) image 944 coders/xpm.c assert(image != (Image *) NULL); image 945 coders/xpm.c assert(image->signature == MagickSignature); image 946 coders/xpm.c if (image->debug != MagickFalse) image 947 coders/xpm.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 948 coders/xpm.c exception=(&image->exception); image 949 coders/xpm.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); image 952 coders/xpm.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 953 coders/xpm.c (void) TransformImageColorspace(image,sRGBColorspace); image 955 coders/xpm.c if (image->matte == MagickFalse) image 957 coders/xpm.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 958 coders/xpm.c (void) SetImageType(image,PaletteType); image 969 coders/xpm.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 970 coders/xpm.c (void) SetImageType(image,PaletteBilevelMatteType); image 971 coders/xpm.c for (i=0; i < (ssize_t) image->colors; i++) image 972 coders/xpm.c if (image->colormap[i].opacity != OpaqueOpacity) image 980 coders/xpm.c image->colormap[i].opacity; image 982 coders/xpm.c image->colormap[opacity].opacity; image 988 coders/xpm.c (void) SetImageType(image,PaletteBilevelMatteType); image 989 coders/xpm.c for (i=0; i < (ssize_t) image->colors; i++) image 990 coders/xpm.c if (image->colormap[i].opacity != OpaqueOpacity) image 998 coders/xpm.c image->colormap[i].opacity; image 1000 coders/xpm.c image->colormap[opacity].opacity; image 1007 coders/xpm.c image->colormap[opacity].red=image->transparent_color.red; image 1008 coders/xpm.c image->colormap[opacity].green=image->transparent_color.green; image 1009 coders/xpm.c image->colormap[opacity].blue=image->transparent_color.blue; image 1016 coders/xpm.c for (k=MaxCixels; (ssize_t) image->colors > k; k*=MaxCixels) image 1021 coders/xpm.c (void) WriteBlobString(image,"/* XPM */\n"); image 1022 coders/xpm.c GetPathComponent(image->filename,BasePath,basename); image 1035 coders/xpm.c (void) WriteBlobString(image,buffer); image 1036 coders/xpm.c (void) WriteBlobString(image,"/* columns rows colors chars-per-pixel */\n"); image 1038 coders/xpm.c "\"%.20g %.20g %.20g %.20g \",\n",(double) image->columns,(double) image 1039 coders/xpm.c image->rows,(double) image->colors,(double) characters_per_pixel); image 1040 coders/xpm.c (void) WriteBlobString(image,buffer); image 1041 coders/xpm.c GetMagickPixelPacket(image,&pixel); image 1042 coders/xpm.c for (i=0; i < (ssize_t) image->colors; i++) image 1047 coders/xpm.c SetMagickPixelPacket(image,image->colormap+i,(IndexPacket *) NULL,&pixel); image 1051 coders/xpm.c (void) QueryMagickColorname(image,&pixel,XPMCompliance,name,exception); image 1067 coders/xpm.c (void) WriteBlobString(image,buffer); image 1072 coders/xpm.c (void) WriteBlobString(image,"/* pixels */\n"); image 1073 coders/xpm.c for (y=0; y < (ssize_t) image->rows; y++) image 1075 coders/xpm.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 1078 coders/xpm.c indexes=GetVirtualIndexQueue(image); image 1079 coders/xpm.c (void) WriteBlobString(image,"\""); image 1080 coders/xpm.c for (x=0; x < (ssize_t) image->columns; x++) image 1091 coders/xpm.c (void) WriteBlobString(image,buffer); image 1094 coders/xpm.c (y == (ssize_t) (image->rows-1) ? "" : ",")); image 1095 coders/xpm.c (void) WriteBlobString(image,buffer); image 1096 coders/xpm.c if (image->previous == (Image *) NULL) image 1098 coders/xpm.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1099 coders/xpm.c image->rows); image 1104 coders/xpm.c (void) WriteBlobString(image,"};\n"); image 1105 coders/xpm.c (void) CloseBlob(image); image 119 coders/xps.c *image, image 162 coders/xps.c image=AcquireImage(image_info); image 163 coders/xps.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 166 coders/xps.c image=DestroyImageList(image); image 174 coders/xps.c image=DestroyImageList(image); image 182 coders/xps.c if ((image->x_resolution == 0.0) || (image->y_resolution == 0.0)) image 191 coders/xps.c image->x_resolution=geometry_info.rho; image 192 coders/xps.c image->y_resolution=geometry_info.sigma; image 194 coders/xps.c image->y_resolution=image->x_resolution; image 199 coders/xps.c cmyk=image->colorspace == CMYKColorspace ? MagickTrue : MagickFalse; image 206 coders/xps.c for (c=ReadBlobByte(image); c != EOF; c=ReadBlobByte(image)) image 258 coders/xps.c (void) CloseBlob(image); image 280 coders/xps.c image->x_resolution,image->y_resolution); image 285 coders/xps.c page.width=(size_t) floor(page.width*image->y_resolution/delta.x+0.5); image 286 coders/xps.c page.height=(size_t) floor(page.height*image->y_resolution/delta.y+0.5); image 289 coders/xps.c image=DestroyImage(image); image 319 coders/xps.c image=ReadImage(read_info,exception); image 323 coders/xps.c if (image == (Image *) NULL) image 325 coders/xps.c if (LocaleCompare(image->magick,"BMP") == 0) image 330 coders/xps.c cmyk_image=ConsolidateCMYKImages(image,&image->exception); image 333 coders/xps.c image=DestroyImageList(image); image 334 coders/xps.c image=cmyk_image; image 339 coders/xps.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 340 coders/xps.c image->page=page; image 341 coders/xps.c next_image=SyncNextImageInList(image); image 343 coders/xps.c image=next_image; image 345 coders/xps.c return(GetFirstImageInList(image)); image 118 coders/xtrn.c *image; image 129 coders/xtrn.c image = (Image *) NULL; image 138 coders/xtrn.c image=ReadImage(clone_info,exception); image 154 coders/xtrn.c image=CloneImage(*image_ptr,0,0,MagickFalse,&(*image_ptr)->exception); image 176 coders/xtrn.c image=BlobToImage(clone_info,*blob_data,*blob_length,exception); image 219 coders/xtrn.c image=BlobToImage(clone_info,blob_data,blob_length, image 229 coders/xtrn.c return(image); image 361 coders/xtrn.c static size_t SafeArrayFifo(const Image *image,const void *data, image 366 coders/xtrn.c SAFEARRAY *pSafeArray = (SAFEARRAY *)image->client_data; image 405 coders/xtrn.c Image *image) image 430 coders/xtrn.c status=WriteImage(clone_info,image); image 432 coders/xtrn.c CatchImageException(image); image 452 coders/xtrn.c *image_ptr=CloneImage(image,0,0,MagickFalse,&(image->exception)); image 481 coders/xtrn.c for (p=image; p != (Image *) NULL; p=GetNextImageInList(p)) image 486 coders/xtrn.c SetImageInfo(clone_info,1,&image->exception); image 487 coders/xtrn.c (void) CopyMagickString(image->magick,clone_info->magick, image 492 coders/xtrn.c *blob_data=(char *) ImageToBlob(clone_info,image,blob_length, image 498 coders/xtrn.c CatchImageException(image); image 517 coders/xtrn.c image->client_data=param1; image 520 coders/xtrn.c for (p=image; p != (Image *) NULL; p=GetNextImageInList(p)) image 525 coders/xtrn.c SetImageInfo(clone_info,1,&image->exception); image 526 coders/xtrn.c (void) CopyMagickString(image->magick,clone_info->magick, image 528 coders/xtrn.c blob_data=ImageToBlob(clone_info,image,&blob_length, image 529 coders/xtrn.c &image->exception); image 533 coders/xtrn.c SafeArrayFifo(image,blob_data,blob_length); image 535 coders/xtrn.c CatchImageException(image); image 159 coders/xwd.c *image; image 217 coders/xwd.c image=AcquireImage(image_info); image 218 coders/xwd.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 221 coders/xwd.c image=DestroyImageList(image); image 227 coders/xwd.c count=ReadBlob(image,sz_XWDheader,(unsigned char *) &header); image 266 coders/xwd.c count=ReadBlob(image,length,(unsigned char *) comment); image 268 coders/xwd.c (void) SetImageProperty(image,"comment",comment); image 336 coders/xwd.c count=ReadBlob(image,sz_XWDColor,(unsigned char *) &color); image 391 coders/xwd.c count=ReadBlob(image,length,(unsigned char *) ximage->data); image 401 coders/xwd.c image->columns=(size_t) ximage->width; image 402 coders/xwd.c image->rows=(size_t) ximage->height; image 403 coders/xwd.c image->depth=8; image 404 coders/xwd.c status=SetImageExtent(image,image->columns,image->rows); image 407 coders/xwd.c InheritException(exception,&image->exception); image 408 coders/xwd.c return(DestroyImageList(image)); image 412 coders/xwd.c image->storage_class=DirectClass; image 414 coders/xwd.c image->storage_class=PseudoClass; image 415 coders/xwd.c image->colors=header.ncolors; image 417 coders/xwd.c switch (image->storage_class) image 460 coders/xwd.c if ((image->colors != 0) && (authentic_colormap != MagickFalse)) image 461 coders/xwd.c for (y=0; y < (ssize_t) image->rows; y++) image 463 coders/xwd.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 466 coders/xwd.c for (x=0; x < (ssize_t) image->columns; x++) image 482 coders/xwd.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 484 coders/xwd.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 485 coders/xwd.c image->rows); image 490 coders/xwd.c for (y=0; y < (ssize_t) image->rows; y++) image 492 coders/xwd.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 495 coders/xwd.c for (x=0; x < (ssize_t) image->columns; x++) image 512 coders/xwd.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 514 coders/xwd.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 515 coders/xwd.c image->rows); image 526 coders/xwd.c if (AcquireImageColormap(image,image->colors) == MagickFalse) image 532 coders/xwd.c for (i=0; i < (ssize_t) image->colors; i++) image 534 coders/xwd.c image->colormap[i].red=ScaleShortToQuantum(colors[i].red); image 535 coders/xwd.c image->colormap[i].green=ScaleShortToQuantum(colors[i].green); image 536 coders/xwd.c image->colormap[i].blue=ScaleShortToQuantum(colors[i].blue); image 538 coders/xwd.c for (y=0; y < (ssize_t) image->rows; y++) image 540 coders/xwd.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 543 coders/xwd.c indexes=GetAuthenticIndexQueue(image); image 544 coders/xwd.c for (x=0; x < (ssize_t) image->columns; x++) image 546 coders/xwd.c index=ConstrainColormapIndex(image,XGetPixel(ximage,(int) x, image 549 coders/xwd.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 552 coders/xwd.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 554 coders/xwd.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 555 coders/xwd.c image->rows); image 569 coders/xwd.c if (EOFBlob(image) != MagickFalse) image 571 coders/xwd.c image->filename); image 572 coders/xwd.c (void) CloseBlob(image); image 573 coders/xwd.c return(GetFirstImageInList(image)); image 668 coders/xwd.c static MagickBooleanType WriteXWDImage(const ImageInfo *image_info,Image *image) image 711 coders/xwd.c assert(image != (Image *) NULL); image 712 coders/xwd.c assert(image->signature == MagickSignature); image 713 coders/xwd.c if (image->debug != MagickFalse) image 714 coders/xwd.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 715 coders/xwd.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 718 coders/xwd.c (void) TransformImageColorspace(image,sRGBColorspace); image 724 coders/xwd.c value=GetImageProperty(image,"comment"); image 730 coders/xwd.c xwd_info.pixmap_depth=(CARD32) (image->storage_class == DirectClass ? 24 : 8); image 731 coders/xwd.c xwd_info.pixmap_width=(CARD32) image->columns; image 732 coders/xwd.c xwd_info.pixmap_height=(CARD32) image->rows; image 735 coders/xwd.c xwd_info.bitmap_unit=(CARD32) (image->storage_class == DirectClass ? 32 : 8); image 737 coders/xwd.c xwd_info.bitmap_pad=(CARD32) (image->storage_class == DirectClass ? 32 : 8); image 738 coders/xwd.c bits_per_pixel=(size_t) (image->storage_class == DirectClass ? 24 : 8); image 745 coders/xwd.c (image->storage_class == DirectClass ? DirectColor : PseudoColor); image 747 coders/xwd.c (image->storage_class == DirectClass ? 0xff0000 : 0); image 749 coders/xwd.c (image->storage_class == DirectClass ? 0xff00 : 0); image 750 coders/xwd.c xwd_info.blue_mask=(CARD32) (image->storage_class == DirectClass ? 0xff : 0); image 751 coders/xwd.c xwd_info.bits_per_rgb=(CARD32) (image->storage_class == DirectClass ? 24 : 8); image 753 coders/xwd.c (image->storage_class == DirectClass ? 256 : image->colors); image 755 coders/xwd.c (image->storage_class == DirectClass ? 0 : image->colors); image 756 coders/xwd.c xwd_info.window_width=(CARD32) image->columns; image 757 coders/xwd.c xwd_info.window_height=(CARD32) image->rows; image 767 coders/xwd.c (void) WriteBlob(image,sz_XWDheader,(unsigned char *) &xwd_info); image 769 coders/xwd.c (void) WriteBlob(image,strlen(value),(unsigned char *) value); image 770 coders/xwd.c (void) WriteBlob(image,1,(const unsigned char *) "\0"); image 771 coders/xwd.c if (image->storage_class == PseudoClass) image 786 coders/xwd.c colors=(XColor *) AcquireQuantumMemory((size_t) image->colors, image 790 coders/xwd.c for (i=0; i < (ssize_t) image->colors; i++) image 793 coders/xwd.c colors[i].red=ScaleQuantumToShort(image->colormap[i].red); image 794 coders/xwd.c colors[i].green=ScaleQuantumToShort(image->colormap[i].green); image 795 coders/xwd.c colors[i].blue=ScaleQuantumToShort(image->colormap[i].blue); image 806 coders/xwd.c for (i=0; i < (ssize_t) image->colors; i++) image 813 coders/xwd.c (void) WriteBlob(image,sz_XWDColor,(unsigned char *) &color); image 821 coders/xwd.c if (image->storage_class == PseudoClass) image 830 coders/xwd.c scanline_pad=(bytes_per_line-((image->columns*bits_per_pixel) >> 3)); image 831 coders/xwd.c for (y=0; y < (ssize_t) image->rows; y++) image 833 coders/xwd.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 837 coders/xwd.c if (image->storage_class == PseudoClass) image 839 coders/xwd.c indexes=GetVirtualIndexQueue(image); image 840 coders/xwd.c for (x=0; x < (ssize_t) image->columns; x++) image 844 coders/xwd.c for (x=0; x < (ssize_t) image->columns; x++) image 853 coders/xwd.c (void) WriteBlob(image,(size_t) (q-pixels),pixels); image 854 coders/xwd.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 855 coders/xwd.c image->rows); image 860 coders/xwd.c (void) CloseBlob(image); image 108 coders/ycbcr.c *image; image 149 coders/ycbcr.c image=AcquireImage(image_info); image 150 coders/ycbcr.c if ((image->columns == 0) || (image->rows == 0)) image 152 coders/ycbcr.c status=SetImageExtent(image,image->columns,image->rows); image 155 coders/ycbcr.c InheritException(exception,&image->exception); image 156 coders/ycbcr.c return(DestroyImageList(image)); image 158 coders/ycbcr.c SetImageColorspace(image,YCbCrColorspace); image 161 coders/ycbcr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 164 coders/ycbcr.c image=DestroyImageList(image); image 167 coders/ycbcr.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 169 coders/ycbcr.c image->filename); image 174 coders/ycbcr.c canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, image 184 coders/ycbcr.c image->matte=MagickTrue; image 188 coders/ycbcr.c while (image->scene < image_info->scene) image 193 coders/ycbcr.c image->scene++; image 195 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 197 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 212 coders/ycbcr.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 214 coders/ycbcr.c status=SetImageExtent(image,image->columns,image->rows); image 217 coders/ycbcr.c InheritException(exception,&image->exception); image 218 coders/ycbcr.c return(DestroyImageList(image)); image 220 coders/ycbcr.c SetImageColorspace(image,YCbCrColorspace); image 232 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 235 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 240 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 251 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 252 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 256 coders/ycbcr.c q=QueueAuthenticPixels(image,0,y-image->extract_info.y, image 257 coders/ycbcr.c image->columns,1,exception); image 261 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 266 coders/ycbcr.c if (image->matte != MagickFalse) image 271 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 274 coders/ycbcr.c if (image->previous == (Image *) NULL) image 276 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 277 coders/ycbcr.c image->rows); image 281 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 303 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 306 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 308 coders/ycbcr.c for (i=0; i < (image->matte != MagickFalse ? 4 : 3); i++) image 313 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 325 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 326 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 330 coders/ycbcr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 331 coders/ycbcr.c image->columns,1,exception); image 335 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 365 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 368 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 371 coders/ycbcr.c if (image->previous == (Image *) NULL) image 373 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 374 coders/ycbcr.c image->rows); image 389 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 392 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 397 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 408 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 409 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 413 coders/ycbcr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 414 coders/ycbcr.c image->columns,1,exception); image 418 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 424 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 427 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 430 coders/ycbcr.c if (image->previous == (Image *) NULL) image 432 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,1,5); image 436 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 441 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 452 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 453 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 457 coders/ycbcr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 458 coders/ycbcr.c image->columns,1,exception); image 462 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 468 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 471 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 474 coders/ycbcr.c if (image->previous == (Image *) NULL) image 476 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,2,5); image 480 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 485 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 496 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 497 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 501 coders/ycbcr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 502 coders/ycbcr.c image->columns,1,exception); image 506 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 512 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 515 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 518 coders/ycbcr.c if (image->previous == (Image *) NULL) image 520 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,3,5); image 524 coders/ycbcr.c if (image->matte != MagickFalse) image 526 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 531 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 542 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 543 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 548 coders/ycbcr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 549 coders/ycbcr.c image->columns,1,exception); image 553 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 559 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 562 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 565 coders/ycbcr.c if (image->previous == (Image *) NULL) image 567 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,4,5); image 572 coders/ycbcr.c if (image->previous == (Image *) NULL) image 574 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,5,5); image 585 coders/ycbcr.c AppendImageFormat("Y",image->filename); image 586 coders/ycbcr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 590 coders/ycbcr.c image=DestroyImageList(image); image 593 coders/ycbcr.c if (DiscardBlobBytes(image,image->offset) == MagickFalse) image 595 coders/ycbcr.c image->filename); image 598 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 600 coders/ycbcr.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 605 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 609 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 611 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 616 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 627 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 628 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 632 coders/ycbcr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 633 coders/ycbcr.c image->columns,1,exception); image 637 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 643 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 646 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 649 coders/ycbcr.c if (image->previous == (Image *) NULL) image 651 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,1,5); image 655 coders/ycbcr.c (void) CloseBlob(image); image 656 coders/ycbcr.c AppendImageFormat("Cb",image->filename); image 657 coders/ycbcr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 661 coders/ycbcr.c image=DestroyImageList(image); image 666 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 668 coders/ycbcr.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 673 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 677 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 679 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 684 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 695 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 696 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 700 coders/ycbcr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 701 coders/ycbcr.c image->columns,1,exception); image 705 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 711 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 714 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 717 coders/ycbcr.c if (image->previous == (Image *) NULL) image 719 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,2,5); image 723 coders/ycbcr.c (void) CloseBlob(image); image 724 coders/ycbcr.c AppendImageFormat("Cr",image->filename); image 725 coders/ycbcr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 729 coders/ycbcr.c image=DestroyImageList(image); image 734 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 736 coders/ycbcr.c (void) ReadBlobStream(image,length,GetQuantumPixels(quantum_info), image 741 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 745 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 747 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 752 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 763 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 764 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 768 coders/ycbcr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 769 coders/ycbcr.c image->columns,1,exception); image 773 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 779 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 782 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 785 coders/ycbcr.c if (image->previous == (Image *) NULL) image 787 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,3,5); image 791 coders/ycbcr.c if (image->matte != MagickFalse) image 793 coders/ycbcr.c (void) CloseBlob(image); image 794 coders/ycbcr.c AppendImageFormat("A",image->filename); image 795 coders/ycbcr.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 799 coders/ycbcr.c image=DestroyImageList(image); image 804 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 806 coders/ycbcr.c (void) ReadBlobStream(image,length, image 811 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 815 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 817 coders/ycbcr.c for (y=0; y < (ssize_t) image->extract_info.height; y++) image 822 coders/ycbcr.c "UnexpectedEndOfFile",image->filename); image 833 coders/ycbcr.c if (((y-image->extract_info.y) >= 0) && image 834 coders/ycbcr.c ((y-image->extract_info.y) < (ssize_t) image->rows)) image 838 coders/ycbcr.c q=GetAuthenticPixels(image,0,y-image->extract_info.y, image 839 coders/ycbcr.c image->columns,1,exception); image 843 coders/ycbcr.c for (x=0; x < (ssize_t) image->columns; x++) image 849 coders/ycbcr.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 852 coders/ycbcr.c pixels=(const unsigned char *) ReadBlobStream(image,length, image 855 coders/ycbcr.c if (image->previous == (Image *) NULL) image 857 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,4,5); image 862 coders/ycbcr.c if (image->previous == (Image *) NULL) image 864 coders/ycbcr.c status=SetImageProgress(image,LoadImageTag,5,5); image 871 coders/ycbcr.c SetQuantumImageType(image,quantum_type); image 876 coders/ycbcr.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 883 coders/ycbcr.c AcquireNextImage(image_info,image); image 884 coders/ycbcr.c if (GetNextImageInList(image) == (Image *) NULL) image 886 coders/ycbcr.c image=DestroyImageList(image); image 889 coders/ycbcr.c image=SyncNextImageInList(image); image 890 coders/ycbcr.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 891 coders/ycbcr.c GetBlobSize(image)); image 898 coders/ycbcr.c InheritException(&image->exception,&canvas_image->exception); image 900 coders/ycbcr.c (void) CloseBlob(image); image 901 coders/ycbcr.c return(GetFirstImageInList(image)); image 1003 coders/ycbcr.c Image *image) image 1035 coders/ycbcr.c assert(image != (Image *) NULL); image 1036 coders/ycbcr.c assert(image->signature == MagickSignature); image 1037 coders/ycbcr.c if (image->debug != MagickFalse) image 1038 coders/ycbcr.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1044 coders/ycbcr.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 1052 coders/ycbcr.c image->matte=MagickTrue; image 1060 coders/ycbcr.c if (image->colorspace != YCbCrColorspace) image 1061 coders/ycbcr.c (void) TransformImageColorspace(image,YCbCrColorspace); image 1063 coders/ycbcr.c (image->matte == MagickFalse)) image 1064 coders/ycbcr.c (void) SetImageAlphaChannel(image,ResetAlphaChannel); image 1065 coders/ycbcr.c quantum_info=AcquireQuantumInfo(image_info,image); image 1077 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1079 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1082 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1083 coders/ycbcr.c quantum_info,quantum_type,pixels,&image->exception); image 1084 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1087 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1089 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1090 coders/ycbcr.c image->rows); image 1102 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1104 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1107 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1108 coders/ycbcr.c quantum_info,RedQuantum,pixels,&image->exception); image 1109 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1112 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1113 coders/ycbcr.c quantum_info,GreenQuantum,pixels,&image->exception); image 1114 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1117 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1118 coders/ycbcr.c quantum_info,BlueQuantum,pixels,&image->exception); image 1119 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1124 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1125 coders/ycbcr.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1126 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1130 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1132 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 1133 coders/ycbcr.c image->rows); image 1145 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1147 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1150 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1151 coders/ycbcr.c quantum_info,RedQuantum,pixels,&image->exception); image 1152 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1156 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1158 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,1,5); image 1162 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1164 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1167 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1168 coders/ycbcr.c quantum_info,GreenQuantum,pixels,&image->exception); image 1169 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1173 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1175 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,2,5); image 1179 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1181 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1184 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1185 coders/ycbcr.c quantum_info,BlueQuantum,pixels,&image->exception); image 1186 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1190 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1192 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,3,5); image 1198 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1200 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1203 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1204 coders/ycbcr.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1205 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1211 coders/ycbcr.c (void) CopyMagickString(image->filename,image_info->filename, image 1213 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1215 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,5,5); image 1226 coders/ycbcr.c AppendImageFormat("Y",image->filename); image 1227 coders/ycbcr.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1228 coders/ycbcr.c AppendBinaryBlobMode,&image->exception); image 1231 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1233 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1236 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1237 coders/ycbcr.c quantum_info,RedQuantum,pixels,&image->exception); image 1238 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1242 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1244 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,1,5); image 1248 coders/ycbcr.c (void) CloseBlob(image); image 1249 coders/ycbcr.c AppendImageFormat("Cb",image->filename); image 1250 coders/ycbcr.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1251 coders/ycbcr.c AppendBinaryBlobMode,&image->exception); image 1254 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1256 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1259 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1260 coders/ycbcr.c quantum_info,GreenQuantum,pixels,&image->exception); image 1261 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1265 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1267 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,2,5); image 1271 coders/ycbcr.c (void) CloseBlob(image); image 1272 coders/ycbcr.c AppendImageFormat("Cr",image->filename); image 1273 coders/ycbcr.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1274 coders/ycbcr.c AppendBinaryBlobMode,&image->exception); image 1277 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1279 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1,&image->exception); image 1282 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1283 coders/ycbcr.c quantum_info,BlueQuantum,pixels,&image->exception); image 1284 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1288 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1290 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,3,5); image 1296 coders/ycbcr.c (void) CloseBlob(image); image 1297 coders/ycbcr.c AppendImageFormat("A",image->filename); image 1298 coders/ycbcr.c status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : image 1299 coders/ycbcr.c AppendBinaryBlobMode,&image->exception); image 1302 coders/ycbcr.c for (y=0; y < (ssize_t) image->rows; y++) image 1304 coders/ycbcr.c p=GetVirtualPixels(image,0,y,image->columns,1, image 1305 coders/ycbcr.c &image->exception); image 1308 coders/ycbcr.c length=ExportQuantumPixels(image,(const CacheView *) NULL, image 1309 coders/ycbcr.c quantum_info,AlphaQuantum,pixels,&image->exception); image 1310 coders/ycbcr.c count=WriteBlob(image,length,pixels); image 1314 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1316 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,4,5); image 1321 coders/ycbcr.c (void) CloseBlob(image); image 1322 coders/ycbcr.c (void) CopyMagickString(image->filename,image_info->filename, image 1324 coders/ycbcr.c if (image->previous == (Image *) NULL) image 1326 coders/ycbcr.c status=SetImageProgress(image,SaveImageTag,5,5); image 1334 coders/ycbcr.c if (GetNextImageInList(image) == (Image *) NULL) image 1336 coders/ycbcr.c image=SyncNextImageInList(image); image 1337 coders/ycbcr.c status=SetImageProgress(image,SaveImagesTag,scene++, image 1338 coders/ycbcr.c GetImageListLength(image)); image 1342 coders/ycbcr.c (void) CloseBlob(image); image 103 coders/yuv.c *image, image 146 coders/yuv.c image=AcquireImage(image_info); image 147 coders/yuv.c if ((image->columns == 0) || (image->rows == 0)) image 149 coders/yuv.c status=SetImageExtent(image,image->columns,image->rows); image 152 coders/yuv.c InheritException(exception,&image->exception); image 153 coders/yuv.c return(DestroyImageList(image)); image 155 coders/yuv.c quantum=(size_t) (image->depth <= 8 ? 1 : 2); image 188 coders/yuv.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 191 coders/yuv.c image=DestroyImageList(image); image 194 coders/yuv.c if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) image 196 coders/yuv.c image->filename); image 203 coders/yuv.c image->columns+2UL,quantum*sizeof(*scanline)); image 205 coders/yuv.c scanline=(unsigned char *) AcquireQuantumMemory(image->columns, image 211 coders/yuv.c chroma_image=CloneImage(image,(image->columns + horizontal_factor - 1) / image 212 coders/yuv.c horizontal_factor, (image->rows + vertical_factor - 1) / vertical_factor, image 220 coders/yuv.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 222 coders/yuv.c status=SetImageExtent(image,image->columns,image->rows); image 225 coders/yuv.c InheritException(exception,&image->exception); image 226 coders/yuv.c return(DestroyImageList(image)); image 230 coders/yuv.c AppendImageFormat("Y",image->filename); image 231 coders/yuv.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 234 coders/yuv.c image=DestroyImageList(image); image 238 coders/yuv.c for (y=0; y < (ssize_t) image->rows; y++) image 245 coders/yuv.c if ((y > 0) || (GetPreviousImageInList(image) == (Image *) NULL)) image 246 coders/yuv.c (void) ReadBlob(image,(size_t) (2*quantum*image->columns),scanline); image 248 coders/yuv.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 255 coders/yuv.c for (x=0; x < (ssize_t) image->columns; x+=2) image 299 coders/yuv.c if ((y > 0) || (GetPreviousImageInList(image) == (Image *) NULL)) image 300 coders/yuv.c (void) ReadBlob(image,(size_t) quantum*image->columns,scanline); image 302 coders/yuv.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 305 coders/yuv.c for (x=0; x < (ssize_t) image->columns; x++) image 319 coders/yuv.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 324 coders/yuv.c if (image->previous == (Image *) NULL) image 326 coders/yuv.c status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, image 327 coders/yuv.c image->rows); image 334 coders/yuv.c (void) CloseBlob(image); image 335 coders/yuv.c AppendImageFormat("U",image->filename); image 336 coders/yuv.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 339 coders/yuv.c image=DestroyImageList(image); image 347 coders/yuv.c (void) ReadBlob(image,(size_t) quantum*chroma_image->columns,scanline); image 371 coders/yuv.c (void) CloseBlob(image); image 372 coders/yuv.c AppendImageFormat("V",image->filename); image 373 coders/yuv.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 376 coders/yuv.c image=DestroyImageList(image); image 382 coders/yuv.c (void) ReadBlob(image,(size_t) quantum*chroma_image->columns,scanline); image 406 coders/yuv.c resize_image=ResizeImage(chroma_image,image->columns,image->rows, image 411 coders/yuv.c for (y=0; y < (ssize_t) image->rows; y++) image 413 coders/yuv.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 419 coders/yuv.c for (x=0; x < (ssize_t) image->columns; x++) image 426 coders/yuv.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 430 coders/yuv.c SetImageColorspace(image,YCbCrColorspace); image 432 coders/yuv.c (void) CopyMagickString(image->filename,image_info->filename, image 434 coders/yuv.c if (EOFBlob(image) != MagickFalse) image 437 coders/yuv.c image->filename); image 444 coders/yuv.c if (image->scene >= (image_info->scene+image_info->number_scenes-1)) image 447 coders/yuv.c count=ReadBlob(image,(size_t) (2*quantum*image->columns),scanline); image 449 coders/yuv.c count=ReadBlob(image,(size_t) quantum*image->columns,scanline); image 455 coders/yuv.c AcquireNextImage(image_info,image); image 456 coders/yuv.c if (GetNextImageInList(image) == (Image *) NULL) image 458 coders/yuv.c image=DestroyImageList(image); image 461 coders/yuv.c image=SyncNextImageInList(image); image 462 coders/yuv.c status=SetImageProgress(image,LoadImagesTag,TellBlob(image), image 463 coders/yuv.c GetBlobSize(image)); image 469 coders/yuv.c (void) CloseBlob(image); image 470 coders/yuv.c return(GetFirstImageInList(image)); image 562 coders/yuv.c static MagickBooleanType WriteYUVImage(const ImageInfo *image_info,Image *image) image 596 coders/yuv.c assert(image != (Image *) NULL); image 597 coders/yuv.c assert(image->signature == MagickSignature); image 598 coders/yuv.c if (image->debug != MagickFalse) image 599 coders/yuv.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 600 coders/yuv.c quantum=(size_t) (image->depth <= 8 ? 1 : 2); image 601 coders/yuv.c interlace=image->interlace; image 633 coders/yuv.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 639 coders/yuv.c AppendImageFormat("Y",image->filename); image 640 coders/yuv.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception); image 650 coders/yuv.c image->depth=(size_t) (quantum == 1 ? 8 : 16); image 651 coders/yuv.c width=image->columns+(image->columns & (horizontal_factor-1)); image 652 coders/yuv.c height=image->rows+(image->rows & (vertical_factor-1)); image 653 coders/yuv.c yuv_image=ResizeImage(image,width,height,TriangleFilter,1.0, image 654 coders/yuv.c &image->exception); image 656 coders/yuv.c ThrowWriterException(ResourceLimitError,image->exception.reason); image 661 coders/yuv.c chroma_image=ResizeImage(image,width/horizontal_factor, image 662 coders/yuv.c height/vertical_factor,TriangleFilter,1.0,&image->exception); image 664 coders/yuv.c ThrowWriterException(ResourceLimitError,image->exception.reason); image 685 coders/yuv.c (void) WriteBlobByte(image,ScaleQuantumToChar( image 687 coders/yuv.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelRed(p))); image 689 coders/yuv.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelBlue(s))); image 690 coders/yuv.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelRed(p))); image 694 coders/yuv.c (void) WriteBlobByte(image,ScaleQuantumToChar( image 696 coders/yuv.c (void) WriteBlobShort(image,ScaleQuantumToShort( image 699 coders/yuv.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelBlue(s))); image 700 coders/yuv.c (void) WriteBlobShort(image,ScaleQuantumToShort( image 707 coders/yuv.c if (image->previous == (Image *) NULL) image 709 coders/yuv.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 710 coders/yuv.c image->rows); image 731 coders/yuv.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelRed(p))); image 733 coders/yuv.c (void) WriteBlobShort(image,ScaleQuantumToShort(GetPixelRed(p))); image 736 coders/yuv.c if (image->previous == (Image *) NULL) image 738 coders/yuv.c status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, image 739 coders/yuv.c image->rows); image 745 coders/yuv.c if (image->previous == (Image *) NULL) image 747 coders/yuv.c status=SetImageProgress(image,SaveImageTag,1,3); image 756 coders/yuv.c (void) CloseBlob(image); image 757 coders/yuv.c AppendImageFormat("U",image->filename); image 758 coders/yuv.c status=OpenBlob(image_info,image,WriteBinaryBlobMode, image 759 coders/yuv.c &image->exception); image 772 coders/yuv.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelGreen(p))); image 774 coders/yuv.c (void) WriteBlobShort(image,ScaleQuantumToShort( image 779 coders/yuv.c if (image->previous == (Image *) NULL) image 781 coders/yuv.c status=SetImageProgress(image,SaveImageTag,2,3); image 790 coders/yuv.c (void) CloseBlob(image); image 791 coders/yuv.c AppendImageFormat("V",image->filename); image 792 coders/yuv.c status=OpenBlob(image_info,image,WriteBinaryBlobMode, image 793 coders/yuv.c &image->exception); image 806 coders/yuv.c (void) WriteBlobByte(image,ScaleQuantumToChar(GetPixelBlue(p))); image 808 coders/yuv.c (void) WriteBlobShort(image,ScaleQuantumToShort(GetPixelBlue(p))); image 812 coders/yuv.c if (image->previous == (Image *) NULL) image 814 coders/yuv.c status=SetImageProgress(image,SaveImageTag,2,3); image 821 coders/yuv.c (void) CopyMagickString(image->filename,image_info->filename, image 823 coders/yuv.c if (GetNextImageInList(image) == (Image *) NULL) image 825 coders/yuv.c image=SyncNextImageInList(image); image 826 coders/yuv.c status=SetImageProgress(image,SaveImagesTag,scene++, image 827 coders/yuv.c GetImageListLength(image)); image 831 coders/yuv.c (void) CloseBlob(image); image 109 filters/analyze.c *image; image 116 filters/analyze.c image=(*images); image 117 filters/analyze.c for ( ; image != (Image *) NULL; image=GetNextImageInList(image)) image 146 filters/analyze.c image_view=AcquireVirtualCacheView(image,exception); image 151 filters/analyze.c for (y=0; y < (ssize_t) image->rows; y++) image 161 filters/analyze.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 167 filters/analyze.c for (x=0; x < (ssize_t) image->columns; x++) image 190 filters/analyze.c (void) SetImageProperty(image,"filter:brightness:mean",text); image 195 filters/analyze.c (void) SetImageProperty(image,"filter:brightness:standard-deviation",text); image 204 filters/analyze.c (void) SetImageProperty(image,"filter:brightness:kurtosis",text); image 211 filters/analyze.c (void) SetImageProperty(image,"filter:brightness:skewness",text); image 214 filters/analyze.c (void) SetImageProperty(image,"filter:saturation:mean",text); image 219 filters/analyze.c (void) SetImageProperty(image,"filter:saturation:standard-deviation",text); image 228 filters/analyze.c (void) SetImageProperty(image,"filter:saturation:kurtosis",text); image 235 filters/analyze.c (void) SetImageProperty(image,"filter:saturation:skewness",text); image 1258 magick/accelerate-private.h void Composite(__global CLPixelType *image, image 1280 magick/accelerate-private.h const CLPixelType inputPixel = image[index.y*imageWidth+index.x]; image 1329 magick/accelerate-private.h image[index.y*imageWidth+index.x] = outputPixel; image 113 magick/accelerate.c static Image *ComputeUnsharpMaskImageSingle(const Image *image, image 121 magick/accelerate.c static MagickBooleanType checkAccelerateCondition(const Image* image, image 125 magick/accelerate.c if (image->colorspace != RGBColorspace && image 126 magick/accelerate.c image->colorspace != sRGBColorspace && image 127 magick/accelerate.c image->colorspace != GRAYColorspace) image 137 magick/accelerate.c if ((GetImageVirtualPixelMethod(image) != UndefinedVirtualPixelMethod) && image 138 magick/accelerate.c (GetImageVirtualPixelMethod(image) != EdgeVirtualPixelMethod)) image 142 magick/accelerate.c if ((image->clip_mask != (Image *) NULL) || (image->mask != (Image *) NULL)) image 148 magick/accelerate.c static MagickBooleanType checkHistogramCondition(Image *image, image 155 magick/accelerate.c if (image->intensity == Rec601LuminancePixelIntensityMethod || image 156 magick/accelerate.c image->intensity == Rec709LuminancePixelIntensityMethod) image 159 magick/accelerate.c if (image->colorspace != sRGBColorspace) image 204 magick/accelerate.c static MagickBooleanType splitImage(const Image* image) image 219 magick/accelerate.c tempSize=(unsigned long) (image->columns * image->rows * 4 * 4); image 237 magick/accelerate.c static Image *ComputeAddNoiseImage(const Image *image, image 330 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 331 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 334 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 347 magick/accelerate.c length = image->columns * image->rows; image 356 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 382 magick/accelerate.c length = image->columns * image->rows; image 422 magick/accelerate.c option=GetImageArtifact(image,"attenuate"); image 438 magick/accelerate.c inputPixelCount = (cl_int) (image->columns * image->rows); image 462 magick/accelerate.c option=GetImageArtifact(image,"attenuate"); image 477 magick/accelerate.c length = image->columns * image->rows; image 482 magick/accelerate.c length = image->columns * image->rows; image 510 magick/accelerate.c MagickExport Image *AccelerateAddNoiseImage(const Image *image, image 517 magick/accelerate.c assert(image != NULL); image 521 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse)) image 524 magick/accelerate.c filteredImage = ComputeAddNoiseImage(image,channel,noise_type,exception); image 541 magick/accelerate.c static Image *ComputeBlurImage(const Image* image,const ChannelType channel, image 627 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 628 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 631 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 646 magick/accelerate.c length = image->columns * image->rows; image 657 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 683 magick/accelerate.c length = image->columns * image->rows; image 732 magick/accelerate.c length = image->columns * image->rows; image 763 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 764 magick/accelerate.c imageRows = (unsigned int) image->rows; image 789 magick/accelerate.c gsize[0] = chunkSize*((image->columns+chunkSize-1)/chunkSize); image 790 magick/accelerate.c gsize[1] = image->rows; image 812 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 813 magick/accelerate.c imageRows = (unsigned int) image->rows; image 838 magick/accelerate.c gsize[0] = image->columns; image 839 magick/accelerate.c gsize[1] = chunkSize*((image->rows+chunkSize-1)/chunkSize); image 860 magick/accelerate.c length = image->columns * image->rows; image 865 magick/accelerate.c length = image->columns * image->rows; image 896 magick/accelerate.c static Image* ComputeBlurImageSection(const Image* image, image 983 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 984 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 987 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 1002 magick/accelerate.c length = image->columns * image->rows; image 1013 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 1039 magick/accelerate.c length = image->columns * image->rows; image 1090 magick/accelerate.c length = image->columns * (image->rows / 2 + 1 + (kernel->width-1) / 2); image 1123 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 1125 magick/accelerate.c imageRows = (unsigned int) (image->rows / 2 + (kernel->width-1) / 2); image 1127 magick/accelerate.c imageRows = (unsigned int) ((image->rows - image->rows / 2) + (kernel->width-1) / 2); image 1129 magick/accelerate.c offsetRows = (unsigned int) (sec * image->rows / 2); image 1179 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 1181 magick/accelerate.c imageRows = (unsigned int) (image->rows / 2); image 1183 magick/accelerate.c imageRows = (unsigned int) ((image->rows - image->rows / 2)); image 1185 magick/accelerate.c offsetRows = (unsigned int) (sec * image->rows / 2); image 1236 magick/accelerate.c length = image->columns * image->rows; image 1241 magick/accelerate.c length = image->columns * image->rows; image 1278 magick/accelerate.c static Image* ComputeBlurImageSingle(const Image* image, image 1282 magick/accelerate.c return ComputeUnsharpMaskImageSingle(image, channel, radius, sigma, 0.0, 0.0, 1, exception); image 1285 magick/accelerate.c MagickExport Image* AccelerateBlurImage(const Image *image, image 1292 magick/accelerate.c assert(image != NULL); image 1296 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse)) image 1300 magick/accelerate.c filteredImage=ComputeBlurImageSingle(image, channel, radius, sigma, exception); image 1301 magick/accelerate.c else if (splitImage(image) && (image->rows / 2 > radius)) image 1302 magick/accelerate.c filteredImage=ComputeBlurImageSection(image, channel, radius, sigma, exception); image 1304 magick/accelerate.c filteredImage=ComputeBlurImage(image, channel, radius, sigma, exception); image 1389 magick/accelerate.c static MagickBooleanType ComputeCompositeImage(Image *image, image 1444 magick/accelerate.c image_view = AcquireAuthenticCacheView(image, exception); image 1445 magick/accelerate.c inputPixels = GetCacheViewAuthenticPixels(image_view, 0, 0, image->columns, image->rows, exception); image 1449 magick/accelerate.c "UnableToReadPixelCache.", "`%s'", image->filename); image 1465 magick/accelerate.c length = image->columns * image->rows; image 1508 magick/accelerate.c (unsigned int)image->columns, image 1509 magick/accelerate.c (unsigned int)image->rows, image 1510 magick/accelerate.c (unsigned int)image->matte, image 1521 magick/accelerate.c length = image->columns * image->rows; image 1546 magick/accelerate.c MagickExport MagickBooleanType AccelerateCompositeImage(Image *image, image 1555 magick/accelerate.c assert(image != NULL); image 1559 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse)) image 1566 magick/accelerate.c || image->columns != composite->columns image 1567 magick/accelerate.c || image->rows != composite->rows) image 1579 magick/accelerate.c status = ComputeCompositeImage(image, channel, compose, composite, image 1597 magick/accelerate.c static MagickBooleanType ComputeContrastImage(Image *image, image 1655 magick/accelerate.c image_view=AcquireAuthenticCacheView(image,exception); image 1656 magick/accelerate.c inputPixels=GetCacheViewAuthenticPixels(image_view,0,0,image->columns,image->rows,exception); image 1659 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 1675 magick/accelerate.c length = image->columns * image->rows; image 1701 magick/accelerate.c global_work_size[0] = image->columns; image 1702 magick/accelerate.c global_work_size[1] = image->rows; image 1717 magick/accelerate.c length = image->columns * image->rows; image 1722 magick/accelerate.c length = image->columns * image->rows; image 1743 magick/accelerate.c MagickExport MagickBooleanType AccelerateContrastImage(Image *image, image 1749 magick/accelerate.c assert(image != NULL); image 1753 magick/accelerate.c (checkAccelerateCondition(image, AllChannels) == MagickFalse)) image 1756 magick/accelerate.c status = ComputeContrastImage(image,sharpen,exception); image 1774 magick/accelerate.c Image *image,const ChannelType channel,ExceptionInfo *exception) image 1799 magick/accelerate.c method = image->intensity; image 1800 magick/accelerate.c colorspace = image->colorspace; image 1824 magick/accelerate.c global_work_size[0] = image->columns; image 1825 magick/accelerate.c global_work_size[1] = image->rows; image 1849 magick/accelerate.c MagickExport MagickBooleanType ComputeContrastStretchImageChannel(Image *image, image 1929 magick/accelerate.c assert(image != (Image *) NULL); image 1930 magick/accelerate.c assert(image->signature == MagickSignature); image 1931 magick/accelerate.c if (image->debug != MagickFalse) image 1932 magick/accelerate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1949 magick/accelerate.c ThrowBinaryException(ResourceLimitError,"MemoryAllocationFailed", image->filename); image 1968 magick/accelerate.c image_view=AcquireAuthenticCacheView(image,exception); image 1969 magick/accelerate.c inputPixels=GetCacheViewAuthenticPixels(image_view,0,0,image->columns,image->rows,exception); image 1973 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 1988 magick/accelerate.c length = image->columns * image->rows; image 2018 magick/accelerate.c status = LaunchHistogramKernel(clEnv, queue, imageBuffer, histogramBuffer, image, channel, exception); image 2076 magick/accelerate.c if (intensity > ((double) image->columns*image->rows-white_point)) image 2097 magick/accelerate.c if (intensity > ((double) image->columns*image->rows-white_point)) image 2118 magick/accelerate.c if (intensity > ((double) image->columns*image->rows-white_point)) image 2139 magick/accelerate.c if (intensity > ((double) image->columns*image->rows-white_point)) image 2174 magick/accelerate.c image->filename); image 2251 magick/accelerate.c (image->colorspace == CMYKColorspace))) image 2252 magick/accelerate.c image->storage_class=DirectClass; image 2253 magick/accelerate.c if (image->storage_class == PseudoClass) image 2258 magick/accelerate.c for (i=0; i < (ssize_t) image->colors; i++) image 2263 magick/accelerate.c image->colormap[i].red=stretch_map[ image 2264 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].red)].red; image 2269 magick/accelerate.c image->colormap[i].green=stretch_map[ image 2270 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].green)].green; image 2275 magick/accelerate.c image->colormap[i].blue=stretch_map[ image 2276 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].blue)].blue; image 2281 magick/accelerate.c image->colormap[i].opacity=stretch_map[ image 2282 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].opacity)].opacity; image 2310 magick/accelerate.c length = image->columns * image->rows; image 2361 magick/accelerate.c global_work_size[0] = image->columns; image 2362 magick/accelerate.c global_work_size[1] = image->rows; image 2378 magick/accelerate.c length = image->columns * image->rows; image 2383 magick/accelerate.c length = image->columns * image->rows; image 2426 magick/accelerate.c Image *image,const ChannelType channel,const double black_point, image 2432 magick/accelerate.c assert(image != NULL); image 2436 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse) || image 2437 magick/accelerate.c (checkHistogramCondition(image, channel) == MagickFalse)) image 2440 magick/accelerate.c status=ComputeContrastStretchImageChannel(image,channel, black_point, white_point, exception); image 2456 magick/accelerate.c static Image *ComputeConvolveImage(const Image* image, image 2542 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 2543 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 2546 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 2564 magick/accelerate.c length = image->columns * image->rows; image 2572 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 2598 magick/accelerate.c length = image->columns * image->rows; image 2665 magick/accelerate.c imageWidth = (unsigned int) image->columns; image 2666 magick/accelerate.c imageHeight = (unsigned int) image->rows; image 2674 magick/accelerate.c matte = (image->matte==MagickTrue)?1:0; image 2686 magick/accelerate.c global_work_size[0] = ((image->columns + localGroupSize[0] - 1)/localGroupSize[0] ) * localGroupSize[0] ; image 2687 magick/accelerate.c global_work_size[1] = ((image->rows + localGroupSize[1] - 1)/localGroupSize[1]) * localGroupSize[1]; image 2713 magick/accelerate.c imageWidth = (unsigned int) image->columns; image 2714 magick/accelerate.c imageHeight = (unsigned int) image->rows; image 2722 magick/accelerate.c matte = (image->matte==MagickTrue)?1:0; image 2733 magick/accelerate.c global_work_size[0] = (image->columns + (localGroupSize[0]-1))/localGroupSize[0] * localGroupSize[0]; image 2734 magick/accelerate.c global_work_size[1] = (image->rows + (localGroupSize[1]-1))/localGroupSize[1] * localGroupSize[1]; image 2749 magick/accelerate.c length = image->columns * image->rows; image 2754 magick/accelerate.c length = image->columns * image->rows; image 2796 magick/accelerate.c MagickExport Image *AccelerateConvolveImageChannel(const Image *image, image 2802 magick/accelerate.c assert(image != NULL); image 2807 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse)) image 2810 magick/accelerate.c filteredImage=ComputeConvolveImage(image, channel, kernel, exception); image 2826 magick/accelerate.c static Image *ComputeDespeckleImage(const Image *image, image 2908 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 2909 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 2912 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 2925 magick/accelerate.c length = image->columns * image->rows; image 2934 magick/accelerate.c length = image->columns * image->rows; image 2945 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 2971 magick/accelerate.c length = image->columns * image->rows; image 2984 magick/accelerate.c imageWidth = (unsigned int) image->columns; image 2986 magick/accelerate.c imageHeight = (unsigned int) image->rows; image 2988 magick/accelerate.c matte = (image->matte==MagickFalse)?0:1; image 2998 magick/accelerate.c imageWidth = (unsigned int) image->columns; image 3000 magick/accelerate.c imageHeight = (unsigned int) image->rows; image 3002 magick/accelerate.c matte = (image->matte==MagickFalse)?0:1; image 3011 magick/accelerate.c global_work_size[0] = image->columns; image 3012 magick/accelerate.c global_work_size[1] = image->rows; image 3155 magick/accelerate.c length = image->columns * image->rows; image 3160 magick/accelerate.c length = image->columns * image->rows; image 3192 magick/accelerate.c MagickExport Image *AccelerateDespeckleImage(const Image* image, image 3198 magick/accelerate.c assert(image != NULL); image 3202 magick/accelerate.c (checkAccelerateCondition(image, AllChannels) == MagickFalse)) image 3205 magick/accelerate.c filteredImage=ComputeDespeckleImage(image,exception); image 3221 magick/accelerate.c MagickExport MagickBooleanType ComputeEqualizeImage(Image *image, image 3298 magick/accelerate.c assert(image != (Image *) NULL); image 3299 magick/accelerate.c assert(image->signature == MagickSignature); image 3300 magick/accelerate.c if (image->debug != MagickFalse) image 3301 magick/accelerate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3315 magick/accelerate.c ThrowBinaryException(ResourceLimitWarning,"MemoryAllocationFailed", image->filename); image 3323 magick/accelerate.c image_view=AcquireAuthenticCacheView(image,exception); image 3324 magick/accelerate.c inputPixels=GetCacheViewAuthenticPixels(image_view,0,0,image->columns,image->rows,exception); image 3328 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 3343 magick/accelerate.c length = image->columns * image->rows; image 3373 magick/accelerate.c status = LaunchHistogramKernel(clEnv, queue, imageBuffer, histogramBuffer, image, channel, exception); image 3414 magick/accelerate.c ThrowBinaryException(ResourceLimitWarning,"MemoryAllocationFailed", image->filename); image 3418 magick/accelerate.c ThrowBinaryException(ResourceLimitWarning,"MemoryAllocationFailed", image->filename); image 3482 magick/accelerate.c if (image->storage_class == PseudoClass) image 3487 magick/accelerate.c for (i=0; i < (ssize_t) image->colors; i++) image 3493 magick/accelerate.c image->colormap[i].red=equalize_map[ image 3494 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].red)].red; image 3495 magick/accelerate.c image->colormap[i].green=equalize_map[ image 3496 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].green)].red; image 3497 magick/accelerate.c image->colormap[i].blue=equalize_map[ image 3498 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].blue)].red; image 3499 magick/accelerate.c image->colormap[i].opacity=equalize_map[ image 3500 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].opacity)].red; image 3505 magick/accelerate.c image->colormap[i].red=equalize_map[ image 3506 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].red)].red; image 3508 magick/accelerate.c image->colormap[i].green=equalize_map[ image 3509 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].green)].green; image 3511 magick/accelerate.c image->colormap[i].blue=equalize_map[ image 3512 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].blue)].blue; image 3515 magick/accelerate.c image->colormap[i].opacity=equalize_map[ image 3516 magick/accelerate.c ScaleQuantumToMap(image->colormap[i].opacity)].opacity; image 3542 magick/accelerate.c length = image->columns * image->rows; image 3593 magick/accelerate.c global_work_size[0] = image->columns; image 3594 magick/accelerate.c global_work_size[1] = image->rows; image 3610 magick/accelerate.c length = image->columns * image->rows; image 3615 magick/accelerate.c length = image->columns * image->rows; image 3658 magick/accelerate.c MagickExport MagickBooleanType AccelerateEqualizeImage(Image *image, image 3664 magick/accelerate.c assert(image != NULL); image 3668 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse) || image 3669 magick/accelerate.c (checkHistogramCondition(image, channel) == MagickFalse)) image 3672 magick/accelerate.c status=ComputeEqualizeImage(image,channel,exception); image 3688 magick/accelerate.c static MagickBooleanType ComputeFunctionImage(Image *image, image 3750 magick/accelerate.c image_view=AcquireAuthenticCacheView(image,exception); image 3751 magick/accelerate.c pixels=GetCacheViewAuthenticPixels(image_view,0,0,image->columns,image->rows,exception); image 3756 magick/accelerate.c "'%s'", image->filename); image 3770 magick/accelerate.c length = image->columns * image->rows; image 3826 magick/accelerate.c globalWorkSize[0] = image->columns; image 3827 magick/accelerate.c globalWorkSize[1] = image->rows; image 3841 magick/accelerate.c length = image->columns * image->rows; image 3846 magick/accelerate.c length = image->columns * image->rows; image 3868 magick/accelerate.c MagickExport MagickBooleanType AccelerateFunctionImage(Image *image, image 3876 magick/accelerate.c assert(image != NULL); image 3880 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse)) image 3883 magick/accelerate.c status=ComputeFunctionImage(image, channel, function, number_parameters, parameters, exception); image 3899 magick/accelerate.c MagickBooleanType ComputeGrayscaleImage(Image *image, image 3949 magick/accelerate.c assert(image != (Image *) NULL); image 3950 magick/accelerate.c assert(image->signature == MagickSignature); image 3951 magick/accelerate.c if (image->debug != MagickFalse) image 3952 magick/accelerate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3967 magick/accelerate.c image_view=AcquireAuthenticCacheView(image,exception); image 3968 magick/accelerate.c inputPixels=GetCacheViewAuthenticPixels(image_view,0,0,image->columns,image->rows,exception); image 3971 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 3988 magick/accelerate.c length = image->columns * image->rows; image 3997 magick/accelerate.c colorspace = image->colorspace; image 4019 magick/accelerate.c global_work_size[0] = image->columns; image 4020 magick/accelerate.c global_work_size[1] = image->rows; image 4035 magick/accelerate.c length = image->columns * image->rows; image 4040 magick/accelerate.c length = image->columns * image->rows; image 4066 magick/accelerate.c MagickExport MagickBooleanType AccelerateGrayscaleImage(Image* image, image 4072 magick/accelerate.c assert(image != NULL); image 4076 magick/accelerate.c (checkAccelerateCondition(image, AllChannels) == MagickFalse)) image 4082 magick/accelerate.c if (image->colorspace != sRGBColorspace) image 4085 magick/accelerate.c status=ComputeGrayscaleImage(image,method,exception); image 4101 magick/accelerate.c static Image *ComputeLocalContrastImage(const Image *image, image 4178 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 4179 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 4182 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 4198 magick/accelerate.c length = image->columns * image->rows; image 4209 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 4236 magick/accelerate.c length = image->columns * image->rows; image 4248 magick/accelerate.c length = image->columns * image->rows; image 4275 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 4276 magick/accelerate.c imageRows = (unsigned int) image->rows; image 4307 magick/accelerate.c gsize[1] = image->rows / passes; image 4350 magick/accelerate.c gsize[0] = ((image->columns + 3) / 4) * 4; image 4351 magick/accelerate.c gsize[1] = ((((image->rows + 63) / 64) + (passes + 1)) / passes) * 64; image 4372 magick/accelerate.c length = image->columns * image->rows; image 4377 magick/accelerate.c length = image->columns * image->rows; image 4413 magick/accelerate.c MagickExport Image *AccelerateLocalContrastImage(const Image *image, image 4419 magick/accelerate.c assert(image != NULL); image 4425 magick/accelerate.c filteredImage=ComputeLocalContrastImage(image,radius,strength,exception); image 4442 magick/accelerate.c MagickBooleanType ComputeModulateImage(Image *image, image 4495 magick/accelerate.c assert(image != (Image *)NULL); image 4496 magick/accelerate.c assert(image->signature == MagickSignature); image 4497 magick/accelerate.c if (image->debug != MagickFalse) image 4498 magick/accelerate.c (void) LogMagickEvent(TraceEvent, GetMagickModule(), "%s", image->filename); image 4513 magick/accelerate.c image_view = AcquireAuthenticCacheView(image, exception); image 4514 magick/accelerate.c inputPixels = GetCacheViewAuthenticPixels(image_view, 0, 0, image->columns, image->rows, exception); image 4517 magick/accelerate.c (void)OpenCLThrowMagickException(exception, GetMagickModule(), CacheWarning, "UnableToReadPixelCache.", "`%s'", image->filename); image 4534 magick/accelerate.c length = image->columns * image->rows; image 4569 magick/accelerate.c global_work_size[0] = image->columns; image 4570 magick/accelerate.c global_work_size[1] = image->rows; image 4585 magick/accelerate.c length = image->columns * image->rows; image 4590 magick/accelerate.c length = image->columns * image->rows; image 4616 magick/accelerate.c MagickExport MagickBooleanType AccelerateModulateImage(Image *image, image 4623 magick/accelerate.c assert(image != NULL); image 4627 magick/accelerate.c (checkAccelerateCondition(image, AllChannels) == MagickFalse)) image 4633 magick/accelerate.c status = ComputeModulateImage(image, percent_brightness, percent_hue, percent_saturation, colorspace, exception); image 4649 magick/accelerate.c static Image* ComputeMotionBlurImage(const Image *image, image 4737 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 4738 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 4742 magick/accelerate.c "UnableToReadPixelCache.","`%s'",image->filename); image 4758 magick/accelerate.c length = image->columns * image->rows; image 4769 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows, image 4798 magick/accelerate.c length = image->columns * image->rows; image 4890 magick/accelerate.c imageWidth = (unsigned int) image->columns; image 4891 magick/accelerate.c imageHeight = (unsigned int) image->rows; image 4903 magick/accelerate.c GetMagickPixelPacket(image,&bias); image 4911 magick/accelerate.c matte = (image->matte != MagickFalse)?1:0; image 4924 magick/accelerate.c (unsigned int) image->columns,(unsigned int) local_work_size[0]); image 4926 magick/accelerate.c (unsigned int) image->rows,(unsigned int) local_work_size[1]); image 4942 magick/accelerate.c length = image->columns * image->rows; image 4949 magick/accelerate.c length = image->columns * image->rows; image 4978 magick/accelerate.c MagickExport Image *AccelerateMotionBlurImage(const Image *image, image 4985 magick/accelerate.c assert(image != NULL); image 4991 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse)) image 4994 magick/accelerate.c filteredImage=ComputeMotionBlurImage(image, channel, kernel, width, image 5011 magick/accelerate.c static Image *ComputeRadialBlurImage(const Image *image, image 5103 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 5104 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 5107 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 5123 magick/accelerate.c length = image->columns * image->rows; image 5132 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 5158 magick/accelerate.c length = image->columns * image->rows; image 5166 magick/accelerate.c blurCenter.s[0] = (float) (image->columns-1)/2.0; image 5167 magick/accelerate.c blurCenter.s[1] = (float) (image->rows-1)/2.0; image 5231 magick/accelerate.c GetMagickPixelPacket(image,&bias); image 5239 magick/accelerate.c matte = (image->matte != MagickFalse)?1:0; image 5254 magick/accelerate.c global_work_size[0] = image->columns; image 5255 magick/accelerate.c global_work_size[1] = image->rows; image 5269 magick/accelerate.c length = image->columns * image->rows; image 5274 magick/accelerate.c length = image->columns * image->rows; image 5308 magick/accelerate.c MagickExport Image *AccelerateRadialBlurImage(const Image *image, image 5314 magick/accelerate.c assert(image != NULL); image 5318 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse)) image 5321 magick/accelerate.c filteredImage=ComputeRadialBlurImage(image, channel, angle, exception); image 5401 magick/accelerate.c static MagickBooleanType ComputeRandomImage(Image* image, image 5450 magick/accelerate.c image_view=AcquireAuthenticCacheView(image,exception); image 5451 magick/accelerate.c inputPixels=GetCacheViewAuthenticPixels(image_view,0,0,image->columns,image->rows,exception); image 5454 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 5470 magick/accelerate.c length = image->columns * image->rows; image 5491 magick/accelerate.c (unsigned int) image->columns, image 5492 magick/accelerate.c (unsigned int) image->rows, image 5503 magick/accelerate.c length = image->columns * image->rows; image 5508 magick/accelerate.c length = image->columns * image->rows; image 5529 magick/accelerate.c MagickExport MagickBooleanType AccelerateRandomImage(Image *image, image 5535 magick/accelerate.c assert(image != NULL); image 5539 magick/accelerate.c (checkAccelerateCondition(image, AllChannels) == MagickFalse)) image 5542 magick/accelerate.c status=ComputeRandomImage(image,exception); image 5558 magick/accelerate.c static MagickBooleanType resizeHorizontalFilter(cl_mem image, image 5704 magick/accelerate.c clStatus = clEnv->library->clSetKernelArg(horizontalKernel, i++, sizeof(cl_mem), (void*)&image); image 5772 magick/accelerate.c static MagickBooleanType resizeVerticalFilter(cl_mem image, image 5914 magick/accelerate.c clStatus = clEnv->library->clSetKernelArg(horizontalKernel, i++, sizeof(cl_mem), (void*)&image); image 5982 magick/accelerate.c static Image *ComputeResizeImage(const Image* image, image 6054 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 6055 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 6058 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 6074 magick/accelerate.c length = image->columns * image->rows; image 6108 magick/accelerate.c filteredImage = CloneImage(image,resizedColumns,resizedRows,MagickTrue,exception); image 6145 magick/accelerate.c xFactor=(float) resizedColumns/(float) image->columns; image 6146 magick/accelerate.c yFactor=(float) resizedRows/(float) image->rows; image 6150 magick/accelerate.c length = resizedColumns*image->rows; image 6158 magick/accelerate.c status = resizeHorizontalFilter(imageBuffer, (unsigned int) image->columns, (unsigned int) image->rows, (image->matte != MagickFalse)?1:0 image 6159 magick/accelerate.c , tempImageBuffer, (unsigned int) resizedColumns, (unsigned int) image->rows image 6165 magick/accelerate.c status = resizeVerticalFilter(tempImageBuffer, (unsigned int) resizedColumns, (unsigned int) image->rows, (image->matte != MagickFalse)?1:0 image 6174 magick/accelerate.c length = image->columns*resizedRows; image 6182 magick/accelerate.c status = resizeVerticalFilter(imageBuffer, (unsigned int) image->columns, (unsigned int) image->rows, (image->matte != MagickFalse)?1:0 image 6183 magick/accelerate.c , tempImageBuffer, (unsigned int) image->columns, (unsigned int) resizedRows image 6189 magick/accelerate.c status = resizeHorizontalFilter(tempImageBuffer, (unsigned int) image->columns, (unsigned int) resizedRows, (image->matte != MagickFalse)?1:0 image 6245 magick/accelerate.c MagickExport Image *AccelerateResizeImage(const Image *image, image 6252 magick/accelerate.c assert(image != NULL); image 6256 magick/accelerate.c (checkAccelerateCondition(image, AllChannels) == MagickFalse)) image 6263 magick/accelerate.c filteredImage=ComputeResizeImage(image,resizedColumns,resizedRows,resizeFilter,exception); image 6279 magick/accelerate.c static Image *ComputeUnsharpMaskImage(const Image *image, image 6371 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 6372 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 6375 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 6391 magick/accelerate.c length = image->columns * image->rows; image 6402 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 6429 magick/accelerate.c length = image->columns * image->rows; image 6477 magick/accelerate.c length = image->columns * image->rows; image 6506 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 6507 magick/accelerate.c imageRows = (unsigned int) image->rows; image 6533 magick/accelerate.c gsize[0] = chunkSize*((image->columns+chunkSize-1)/chunkSize); image 6534 magick/accelerate.c gsize[1] = image->rows; image 6550 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 6551 magick/accelerate.c imageRows = (unsigned int) image->rows; image 6582 magick/accelerate.c gsize[0] = image->columns; image 6583 magick/accelerate.c gsize[1] = chunkSize*((image->rows+chunkSize-1)/chunkSize); image 6601 magick/accelerate.c length = image->columns * image->rows; image 6606 magick/accelerate.c length = image->columns * image->rows; image 6643 magick/accelerate.c static Image *ComputeUnsharpMaskImageSection(const Image *image, image 6735 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 6736 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 6739 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 6755 magick/accelerate.c length = image->columns * image->rows; image 6766 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 6793 magick/accelerate.c length = image->columns * image->rows; image 6844 magick/accelerate.c length = image->columns * (image->rows / 2 + 1 + (kernel->width-1) / 2); image 6875 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 6877 magick/accelerate.c imageRows = (unsigned int) (image->rows / 2 + (kernel->width-1) / 2); image 6879 magick/accelerate.c imageRows = (unsigned int) ((image->rows - image->rows / 2) + (kernel->width-1) / 2); image 6881 magick/accelerate.c offsetRows = (unsigned int) (sec * image->rows / 2); image 6928 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 6930 magick/accelerate.c imageRows = (unsigned int) (image->rows / 2); image 6932 magick/accelerate.c imageRows = (unsigned int) (image->rows - image->rows / 2); image 6934 magick/accelerate.c offsetRows = (unsigned int) (sec * image->rows / 2); image 6990 magick/accelerate.c length = image->columns * image->rows; image 6995 magick/accelerate.c length = image->columns * image->rows; image 7032 magick/accelerate.c static Image *ComputeUnsharpMaskImageSingle(const Image *image, image 7120 magick/accelerate.c image_view=AcquireVirtualCacheView(image,exception); image 7121 magick/accelerate.c inputPixels=GetCacheViewVirtualPixels(image_view,0,0,image->columns,image->rows,exception); image 7124 magick/accelerate.c (void) OpenCLThrowMagickException(exception,GetMagickModule(),CacheWarning,"UnableToReadPixelCache.","`%s'",image->filename); image 7140 magick/accelerate.c length = image->columns * image->rows; image 7151 magick/accelerate.c filteredImage = CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 7178 magick/accelerate.c length = image->columns * image->rows; image 7235 magick/accelerate.c imageColumns = (unsigned int) image->columns; image 7236 magick/accelerate.c imageRows = (unsigned int) image->rows; image 7266 magick/accelerate.c gsize[0] = ((image->columns + 7) / 8) * 8; image 7267 magick/accelerate.c gsize[1] = ((image->rows + 31) / 32) * 32; image 7286 magick/accelerate.c length = image->columns * image->rows; image 7291 magick/accelerate.c length = image->columns * image->rows; image 7326 magick/accelerate.c MagickExport Image *AccelerateUnsharpMaskImage(const Image *image, image 7333 magick/accelerate.c assert(image != NULL); image 7337 magick/accelerate.c (checkAccelerateCondition(image, channel) == MagickFalse)) image 7341 magick/accelerate.c filteredImage = ComputeUnsharpMaskImageSingle(image,channel,radius,sigma,gain,threshold, 0, exception); image 7342 magick/accelerate.c else if (splitImage(image) && (image->rows / 2 > radius)) image 7343 magick/accelerate.c filteredImage = ComputeUnsharpMaskImageSection(image,channel,radius,sigma,gain,threshold,exception); image 7345 magick/accelerate.c filteredImage = ComputeUnsharpMaskImage(image,channel,radius,sigma,gain,threshold,exception); image 7352 magick/accelerate.c MagickExport Image *AccelerateAddNoiseImage(const Image *magick_unused(image), image 7357 magick/accelerate.c magick_unreferenced(image); image 7364 magick/accelerate.c MagickExport Image *AccelerateBlurImage(const Image *magick_unused(image), image 7368 magick/accelerate.c magick_unreferenced(image); image 7378 magick/accelerate.c Image *magick_unused(image),const ChannelType magick_unused(channel), image 7386 magick/accelerate.c magick_unreferenced(image); image 7400 magick/accelerate.c Image* magick_unused(image),const MagickBooleanType magick_unused(sharpen), image 7403 magick/accelerate.c magick_unreferenced(image); image 7411 magick/accelerate.c Image *magick_unused(image),const ChannelType magick_unused(channel), image 7416 magick/accelerate.c magick_unreferenced(image); image 7426 magick/accelerate.c const Image *magick_unused(image),const ChannelType magick_unused(channel), image 7430 magick/accelerate.c magick_unreferenced(image); image 7439 magick/accelerate.c Image* magick_unused(image), const ChannelType magick_unused(channel), image 7442 magick/accelerate.c magick_unreferenced(image); image 7449 magick/accelerate.c MagickExport Image *AccelerateDespeckleImage(const Image* magick_unused(image), image 7452 magick/accelerate.c magick_unreferenced(image); image 7459 magick/accelerate.c Image *magick_unused(image),const ChannelType magick_unused(channel), image 7465 magick/accelerate.c magick_unreferenced(image); image 7476 magick/accelerate.c Image *magick_unused(image),const PixelIntensityMethod magick_unused(method), image 7479 magick/accelerate.c magick_unreferenced(image); image 7487 magick/accelerate.c const Image *magick_unused(image),const double magick_unused(radius), image 7490 magick/accelerate.c magick_unreferenced(image); image 7499 magick/accelerate.c Image *magick_unused(image),double magick_unused(percent_brightness), image 7504 magick/accelerate.c magick_unreferenced(image); image 7515 magick/accelerate.c const Image *magick_unused(image),const ChannelType magick_unused(channel), image 7520 magick/accelerate.c magick_unreferenced(image); image 7531 magick/accelerate.c const Image *magick_unused(image),const ChannelType magick_unused(channel), image 7534 magick/accelerate.c magick_unreferenced(image); image 7543 magick/accelerate.c Image *magick_unused(image),ExceptionInfo *magick_unused(exception)) image 7545 magick/accelerate.c magick_unreferenced(image); image 7551 magick/accelerate.c MagickExport Image *AccelerateResizeImage(const Image *magick_unused(image), image 7557 magick/accelerate.c magick_unreferenced(image); image 7567 magick/accelerate.c const Image *magick_unused(image),const ChannelType magick_unused(channel), image 7572 magick/accelerate.c magick_unreferenced(image); image 7586 magick/accelerate.c const Image *magick_unused(image),const KernelInfo *magick_unused(kernel), image 7589 magick/accelerate.c magick_unreferenced(image); image 7599 magick/accelerate.c Image *magick_unused(image), const ChannelType magick_unused(channel), image 7603 magick/accelerate.c magick_unreferenced(image); image 365 magick/animate.c XWindows *windows,const CommandType command_type,Image **image, image 489 magick/animate.c GetPathComponent((*image)->magick_filename,BasePath,basename); image 490 magick/animate.c (void) FormatLocaleString(windows->image.name,MaxTextExtent, image 497 magick/animate.c title=InterpretImageProperties(resource_info->image_info,*image, image 499 magick/animate.c (void) CopyMagickString(windows->image.name,title,MaxTextExtent); image 502 magick/animate.c status=XStringListToTextProperty(&windows->image.name,1,&window_name); image 505 magick/animate.c XSetWMName(display,windows->image.id,&window_name); image 542 magick/animate.c status=XSaveImage(display,resource_info,windows,*image); image 549 magick/animate.c (*image)->exception.reason != (char *) NULL ? image 550 magick/animate.c (*image)->exception.reason : "", image 551 magick/animate.c (*image)->exception.description != (char *) NULL ? image 552 magick/animate.c (*image)->exception.description : ""); image 584 magick/animate.c XDisplayImageInfo(display,resource_info,windows,(Image *) NULL,*image); image 633 magick/animate.c status=InvokeDelegate(resource_info->image_info,*image,"browse", image 634 magick/animate.c (char *) NULL,&(*image)->exception); image 654 magick/animate.c XClientMessage(display,windows->image.id,windows->im_protocols, image 667 magick/animate.c XClientMessage(display,windows->image.id,windows->im_protocols, image 1309 magick/animate.c *image, image 1448 magick/animate.c magick_windows[number_windows++]=(&windows->image); image 1640 magick/animate.c resource_info,&windows->image); image 1641 magick/animate.c windows->image.shape=MagickTrue; /* non-rectangular shape hint */ image 1643 magick/animate.c windows->image.shared_memory=MagickFalse; image 1651 magick/animate.c (void) CopyMagickString(windows->image.name,title,MaxTextExtent); image 1652 magick/animate.c (void) CopyMagickString(windows->image.icon_name,title,MaxTextExtent); image 1664 magick/animate.c (void) FormatLocaleString(windows->image.name,MaxTextExtent, image 1667 magick/animate.c (void) CopyMagickString(windows->image.icon_name,filename,MaxTextExtent); image 1670 magick/animate.c windows->image.immutable=MagickTrue; image 1671 magick/animate.c windows->image.shape=MagickTrue; image 1672 magick/animate.c windows->image.geometry=resource_info->image_geometry; image 1682 magick/animate.c windows->image.width=(unsigned int) geometry_info.width; image 1683 magick/animate.c windows->image.height=(unsigned int) geometry_info.height; image 1684 magick/animate.c windows->image.attributes.event_mask=ButtonMotionMask | ButtonPressMask | image 1721 magick/animate.c if (windows->image.id != (Window) NULL) image 1723 magick/animate.c (void) XDestroyWindow(display,windows->image.id); image 1724 magick/animate.c windows->image.id=(Window) NULL; image 1729 magick/animate.c windows->image.flags|=USPosition; image 1730 magick/animate.c windows->image.x=(XDisplayWidth(display,visual_info->screen)/2)- image 1731 magick/animate.c (windows->image.width/2); image 1732 magick/animate.c windows->image.y=(XDisplayHeight(display,visual_info->screen)/2)- image 1733 magick/animate.c (windows->image.height/2); image 1754 magick/animate.c argv,argc,class_hints,manager_hints,&windows->image); image 1755 magick/animate.c (void) XChangeProperty(display,windows->image.id,windows->im_protocols, image 1758 magick/animate.c (void) XSetTransientForHint(display,windows->image.id, image 1762 magick/animate.c windows->image.id); image 1780 magick/animate.c manager_hints->window_group=windows->image.id; image 1781 magick/animate.c XMakeWindow(display,windows->image.id,argv,argc,class_hints,manager_hints, image 1787 magick/animate.c (void) XSetTransientForHint(display,windows->info.id,windows->image.id); image 1788 magick/animate.c if (windows->image.mapped) image 1813 magick/animate.c manager_hints->window_group=windows->image.id; image 1821 magick/animate.c (void) XSetTransientForHint(display,windows->command.id,windows->image.id); image 1843 magick/animate.c manager_hints->window_group=windows->image.id; image 1850 magick/animate.c (void) XSetTransientForHint(display,windows->widget.id,windows->image.id); image 1867 magick/animate.c manager_hints->window_group=windows->image.id; image 1874 magick/animate.c (void) XSetTransientForHint(display,windows->popup.id,windows->image.id); image 1891 magick/animate.c windows->image.x=0; image 1892 magick/animate.c windows->image.y=0; image 1896 magick/animate.c window_changes.width=(int) windows->image.width; image 1897 magick/animate.c window_changes.height=(int) windows->image.height; image 1898 magick/animate.c (void) XReconfigureWMWindow(display,windows->image.id,windows->command.screen, image 1900 magick/animate.c windows->image.pixmaps=(Pixmap *) AcquireQuantumMemory(number_scenes, image 1901 magick/animate.c sizeof(*windows->image.pixmaps)); image 1902 magick/animate.c windows->image.matte_pixmaps=(Pixmap *) AcquireQuantumMemory(number_scenes, image 1903 magick/animate.c sizeof(*windows->image.pixmaps)); image 1904 magick/animate.c if ((windows->image.pixmaps == (Pixmap *) NULL) || image 1905 magick/animate.c (windows->image.matte_pixmaps == (Pixmap *) NULL)) image 1908 magick/animate.c if ((windows->image.mapped == MagickFalse) || image 1910 magick/animate.c (void) XMapWindow(display,windows->image.id); image 1921 magick/animate.c windows->image.pixmap=(Pixmap) NULL; image 1922 magick/animate.c windows->image.matte_pixmap=(Pixmap) NULL; image 1928 magick/animate.c image_list[scene],windows->image.pixel_info); image 1935 magick/animate.c status=XMakeImage(display,resource_info,&windows->image,image_list[scene], image 1961 magick/animate.c (void) CopyMagickString(windows->image.name,title,MaxTextExtent); image 1970 magick/animate.c (void) FormatLocaleString(windows->image.name,MaxTextExtent, image 1974 magick/animate.c status=XStringListToTextProperty(&windows->image.name,1,&window_name); image 1977 magick/animate.c XSetWMName(display,windows->image.id,&window_name); image 1980 magick/animate.c windows->image.pixmaps[scene]=windows->image.pixmap; image 1981 magick/animate.c windows->image.matte_pixmaps[scene]=windows->image.matte_pixmap; image 1988 magick/animate.c XRefreshWindow(display,&windows->image,&event); image 2002 magick/animate.c image=image_list[0]; image 2015 magick/animate.c delay=1000*image->delay/MagickMax(image->ticks_per_second,1L); image 2076 magick/animate.c image=image_list[scene]; image 2077 magick/animate.c if ((image != (Image *) NULL) && (image->start_loop != 0)) image 2089 magick/animate.c (void) FormatLocaleString(windows->image.name,MaxTextExtent, image 2098 magick/animate.c image,resource_info->title); image 2099 magick/animate.c (void) CopyMagickString(windows->image.name,title, image 2103 magick/animate.c status=XStringListToTextProperty(&windows->image.name,1, image 2107 magick/animate.c XSetWMName(display,windows->image.id,&window_name); image 2115 magick/animate.c image_list[scene],windows->image.pixel_info); image 2116 magick/animate.c windows->image.ximage->width=(int) image->columns; image 2117 magick/animate.c windows->image.ximage->height=(int) image->rows; image 2118 magick/animate.c windows->image.pixmap=windows->image.pixmaps[scene]; image 2119 magick/animate.c windows->image.matte_pixmap=windows->image.matte_pixmaps[scene]; image 2122 magick/animate.c event.xexpose.width=(int) image->columns; image 2123 magick/animate.c event.xexpose.height=(int) image->rows; image 2126 magick/animate.c XRefreshWindow(display,&windows->image,&event); image 2136 magick/animate.c status=XCheckTypedWindowEvent(display,windows->image.id,KeyPress, image 2148 magick/animate.c XClientMessage(display,windows->image.id, image 2162 magick/animate.c if (windows->image.stasis == MagickFalse) image 2163 magick/animate.c windows->image.stasis=(time((time_t *) NULL)-timestamp) > 0 ? image 2195 magick/animate.c command_type,&image,&state); image 2221 magick/animate.c if (event.xbutton.window == windows->image.id) image 2351 magick/animate.c nexus=ReadImage(resource_info->image_info,&image->exception); image 2352 magick/animate.c CatchException(&image->exception); image 2373 magick/animate.c if (event.xclient.window == windows->image.id) image 2387 magick/animate.c if (event.xconfigure.window == windows->image.id) image 2428 magick/animate.c windows->image.width=(unsigned int) event.xconfigure.width; image 2429 magick/animate.c windows->image.height=(unsigned int) event.xconfigure.height; image 2478 magick/animate.c if (event.xexpose.window == windows->image.id) image 2480 magick/animate.c windows->image.pixmap=windows->image.pixmaps[scene]; image 2481 magick/animate.c windows->image.matte_pixmap=windows->image.matte_pixmaps[scene]; image 2482 magick/animate.c XRefreshWindow(display,&windows->image,&event); image 2563 magick/animate.c command_type,&image,&state); image 2600 magick/animate.c if (event.xmap.window == windows->image.id) image 2608 magick/animate.c OpenCommand,&image,&state); image 2612 magick/animate.c windows->image.mapped=MagickTrue; image 2694 magick/animate.c nexus=ReadImage(resource_info->image_info,&image->exception); image 2695 magick/animate.c CatchException(&image->exception); image 2719 magick/animate.c if (event.xunmap.window == windows->image.id) image 2721 magick/animate.c windows->image.mapped=MagickFalse; image 2747 magick/animate.c (void) XSetInputFocus(display,windows->image.id,RevertToParent, image 2755 magick/animate.c (void) XSetInputFocus(display,windows->image.id,RevertToParent, image 2794 magick/animate.c (void) XWithdrawWindow(display,windows->image.id,windows->image.screen); image 2795 magick/animate.c (void) XDestroyWindow(display,windows->image.id); image 2796 magick/animate.c windows->image.id=(Window) NULL; image 2802 magick/animate.c if (windows->image.pixmaps[scene] != (Pixmap) NULL) image 2803 magick/animate.c (void) XFreePixmap(display,windows->image.pixmaps[scene]); image 2804 magick/animate.c windows->image.pixmaps[scene]=(Pixmap) NULL; image 2805 magick/animate.c if (windows->image.matte_pixmaps[scene] != (Pixmap) NULL) image 2806 magick/animate.c (void) XFreePixmap(display,windows->image.matte_pixmaps[scene]); image 2807 magick/animate.c windows->image.matte_pixmaps[scene]=(Pixmap) NULL; image 2810 magick/animate.c windows->image.pixmaps=(Pixmap *) image 2811 magick/animate.c RelinquishMagickMemory(windows->image.pixmaps); image 2812 magick/animate.c windows->image.matte_pixmaps=(Pixmap *) image 2813 magick/animate.c RelinquishMagickMemory(windows->image.matte_pixmaps); image 2819 magick/animate.c if (windows->image.mapped != MagickFalse) image 2820 magick/animate.c (void) XWithdrawWindow(display,windows->image.id,windows->image.screen); image 2882 magick/animate.c XResourceInfo *resource_info,XWindows *windows,Image *image) image 2907 magick/animate.c GetPathComponent(image->filename,HeadPath,path); image 2908 magick/animate.c GetPathComponent(image->filename,TailPath,filename); image 2913 magick/animate.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 2933 magick/animate.c (void) SetImageInfo(image_info,1,&image->exception); image 2952 magick/animate.c image->quality=StringToUnsignedLong(quality); image 2980 magick/animate.c image=GetFirstImageInList(image); image 2981 magick/animate.c status=WriteImages(image_info,image,filename,&image->exception); image 2983 magick/animate.c image->taint=MagickFalse; image 3018 magick/animate.c Image *image) image 3023 magick/animate.c assert(image != (Image *) NULL); image 3024 magick/animate.c assert(image->signature == MagickSignature); image 3025 magick/animate.c if (image->debug != MagickFalse) image 3026 magick/animate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3027 magick/animate.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 3029 magick/animate.c image->filename); image 267 magick/annotate.c MagickExport MagickBooleanType AnnotateImage(Image *image, image 303 magick/annotate.c assert(image != (Image *) NULL); image 304 magick/annotate.c assert(image->signature == MagickSignature); image 305 magick/annotate.c if (image->debug != MagickFalse) image 306 magick/annotate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 323 magick/annotate.c SetGeometry(image,&geometry); image 327 magick/annotate.c (void) ParsePageGeometry(image,annotate_info->geometry,&geometry, image 328 magick/annotate.c &image->exception); image 331 magick/annotate.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 333 magick/annotate.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 334 magick/annotate.c (void) SetImageColorspace(image,sRGBColorspace); image 341 magick/annotate.c annotate_info->affine.tx=geometry_info.xi-image->page.x; image 342 magick/annotate.c annotate_info->affine.ty=geometry_info.psi-image->page.y; image 344 magick/annotate.c (void) GetTypeMetrics(image,annotate,&metrics); image 508 magick/annotate.c (void) DrawImage(image,undercolor_info); image 520 magick/annotate.c (void) DrawImage(image,annotate_info); image 528 magick/annotate.c (void) DrawImage(image,annotate_info); image 533 magick/annotate.c status=RenderType(image,annotate,&offset,&metrics); image 541 magick/annotate.c (void) DrawImage(image,annotate_info); image 587 magick/annotate.c MagickExport ssize_t FormatMagickCaption(Image *image,DrawInfo *draw_info, image 626 magick/annotate.c status=GetTypeMetrics(image,draw_info,metrics); image 630 magick/annotate.c if ((width <= image->columns) || (strcmp(text,draw_info->text) == 0)) image 714 magick/annotate.c MagickExport MagickBooleanType GetMultilineTypeMetrics(Image *image, image 732 magick/annotate.c assert(image != (Image *) NULL); image 733 magick/annotate.c assert(image->signature == MagickSignature); image 734 magick/annotate.c if (image->debug != MagickFalse) image 735 magick/annotate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 757 magick/annotate.c status=GetTypeMetrics(image,annotate_info,&extent); image 762 magick/annotate.c status=GetTypeMetrics(image,annotate_info,&extent); image 823 magick/annotate.c MagickExport MagickBooleanType GetTypeMetrics(Image *image, image 835 magick/annotate.c assert(image != (Image *) NULL); image 836 magick/annotate.c assert(image->signature == MagickSignature); image 837 magick/annotate.c if (image->debug != MagickFalse) image 838 magick/annotate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 848 magick/annotate.c status=RenderType(image,annotate_info,&offset,metrics); image 849 magick/annotate.c if (image->debug != MagickFalse) image 893 magick/annotate.c static MagickBooleanType RenderType(Image *image,const DrawInfo *draw_info, image 910 magick/annotate.c status=RenderFreetype(image,draw_info,draw_info->encoding,offset, image 915 magick/annotate.c return(RenderX11(image,draw_info,offset,metrics)); image 918 magick/annotate.c status=RenderFreetype(image,draw_info,draw_info->encoding,offset, image 922 magick/annotate.c type_info=GetTypeInfo(draw_info->font,&image->exception); image 924 magick/annotate.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 931 magick/annotate.c draw_info->stretch,draw_info->weight,&image->exception); image 933 magick/annotate.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 938 magick/annotate.c draw_info->stretch,draw_info->weight,&image->exception); image 941 magick/annotate.c draw_info->stretch,draw_info->weight,&image->exception); image 944 magick/annotate.c draw_info->stretch,draw_info->weight,&image->exception); image 947 magick/annotate.c draw_info->stretch,draw_info->weight,&image->exception); image 950 magick/annotate.c draw_info->stretch,draw_info->weight,&image->exception); image 952 magick/annotate.c type_info=GetTypeInfo("*",&image->exception); image 955 magick/annotate.c status=RenderFreetype(image,draw_info,draw_info->encoding,offset,metrics); image 964 magick/annotate.c status=RenderFreetype(image,annotate_info,type_info->encoding,offset,metrics); image 1120 magick/annotate.c static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info, image 1136 magick/annotate.c image; image 1224 magick/annotate.c image->filename); image 1239 magick/annotate.c (void) ThrowMagickException(&image->exception,GetMagickModule(),TypeError, image 1241 magick/annotate.c return(RenderPostscript(image,draw_info,offset,metrics)); image 1338 magick/annotate.c if (image->debug != MagickFalse) image 1356 magick/annotate.c value=GetImageProperty(image,"type:hinting"); image 1360 magick/annotate.c glyph.image=NULL; image 1362 magick/annotate.c last_glyph.image=NULL; image 1382 magick/annotate.c if (image->storage_class != DirectClass) image 1383 magick/annotate.c (void) SetImageStorageClass(image,DirectClass); image 1384 magick/annotate.c if (image->matte == MagickFalse) image 1385 magick/annotate.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1427 magick/annotate.c ft_status=FT_Get_Glyph(face->glyph,&glyph.image); image 1430 magick/annotate.c ft_status=FT_Outline_Get_BBox(&((FT_OutlineGlyph) glyph.image)->outline, image 1451 magick/annotate.c (void) FT_Outline_Decompose(&((FT_OutlineGlyph) glyph.image)->outline, image 1455 magick/annotate.c (void) FT_Glyph_Transform(glyph.image,&affine,&glyph.origin); image 1456 magick/annotate.c ft_status=FT_Glyph_To_Bitmap(&glyph.image,ft_render_mode_normal, image 1460 magick/annotate.c bitmap=(FT_BitmapGlyph) glyph.image; image 1479 magick/annotate.c exception=(&image->exception); image 1481 magick/annotate.c image_view=AcquireAuthenticCacheView(image,exception); image 1509 magick/annotate.c if ((y_offset < 0) || (y_offset >= (ssize_t) image->rows)) image 1512 magick/annotate.c if ((x_offset < 0) || (x_offset >= (ssize_t) image->columns)) image 1525 magick/annotate.c if ((x_offset < 0) || (x_offset >= (ssize_t) image->columns)) image 1571 magick/annotate.c (void) DrawImage(image,annotate_info); image 1586 magick/annotate.c FT_Done_Glyph(last_glyph.image); image 1595 magick/annotate.c FT_Done_Glyph(last_glyph.image); image 1604 magick/annotate.c ft_status=FT_Get_Glyph(face->glyph,&glyph.image); image 1607 magick/annotate.c ft_status=FT_Outline_Get_BBox(&((FT_OutlineGlyph) glyph.image)-> image 1612 magick/annotate.c (void) FT_Glyph_Transform(glyph.image,&affine,&glyph.origin); image 1613 magick/annotate.c ft_status=FT_Glyph_To_Bitmap(&glyph.image,ft_render_mode_normal, image 1615 magick/annotate.c bitmap=(FT_BitmapGlyph) glyph.image; image 1620 magick/annotate.c FT_Done_Glyph(glyph.image); image 1639 magick/annotate.c static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info, image 1643 magick/annotate.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1646 magick/annotate.c return(RenderPostscript(image,draw_info,offset,metrics)); image 1711 magick/annotate.c static MagickBooleanType RenderPostscript(Image *image, image 1751 magick/annotate.c if (image->debug != MagickFalse) image 1761 magick/annotate.c ThrowFileException(&image->exception,FileOpenError,"UnableToOpenFile", image 1826 magick/annotate.c annotate_image=ReadImage(annotate_info,&image->exception); image 1827 magick/annotate.c CatchException(&image->exception); image 1902 magick/annotate.c if (image->matte == MagickFalse) image 1903 magick/annotate.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1907 magick/annotate.c exception=(&image->exception); image 1937 magick/annotate.c (void) CompositeImage(image,OverCompositeOp,annotate_image, image 1975 magick/annotate.c static MagickBooleanType RenderX11(Image *image,const DrawInfo *draw_info, image 1984 magick/annotate.c status=XRenderImage(image,draw_info,offset,metrics); image 100 magick/artifact.c MagickExport MagickBooleanType CloneImageArtifacts(Image *image, image 103 magick/artifact.c assert(image != (Image *) NULL); image 104 magick/artifact.c assert(image->signature == MagickSignature); image 105 magick/artifact.c if (image->debug != MagickFalse) image 106 magick/artifact.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 114 magick/artifact.c if (image->artifacts != (void *) NULL) image 115 magick/artifact.c DestroyImageArtifacts(image); image 116 magick/artifact.c image->artifacts=CloneSplayTree((SplayTreeInfo *) clone_image->artifacts, image 147 magick/artifact.c MagickExport MagickBooleanType DefineImageArtifact(Image *image, image 157 magick/artifact.c assert(image != (Image *) NULL); image 167 magick/artifact.c return(SetImageArtifact(image,key,value)); image 194 magick/artifact.c MagickExport MagickBooleanType DeleteImageArtifact(Image *image, image 197 magick/artifact.c assert(image != (Image *) NULL); image 198 magick/artifact.c assert(image->signature == MagickSignature); image 199 magick/artifact.c if (image->debug != MagickFalse) image 200 magick/artifact.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 201 magick/artifact.c if (image->artifacts == (void *) NULL) image 203 magick/artifact.c return(DeleteNodeFromSplayTree((SplayTreeInfo *) image->artifacts,artifact)); image 229 magick/artifact.c MagickExport void DestroyImageArtifacts(Image *image) image 231 magick/artifact.c assert(image != (Image *) NULL); image 232 magick/artifact.c assert(image->signature == MagickSignature); image 233 magick/artifact.c if (image->debug != MagickFalse) image 234 magick/artifact.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 235 magick/artifact.c if (image->artifacts != (void *) NULL) image 236 magick/artifact.c image->artifacts=(void *) DestroySplayTree((SplayTreeInfo *) image 237 magick/artifact.c image->artifacts); image 266 magick/artifact.c MagickExport const char *GetImageArtifact(const Image *image, image 272 magick/artifact.c assert(image != (Image *) NULL); image 273 magick/artifact.c assert(image->signature == MagickSignature); image 274 magick/artifact.c if (image->debug != MagickFalse) image 275 magick/artifact.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 279 magick/artifact.c ResetSplayTreeIterator((SplayTreeInfo *) image->artifacts); image 281 magick/artifact.c image->artifacts); image 284 magick/artifact.c if (image->artifacts != (void *) NULL) image 286 magick/artifact.c p=(const char *) GetValueFromSplayTree((SplayTreeInfo *) image->artifacts, image 316 magick/artifact.c MagickExport char *GetNextImageArtifact(const Image *image) image 318 magick/artifact.c assert(image != (Image *) NULL); image 319 magick/artifact.c assert(image->signature == MagickSignature); image 320 magick/artifact.c if (image->debug != MagickFalse) image 321 magick/artifact.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 322 magick/artifact.c if (image->artifacts == (void *) NULL) image 324 magick/artifact.c return((char *) GetNextKeyInSplayTree((SplayTreeInfo *) image->artifacts)); image 352 magick/artifact.c MagickExport char *RemoveImageArtifact(Image *image,const char *artifact) image 357 magick/artifact.c assert(image != (Image *) NULL); image 358 magick/artifact.c assert(image->signature == MagickSignature); image 359 magick/artifact.c if (image->debug != MagickFalse) image 360 magick/artifact.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 361 magick/artifact.c if (image->artifacts == (void *) NULL) image 363 magick/artifact.c value=(char *) RemoveNodeFromSplayTree((SplayTreeInfo *) image->artifacts, image 392 magick/artifact.c MagickExport void ResetImageArtifactIterator(const Image *image) image 394 magick/artifact.c assert(image != (Image *) NULL); image 395 magick/artifact.c assert(image->signature == MagickSignature); image 396 magick/artifact.c if (image->debug != MagickFalse) image 397 magick/artifact.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 398 magick/artifact.c if (image->artifacts == (void *) NULL) image 400 magick/artifact.c ResetSplayTreeIterator((SplayTreeInfo *) image->artifacts); image 431 magick/artifact.c MagickExport MagickBooleanType SetImageArtifact(Image *image, image 437 magick/artifact.c assert(image != (Image *) NULL); image 438 magick/artifact.c assert(image->signature == MagickSignature); image 439 magick/artifact.c if (image->debug != MagickFalse) image 440 magick/artifact.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 444 magick/artifact.c if (image->artifacts == (void *) NULL) image 445 magick/artifact.c image->artifacts=NewSplayTree(CompareSplayTreeString,RelinquishMagickMemory, image 451 magick/artifact.c return(DeleteImageArtifact(image,artifact)); image 455 magick/artifact.c status=AddValueToSplayTree((SplayTreeInfo *) image->artifacts, image 125 magick/attribute.c MagickExport RectangleInfo GetImageBoundingBox(const Image *image, image 147 magick/attribute.c assert(image != (Image *) NULL); image 148 magick/attribute.c assert(image->signature == MagickSignature); image 149 magick/attribute.c if (image->debug != MagickFalse) image 150 magick/attribute.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 153 magick/attribute.c bounds.x=(ssize_t) image->columns; image 154 magick/attribute.c bounds.y=(ssize_t) image->rows; image 155 magick/attribute.c GetMagickPixelPacket(image,&target[0]); image 156 magick/attribute.c image_view=AcquireVirtualCacheView(image,exception); image 163 magick/attribute.c SetMagickPixelPacket(image,p,GetCacheViewVirtualIndexQueue(image_view), image 165 magick/attribute.c GetMagickPixelPacket(image,&target[1]); image 166 magick/attribute.c p=GetCacheViewVirtualPixels(image_view,(ssize_t) image->columns-1,0,1,1, image 169 magick/attribute.c SetMagickPixelPacket(image,p,GetCacheViewVirtualIndexQueue(image_view), image 171 magick/attribute.c GetMagickPixelPacket(image,&target[2]); image 172 magick/attribute.c p=GetCacheViewVirtualPixels(image_view,0,(ssize_t) image->rows-1,1,1, image 175 magick/attribute.c SetMagickPixelPacket(image,p,GetCacheViewVirtualIndexQueue(image_view), image 178 magick/attribute.c GetMagickPixelPacket(image,&zero); image 183 magick/attribute.c for (y=0; y < (ssize_t) image->rows; y++) image 206 magick/attribute.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 214 magick/attribute.c for (x=0; x < (ssize_t) image->columns; x++) image 216 magick/attribute.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 248 magick/attribute.c "GeometryDoesNotContainImage","`%s'",image->filename); image 285 magick/attribute.c MagickExport size_t GetImageDepth(const Image *image,ExceptionInfo *exception) image 287 magick/attribute.c return(GetImageChannelDepth(image,CompositeChannels,exception)); image 290 magick/attribute.c MagickExport size_t GetImageChannelDepth(const Image *image, image 313 magick/attribute.c assert(image != (Image *) NULL); image 315 magick/attribute.c assert(image->signature == MagickSignature); image 316 magick/attribute.c if (image->debug != MagickFalse) image 317 magick/attribute.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 326 magick/attribute.c if ((image->storage_class == PseudoClass) && (image->matte == MagickFalse)) image 332 magick/attribute.c for (i=0; i < (ssize_t) image->colors; i++) image 348 magick/attribute.c if (IsPixelAtDepth(image->colormap[i].red,range) == MagickFalse) image 351 magick/attribute.c if (IsPixelAtDepth(image->colormap[i].green,range) == MagickFalse) image 354 magick/attribute.c if (IsPixelAtDepth(image->colormap[i].blue,range) == MagickFalse) image 368 magick/attribute.c image_view=AcquireVirtualCacheView(image,exception); image 407 magick/attribute.c for (y=0; y < (ssize_t) image->rows; y++) image 423 magick/attribute.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 427 magick/attribute.c for (x=0; x < (ssize_t) image->columns; x++) image 451 magick/attribute.c (image->matte != MagickFalse)) image 458 magick/attribute.c (image->colorspace == CMYKColorspace)) image 483 magick/attribute.c for (y=0; y < (ssize_t) image->rows; y++) image 499 magick/attribute.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 503 magick/attribute.c for (x=0; x < (ssize_t) image->columns; x++) image 525 magick/attribute.c (image->matte != MagickFalse)) image 529 magick/attribute.c (image->colorspace == CMYKColorspace)) image 577 magick/attribute.c MagickExport size_t GetImageQuantumDepth(const Image *image, image 583 magick/attribute.c depth=image->depth; image 632 magick/attribute.c MagickExport ImageType GetImageType(const Image *image,ExceptionInfo *exception) image 634 magick/attribute.c assert(image != (Image *) NULL); image 635 magick/attribute.c assert(image->signature == MagickSignature); image 636 magick/attribute.c if (image->debug != MagickFalse) image 637 magick/attribute.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 638 magick/attribute.c if (image->colorspace == CMYKColorspace) image 640 magick/attribute.c if (image->matte == MagickFalse) image 644 magick/attribute.c if (IsMonochromeImage(image,exception) != MagickFalse) image 646 magick/attribute.c if (IsGrayImage(image,exception) != MagickFalse) image 648 magick/attribute.c if (image->matte != MagickFalse) image 652 magick/attribute.c if (IsPaletteImage(image,exception) != MagickFalse) image 654 magick/attribute.c if (image->matte != MagickFalse) image 658 magick/attribute.c if (image->matte != MagickFalse) image 687 magick/attribute.c MagickExport ImageType IdentifyImageGray(const Image *image, image 705 magick/attribute.c assert(image != (Image *) NULL); image 706 magick/attribute.c assert(image->signature == MagickSignature); image 707 magick/attribute.c if (image->debug != MagickFalse) image 708 magick/attribute.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 709 magick/attribute.c if ((image->type == BilevelType) || (image->type == GrayscaleType) || image 710 magick/attribute.c (image->type == GrayscaleMatteType)) image 711 magick/attribute.c return(image->type); image 712 magick/attribute.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 715 magick/attribute.c image_view=AcquireVirtualCacheView(image,exception); image 716 magick/attribute.c for (y=0; y < (ssize_t) image->rows; y++) image 718 magick/attribute.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 721 magick/attribute.c for (x=0; x < (ssize_t) image->columns; x++) image 736 magick/attribute.c if ((type == GrayscaleType) && (image->matte != MagickFalse)) image 768 magick/attribute.c MagickExport MagickBooleanType IdentifyImageMonochrome(const Image *image, image 786 magick/attribute.c assert(image != (Image *) NULL); image 787 magick/attribute.c assert(image->signature == MagickSignature); image 788 magick/attribute.c if (image->debug != MagickFalse) image 789 magick/attribute.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 790 magick/attribute.c if (image->type == BilevelType) image 792 magick/attribute.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 795 magick/attribute.c image_view=AcquireVirtualCacheView(image,exception); image 796 magick/attribute.c for (y=0; y < (ssize_t) image->rows; y++) image 798 magick/attribute.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 801 magick/attribute.c for (x=0; x < (ssize_t) image->columns; x++) image 851 magick/attribute.c MagickExport ImageType IdentifyImageType(const Image *image, image 854 magick/attribute.c assert(image != (Image *) NULL); image 855 magick/attribute.c assert(image->signature == MagickSignature); image 856 magick/attribute.c if (image->debug != MagickFalse) image 857 magick/attribute.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 858 magick/attribute.c if (image->colorspace == CMYKColorspace) image 860 magick/attribute.c if (image->matte == MagickFalse) image 864 magick/attribute.c if (IdentifyImageMonochrome(image,exception) != MagickFalse) image 866 magick/attribute.c if (IdentifyImageGray(image,exception) != UndefinedType) image 868 magick/attribute.c if (image->matte != MagickFalse) image 872 magick/attribute.c if (IdentifyPaletteImage(image,exception) != MagickFalse) image 874 magick/attribute.c if (image->matte != MagickFalse) image 878 magick/attribute.c if (image->matte != MagickFalse) image 909 magick/attribute.c MagickExport MagickBooleanType IsGrayImage(const Image *image, image 912 magick/attribute.c assert(image != (Image *) NULL); image 913 magick/attribute.c assert(image->signature == MagickSignature); image 914 magick/attribute.c if ((image->type == BilevelType) || (image->type == GrayscaleType) || image 915 magick/attribute.c (image->type == GrayscaleMatteType)) image 945 magick/attribute.c MagickExport MagickBooleanType IsMonochromeImage(const Image *image, image 948 magick/attribute.c assert(image != (Image *) NULL); image 949 magick/attribute.c assert(image->signature == MagickSignature); image 950 magick/attribute.c if (image->type == BilevelType) image 981 magick/attribute.c MagickExport MagickBooleanType IsOpaqueImage(const Image *image, image 999 magick/attribute.c assert(image != (Image *) NULL); image 1000 magick/attribute.c assert(image->signature == MagickSignature); image 1001 magick/attribute.c if (image->debug != MagickFalse) image 1002 magick/attribute.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1003 magick/attribute.c if (image->matte == MagickFalse) image 1005 magick/attribute.c image_view=AcquireVirtualCacheView(image,exception); image 1006 magick/attribute.c for (y=0; y < (ssize_t) image->rows; y++) image 1008 magick/attribute.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1011 magick/attribute.c for (x=0; x < (ssize_t) image->columns; x++) image 1017 magick/attribute.c if (x < (ssize_t) image->columns) image 1021 magick/attribute.c return(y < (ssize_t) image->rows ? MagickFalse : MagickTrue); image 1053 magick/attribute.c MagickExport MagickBooleanType SetImageDepth(Image *image, image 1056 magick/attribute.c return(SetImageChannelDepth(image,CompositeChannels,depth)); image 1059 magick/attribute.c MagickExport MagickBooleanType SetImageChannelDepth(Image *image, image 1077 magick/attribute.c assert(image != (Image *) NULL); image 1078 magick/attribute.c if (image->debug != MagickFalse) image 1080 magick/attribute.c assert(image->signature == MagickSignature); image 1083 magick/attribute.c image->depth=depth; image 1087 magick/attribute.c if (image->storage_class == PseudoClass) image 1096 magick/attribute.c for (i=0; i < (ssize_t) image->colors; i++) image 1099 magick/attribute.c image->colormap[i].red=ScaleAnyToQuantum(ScaleQuantumToAny( image 1100 magick/attribute.c ClampPixel(image->colormap[i].red),range),range); image 1102 magick/attribute.c image->colormap[i].green=ScaleAnyToQuantum(ScaleQuantumToAny( image 1103 magick/attribute.c ClampPixel(image->colormap[i].green),range),range); image 1105 magick/attribute.c image->colormap[i].blue=ScaleAnyToQuantum(ScaleQuantumToAny( image 1106 magick/attribute.c ClampPixel(image->colormap[i].blue),range),range); image 1108 magick/attribute.c image->colormap[i].opacity=ScaleAnyToQuantum(ScaleQuantumToAny( image 1109 magick/attribute.c ClampPixel(image->colormap[i].opacity),range),range); image 1113 magick/attribute.c exception=(&image->exception); image 1114 magick/attribute.c image_view=AcquireAuthenticCacheView(image,exception); image 1139 magick/attribute.c for (y=0; y < (ssize_t) image->rows; y++) image 1149 magick/attribute.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 1156 magick/attribute.c for (x=0; x < (ssize_t) image->columns; x++) image 1165 magick/attribute.c (image->matte != MagickFalse)) image 1178 magick/attribute.c image->depth=depth; image 1189 magick/attribute.c for (y=0; y < (ssize_t) image->rows; y++) image 1199 magick/attribute.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1205 magick/attribute.c for (x=0; x < (ssize_t) image->columns; x++) image 1216 magick/attribute.c if (((channel & OpacityChannel) != 0) && (image->matte != MagickFalse)) image 1229 magick/attribute.c image->depth=depth; image 1261 magick/attribute.c MagickExport MagickBooleanType SetImageType(Image *image,const ImageType type) image 1275 magick/attribute.c assert(image != (Image *) NULL); image 1276 magick/attribute.c if (image->debug != MagickFalse) image 1278 magick/attribute.c assert(image->signature == MagickSignature); image 1281 magick/attribute.c image_info->dither=image->dither; image 1282 magick/attribute.c artifact=GetImageArtifact(image,"dither"); image 1289 magick/attribute.c if (SetImageMonochrome(image,&image->exception) == MagickFalse) image 1291 magick/attribute.c status=TransformImageColorspace(image,GRAYColorspace); image 1292 magick/attribute.c (void) NormalizeImage(image); image 1296 magick/attribute.c status=QuantizeImage(quantize_info,image); image 1299 magick/attribute.c image->colors=2; image 1300 magick/attribute.c image->matte=MagickFalse; image 1305 magick/attribute.c if (SetImageGray(image,&image->exception) == MagickFalse) image 1306 magick/attribute.c status=TransformImageColorspace(image,GRAYColorspace); image 1307 magick/attribute.c image->matte=MagickFalse; image 1312 magick/attribute.c if (SetImageGray(image,&image->exception) == MagickFalse) image 1313 magick/attribute.c status=TransformImageColorspace(image,GRAYColorspace); image 1314 magick/attribute.c if (image->matte == MagickFalse) image 1315 magick/attribute.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1320 magick/attribute.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1321 magick/attribute.c status=TransformImageColorspace(image,sRGBColorspace); image 1322 magick/attribute.c if ((image->storage_class == DirectClass) || (image->colors > 256)) image 1326 magick/attribute.c status=QuantizeImage(quantize_info,image); image 1329 magick/attribute.c image->matte=MagickFalse; image 1334 magick/attribute.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1335 magick/attribute.c status=TransformImageColorspace(image,sRGBColorspace); image 1336 magick/attribute.c if (image->matte == MagickFalse) image 1337 magick/attribute.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1338 magick/attribute.c (void) BilevelImageChannel(image,AlphaChannel,(double) QuantumRange/2.0); image 1340 magick/attribute.c status=QuantizeImage(quantize_info,image); image 1346 magick/attribute.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1347 magick/attribute.c status=TransformImageColorspace(image,sRGBColorspace); image 1348 magick/attribute.c if (image->matte == MagickFalse) image 1349 magick/attribute.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1352 magick/attribute.c status=QuantizeImage(quantize_info,image); image 1358 magick/attribute.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1359 magick/attribute.c status=TransformImageColorspace(image,sRGBColorspace); image 1360 magick/attribute.c if (image->storage_class != DirectClass) image 1361 magick/attribute.c status=SetImageStorageClass(image,DirectClass); image 1362 magick/attribute.c image->matte=MagickFalse; image 1367 magick/attribute.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1368 magick/attribute.c status=TransformImageColorspace(image,sRGBColorspace); image 1369 magick/attribute.c if (image->storage_class != DirectClass) image 1370 magick/attribute.c status=SetImageStorageClass(image,DirectClass); image 1371 magick/attribute.c if (image->matte == MagickFalse) image 1372 magick/attribute.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1377 magick/attribute.c if (image->colorspace != CMYKColorspace) image 1379 magick/attribute.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1380 magick/attribute.c (void) TransformImageColorspace(image,sRGBColorspace); image 1381 magick/attribute.c status=TransformImageColorspace(image,CMYKColorspace); image 1383 magick/attribute.c if (image->storage_class != DirectClass) image 1384 magick/attribute.c status=SetImageStorageClass(image,DirectClass); image 1385 magick/attribute.c image->matte=MagickFalse; image 1390 magick/attribute.c if (image->colorspace != CMYKColorspace) image 1392 magick/attribute.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 1393 magick/attribute.c (void) TransformImageColorspace(image,sRGBColorspace); image 1394 magick/attribute.c status=TransformImageColorspace(image,CMYKColorspace); image 1396 magick/attribute.c if (image->storage_class != DirectClass) image 1397 magick/attribute.c status=SetImageStorageClass(image,DirectClass); image 1398 magick/attribute.c if (image->matte == MagickFalse) image 1399 magick/attribute.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1409 magick/attribute.c image->type=type; image 326 magick/blob.c *image; image 370 magick/blob.c image=ReadImage(blob_info,exception); image 371 magick/blob.c if (image != (Image *) NULL) image 372 magick/blob.c (void) DetachBlob(image->blob); image 374 magick/blob.c return(image); image 392 magick/blob.c image=ReadImage(clone_info,exception); image 393 magick/blob.c if (image != (Image *) NULL) image 401 magick/blob.c for (images=GetFirstImageInList(image); images != (Image *) NULL; ) image 414 magick/blob.c return(image); image 495 magick/blob.c MagickExport MagickBooleanType CloseBlob(Image *image) image 503 magick/blob.c assert(image != (Image *) NULL); image 504 magick/blob.c assert(image->signature == MagickSignature); image 505 magick/blob.c if (image->debug != MagickFalse) image 506 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 507 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 508 magick/blob.c if (image->blob->type == UndefinedStream) image 510 magick/blob.c status=SyncBlob(image); image 511 magick/blob.c switch (image->blob->type) image 519 magick/blob.c if (image->blob->synchronize != MagickFalse) image 520 magick/blob.c status=fsync(fileno(image->blob->file_info.file)); image 521 magick/blob.c status=ferror(image->blob->file_info.file); image 527 magick/blob.c (void) gzerror(image->blob->file_info.gzfile,&status); image 534 magick/blob.c (void) BZ2_bzerror(image->blob->file_info.bzfile,&status); image 542 magick/blob.c if ((image->blob->file_info.file != (FILE *) NULL) && image 543 magick/blob.c (image->blob->synchronize != MagickFalse)) image 545 magick/blob.c (void) fsync(fileno(image->blob->file_info.file)); image 546 magick/blob.c status=ferror(image->blob->file_info.file); image 551 magick/blob.c image->blob->status=status < 0 ? MagickTrue : MagickFalse; image 552 magick/blob.c image->blob->size=GetBlobSize(image); image 553 magick/blob.c image->extent=image->blob->size; image 554 magick/blob.c image->blob->eof=MagickFalse; image 555 magick/blob.c if (image->blob->exempt != MagickFalse) image 557 magick/blob.c image->blob->type=UndefinedStream; image 558 magick/blob.c return(image->blob->status); image 560 magick/blob.c switch (image->blob->type) image 567 magick/blob.c status=fclose(image->blob->file_info.file); image 573 magick/blob.c status=pclose(image->blob->file_info.file); image 580 magick/blob.c status=gzclose(image->blob->file_info.gzfile); image 587 magick/blob.c BZ2_bzclose(image->blob->file_info.bzfile); image 595 magick/blob.c if (image->blob->file_info.file != (FILE *) NULL) image 596 magick/blob.c status=fclose(image->blob->file_info.file); image 600 magick/blob.c (void) DetachBlob(image->blob); image 601 magick/blob.c image->blob->status=status < 0 ? MagickTrue : MagickFalse; image 602 magick/blob.c return(image->blob->status); image 627 magick/blob.c MagickExport void DestroyBlob(Image *image) image 632 magick/blob.c assert(image != (Image *) NULL); image 633 magick/blob.c assert(image->signature == MagickSignature); image 634 magick/blob.c if (image->debug != MagickFalse) image 635 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 636 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 637 magick/blob.c assert(image->blob->signature == MagickSignature); image 639 magick/blob.c LockSemaphoreInfo(image->blob->semaphore); image 640 magick/blob.c image->blob->reference_count--; image 641 magick/blob.c assert(image->blob->reference_count >= 0); image 642 magick/blob.c if (image->blob->reference_count == 0) image 644 magick/blob.c UnlockSemaphoreInfo(image->blob->semaphore); image 647 magick/blob.c (void) CloseBlob(image); image 648 magick/blob.c if (image->blob->mapped != MagickFalse) image 650 magick/blob.c (void) UnmapBlob(image->blob->data,image->blob->length); image 651 magick/blob.c RelinquishMagickResource(MapResource,image->blob->length); image 653 magick/blob.c if (image->blob->semaphore != (SemaphoreInfo *) NULL) image 654 magick/blob.c DestroySemaphoreInfo(&image->blob->semaphore); image 655 magick/blob.c image->blob->signature=(~MagickSignature); image 656 magick/blob.c image->blob=(BlobInfo *) RelinquishMagickMemory(image->blob); image 733 magick/blob.c MagickPrivate void DisassociateBlob(Image *image) image 741 magick/blob.c assert(image != (Image *) NULL); image 742 magick/blob.c assert(image->signature == MagickSignature); image 743 magick/blob.c if (image->debug != MagickFalse) image 744 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 745 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 746 magick/blob.c assert(image->blob->signature == MagickSignature); image 748 magick/blob.c LockSemaphoreInfo(image->blob->semaphore); image 749 magick/blob.c assert(image->blob->reference_count >= 0); image 750 magick/blob.c if (image->blob->reference_count > 1) image 752 magick/blob.c UnlockSemaphoreInfo(image->blob->semaphore); image 755 magick/blob.c blob=CloneBlobInfo(image->blob); image 756 magick/blob.c DestroyBlob(image); image 757 magick/blob.c image->blob=blob; image 785 magick/blob.c MagickExport MagickBooleanType DiscardBlobBytes(Image *image, image 800 magick/blob.c assert(image != (Image *) NULL); image 801 magick/blob.c assert(image->signature == MagickSignature); image 808 magick/blob.c (void) ReadBlobStream(image,quantum,buffer,&count); image 843 magick/blob.c MagickExport void DuplicateBlob(Image *image,const Image *duplicate) image 845 magick/blob.c assert(image != (Image *) NULL); image 846 magick/blob.c assert(image->signature == MagickSignature); image 847 magick/blob.c if (image->debug != MagickFalse) image 848 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 851 magick/blob.c DestroyBlob(image); image 852 magick/blob.c image->blob=ReferenceBlob(duplicate->blob); image 878 magick/blob.c MagickExport int EOFBlob(const Image *image) image 880 magick/blob.c assert(image != (Image *) NULL); image 881 magick/blob.c assert(image->signature == MagickSignature); image 882 magick/blob.c if (image->debug != MagickFalse) image 884 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 885 magick/blob.c assert(image->blob->type != UndefinedStream); image 886 magick/blob.c switch (image->blob->type) image 894 magick/blob.c image->blob->eof=feof(image->blob->file_info.file) != 0 ? MagickTrue : image 900 magick/blob.c image->blob->eof=MagickFalse; image 910 magick/blob.c (void) BZ2_bzerror(image->blob->file_info.bzfile,&status); image 911 magick/blob.c image->blob->eof=status == BZ_UNEXPECTED_EOF ? MagickTrue : MagickFalse; image 917 magick/blob.c image->blob->eof=MagickFalse; image 923 magick/blob.c return((int) image->blob->eof); image 1126 magick/blob.c static inline ssize_t WriteBlobStream(Image *image,const size_t length, image 1135 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 1136 magick/blob.c if (image->blob->type != BlobStream) image 1137 magick/blob.c return(WriteBlob(image,length,data)); image 1138 magick/blob.c assert(image->blob->type != UndefinedStream); image 1140 magick/blob.c extent=(MagickSizeType) (image->blob->offset+(MagickOffsetType) length); image 1141 magick/blob.c if (extent >= image->blob->extent) image 1143 magick/blob.c extent=image->blob->extent+image->blob->quantum+length; image 1144 magick/blob.c image->blob->quantum<<=1; image 1145 magick/blob.c if (SetBlobExtent(image,extent) == MagickFalse) image 1148 magick/blob.c q=image->blob->data+image->blob->offset; image 1150 magick/blob.c image->blob->offset+=length; image 1151 magick/blob.c if (image->blob->offset >= (MagickOffsetType) image->blob->length) image 1152 magick/blob.c image->blob->length=(size_t) image->blob->offset; image 1156 magick/blob.c MagickExport MagickBooleanType FileToImage(Image *image,const char *filename) image 1174 magick/blob.c assert(image != (const Image *) NULL); image 1175 magick/blob.c assert(image->signature == MagickSignature); image 1183 magick/blob.c ThrowFileException(&image->exception,BlobError,"UnableToOpenBlob", image 1194 magick/blob.c ThrowFileException(&image->exception,ResourceLimitError, image 1208 magick/blob.c count=WriteBlobStream(image,length,blob); image 1211 magick/blob.c ThrowFileException(&image->exception,BlobError,"UnableToWriteBlob", image 1218 magick/blob.c ThrowFileException(&image->exception,BlobError,"UnableToWriteBlob", image 1247 magick/blob.c MagickExport MagickBooleanType GetBlobError(const Image *image) image 1249 magick/blob.c assert(image != (const Image *) NULL); image 1250 magick/blob.c assert(image->signature == MagickSignature); image 1251 magick/blob.c if (image->debug != MagickFalse) image 1252 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1253 magick/blob.c return(image->blob->status); image 1278 magick/blob.c MagickExport FILE *GetBlobFileHandle(const Image *image) image 1280 magick/blob.c assert(image != (const Image *) NULL); image 1281 magick/blob.c assert(image->signature == MagickSignature); image 1282 magick/blob.c return(image->blob->file_info.file); image 1343 magick/blob.c MagickExport const struct stat *GetBlobProperties(const Image *image) image 1345 magick/blob.c assert(image != (Image *) NULL); image 1346 magick/blob.c assert(image->signature == MagickSignature); image 1347 magick/blob.c if (image->debug != MagickFalse) image 1348 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1349 magick/blob.c return(&image->blob->properties); image 1375 magick/blob.c MagickExport MagickSizeType GetBlobSize(const Image *image) image 1380 magick/blob.c assert(image != (Image *) NULL); image 1381 magick/blob.c assert(image->signature == MagickSignature); image 1382 magick/blob.c if (image->debug != MagickFalse) image 1383 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1384 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 1386 magick/blob.c switch (image->blob->type) image 1390 magick/blob.c extent=image->blob->size; image 1395 magick/blob.c extent=image->blob->size; image 1400 magick/blob.c if (fstat(fileno(image->blob->file_info.file),&image->blob->properties) == 0) image 1401 magick/blob.c extent=(MagickSizeType) image->blob->properties.st_size; image 1406 magick/blob.c extent=image->blob->size; image 1415 magick/blob.c status=GetPathAttributes(image->filename,&image->blob->properties); image 1417 magick/blob.c extent=(MagickSizeType) image->blob->properties.st_size; image 1424 magick/blob.c extent=(MagickSizeType) image->blob->length; image 1453 magick/blob.c MagickExport unsigned char *GetBlobStreamData(const Image *image) image 1455 magick/blob.c assert(image != (const Image *) NULL); image 1456 magick/blob.c assert(image->signature == MagickSignature); image 1457 magick/blob.c return(image->blob->data); image 1482 magick/blob.c MagickExport StreamHandler GetBlobStreamHandler(const Image *image) image 1484 magick/blob.c assert(image != (const Image *) NULL); image 1485 magick/blob.c assert(image->signature == MagickSignature); image 1486 magick/blob.c if (image->debug != MagickFalse) image 1487 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1488 magick/blob.c return(image->blob->stream); image 1525 magick/blob.c Image *image,size_t *length,ExceptionInfo *exception) image 1544 magick/blob.c assert(image != (Image *) NULL); image 1545 magick/blob.c assert(image->signature == MagickSignature); image 1553 magick/blob.c (void) CopyMagickString(image->magick,blob_info->magick,MaxTextExtent); image 1554 magick/blob.c magick_info=GetMagickInfo(image->magick,exception); image 1559 magick/blob.c image->magick); image 1563 magick/blob.c (void) CopyMagickString(blob_info->magick,image->magick,MaxTextExtent); image 1574 magick/blob.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 1577 magick/blob.c (void) CloseBlob(image); image 1578 magick/blob.c image->blob->exempt=MagickTrue; image 1579 magick/blob.c *image->filename='\0'; image 1580 magick/blob.c status=WriteImage(blob_info,image); image 1581 magick/blob.c InheritException(exception,&image->exception); image 1582 magick/blob.c *length=image->blob->length; image 1583 magick/blob.c blob=DetachBlob(image->blob); image 1613 magick/blob.c (void) FormatLocaleString(image->filename,MaxTextExtent,"%s:%s", image 1614 magick/blob.c image->magick,unique); image 1615 magick/blob.c status=WriteImage(blob_info,image); image 1616 magick/blob.c (void) CloseBlob(image); image 1619 magick/blob.c InheritException(exception,&image->exception); image 1658 magick/blob.c MagickExport MagickBooleanType ImageToFile(Image *image,char *filename, image 1683 magick/blob.c assert(image != (Image *) NULL); image 1684 magick/blob.c assert(image->signature == MagickSignature); image 1685 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 1686 magick/blob.c assert(image->blob->type != UndefinedStream); image 1687 magick/blob.c if (image->debug != MagickFalse) image 1714 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,quantum,buffer,&count); image 1730 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,quantum,buffer,&count); image 1924 magick/blob.c Image *image,Image *inject_image,const char *format,ExceptionInfo *exception) image 1964 magick/blob.c assert(image != (Image *) NULL); image 1965 magick/blob.c assert(image->signature == MagickSignature); image 1966 magick/blob.c if (image->debug != MagickFalse) image 1967 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1977 magick/blob.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 1979 magick/blob.c image->filename); image 2025 magick/blob.c image->filename); image 2036 magick/blob.c status=WriteBlobStream(image,(size_t) count,buffer) == count ? MagickTrue : image 2069 magick/blob.c MagickExport MagickBooleanType IsBlobExempt(const Image *image) image 2071 magick/blob.c assert(image != (const Image *) NULL); image 2072 magick/blob.c assert(image->signature == MagickSignature); image 2073 magick/blob.c if (image->debug != MagickFalse) image 2074 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2075 magick/blob.c return(image->blob->exempt); image 2100 magick/blob.c MagickExport MagickBooleanType IsBlobSeekable(const Image *image) image 2105 magick/blob.c assert(image != (const Image *) NULL); image 2106 magick/blob.c assert(image->signature == MagickSignature); image 2107 magick/blob.c if (image->debug != MagickFalse) image 2108 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2109 magick/blob.c switch (image->blob->type) image 2149 magick/blob.c MagickExport MagickBooleanType IsBlobTemporary(const Image *image) image 2151 magick/blob.c assert(image != (const Image *) NULL); image 2152 magick/blob.c assert(image->signature == MagickSignature); image 2153 magick/blob.c if (image->debug != MagickFalse) image 2154 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2155 magick/blob.c return(image->blob->temporary); image 2379 magick/blob.c Image *image) image 2394 magick/blob.c status=setvbuf(image->blob->file_info.file,(char *) NULL,size == 0 ? image 2400 magick/blob.c Image *image,const BlobMode mode,ExceptionInfo *exception) image 2420 magick/blob.c assert(image != (Image *) NULL); image 2421 magick/blob.c assert(image->signature == MagickSignature); image 2425 magick/blob.c image->blob->stream=(StreamHandler) image_info->stream; image 2426 magick/blob.c AttachBlob(image->blob,image_info->blob,image_info->length); image 2429 magick/blob.c (void) DetachBlob(image->blob); image 2441 magick/blob.c image->blob->synchronize=image_info->synchronize; image 2444 magick/blob.c image->blob->stream=(StreamHandler) image_info->stream; image 2447 magick/blob.c image->blob->type=FifoStream; image 2455 magick/blob.c (void) CopyMagickString(filename,image->filename,MaxTextExtent); image 2469 magick/blob.c image->blob->file_info.file=(*type == 'r') ? stdin : stdout; image 2472 magick/blob.c setmode(fileno(image->blob->file_info.file),_O_BINARY); image 2474 magick/blob.c image->blob->type=StandardStream; image 2475 magick/blob.c image->blob->exempt=MagickTrue; image 2476 magick/blob.c return(SetStreamBuffering(image_info,image)); image 2485 magick/blob.c image->blob->file_info.file=fdopen(StringToLong(filename+3),mode); image 2488 magick/blob.c setmode(fileno(image->blob->file_info.file),_O_BINARY); image 2490 magick/blob.c image->blob->type=StandardStream; image 2491 magick/blob.c image->blob->exempt=MagickTrue; image 2492 magick/blob.c return(SetStreamBuffering(image_info,image)); image 2509 magick/blob.c image->blob->file_info.file=(FILE *) popen_utf8(filename+1,mode); image 2510 magick/blob.c if (image->blob->file_info.file == (FILE *) NULL) image 2515 magick/blob.c image->blob->type=PipeStream; image 2516 magick/blob.c image->blob->exempt=MagickTrue; image 2517 magick/blob.c return(SetStreamBuffering(image_info,image)); image 2520 magick/blob.c status=GetPathAttributes(filename,&image->blob->properties); image 2522 magick/blob.c if ((status != MagickFalse) && S_ISFIFO(image->blob->properties.st_mode)) image 2524 magick/blob.c image->blob->file_info.file=(FILE *) fopen_utf8(filename,type); image 2525 magick/blob.c if (image->blob->file_info.file == (FILE *) NULL) image 2530 magick/blob.c image->blob->type=FileStream; image 2531 magick/blob.c image->blob->exempt=MagickTrue; image 2532 magick/blob.c return(SetStreamBuffering(image_info,image)); image 2535 magick/blob.c GetPathComponent(image->filename,ExtensionPath,extension); image 2538 magick/blob.c (void) CopyMagickString(filename,image->filename,MaxTextExtent); image 2545 magick/blob.c (void) InterpretImageFilename(image_info,image,image->filename,(int) image 2546 magick/blob.c image->scene,filename); image 2547 magick/blob.c if ((LocaleCompare(filename,image->filename) == 0) && image 2548 magick/blob.c ((GetPreviousImageInList(image) != (Image *) NULL) || image 2549 magick/blob.c (GetNextImageInList(image) != (Image *) NULL))) image 2554 magick/blob.c GetPathComponent(image->filename,RootPath,path); image 2557 magick/blob.c path,(double) image->scene); image 2560 magick/blob.c path,(double) image->scene,extension); image 2562 magick/blob.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 2570 magick/blob.c image->blob->file_info.file=image_info->file; image 2571 magick/blob.c image->blob->type=FileStream; image 2572 magick/blob.c image->blob->exempt=MagickTrue; image 2577 magick/blob.c image->blob->file_info.file=(FILE *) fopen_utf8(filename,type); image 2578 magick/blob.c if (image->blob->file_info.file != (FILE *) NULL) image 2586 magick/blob.c image->blob->type=FileStream; image 2587 magick/blob.c (void) SetStreamBuffering(image_info,image); image 2589 magick/blob.c count=fread(magick,1,sizeof(magick),image->blob->file_info.file); image 2590 magick/blob.c (void) fseek(image->blob->file_info.file,-((off_t) count),SEEK_CUR); image 2592 magick/blob.c (void) fflush(image->blob->file_info.file); image 2600 magick/blob.c if (image->blob->file_info.file != (FILE *) NULL) image 2601 magick/blob.c (void) fclose(image->blob->file_info.file); image 2602 magick/blob.c image->blob->file_info.file=(FILE *) NULL; image 2603 magick/blob.c image->blob->file_info.gzfile=gzopen(filename,type); image 2604 magick/blob.c if (image->blob->file_info.gzfile != (gzFile) NULL) image 2605 magick/blob.c image->blob->type=ZipStream; image 2611 magick/blob.c if (image->blob->file_info.file != (FILE *) NULL) image 2612 magick/blob.c (void) fclose(image->blob->file_info.file); image 2613 magick/blob.c image->blob->file_info.file=(FILE *) NULL; image 2614 magick/blob.c image->blob->file_info.bzfile=BZ2_bzopen(filename,type); image 2615 magick/blob.c if (image->blob->file_info.bzfile != (BZFILE *) NULL) image 2616 magick/blob.c image->blob->type=BZipStream; image 2619 magick/blob.c if (image->blob->type == FileStream) image 2633 magick/blob.c length=(size_t) image->blob->properties.st_size; image 2642 magick/blob.c blob=MapBlob(fileno(image->blob->file_info.file),ReadMode,0, image 2652 magick/blob.c image->blob->exempt=MagickFalse; image 2655 magick/blob.c (void) fclose(image->blob->file_info.file); image 2656 magick/blob.c image->blob->file_info.file=(FILE *) NULL; image 2658 magick/blob.c AttachBlob(image->blob,blob,length); image 2659 magick/blob.c image->blob->mapped=MagickTrue; image 2674 magick/blob.c image->blob->file_info.gzfile=gzopen(filename,type); image 2675 magick/blob.c if (image->blob->file_info.gzfile != (gzFile) NULL) image 2676 magick/blob.c image->blob->type=ZipStream; image 2683 magick/blob.c image->blob->file_info.bzfile=BZ2_bzopen(filename,type); image 2684 magick/blob.c if (image->blob->file_info.bzfile != (BZFILE *) NULL) image 2685 magick/blob.c image->blob->type=BZipStream; image 2690 magick/blob.c image->blob->file_info.file=(FILE *) fopen_utf8(filename,type); image 2691 magick/blob.c if (image->blob->file_info.file != (FILE *) NULL) image 2693 magick/blob.c image->blob->type=FileStream; image 2694 magick/blob.c (void) SetStreamBuffering(image_info,image); image 2697 magick/blob.c image->blob->status=MagickFalse; image 2698 magick/blob.c if (image->blob->type != UndefinedStream) image 2699 magick/blob.c image->blob->size=GetBlobSize(image); image 2746 magick/blob.c static size_t PingStream(const Image *magick_unused(image), image 2749 magick/blob.c magick_unreferenced(image); image 2763 magick/blob.c *image; image 2791 magick/blob.c image=ReadStream(ping_info,&PingStream,exception); image 2794 magick/blob.c return(image); image 2828 magick/blob.c MagickExport ssize_t ReadBlob(Image *image,const size_t length, image 2840 magick/blob.c assert(image != (Image *) NULL); image 2841 magick/blob.c assert(image->signature == MagickSignature); image 2842 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 2843 magick/blob.c assert(image->blob->type != UndefinedStream); image 2849 magick/blob.c switch (image->blob->type) image 2861 magick/blob.c count=(ssize_t) fread(q,1,length,image->blob->file_info.file); image 2866 magick/blob.c c=getc(image->blob->file_info.file); image 2874 magick/blob.c c=getc(image->blob->file_info.file); image 2882 magick/blob.c c=getc(image->blob->file_info.file); image 2890 magick/blob.c c=getc(image->blob->file_info.file); image 2908 magick/blob.c count=(ssize_t) gzread(image->blob->file_info.gzfile,q, image 2914 magick/blob.c c=gzgetc(image->blob->file_info.gzfile); image 2922 magick/blob.c c=gzgetc(image->blob->file_info.gzfile); image 2930 magick/blob.c c=gzgetc(image->blob->file_info.gzfile); image 2938 magick/blob.c c=gzgetc(image->blob->file_info.gzfile); image 2953 magick/blob.c count=(ssize_t) BZ2_bzread(image->blob->file_info.bzfile,q,(int) length); image 2964 magick/blob.c if (image->blob->offset >= (MagickOffsetType) image->blob->length) image 2966 magick/blob.c image->blob->eof=MagickTrue; image 2969 magick/blob.c p=image->blob->data+image->blob->offset; image 2970 magick/blob.c count=(ssize_t) MagickMin(length,image->blob->length-image->blob->offset); image 2971 magick/blob.c image->blob->offset+=count; image 2973 magick/blob.c image->blob->eof=MagickTrue; image 3003 magick/blob.c MagickExport int ReadBlobByte(Image *image) image 3014 magick/blob.c assert(image != (Image *) NULL); image 3015 magick/blob.c assert(image->signature == MagickSignature); image 3016 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,1,buffer,&count); image 3045 magick/blob.c MagickExport double ReadBlobDouble(Image *image) image 3057 magick/blob.c quantum.unsigned_value=ReadBlobLongLong(image); image 3084 magick/blob.c MagickExport float ReadBlobFloat(Image *image) image 3096 magick/blob.c quantum.unsigned_value=ReadBlobLong(image); image 3123 magick/blob.c MagickExport unsigned int ReadBlobLong(Image *image) image 3137 magick/blob.c assert(image != (Image *) NULL); image 3138 magick/blob.c assert(image->signature == MagickSignature); image 3140 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,4,buffer,&count); image 3143 magick/blob.c if (image->endian == LSBEndian) image 3181 magick/blob.c MagickExport MagickSizeType ReadBlobLongLong(Image *image) image 3195 magick/blob.c assert(image != (Image *) NULL); image 3196 magick/blob.c assert(image->signature == MagickSignature); image 3198 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,8,buffer,&count); image 3201 magick/blob.c if (image->endian == LSBEndian) image 3247 magick/blob.c MagickExport unsigned short ReadBlobShort(Image *image) image 3261 magick/blob.c assert(image != (Image *) NULL); image 3262 magick/blob.c assert(image->signature == MagickSignature); image 3264 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,2,buffer,&count); image 3267 magick/blob.c if (image->endian == LSBEndian) image 3301 magick/blob.c MagickExport unsigned int ReadBlobLSBLong(Image *image) image 3315 magick/blob.c assert(image != (Image *) NULL); image 3316 magick/blob.c assert(image->signature == MagickSignature); image 3318 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,4,buffer,&count); image 3351 magick/blob.c MagickExport unsigned short ReadBlobLSBShort(Image *image) image 3365 magick/blob.c assert(image != (Image *) NULL); image 3366 magick/blob.c assert(image->signature == MagickSignature); image 3368 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,2,buffer,&count); image 3399 magick/blob.c MagickExport unsigned int ReadBlobMSBLong(Image *image) image 3413 magick/blob.c assert(image != (Image *) NULL); image 3414 magick/blob.c assert(image->signature == MagickSignature); image 3416 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,4,buffer,&count); image 3449 magick/blob.c MagickExport MagickSizeType ReadBlobMSBLongLong(Image *image) image 3463 magick/blob.c assert(image != (Image *) NULL); image 3464 magick/blob.c assert(image->signature == MagickSignature); image 3466 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,8,buffer,&count); image 3503 magick/blob.c MagickExport unsigned short ReadBlobMSBShort(Image *image) image 3517 magick/blob.c assert(image != (Image *) NULL); image 3518 magick/blob.c assert(image->signature == MagickSignature); image 3520 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,2,buffer,&count); image 3563 magick/blob.c MagickExport const void *ReadBlobStream(Image *image,const size_t length, image 3566 magick/blob.c assert(image != (Image *) NULL); image 3567 magick/blob.c assert(image->signature == MagickSignature); image 3568 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 3569 magick/blob.c assert(image->blob->type != UndefinedStream); image 3571 magick/blob.c if (image->blob->type != BlobStream) image 3574 magick/blob.c *count=ReadBlob(image,length,(unsigned char *) data); image 3577 magick/blob.c if (image->blob->offset >= (MagickOffsetType) image->blob->length) image 3580 magick/blob.c image->blob->eof=MagickTrue; image 3583 magick/blob.c data=image->blob->data+image->blob->offset; image 3584 magick/blob.c *count=(ssize_t) MagickMin(length,image->blob->length-image->blob->offset); image 3585 magick/blob.c image->blob->offset+=(*count); image 3587 magick/blob.c image->blob->eof=MagickTrue; image 3616 magick/blob.c MagickExport char *ReadBlobString(Image *image,char *string) image 3630 magick/blob.c assert(image != (Image *) NULL); image 3631 magick/blob.c assert(image->signature == MagickSignature); image 3634 magick/blob.c p=(const unsigned char *) ReadBlobStream(image,1,buffer,&count); image 3646 magick/blob.c (void) ReadBlobStream(image,1,buffer,&count); image 3719 magick/blob.c MagickExport MagickOffsetType SeekBlob(Image *image, image 3722 magick/blob.c assert(image != (Image *) NULL); image 3723 magick/blob.c assert(image->signature == MagickSignature); image 3724 magick/blob.c if (image->debug != MagickFalse) image 3725 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3726 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 3727 magick/blob.c assert(image->blob->type != UndefinedStream); image 3728 magick/blob.c switch (image->blob->type) image 3738 magick/blob.c if (fseek(image->blob->file_info.file,offset,whence) < 0) image 3740 magick/blob.c image->blob->offset=TellBlob(image); image 3747 magick/blob.c if (gzseek(image->blob->file_info.gzfile,(off_t) offset,whence) < 0) image 3750 magick/blob.c image->blob->offset=TellBlob(image); image 3766 magick/blob.c image->blob->offset=offset; image 3771 magick/blob.c if ((image->blob->offset+offset) < 0) image 3773 magick/blob.c image->blob->offset+=offset; image 3778 magick/blob.c if (((MagickOffsetType) image->blob->length+offset) < 0) image 3780 magick/blob.c image->blob->offset=image->blob->length+offset; image 3784 magick/blob.c if (image->blob->offset < (MagickOffsetType) image 3785 magick/blob.c ((off_t) image->blob->length)) image 3787 magick/blob.c image->blob->eof=MagickFalse; image 3790 magick/blob.c if (image->blob->offset < (MagickOffsetType) image 3791 magick/blob.c ((off_t) image->blob->extent)) image 3793 magick/blob.c if (image->blob->immutable != MagickFalse) image 3795 magick/blob.c image->blob->eof=MagickTrue; image 3798 magick/blob.c image->blob->extent=(size_t) (image->blob->offset+image->blob->quantum); image 3799 magick/blob.c image->blob->quantum<<=1; image 3800 magick/blob.c image->blob->data=(unsigned char *) ResizeQuantumMemory(image->blob->data, image 3801 magick/blob.c image->blob->extent+1,sizeof(*image->blob->data)); image 3802 magick/blob.c (void) SyncBlob(image); image 3803 magick/blob.c if (image->blob->data == (unsigned char *) NULL) image 3805 magick/blob.c (void) DetachBlob(image->blob); image 3811 magick/blob.c return(image->blob->offset); image 3839 magick/blob.c MagickExport void SetBlobExempt(Image *image,const MagickBooleanType exempt) image 3841 magick/blob.c assert(image != (const Image *) NULL); image 3842 magick/blob.c assert(image->signature == MagickSignature); image 3843 magick/blob.c if (image->debug != MagickFalse) image 3844 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3845 magick/blob.c image->blob->exempt=exempt; image 3874 magick/blob.c MagickExport MagickBooleanType SetBlobExtent(Image *image, image 3877 magick/blob.c assert(image != (Image *) NULL); image 3878 magick/blob.c assert(image->signature == MagickSignature); image 3879 magick/blob.c if (image->debug != MagickFalse) image 3880 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3881 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 3882 magick/blob.c assert(image->blob->type != UndefinedStream); image 3883 magick/blob.c switch (image->blob->type) image 3899 magick/blob.c offset=SeekBlob(image,0,SEEK_END); image 3904 magick/blob.c offset=SeekBlob(image,(MagickOffsetType) extent-1,SEEK_SET); image 3908 magick/blob.c image->blob->file_info.file); image 3910 magick/blob.c if (image->blob->synchronize != MagickFalse) image 3911 magick/blob.c (void) posix_fallocate(fileno(image->blob->file_info.file),offset, image 3914 magick/blob.c offset=SeekBlob(image,offset,SEEK_SET); image 3930 magick/blob.c if (image->blob->mapped != MagickFalse) image 3938 magick/blob.c (void) UnmapBlob(image->blob->data,image->blob->length); image 3939 magick/blob.c RelinquishMagickResource(MapResource,image->blob->length); image 3942 magick/blob.c offset=SeekBlob(image,0,SEEK_END); image 3947 magick/blob.c offset=SeekBlob(image,(MagickOffsetType) extent-1,SEEK_SET); image 3949 magick/blob.c image->blob->file_info.file); image 3951 magick/blob.c if (image->blob->synchronize != MagickFalse) image 3956 magick/blob.c file=fileno(image->blob->file_info.file); image 3962 magick/blob.c offset=SeekBlob(image,offset,SEEK_SET); image 3966 magick/blob.c image->blob->data=(unsigned char*) MapBlob(fileno( image 3967 magick/blob.c image->blob->file_info.file),WriteMode,0,(size_t) extent); image 3968 magick/blob.c image->blob->extent=(size_t) extent; image 3969 magick/blob.c image->blob->length=(size_t) extent; image 3970 magick/blob.c (void) SyncBlob(image); image 3973 magick/blob.c image->blob->extent=(size_t) extent; image 3974 magick/blob.c image->blob->data=(unsigned char *) ResizeQuantumMemory(image->blob->data, image 3975 magick/blob.c image->blob->extent+1,sizeof(*image->blob->data)); image 3976 magick/blob.c (void) SyncBlob(image); image 3977 magick/blob.c if (image->blob->data == (unsigned char *) NULL) image 3979 magick/blob.c (void) DetachBlob(image->blob); image 4011 magick/blob.c static int SyncBlob(Image *image) image 4016 magick/blob.c assert(image != (Image *) NULL); image 4017 magick/blob.c assert(image->signature == MagickSignature); image 4018 magick/blob.c if (image->debug != MagickFalse) image 4019 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4020 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 4021 magick/blob.c assert(image->blob->type != UndefinedStream); image 4023 magick/blob.c switch (image->blob->type) image 4031 magick/blob.c status=fflush(image->blob->file_info.file); image 4037 magick/blob.c status=gzflush(image->blob->file_info.gzfile,Z_SYNC_FLUSH); image 4044 magick/blob.c status=BZ2_bzflush(image->blob->file_info.bzfile); image 4078 magick/blob.c MagickExport MagickOffsetType TellBlob(const Image *image) image 4083 magick/blob.c assert(image != (Image *) NULL); image 4084 magick/blob.c assert(image->signature == MagickSignature); image 4085 magick/blob.c if (image->debug != MagickFalse) image 4086 magick/blob.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4087 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 4088 magick/blob.c assert(image->blob->type != UndefinedStream); image 4090 magick/blob.c switch (image->blob->type) image 4097 magick/blob.c offset=ftell(image->blob->file_info.file); image 4105 magick/blob.c offset=(MagickOffsetType) gztell(image->blob->file_info.gzfile); image 4115 magick/blob.c offset=image->blob->offset; image 4191 magick/blob.c MagickExport ssize_t WriteBlob(Image *image,const size_t length, image 4203 magick/blob.c assert(image != (Image *) NULL); image 4204 magick/blob.c assert(image->signature == MagickSignature); image 4206 magick/blob.c assert(image->blob != (BlobInfo *) NULL); image 4207 magick/blob.c assert(image->blob->type != UndefinedStream); image 4212 magick/blob.c switch (image->blob->type) image 4225 magick/blob.c image->blob->file_info.file); image 4230 magick/blob.c c=putc((int) *p++,image->blob->file_info.file); image 4237 magick/blob.c c=putc((int) *p++,image->blob->file_info.file); image 4244 magick/blob.c c=putc((int) *p++,image->blob->file_info.file); image 4251 magick/blob.c c=putc((int) *p++,image->blob->file_info.file); image 4268 magick/blob.c count=(ssize_t) gzwrite(image->blob->file_info.gzfile,(void *) data, image 4274 magick/blob.c c=gzputc(image->blob->file_info.gzfile,(int) *p++); image 4281 magick/blob.c c=gzputc(image->blob->file_info.gzfile,(int) *p++); image 4288 magick/blob.c c=gzputc(image->blob->file_info.gzfile,(int) *p++); image 4295 magick/blob.c c=gzputc(image->blob->file_info.gzfile,(int) *p++); image 4309 magick/blob.c count=(ssize_t) BZ2_bzwrite(image->blob->file_info.bzfile,(void *) data, image 4316 magick/blob.c count=(ssize_t) image->blob->stream(image,data,length); image 4324 magick/blob.c if ((image->blob->offset+(MagickOffsetType) length) >= image 4325 magick/blob.c (MagickOffsetType) image->blob->extent) image 4327 magick/blob.c if (image->blob->mapped != MagickFalse) image 4329 magick/blob.c image->blob->extent+=length+image->blob->quantum; image 4330 magick/blob.c image->blob->quantum<<=1; image 4331 magick/blob.c image->blob->data=(unsigned char *) ResizeQuantumMemory( image 4332 magick/blob.c image->blob->data,image->blob->extent+1,sizeof(*image->blob->data)); image 4333 magick/blob.c (void) SyncBlob(image); image 4334 magick/blob.c if (image->blob->data == (unsigned char *) NULL) image 4336 magick/blob.c (void) DetachBlob(image->blob); image 4340 magick/blob.c q=image->blob->data+image->blob->offset; image 4342 magick/blob.c image->blob->offset+=length; image 4343 magick/blob.c if (image->blob->offset >= (MagickOffsetType) image->blob->length) image 4344 magick/blob.c image->blob->length=(size_t) image->blob->offset; image 4376 magick/blob.c MagickExport ssize_t WriteBlobByte(Image *image,const unsigned char value) image 4378 magick/blob.c assert(image != (Image *) NULL); image 4379 magick/blob.c assert(image->signature == MagickSignature); image 4380 magick/blob.c return(WriteBlobStream(image,1,&value)); image 4408 magick/blob.c MagickExport ssize_t WriteBlobFloat(Image *image,const float value) image 4421 magick/blob.c return(WriteBlobLong(image,quantum.unsigned_value)); image 4449 magick/blob.c MagickExport ssize_t WriteBlobLong(Image *image,const unsigned int value) image 4454 magick/blob.c assert(image != (Image *) NULL); image 4455 magick/blob.c assert(image->signature == MagickSignature); image 4456 magick/blob.c if (image->endian == LSBEndian) image 4462 magick/blob.c return(WriteBlobStream(image,4,buffer)); image 4468 magick/blob.c return(WriteBlobStream(image,4,buffer)); image 4496 magick/blob.c MagickExport ssize_t WriteBlobShort(Image *image,const unsigned short value) image 4501 magick/blob.c assert(image != (Image *) NULL); image 4502 magick/blob.c assert(image->signature == MagickSignature); image 4503 magick/blob.c if (image->endian == LSBEndian) image 4507 magick/blob.c return(WriteBlobStream(image,2,buffer)); image 4511 magick/blob.c return(WriteBlobStream(image,2,buffer)); image 4539 magick/blob.c MagickExport ssize_t WriteBlobLSBLong(Image *image,const unsigned int value) image 4544 magick/blob.c assert(image != (Image *) NULL); image 4545 magick/blob.c assert(image->signature == MagickSignature); image 4550 magick/blob.c return(WriteBlobStream(image,4,buffer)); image 4578 magick/blob.c MagickExport ssize_t WriteBlobLSBShort(Image *image,const unsigned short value) image 4583 magick/blob.c assert(image != (Image *) NULL); image 4584 magick/blob.c assert(image->signature == MagickSignature); image 4587 magick/blob.c return(WriteBlobStream(image,2,buffer)); image 4615 magick/blob.c MagickExport ssize_t WriteBlobMSBLong(Image *image,const unsigned int value) image 4620 magick/blob.c assert(image != (Image *) NULL); image 4621 magick/blob.c assert(image->signature == MagickSignature); image 4626 magick/blob.c return(WriteBlobStream(image,4,buffer)); image 4654 magick/blob.c MagickExport ssize_t WriteBlobMSBLongLong(Image *image, image 4660 magick/blob.c assert(image != (Image *) NULL); image 4661 magick/blob.c assert(image->signature == MagickSignature); image 4670 magick/blob.c return(WriteBlobStream(image,8,buffer)); image 4698 magick/blob.c MagickExport ssize_t WriteBlobMSBShort(Image *image,const unsigned short value) image 4703 magick/blob.c assert(image != (Image *) NULL); image 4704 magick/blob.c assert(image->signature == MagickSignature); image 4707 magick/blob.c return(WriteBlobStream(image,2,buffer)); image 4735 magick/blob.c MagickExport ssize_t WriteBlobString(Image *image,const char *string) image 4737 magick/blob.c assert(image != (Image *) NULL); image 4738 magick/blob.c assert(image->signature == MagickSignature); image 4740 magick/blob.c return(WriteBlobStream(image,strlen(string),(const unsigned char *) string)); image 68 magick/cache-view.c *image; image 111 magick/cache-view.c MagickExport CacheView *AcquireAuthenticCacheView(const Image *image, image 117 magick/cache-view.c cache_view=AcquireVirtualCacheView(image,exception); image 118 magick/cache-view.c (void) SyncImagePixelCache(cache_view->image,exception); image 149 magick/cache-view.c MagickExport CacheView *AcquireCacheView(const Image *image) image 151 magick/cache-view.c return(AcquireVirtualCacheView(image,&((Image *) image)->exception)); image 154 magick/cache-view.c MagickExport CacheView *AcquireVirtualCacheView(const Image *image, image 160 magick/cache-view.c assert(image != (Image *) NULL); image 161 magick/cache-view.c assert(image->signature == MagickSignature); image 162 magick/cache-view.c if (image->debug != MagickFalse) image 163 magick/cache-view.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 170 magick/cache-view.c cache_view->image=ReferenceImage((Image *) image); image 177 magick/cache-view.c cache_view->virtual_pixel_method=GetImageVirtualPixelMethod(image); image 216 magick/cache-view.c cache_view->image->filename); image 222 magick/cache-view.c clone_view->image=ReferenceImage(cache_view->image); image 260 magick/cache-view.c cache_view->image->filename); image 264 magick/cache-view.c cache_view->image=DestroyImage(cache_view->image); image 299 magick/cache-view.c cache_view->image->filename); image 300 magick/cache-view.c return(GetPixelCacheChannels(cache_view->image->cache)); image 332 magick/cache-view.c cache_view->image->filename); image 333 magick/cache-view.c return(GetPixelCacheColorspace(cache_view->image->cache)); image 365 magick/cache-view.c cache_view->image->filename); image 366 magick/cache-view.c return(&cache_view->image->exception); image 402 magick/cache-view.c cache_view->image->filename); image 403 magick/cache-view.c assert(cache_view->image->cache != (Cache) NULL); image 405 magick/cache-view.c return(GetPixelCacheNexusExtent(cache_view->image->cache, image 438 magick/cache-view.c cache_view->image->filename); image 439 magick/cache-view.c return(GetPixelCacheStorageClass(cache_view->image->cache)); image 481 magick/cache-view.c return(GetAuthenticPixelCacheNexus(cache_view->image,x,y,columns,rows, image 528 magick/cache-view.c *pixel=cache_view->image->background_color; image 530 magick/cache-view.c pixels=GetAuthenticPixelCacheNexus(cache_view->image,x,y,1,1, image 569 magick/cache-view.c assert(cache_view->image->cache != (Cache) NULL); image 606 magick/cache-view.c assert(cache_view->image->cache != (Cache) NULL); image 644 magick/cache-view.c assert(cache_view->image->cache != (Cache) NULL); image 646 magick/cache-view.c return(GetVirtualIndexesFromNexus(cache_view->image->cache, image 683 magick/cache-view.c assert(cache_view->image->cache != (Cache) NULL); image 685 magick/cache-view.c return(GetVirtualPixelsNexus(cache_view->image->cache, image 731 magick/cache-view.c return(GetVirtualPixelsFromNexus(cache_view->image, image 780 magick/cache-view.c *pixel=cache_view->image->background_color; image 782 magick/cache-view.c pixels=GetVirtualPixelsFromNexus(cache_view->image, image 839 magick/cache-view.c *pixel=cache_view->image->background_color; image 841 magick/cache-view.c pixels=GetVirtualPixelsFromNexus(cache_view->image,virtual_pixel_method,x,y,1, image 891 magick/cache-view.c return(QueueAuthenticPixelCacheNexus(cache_view->image,x,y,columns,rows, image 928 magick/cache-view.c cache_view->image->filename); image 929 magick/cache-view.c return(SetImageStorageClass(cache_view->image,storage_class)); image 966 magick/cache-view.c cache_view->image->filename); image 1007 magick/cache-view.c return(SyncAuthenticPixelCacheNexus(cache_view->image, image 296 magick/cache.c MagickExport const void *AcquirePixelCachePixels(const Image *image, image 302 magick/cache.c assert(image != (const Image *) NULL); image 303 magick/cache.c assert(image->signature == MagickSignature); image 306 magick/cache.c assert(image->cache != (Cache) NULL); image 307 magick/cache.c cache_info=(CacheInfo *) image->cache; image 399 magick/cache.c static MagickBooleanType ClipPixelCacheNexus(Image *image, image 429 magick/cache.c if (image->debug != MagickFalse) image 430 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 431 magick/cache.c if ((image->clip_mask == (Image *) NULL) || image 432 magick/cache.c (image->storage_class == PseudoClass)) image 434 magick/cache.c cache_info=(CacheInfo *) image->cache; image 441 magick/cache.c ThrowBinaryException(CacheError,"UnableToGetCacheNexus",image->filename); image 442 magick/cache.c p=GetAuthenticPixelCacheNexus(image,nexus_info->region.x,nexus_info->region.y, image 448 magick/cache.c r=GetVirtualPixelsFromNexus(image->clip_mask,MaskVirtualPixelMethod, image 457 magick/cache.c if (GetPixelIntensity(image,r) > (QuantumRange/2.0)) image 828 magick/cache.c static void DestroyImagePixelCache(Image *image) image 830 magick/cache.c assert(image != (Image *) NULL); image 831 magick/cache.c assert(image->signature == MagickSignature); image 832 magick/cache.c if (image->debug != MagickFalse) image 833 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 834 magick/cache.c if (image->cache == (void *) NULL) image 836 magick/cache.c image->cache=DestroyPixelCache(image->cache); image 861 magick/cache.c MagickExport void DestroyImagePixels(Image *image) image 866 magick/cache.c assert(image != (const Image *) NULL); image 867 magick/cache.c assert(image->signature == MagickSignature); image 868 magick/cache.c if (image->debug != MagickFalse) image 869 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 870 magick/cache.c assert(image->cache != (Cache) NULL); image 871 magick/cache.c cache_info=(CacheInfo *) image->cache; image 875 magick/cache.c cache_info->methods.destroy_pixel_handler(image); image 878 magick/cache.c image->cache=DestroyPixelCache(image->cache); image 1097 magick/cache.c static IndexPacket *GetAuthenticIndexesFromCache(const Image *image) image 1105 magick/cache.c assert(image != (const Image *) NULL); image 1106 magick/cache.c assert(image->signature == MagickSignature); image 1107 magick/cache.c assert(image->cache != (Cache) NULL); image 1108 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1139 magick/cache.c MagickExport IndexPacket *GetAuthenticIndexQueue(const Image *image) image 1147 magick/cache.c assert(image != (const Image *) NULL); image 1148 magick/cache.c assert(image->signature == MagickSignature); image 1149 magick/cache.c assert(image->cache != (Cache) NULL); image 1150 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1154 magick/cache.c return(cache_info->methods.get_authentic_indexes_from_handler(image)); image 1194 magick/cache.c MagickExport PixelPacket *GetAuthenticPixelCacheNexus(Image *image, image 1207 magick/cache.c assert(image != (Image *) NULL); image 1208 magick/cache.c assert(image->signature == MagickSignature); image 1209 magick/cache.c pixels=QueueAuthenticPixelCacheNexus(image,x,y,columns,rows,MagickTrue, image 1213 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1248 magick/cache.c static PixelPacket *GetAuthenticPixelsFromCache(const Image *image) image 1256 magick/cache.c assert(image != (const Image *) NULL); image 1257 magick/cache.c assert(image->signature == MagickSignature); image 1258 magick/cache.c assert(image->cache != (Cache) NULL); image 1259 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1288 magick/cache.c MagickExport PixelPacket *GetAuthenticPixelQueue(const Image *image) image 1296 magick/cache.c assert(image != (const Image *) NULL); image 1297 magick/cache.c assert(image->signature == MagickSignature); image 1298 magick/cache.c assert(image->cache != (Cache) NULL); image 1299 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1303 magick/cache.c return(cache_info->methods.get_authentic_pixels_from_handler(image)); image 1354 magick/cache.c MagickExport PixelPacket *GetAuthenticPixels(Image *image,const ssize_t x, image 1364 magick/cache.c assert(image != (Image *) NULL); image 1365 magick/cache.c assert(image->signature == MagickSignature); image 1366 magick/cache.c assert(image->cache != (Cache) NULL); image 1367 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1371 magick/cache.c return(cache_info->methods.get_authentic_pixels_handler(image,x,y,columns, image 1374 magick/cache.c return(GetAuthenticPixelCacheNexus(image,x,y,columns,rows, image 1409 magick/cache.c static PixelPacket *GetAuthenticPixelsCache(Image *image,const ssize_t x, image 1419 magick/cache.c assert(image != (const Image *) NULL); image 1420 magick/cache.c assert(image->signature == MagickSignature); image 1421 magick/cache.c assert(image->cache != (Cache) NULL); image 1422 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1427 magick/cache.c return(GetAuthenticPixelCacheNexus(image,x,y,columns,rows, image 1454 magick/cache.c MagickExport MagickSizeType GetImageExtent(const Image *image) image 1462 magick/cache.c assert(image != (Image *) NULL); image 1463 magick/cache.c assert(image->signature == MagickSignature); image 1464 magick/cache.c if (image->debug != MagickFalse) image 1465 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1466 magick/cache.c assert(image->cache != (Cache) NULL); image 1467 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1504 magick/cache.c const Image *magick_restrict image) image 1512 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1513 magick/cache.c if ((image->storage_class != cache_info->storage_class) || image 1514 magick/cache.c (image->colorspace != cache_info->colorspace) || image 1515 magick/cache.c (image->channels != cache_info->channels) || image 1516 magick/cache.c (image->columns != cache_info->columns) || image 1517 magick/cache.c (image->rows != cache_info->rows) || image 1523 magick/cache.c static Cache GetImagePixelCache(Image *image,const MagickBooleanType clone, image 1562 magick/cache.c LockSemaphoreInfo(image->semaphore); image 1563 magick/cache.c assert(image->cache != (Cache) NULL); image 1564 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1580 magick/cache.c clone_image=(*image); image 1596 magick/cache.c image->cache=clone_image.cache; image 1610 magick/cache.c image->type=UndefinedType; image 1611 magick/cache.c if (ValidatePixelCacheMorphology(image) == MagickFalse) image 1613 magick/cache.c status=OpenPixelCache(image,IOMode,exception); image 1614 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1619 magick/cache.c UnlockSemaphoreInfo(image->semaphore); image 1622 magick/cache.c return(image->cache); image 1649 magick/cache.c MagickExport CacheType GetPixelCacheType(const Image *image) image 1651 magick/cache.c return(GetImagePixelCacheType(image)); image 1654 magick/cache.c MagickExport CacheType GetImagePixelCacheType(const Image *image) image 1659 magick/cache.c assert(image != (Image *) NULL); image 1660 magick/cache.c assert(image->signature == MagickSignature); image 1661 magick/cache.c assert(image->cache != (Cache) NULL); image 1662 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1697 magick/cache.c MagickExport MagickBooleanType GetOneAuthenticPixel(Image *image, image 1706 magick/cache.c assert(image != (Image *) NULL); image 1707 magick/cache.c assert(image->signature == MagickSignature); image 1708 magick/cache.c assert(image->cache != (Cache) NULL); image 1709 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1711 magick/cache.c *pixel=image->background_color; image 1714 magick/cache.c return(cache_info->methods.get_one_authentic_pixel_from_handler(image,x,y, image 1716 magick/cache.c pixels=GetAuthenticPixelsCache(image,x,y,1UL,1UL,exception); image 1754 magick/cache.c static MagickBooleanType GetOneAuthenticPixelFromCache(Image *image, image 1766 magick/cache.c assert(image != (const Image *) NULL); image 1767 magick/cache.c assert(image->signature == MagickSignature); image 1768 magick/cache.c assert(image->cache != (Cache) NULL); image 1769 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1771 magick/cache.c *pixel=image->background_color; image 1773 magick/cache.c pixels=GetAuthenticPixelCacheNexus(image,x,y,1UL,1UL, image 1813 magick/cache.c MagickExport MagickBooleanType GetOneVirtualMagickPixel(const Image *image, image 1829 magick/cache.c assert(image != (const Image *) NULL); image 1830 magick/cache.c assert(image->signature == MagickSignature); image 1831 magick/cache.c assert(image->cache != (Cache) NULL); image 1832 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1835 magick/cache.c pixels=GetVirtualPixelsFromNexus(image,GetPixelCacheVirtualMethod(image),x,y, image 1837 magick/cache.c GetMagickPixelPacket(image,pixel); image 1841 magick/cache.c SetMagickPixelPacket(image,pixels,indexes,pixel); image 1880 magick/cache.c MagickExport MagickBooleanType GetOneVirtualMethodPixel(const Image *image, image 1893 magick/cache.c assert(image != (const Image *) NULL); image 1894 magick/cache.c assert(image->signature == MagickSignature); image 1895 magick/cache.c assert(image->cache != (Cache) NULL); image 1896 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1898 magick/cache.c *pixel=image->background_color; image 1901 magick/cache.c return(cache_info->methods.get_one_virtual_pixel_from_handler(image, image 1904 magick/cache.c pixels=GetVirtualPixelsFromNexus(image,virtual_pixel_method,x,y,1UL,1UL, image 1943 magick/cache.c MagickExport MagickBooleanType GetOneVirtualPixel(const Image *image, image 1955 magick/cache.c assert(image != (const Image *) NULL); image 1956 magick/cache.c assert(image->signature == MagickSignature); image 1957 magick/cache.c assert(image->cache != (Cache) NULL); image 1958 magick/cache.c cache_info=(CacheInfo *) image->cache; image 1960 magick/cache.c *pixel=image->background_color; image 1963 magick/cache.c return(cache_info->methods.get_one_virtual_pixel_from_handler(image, image 1964 magick/cache.c GetPixelCacheVirtualMethod(image),x,y,pixel,exception)); image 1966 magick/cache.c pixels=GetVirtualPixelsFromNexus(image,GetPixelCacheVirtualMethod(image),x,y, image 2008 magick/cache.c static MagickBooleanType GetOneVirtualPixelFromCache(const Image *image, image 2021 magick/cache.c assert(image != (const Image *) NULL); image 2022 magick/cache.c assert(image->signature == MagickSignature); image 2023 magick/cache.c assert(image->cache != (Cache) NULL); image 2024 magick/cache.c cache_info=(CacheInfo *) image->cache; image 2027 magick/cache.c *pixel=image->background_color; image 2028 magick/cache.c pixels=GetVirtualPixelsFromNexus(image,virtual_pixel_method,x,y,1UL,1UL, image 2221 magick/cache.c MagickExport void *GetPixelCachePixels(Image *image,MagickSizeType *length, image 2227 magick/cache.c assert(image != (const Image *) NULL); image 2228 magick/cache.c assert(image->signature == MagickSignature); image 2229 magick/cache.c assert(image->cache != (Cache) NULL); image 2233 magick/cache.c cache_info=(CacheInfo *) image->cache; image 2308 magick/cache.c MagickExport void GetPixelCacheTileSize(const Image *image,size_t *width, image 2311 magick/cache.c assert(image != (Image *) NULL); image 2312 magick/cache.c assert(image->signature == MagickSignature); image 2313 magick/cache.c if (image->debug != MagickFalse) image 2314 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2316 magick/cache.c if (GetImagePixelCacheType(image) == DiskCache) image 2345 magick/cache.c MagickExport VirtualPixelMethod GetPixelCacheVirtualMethod(const Image *image) image 2350 magick/cache.c assert(image != (Image *) NULL); image 2351 magick/cache.c assert(image->signature == MagickSignature); image 2352 magick/cache.c assert(image->cache != (Cache) NULL); image 2353 magick/cache.c cache_info=(CacheInfo *) image->cache; image 2381 magick/cache.c static const IndexPacket *GetVirtualIndexesFromCache(const Image *image) image 2389 magick/cache.c assert(image != (const Image *) NULL); image 2390 magick/cache.c assert(image->signature == MagickSignature); image 2391 magick/cache.c assert(image->cache != (Cache) NULL); image 2392 magick/cache.c cache_info=(CacheInfo *) image->cache; image 2463 magick/cache.c MagickExport const IndexPacket *GetVirtualIndexQueue(const Image *image) image 2471 magick/cache.c assert(image != (const Image *) NULL); image 2472 magick/cache.c assert(image->signature == MagickSignature); image 2473 magick/cache.c assert(image->cache != (Cache) NULL); image 2474 magick/cache.c cache_info=(CacheInfo *) image->cache; image 2478 magick/cache.c return(cache_info->methods.get_virtual_indexes_from_handler(image)); image 2607 magick/cache.c MagickExport const PixelPacket *GetVirtualPixelsFromNexus(const Image *image, image 2654 magick/cache.c assert(image != (const Image *) NULL); image 2655 magick/cache.c assert(image->signature == MagickSignature); image 2656 magick/cache.c assert(image->cache != (Cache) NULL); image 2657 magick/cache.c cache_info=(CacheInfo *) image->cache; image 2666 magick/cache.c (image->clip_mask != (Image *) NULL) || (image->mask != (Image *) NULL) ? image 2708 magick/cache.c "UnableToGetCacheNexus","`%s'",image->filename); image 2748 magick/cache.c virtual_pixel=image->background_color; image 2798 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2810 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2820 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2832 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2849 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2866 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2883 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2900 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2910 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2920 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method, image 2939 magick/cache.c p=GetVirtualPixelsFromNexus(image,virtual_pixel_method,x_offset,y_offset, image 2993 magick/cache.c static const PixelPacket *GetVirtualPixelCache(const Image *image, image 3003 magick/cache.c assert(image != (const Image *) NULL); image 3004 magick/cache.c assert(image->signature == MagickSignature); image 3005 magick/cache.c assert(image->cache != (Cache) NULL); image 3006 magick/cache.c cache_info=(CacheInfo *) image->cache; image 3009 magick/cache.c return(GetVirtualPixelsFromNexus(image,virtual_pixel_method,x,y,columns,rows, image 3036 magick/cache.c MagickExport const PixelPacket *GetVirtualPixelQueue(const Image *image) image 3044 magick/cache.c assert(image != (const Image *) NULL); image 3045 magick/cache.c assert(image->signature == MagickSignature); image 3046 magick/cache.c assert(image->cache != (Cache) NULL); image 3047 magick/cache.c cache_info=(CacheInfo *) image->cache; image 3051 magick/cache.c return(cache_info->methods.get_virtual_pixels_handler(image)); image 3104 magick/cache.c MagickExport const PixelPacket *GetVirtualPixels(const Image *image, image 3114 magick/cache.c assert(image != (const Image *) NULL); image 3115 magick/cache.c assert(image->signature == MagickSignature); image 3116 magick/cache.c assert(image->cache != (Cache) NULL); image 3117 magick/cache.c cache_info=(CacheInfo *) image->cache; image 3121 magick/cache.c return(cache_info->methods.get_virtual_pixel_handler(image, image 3122 magick/cache.c GetPixelCacheVirtualMethod(image),x,y,columns,rows,exception)); image 3124 magick/cache.c return(GetVirtualPixelsFromNexus(image,GetPixelCacheVirtualMethod(image),x,y, image 3151 magick/cache.c static const PixelPacket *GetVirtualPixelsCache(const Image *image) image 3159 magick/cache.c assert(image != (const Image *) NULL); image 3160 magick/cache.c assert(image->signature == MagickSignature); image 3161 magick/cache.c assert(image->cache != (Cache) NULL); image 3162 magick/cache.c cache_info=(CacheInfo *) image->cache; image 3165 magick/cache.c return(GetVirtualPixelsNexus(image->cache,cache_info->nexus_info[id])); image 3259 magick/cache.c static MagickBooleanType MaskPixelCacheNexus(Image *image,NexusInfo *nexus_info, image 3293 magick/cache.c if (image->debug != MagickFalse) image 3294 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3295 magick/cache.c if ((image->mask == (Image *) NULL) || (image->storage_class == PseudoClass)) image 3297 magick/cache.c cache_info=(CacheInfo *) image->cache; image 3304 magick/cache.c ThrowBinaryException(CacheError,"UnableToGetCacheNexus",image->filename); image 3305 magick/cache.c p=GetAuthenticPixelCacheNexus(image,nexus_info->region.x, image 3311 magick/cache.c r=GetVirtualPixelsFromNexus(image->mask,MaskVirtualPixelMethod, image 3313 magick/cache.c nexus_info->region.height,clip_nexus[0],&image->exception); image 3314 magick/cache.c GetMagickPixelPacket(image,&alpha); image 3315 magick/cache.c GetMagickPixelPacket(image,&beta); image 3322 magick/cache.c SetMagickPixelPacket(image,p,indexes+i,&alpha); image 3323 magick/cache.c SetMagickPixelPacket(image,q,nexus_indexes+i,&beta); image 3324 magick/cache.c MagickPixelCompositeMask(&beta,GetPixelIntensity(image,r),&alpha, image 3485 magick/cache.c static MagickBooleanType SetPixelCacheExtent(Image *image,MagickSizeType length) image 3495 magick/cache.c cache_info=(CacheInfo *) image->cache; image 3496 magick/cache.c if (image->debug != MagickFalse) image 3532 magick/cache.c static MagickBooleanType OpenPixelCache(Image *image,const MapMode mode, image 3557 magick/cache.c assert(image != (const Image *) NULL); image 3558 magick/cache.c assert(image->signature == MagickSignature); image 3559 magick/cache.c assert(image->cache != (Cache) NULL); image 3560 magick/cache.c if (image->debug != MagickFalse) image 3561 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3562 magick/cache.c if ((image->columns == 0) || (image->rows == 0)) image 3563 magick/cache.c ThrowBinaryException(CacheError,"NoPixelsDefinedInCache",image->filename); image 3564 magick/cache.c cache_info=(CacheInfo *) image->cache; image 3566 magick/cache.c if ((AcquireMagickResource(WidthResource,image->columns) == MagickFalse) || image 3567 magick/cache.c (AcquireMagickResource(HeightResource,image->rows) == MagickFalse)) image 3569 magick/cache.c image->filename); image 3573 magick/cache.c image->filename,(double) GetImageIndexInList(image)); image 3575 magick/cache.c cache_info->rows=image->rows; image 3576 magick/cache.c cache_info->columns=image->columns; image 3577 magick/cache.c cache_info->channels=image->channels; image 3578 magick/cache.c cache_info->active_index_channel=((image->storage_class == PseudoClass) || image 3579 magick/cache.c (image->colorspace == CMYKColorspace)) ? MagickTrue : MagickFalse; image 3589 magick/cache.c image->filename); image 3591 magick/cache.c if (image->ping != MagickFalse) image 3593 magick/cache.c cache_info->storage_class=image->storage_class; image 3594 magick/cache.c cache_info->colorspace=image->colorspace; image 3614 magick/cache.c cache_info->colorspace=image->colorspace; image 3627 magick/cache.c if (image->debug != MagickFalse) image 3640 magick/cache.c cache_info->storage_class=image->storage_class; image 3660 magick/cache.c status=OpenDistributePixelCache(server_info,image); image 3673 magick/cache.c cache_info->storage_class=image->storage_class; image 3674 magick/cache.c cache_info->colorspace=image->colorspace; image 3688 magick/cache.c if (image->debug != MagickFalse) image 3708 magick/cache.c "CacheResourcesExhausted","`%s'",image->filename); image 3720 magick/cache.c image->filename); image 3723 magick/cache.c status=SetPixelCacheExtent(image,(MagickSizeType) cache_info->offset+ image 3728 magick/cache.c image->filename); image 3731 magick/cache.c cache_info->storage_class=image->storage_class; image 3732 magick/cache.c cache_info->colorspace=image->colorspace; image 3770 magick/cache.c if (image->debug != MagickFalse) image 3793 magick/cache.c if (image->debug != MagickFalse) image 3844 magick/cache.c MagickExport MagickBooleanType PersistPixelCache(Image *image, image 3861 magick/cache.c assert(image != (Image *) NULL); image 3862 magick/cache.c assert(image->signature == MagickSignature); image 3863 magick/cache.c if (image->debug != MagickFalse) image 3864 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3865 magick/cache.c assert(image->cache != (void *) NULL); image 3869 magick/cache.c cache_info=(CacheInfo *) image->cache; image 3876 magick/cache.c if (image->debug != MagickFalse) image 3883 magick/cache.c if (OpenPixelCache(image,ReadMode,exception) == MagickFalse) image 3910 magick/cache.c if (image->debug != MagickFalse) image 3921 magick/cache.c clone_image=(*image); image 3923 magick/cache.c image->cache=ClonePixelCache(cache_info); image 3924 magick/cache.c cache_info=(CacheInfo *) ReferencePixelCache(image->cache); image 3928 magick/cache.c cache_info=(CacheInfo *) image->cache; image 3929 magick/cache.c status=OpenPixelCache(image,IOMode,exception); image 3931 magick/cache.c status=ClonePixelCacheRepository(cache_info,clone_info,&image->exception); image 3975 magick/cache.c MagickExport PixelPacket *QueueAuthenticPixel(Image *image,const ssize_t x, image 3980 magick/cache.c return(QueueAuthenticPixelCacheNexus(image,x,y,columns,rows,clone,nexus_info, image 3984 magick/cache.c MagickExport PixelPacket *QueueAuthenticPixelCacheNexus(Image *image, image 4006 magick/cache.c assert(image != (const Image *) NULL); image 4007 magick/cache.c assert(image->signature == MagickSignature); image 4008 magick/cache.c assert(image->cache != (Cache) NULL); image 4009 magick/cache.c cache_info=(CacheInfo *) GetImagePixelCache(image,clone,exception); image 4018 magick/cache.c "PixelsAreNotAuthentic","`%s'",image->filename); image 4036 magick/cache.c (image->clip_mask != (Image *) NULL) || (image->mask != (Image *) NULL) ? image 4074 magick/cache.c static PixelPacket *QueueAuthenticPixelsCache(Image *image,const ssize_t x, image 4084 magick/cache.c assert(image != (const Image *) NULL); image 4085 magick/cache.c assert(image->signature == MagickSignature); image 4086 magick/cache.c assert(image->cache != (Cache) NULL); image 4087 magick/cache.c cache_info=(CacheInfo *) image->cache; image 4090 magick/cache.c return(QueueAuthenticPixelCacheNexus(image,x,y,columns,rows,MagickFalse, image 4150 magick/cache.c MagickExport PixelPacket *QueueAuthenticPixels(Image *image,const ssize_t x, image 4160 magick/cache.c assert(image != (Image *) NULL); image 4161 magick/cache.c assert(image->signature == MagickSignature); image 4162 magick/cache.c assert(image->cache != (Cache) NULL); image 4163 magick/cache.c cache_info=(CacheInfo *) image->cache; image 4167 magick/cache.c return(cache_info->methods.queue_authentic_pixels_handler(image,x,y,columns, image 4170 magick/cache.c return(QueueAuthenticPixelCacheNexus(image,x,y,columns,rows,MagickFalse, image 4891 magick/cache.c static MagickBooleanType SetCacheAlphaChannel(Image *image, image 4906 magick/cache.c assert(image != (Image *) NULL); image 4907 magick/cache.c assert(image->signature == MagickSignature); image 4908 magick/cache.c if (image->debug != MagickFalse) image 4909 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4910 magick/cache.c assert(image->cache != (Cache) NULL); image 4911 magick/cache.c cache_info=(CacheInfo *) image->cache; image 4913 magick/cache.c image->matte=MagickTrue; image 4915 magick/cache.c image_view=AcquireVirtualCacheView(image,&image->exception); /* must be virtual */ image 4920 magick/cache.c for (y=0; y < (ssize_t) image->rows; y++) image 4930 magick/cache.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 4931 magick/cache.c &image->exception); image 4937 magick/cache.c for (x=0; x < (ssize_t) image->columns; x++) image 4942 magick/cache.c status=SyncCacheViewAuthenticPixels(image_view,&image->exception); image 4948 magick/cache.c MagickExport VirtualPixelMethod SetPixelCacheVirtualMethod(const Image *image, image 4957 magick/cache.c assert(image != (Image *) NULL); image 4958 magick/cache.c assert(image->signature == MagickSignature); image 4959 magick/cache.c if (image->debug != MagickFalse) image 4960 magick/cache.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4961 magick/cache.c assert(image->cache != (Cache) NULL); image 4962 magick/cache.c cache_info=(CacheInfo *) image->cache; image 4966 magick/cache.c if ((image->columns != 0) && (image->rows != 0)) image 4971 magick/cache.c if ((image->background_color.opacity != OpaqueOpacity) && image 4972 magick/cache.c (image->matte == MagickFalse)) image 4973 magick/cache.c (void) SetCacheAlphaChannel((Image *) image,OpaqueOpacity); image 4974 magick/cache.c if ((IsPixelGray(&image->background_color) == MagickFalse) && image 4975 magick/cache.c (IsGrayColorspace(image->colorspace) != MagickFalse)) image 4976 magick/cache.c (void) SetImageColorspace((Image *) image,sRGBColorspace); image 4981 magick/cache.c if (image->matte == MagickFalse) image 4982 magick/cache.c (void) SetCacheAlphaChannel((Image *) image,OpaqueOpacity); image 5020 magick/cache.c MagickExport MagickBooleanType SyncAuthenticPixelCacheNexus(Image *image, image 5032 magick/cache.c assert(image != (Image *) NULL); image 5033 magick/cache.c assert(image->signature == MagickSignature); image 5034 magick/cache.c if (image->cache == (Cache) NULL) image 5035 magick/cache.c ThrowBinaryException(CacheError,"PixelCacheIsNotOpen",image->filename); image 5036 magick/cache.c cache_info=(CacheInfo *) image->cache; image 5040 magick/cache.c if ((image->storage_class == DirectClass) && image 5041 magick/cache.c (image->clip_mask != (Image *) NULL) && image 5042 magick/cache.c (ClipPixelCacheNexus(image,nexus_info,exception) == MagickFalse)) image 5044 magick/cache.c if ((image->storage_class == DirectClass) && image 5045 magick/cache.c (image->mask != (Image *) NULL) && image 5046 magick/cache.c (MaskPixelCacheNexus(image,nexus_info,exception) == MagickFalse)) image 5050 magick/cache.c image->taint=MagickTrue; image 5059 magick/cache.c image->taint=MagickTrue; image 5090 magick/cache.c static MagickBooleanType SyncAuthenticPixelsCache(Image *image, image 5102 magick/cache.c assert(image != (Image *) NULL); image 5103 magick/cache.c assert(image->signature == MagickSignature); image 5104 magick/cache.c assert(image->cache != (Cache) NULL); image 5105 magick/cache.c cache_info=(CacheInfo *) image->cache; image 5108 magick/cache.c status=SyncAuthenticPixelCacheNexus(image,cache_info->nexus_info[id], image 5140 magick/cache.c MagickExport MagickBooleanType SyncAuthenticPixels(Image *image, image 5152 magick/cache.c assert(image != (Image *) NULL); image 5153 magick/cache.c assert(image->signature == MagickSignature); image 5154 magick/cache.c assert(image->cache != (Cache) NULL); image 5155 magick/cache.c cache_info=(CacheInfo *) image->cache; image 5159 magick/cache.c return(cache_info->methods.sync_authentic_pixels_handler(image,exception)); image 5161 magick/cache.c status=SyncAuthenticPixelCacheNexus(image,cache_info->nexus_info[id], image 5193 magick/cache.c MagickPrivate MagickBooleanType SyncImagePixelCache(Image *image, image 5199 magick/cache.c assert(image != (Image *) NULL); image 5201 magick/cache.c cache_info=(CacheInfo *) GetImagePixelCache(image,MagickTrue,exception); image 93 magick/channel.c MagickExport Image *CombineImages(const Image *image,const ChannelType channel, image 119 magick/channel.c assert(image != (const Image *) NULL); image 120 magick/channel.c assert(image->signature == MagickSignature); image 121 magick/channel.c if (image->debug != MagickFalse) image 122 magick/channel.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 125 magick/channel.c for (next=image; next != (Image *) NULL; next=GetNextImageInList(next)) image 127 magick/channel.c if ((next->columns != image->columns) || (next->rows != image->rows)) image 130 magick/channel.c combine_image=CloneImage(image,0,0,MagickTrue,exception); image 139 magick/channel.c if (IssRGBCompatibleColorspace(image->colorspace) != MagickFalse) image 179 magick/channel.c next=image; image 189 magick/channel.c SetPixelRed(q,ClampToQuantum(GetPixelIntensity(image,p))); image 205 magick/channel.c SetPixelGreen(q,ClampToQuantum(GetPixelIntensity(image,p))); image 221 magick/channel.c SetPixelBlue(q,ClampToQuantum(GetPixelIntensity(image,p))); image 237 magick/channel.c SetPixelAlpha(q,ClampToQuantum(GetPixelIntensity(image,p))); image 245 magick/channel.c (image->colorspace == CMYKColorspace) && (next != (Image *) NULL)) image 257 magick/channel.c SetPixelIndex(indexes+x,ClampToQuantum(GetPixelIntensity(image,p))); image 265 magick/channel.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 270 magick/channel.c proceed=SetImageProgress(image,CombineImageTag,progress++, image 308 magick/channel.c MagickExport MagickBooleanType GetImageAlphaChannel(const Image *image) image 310 magick/channel.c assert(image != (const Image *) NULL); image 311 magick/channel.c if (image->debug != MagickFalse) image 313 magick/channel.c assert(image->signature == MagickSignature); image 314 magick/channel.c return(image->matte); image 347 magick/channel.c MagickExport Image *SeparateImage(const Image *image,const ChannelType channel, image 359 magick/channel.c assert(image != (Image *) NULL); image 360 magick/channel.c assert(image->signature == MagickSignature); image 361 magick/channel.c if (image->debug != MagickFalse) image 362 magick/channel.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 365 magick/channel.c separate_image=CloneImage(image,0,0,MagickTrue,exception); image 374 magick/channel.c MagickExport MagickBooleanType SeparateImageChannel(Image *image, image 394 magick/channel.c assert(image != (Image *) NULL); image 395 magick/channel.c assert(image->signature == MagickSignature); image 396 magick/channel.c if (image->debug != MagickFalse) image 397 magick/channel.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 398 magick/channel.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 401 magick/channel.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 407 magick/channel.c exception=(&image->exception); image 408 magick/channel.c image_view=AcquireAuthenticCacheView(image,exception); image 413 magick/channel.c for (y=0; y < (ssize_t) image->rows; y++) image 426 magick/channel.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 437 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 447 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 457 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 467 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 478 magick/channel.c if ((image->storage_class != PseudoClass) && image 479 magick/channel.c (image->colorspace != CMYKColorspace)) image 481 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 492 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 503 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 505 magick/channel.c SetPixelAlpha(q,ClampToQuantum(GetPixelIntensity(image,q))); image 515 magick/channel.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 523 magick/channel.c proceed=SetImageProgress(image,SeparateImageTag,progress++,image->rows); image 531 magick/channel.c image->matte=MagickFalse; image 532 magick/channel.c (void) SetImageColorspace(image,GRAYColorspace); image 567 magick/channel.c MagickExport Image *SeparateImages(const Image *image,const ChannelType channel, image 574 magick/channel.c assert(image != (Image *) NULL); image 575 magick/channel.c assert(image->signature == MagickSignature); image 576 magick/channel.c if (image->debug != MagickFalse) image 577 magick/channel.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 581 magick/channel.c separate_image=CloneImage(image,0,0,MagickTrue,exception); image 587 magick/channel.c separate_image=CloneImage(image,0,0,MagickTrue,exception); image 593 magick/channel.c separate_image=CloneImage(image,0,0,MagickTrue,exception); image 597 magick/channel.c if (((channel & BlackChannel) != 0) && (image->colorspace == CMYKColorspace)) image 599 magick/channel.c separate_image=CloneImage(image,0,0,MagickTrue,exception); image 605 magick/channel.c separate_image=CloneImage(image,0,0,MagickTrue,exception); image 642 magick/channel.c MagickExport MagickBooleanType SetImageAlphaChannel(Image *image, image 657 magick/channel.c assert(image != (Image *) NULL); image 658 magick/channel.c if (image->debug != MagickFalse) image 660 magick/channel.c assert(image->signature == MagickSignature); image 661 magick/channel.c exception=(&image->exception); image 667 magick/channel.c image->matte=MagickTrue; image 675 magick/channel.c status=SetImageStorageClass(image,DirectClass); image 678 magick/channel.c image_view=AcquireAuthenticCacheView(image,exception); image 683 magick/channel.c for (y=0; y < (ssize_t) image->rows; y++) image 693 magick/channel.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 700 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 715 magick/channel.c image->matte=MagickFalse; image 735 magick/channel.c if (image->matte == MagickFalse) image 737 magick/channel.c status=SetImageStorageClass(image,DirectClass); image 740 magick/channel.c GetMagickPixelPacket(image,&background); image 741 magick/channel.c SetMagickPixelPacket(image,&image->background_color,(const IndexPacket *) image 743 magick/channel.c if (image->colorspace == CMYKColorspace) image 746 magick/channel.c SetPixelPacket(image,&background,&pixel,&index); image 748 magick/channel.c exception=(&image->exception); image 749 magick/channel.c image_view=AcquireAuthenticCacheView(image,exception); image 754 magick/channel.c for (y=0; y < (ssize_t) image->rows; y++) image 767 magick/channel.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 774 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 784 magick/channel.c if (image->colorspace == CMYKColorspace) image 787 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 803 magick/channel.c status=SeparateImageChannel(image,GrayChannels); image 804 magick/channel.c image->matte=MagickTrue; /* make sure transparency is now on! */ image 813 magick/channel.c GetMagickPixelPacket(image,&background); image 814 magick/channel.c SetMagickPixelPacket(image,&(image->background_color),(IndexPacket *) image 816 magick/channel.c (void) LevelColorsImage(image,&background,&background,MagickTrue); image 822 magick/channel.c image->matte=MagickFalse; image 827 magick/channel.c status=SetImageStorageClass(image,DirectClass); image 830 magick/channel.c image->matte=MagickTrue; image 831 magick/channel.c image_view=AcquireAuthenticCacheView(image,exception); image 836 magick/channel.c for (y=0; y < (ssize_t) image->rows; y++) image 846 magick/channel.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 853 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 870 magick/channel.c image->matte=MagickFalse; image 875 magick/channel.c status=SeparateImageChannel(image,TrueAlphaChannel); image 876 magick/channel.c image->matte=MagickFalse; image 894 magick/channel.c if (image->matte == MagickFalse) image 896 magick/channel.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 898 magick/channel.c GetMagickPixelPacket(image,&background); image 899 magick/channel.c SetMagickPixelPacket(image,&image->background_color,(const IndexPacket *) image 901 magick/channel.c if (image->colorspace == CMYKColorspace) image 905 magick/channel.c SetPixelPacket(image,&background,&pixel,&index); image 906 magick/channel.c image_view=AcquireAuthenticCacheView(image,exception); image 911 magick/channel.c for (y=0; y < (ssize_t) image->rows; y++) image 924 magick/channel.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 931 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 952 magick/channel.c if (image->colorspace == CMYKColorspace) image 955 magick/channel.c for (x=0; x < (ssize_t) image->columns; x++) image 967 magick/channel.c status=SetImageOpacity(image,OpaqueOpacity); image 972 magick/channel.c if (image->matte == MagickFalse) image 973 magick/channel.c status=SetImageOpacity(image,OpaqueOpacity); image 978 magick/channel.c status=SetImageOpacity(image,TransparentOpacity); image 986 magick/channel.c return(SyncImagePixelCache(image,&image->exception)); image 537 magick/cipher.c MagickExport MagickBooleanType DecipherImage(Image *image, image 551 magick/cipher.c status=PasskeyDecipherImage(image,passkey,exception); image 556 magick/cipher.c MagickExport MagickBooleanType PasskeyDecipherImage(Image *image, image 606 magick/cipher.c assert(image != (Image *) NULL); image 607 magick/cipher.c assert(image->signature == MagickSignature); image 608 magick/cipher.c if (image->debug != MagickFalse) image 609 magick/cipher.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 620 magick/cipher.c image->filename); image 628 magick/cipher.c image->filename); image 634 magick/cipher.c extent=(MagickSizeType) image->columns*image->rows; image 648 magick/cipher.c quantum_info=AcquireQuantumInfo((const ImageInfo *) NULL,image); image 653 magick/cipher.c image->filename); image 655 magick/cipher.c quantum_type=GetQuantumType(image,exception); image 657 magick/cipher.c image_view=AcquireAuthenticCacheView(image,exception); image 658 magick/cipher.c for (y=0; y < (ssize_t) image->rows; y++) image 667 magick/cipher.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 670 magick/cipher.c length=ExportQuantumPixels(image,image_view,quantum_info,quantum_type, image 691 magick/cipher.c (void) ImportQuantumPixels(image,image_view,quantum_info,quantum_type, image 695 magick/cipher.c proceed=SetImageProgress(image,DecipherImageTag,(MagickOffsetType) y, image 696 magick/cipher.c image->rows); image 701 magick/cipher.c (void) DeleteImageProperty(image,"cipher:type"); image 702 magick/cipher.c (void) DeleteImageProperty(image,"cipher:mode"); image 703 magick/cipher.c (void) DeleteImageProperty(image,"cipher:nonce"); image 704 magick/cipher.c image->taint=MagickFalse; image 712 magick/cipher.c return(y == (ssize_t) image->rows ? MagickTrue : MagickFalse); image 747 magick/cipher.c MagickExport MagickBooleanType EncipherImage(Image *image, image 761 magick/cipher.c status=PasskeyEncipherImage(image,passkey,exception); image 766 magick/cipher.c MagickExport MagickBooleanType PasskeyEncipherImage(Image *image, image 819 magick/cipher.c assert(image != (Image *) NULL); image 820 magick/cipher.c assert(image->signature == MagickSignature); image 821 magick/cipher.c if (image->debug != MagickFalse) image 822 magick/cipher.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 827 magick/cipher.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 835 magick/cipher.c image->filename); image 843 magick/cipher.c image->filename); image 849 magick/cipher.c extent=(MagickSizeType) image->columns*image->rows; image 860 magick/cipher.c (void) SetImageProperty(image,"cipher:type","AES"); image 861 magick/cipher.c (void) SetImageProperty(image,"cipher:mode","CTR"); image 862 magick/cipher.c (void) SetImageProperty(image,"cipher:nonce",signature); image 868 magick/cipher.c quantum_info=AcquireQuantumInfo((const ImageInfo *) NULL,image); image 873 magick/cipher.c image->filename); image 875 magick/cipher.c quantum_type=GetQuantumType(image,exception); image 877 magick/cipher.c image_view=AcquireAuthenticCacheView(image,exception); image 878 magick/cipher.c for (y=0; y < (ssize_t) image->rows; y++) image 887 magick/cipher.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 890 magick/cipher.c length=ExportQuantumPixels(image,image_view,quantum_info,quantum_type, image 911 magick/cipher.c (void) ImportQuantumPixels(image,image_view,quantum_info,quantum_type, image 915 magick/cipher.c proceed=SetImageProgress(image,EncipherImageTag,(MagickOffsetType) y, image 916 magick/cipher.c image->rows); image 921 magick/cipher.c image->taint=MagickFalse; image 929 magick/cipher.c return(y == (ssize_t) image->rows ? MagickTrue : MagickFalse); image 1106 magick/cipher.c MagickExport MagickBooleanType DecipherImage(Image *image, image 1109 magick/cipher.c assert(image != (Image *) NULL); image 1110 magick/cipher.c assert(image->signature == MagickSignature); image 1111 magick/cipher.c if (image->debug != MagickFalse) image 1112 magick/cipher.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1116 magick/cipher.c ThrowBinaryException(ImageError,"CipherSupportNotEnabled",image->filename); image 1119 magick/cipher.c MagickExport MagickBooleanType PasskeyDecipherImage(Image *image, image 1122 magick/cipher.c assert(image != (Image *) NULL); image 1123 magick/cipher.c assert(image->signature == MagickSignature); image 1124 magick/cipher.c if (image->debug != MagickFalse) image 1125 magick/cipher.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1129 magick/cipher.c ThrowBinaryException(ImageError,"CipherSupportNotEnabled",image->filename); image 1162 magick/cipher.c MagickExport MagickBooleanType EncipherImage(Image *image, image 1165 magick/cipher.c assert(image != (Image *) NULL); image 1166 magick/cipher.c assert(image->signature == MagickSignature); image 1167 magick/cipher.c if (image->debug != MagickFalse) image 1168 magick/cipher.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1172 magick/cipher.c ThrowBinaryException(ImageError,"CipherSupportNotEnabled",image->filename); image 1175 magick/cipher.c MagickExport MagickBooleanType PasskeyEncipherImage(Image *image, image 1178 magick/cipher.c assert(image != (Image *) NULL); image 1179 magick/cipher.c assert(image->signature == MagickSignature); image 1180 magick/cipher.c if (image->debug != MagickFalse) image 1181 magick/cipher.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1185 magick/cipher.c ThrowBinaryException(ImageError,"CipherSupportNotEnabled",image->filename); image 1659 magick/color.c MagickExport MagickBooleanType IsColorSimilar(const Image *image, image 1670 magick/color.c fuzz=(double) MagickMax(image->fuzz,(MagickRealType) MagickSQ1_2); image 1674 magick/color.c if (image->matte != MagickFalse) image 1679 magick/color.c pixel=(MagickRealType) ((image->matte != MagickFalse ? image 1680 magick/color.c GetPixelOpacity(p) : OpaqueOpacity)-(image->matte != MagickFalse ? image 1700 magick/color.c if ((image->colorspace == HCLColorspace) || image 1701 magick/color.c (image->colorspace == HSBColorspace) || image 1702 magick/color.c (image->colorspace == HSLColorspace) || image 1703 magick/color.c (image->colorspace == HWBColorspace)) image 1763 magick/color.c MagickExport MagickBooleanType IsImageSimilar(const Image *image, image 1796 magick/color.c assert(image != (Image *) NULL); image 1797 magick/color.c assert(image->signature == MagickSignature); image 1798 magick/color.c if (image->debug != MagickFalse) image 1799 magick/color.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1807 magick/color.c GetMagickPixelPacket(image,&pixel); image 1808 magick/color.c GetMagickPixelPacket(image,&target); image 1809 magick/color.c image_view=AcquireVirtualCacheView(image,exception); image 1811 magick/color.c for (y=(*y_offset); y < (ssize_t) image->rows; y++) image 1813 magick/color.c for (x=y == 0 ? *x_offset : 0; x < (ssize_t) image->columns; x++) image 1823 magick/color.c SetMagickPixelPacket(image,p,indexes,&pixel); image 1828 magick/color.c SetMagickPixelPacket(image,q,target_indexes,&target); image 1838 magick/color.c if (x < (ssize_t) image->columns) image 1840 magick/color.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1845 magick/color.c proceed=SetImageProgress(image,SearchImageText,(MagickOffsetType) y, image 1846 magick/color.c image->rows); image 1857 magick/color.c return(y < (ssize_t) image->rows ? MagickTrue : MagickFalse); image 1888 magick/color.c MagickPrivate MagickBooleanType IsIntensitySimilar(const Image *image, image 1898 magick/color.c if (GetPixelIntensity(image,p) == GetPixelIntensity(image,q)) image 1900 magick/color.c fuzz=(MagickRealType) MagickMax(image->fuzz,MagickSQ1_2); image 1902 magick/color.c pixel=GetPixelIntensity(image,p)-GetPixelIntensity(image,q); image 2067 magick/color.c MagickExport MagickBooleanType IsOpacitySimilar(const Image *image, image 2077 magick/color.c if (image->matte == MagickFalse) image 2081 magick/color.c fuzz=MagickMax(image->fuzz,(double) MagickSQ1_2); image 2520 magick/color.c MagickExport MagickBooleanType QueryColorname(const Image *image, image 2527 magick/color.c GetMagickPixelPacket(image,&pixel); image 2528 magick/color.c SetMagickPixelPacket(image,color,(IndexPacket *) NULL,&pixel); image 2529 magick/color.c return(QueryMagickColorname(image,&pixel,compliance,name,exception)); image 2939 magick/color.c MagickExport MagickBooleanType QueryMagickColorname(const Image *image, image 2957 magick/color.c pixel.depth=(size_t) MagickMin(1.0*image->depth,16.0); image 2965 magick/color.c opacity=image->matte != MagickFalse ? color->opacity : OpaqueOpacity; image 29 magick/colormap-private.h static inline IndexPacket ConstrainColormapIndex(Image *image, image 32 magick/colormap-private.h if ((index < image->colors) && ((ssize_t) index >= 0)) image 34 magick/colormap-private.h (void) ThrowMagickException(&image->exception,GetMagickModule(), image 35 magick/colormap-private.h CorruptImageError,"InvalidColormapIndex","`%s'",image->filename); image 39 magick/colormap-private.h static inline MagickBooleanType IsValidColormapIndex(Image *image, image 42 magick/colormap-private.h if ((index < 0) || (index >= (ssize_t) image->colors)) image 45 magick/colormap-private.h "InvalidColormapIndex","`%s'",image->filename); image 102 magick/colormap.c MagickExport MagickBooleanType AcquireImageColormap(Image *image, image 111 magick/colormap.c assert(image != (Image *) NULL); image 112 magick/colormap.c assert(image->signature == MagickSignature); image 113 magick/colormap.c if (image->debug != MagickFalse) image 114 magick/colormap.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 115 magick/colormap.c image->colors=MagickMax(colors,1); image 116 magick/colormap.c if (image->colormap == (PixelPacket *) NULL) image 117 magick/colormap.c image->colormap=(PixelPacket *) AcquireQuantumMemory(image->colors, image 118 magick/colormap.c sizeof(*image->colormap)); image 120 magick/colormap.c image->colormap=(PixelPacket *) ResizeQuantumMemory(image->colormap, image 121 magick/colormap.c image->colors,sizeof(*image->colormap)); image 122 magick/colormap.c if (image->colormap == (PixelPacket *) NULL) image 124 magick/colormap.c image->colors=0; image 125 magick/colormap.c image->storage_class=DirectClass; image 127 magick/colormap.c image->filename); image 129 magick/colormap.c for (i=0; i < (ssize_t) image->colors; i++) image 135 magick/colormap.c image->colormap[i].red=(Quantum) pixel; image 136 magick/colormap.c image->colormap[i].green=(Quantum) pixel; image 137 magick/colormap.c image->colormap[i].blue=(Quantum) pixel; image 138 magick/colormap.c image->colormap[i].opacity=OpaqueOpacity; image 140 magick/colormap.c return(SetImageStorageClass(image,PseudoClass)); image 169 magick/colormap.c MagickExport MagickBooleanType CycleColormapImage(Image *image, image 184 magick/colormap.c assert(image != (Image *) NULL); image 185 magick/colormap.c assert(image->signature == MagickSignature); image 186 magick/colormap.c if (image->debug != MagickFalse) image 187 magick/colormap.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 188 magick/colormap.c if (image->storage_class == DirectClass) image 189 magick/colormap.c (void) SetImageType(image,PaletteType); image 191 magick/colormap.c exception=(&image->exception); image 192 magick/colormap.c image_view=AcquireAuthenticCacheView(image,exception); image 197 magick/colormap.c for (y=0; y < (ssize_t) image->rows; y++) image 213 magick/colormap.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 220 magick/colormap.c for (x=0; x < (ssize_t) image->columns; x++) image 223 magick/colormap.c image->colors; image 225 magick/colormap.c index+=(ssize_t) image->colors; image 227 magick/colormap.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 284 magick/colormap.c MagickExport MagickBooleanType SortColormapByIntensity(Image *image) image 304 magick/colormap.c assert(image != (Image *) NULL); image 305 magick/colormap.c if (image->debug != MagickFalse) image 307 magick/colormap.c assert(image->signature == MagickSignature); image 308 magick/colormap.c if (image->storage_class != PseudoClass) image 313 magick/colormap.c pixels=(unsigned short *) AcquireQuantumMemory((size_t) image->colors, image 317 magick/colormap.c image->filename); image 325 magick/colormap.c for (i=0; i < (ssize_t) image->colors; i++) image 326 magick/colormap.c image->colormap[i].opacity=(IndexPacket) i; image 330 magick/colormap.c qsort((void *) image->colormap,(size_t) image->colors, image 331 magick/colormap.c sizeof(*image->colormap),IntensityCompare); image 338 magick/colormap.c for (i=0; i < (ssize_t) image->colors; i++) image 339 magick/colormap.c pixels[(ssize_t) image->colormap[i].opacity]=(unsigned short) i; image 341 magick/colormap.c exception=(&image->exception); image 342 magick/colormap.c image_view=AcquireAuthenticCacheView(image,exception); image 343 magick/colormap.c for (y=0; y < (ssize_t) image->rows; y++) image 357 magick/colormap.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 364 magick/colormap.c for (x=0; x < (ssize_t) image->columns; x++) image 368 magick/colormap.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 212 magick/colorspace.c MagickExport MagickBooleanType RGBTransformImage(Image *image, image 243 magick/colorspace.c assert(image != (Image *) NULL); image 244 magick/colorspace.c assert(image->signature == MagickSignature); image 245 magick/colorspace.c if (image->debug != MagickFalse) image 246 magick/colorspace.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 252 magick/colorspace.c exception=(&image->exception); image 263 magick/colorspace.c if (image->storage_class == PseudoClass) image 265 magick/colorspace.c if (SyncImage(image) == MagickFalse) image 267 magick/colorspace.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 270 magick/colorspace.c if (SetImageColorspace(image,colorspace) == MagickFalse) image 272 magick/colorspace.c GetMagickPixelPacket(image,&zero); image 273 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 278 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 297 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 306 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 308 magick/colorspace.c SetMagickPixelPacket(image,q,indexes+x,&pixel); image 313 magick/colorspace.c SetPixelPacket(image,&pixel,q,indexes+x); image 321 magick/colorspace.c image->type=image->matte == MagickFalse ? ColorSeparationType : image 323 magick/colorspace.c if (SetImageColorspace(image,colorspace) == MagickFalse) image 332 magick/colorspace.c if (image->storage_class == PseudoClass) image 334 magick/colorspace.c if (SyncImage(image) == MagickFalse) image 336 magick/colorspace.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 339 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 344 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 357 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 364 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 366 magick/colorspace.c SetPixelGray(q,ClampToQuantum(GetPixelIntensity(image,q))); image 374 magick/colorspace.c if (SetImageColorspace(image,colorspace) == MagickFalse) image 376 magick/colorspace.c image->type=GrayscaleType; image 404 magick/colorspace.c if (image->storage_class == PseudoClass) image 406 magick/colorspace.c if (SyncImage(image) == MagickFalse) image 408 magick/colorspace.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 411 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 416 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 429 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 436 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 572 magick/colorspace.c if (SetImageColorspace(image,colorspace) == MagickFalse) image 602 magick/colorspace.c value=GetImageProperty(image,"gamma"); image 606 magick/colorspace.c value=GetImageProperty(image,"film-gamma"); image 610 magick/colorspace.c value=GetImageProperty(image,"reference-black"); image 614 magick/colorspace.c value=GetImageProperty(image,"reference-white"); image 621 magick/colorspace.c image->filename); image 632 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 637 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 650 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 657 magick/colorspace.c for (x=(ssize_t) image->columns; x != 0; x--) image 681 magick/colorspace.c if (SetImageColorspace(image,colorspace) == MagickFalse) image 691 magick/colorspace.c if (image->storage_class == PseudoClass) image 693 magick/colorspace.c if (SyncImage(image) == MagickFalse) image 695 magick/colorspace.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 698 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 703 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 716 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 723 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 746 magick/colorspace.c if (SetImageColorspace(image,colorspace) == MagickFalse) image 766 magick/colorspace.c image->filename); image 980 magick/colorspace.c switch (image->storage_class) image 988 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 993 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 1014 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 1021 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 1043 magick/colorspace.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1051 magick/colorspace.c proceed=SetImageProgress(image,RGBTransformImageTag,progress++, image 1052 magick/colorspace.c image->rows); image 1070 magick/colorspace.c for (i=0; i < (ssize_t) image->colors; i++) image 1076 magick/colorspace.c image->colormap[i].red)); image 1078 magick/colorspace.c image->colormap[i].green)); image 1080 magick/colorspace.c image->colormap[i].blue)); image 1084 magick/colorspace.c image->colormap[i].red=ScaleMapToQuantum(pixel.red); image 1085 magick/colorspace.c image->colormap[i].green=ScaleMapToQuantum(pixel.green); image 1086 magick/colorspace.c image->colormap[i].blue=ScaleMapToQuantum(pixel.blue); image 1088 magick/colorspace.c (void) SyncImage(image); image 1098 magick/colorspace.c if (SetImageColorspace(image,colorspace) == MagickFalse) image 1128 magick/colorspace.c MagickExport MagickBooleanType SetImageColorspace(Image *image, image 1137 magick/colorspace.c if (image->colorspace == colorspace) image 1139 magick/colorspace.c image->colorspace=colorspace; image 1140 magick/colorspace.c image->rendering_intent=UndefinedIntent; image 1141 magick/colorspace.c image->gamma=1.000/2.200; image 1142 magick/colorspace.c (void) ResetMagickMemory(&image->chromaticity,0,sizeof(image->chromaticity)); image 1143 magick/colorspace.c type=image->type; image 1146 magick/colorspace.c if ((image->intensity == Rec601LuminancePixelIntensityMethod) || image 1147 magick/colorspace.c (image->intensity == Rec709LuminancePixelIntensityMethod)) image 1148 magick/colorspace.c image->gamma=1.0; image 1154 magick/colorspace.c image->gamma=1.0; image 1157 magick/colorspace.c image->rendering_intent=PerceptualIntent; image 1158 magick/colorspace.c image->chromaticity.red_primary.x=0.6400; image 1159 magick/colorspace.c image->chromaticity.red_primary.y=0.3300; image 1160 magick/colorspace.c image->chromaticity.red_primary.z=0.0300; image 1161 magick/colorspace.c image->chromaticity.green_primary.x=0.3000; image 1162 magick/colorspace.c image->chromaticity.green_primary.y=0.6000; image 1163 magick/colorspace.c image->chromaticity.green_primary.z=0.1000; image 1164 magick/colorspace.c image->chromaticity.blue_primary.x=0.1500; image 1165 magick/colorspace.c image->chromaticity.blue_primary.y=0.0600; image 1166 magick/colorspace.c image->chromaticity.blue_primary.z=0.7900; image 1167 magick/colorspace.c image->chromaticity.white_point.x=0.3127; image 1168 magick/colorspace.c image->chromaticity.white_point.y=0.3290; image 1169 magick/colorspace.c image->chromaticity.white_point.z=0.3583; image 1171 magick/colorspace.c status=SyncImagePixelCache(image,&image->exception); image 1172 magick/colorspace.c image->type=type; image 1203 magick/colorspace.c MagickExport MagickBooleanType SetImageGray(Image *image, image 1224 magick/colorspace.c assert(image != (Image *) NULL); image 1225 magick/colorspace.c assert(image->signature == MagickSignature); image 1226 magick/colorspace.c if (image->debug != MagickFalse) image 1227 magick/colorspace.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1228 magick/colorspace.c if ((image->type == BilevelType) || (image->type == GrayscaleType) || image 1229 magick/colorspace.c (image->type == GrayscaleMatteType)) image 1231 magick/colorspace.c if ((IsGrayColorspace(image->colorspace) == MagickFalse) && image 1232 magick/colorspace.c (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse)) image 1234 magick/colorspace.c value=GetImageProperty(image,"colorspace:auto-grayscale"); image 1238 magick/colorspace.c image_view=AcquireVirtualCacheView(image,exception); image 1239 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 1241 magick/colorspace.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1244 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 1261 magick/colorspace.c image->colorspace=GRAYColorspace; image 1262 magick/colorspace.c if (SyncImagePixelCache((Image *) image,exception) == MagickFalse) image 1264 magick/colorspace.c image->type=type; image 1265 magick/colorspace.c if ((type == GrayscaleType) && (image->matte != MagickFalse)) image 1266 magick/colorspace.c image->type=GrayscaleMatteType; image 1297 magick/colorspace.c MagickExport MagickBooleanType SetImageMonochrome(Image *image, image 1318 magick/colorspace.c assert(image != (Image *) NULL); image 1319 magick/colorspace.c assert(image->signature == MagickSignature); image 1320 magick/colorspace.c if (image->debug != MagickFalse) image 1321 magick/colorspace.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1322 magick/colorspace.c if (image->type == BilevelType) image 1324 magick/colorspace.c if ((IsGrayColorspace(image->colorspace) == MagickFalse) && image 1325 magick/colorspace.c (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse)) image 1327 magick/colorspace.c value=GetImageProperty(image,"colorspace:auto-grayscale"); image 1331 magick/colorspace.c image_view=AcquireVirtualCacheView(image,exception); image 1332 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 1334 magick/colorspace.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1337 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 1352 magick/colorspace.c image->colorspace=GRAYColorspace; image 1353 magick/colorspace.c if (SyncImagePixelCache((Image *) image,exception) == MagickFalse) image 1355 magick/colorspace.c image->type=type; image 1384 magick/colorspace.c MagickExport MagickBooleanType TransformImageColorspace(Image *image, image 1390 magick/colorspace.c assert(image != (Image *) NULL); image 1391 magick/colorspace.c assert(image->signature == MagickSignature); image 1392 magick/colorspace.c if (image->debug != MagickFalse) image 1393 magick/colorspace.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1394 magick/colorspace.c if (image->colorspace == colorspace) image 1396 magick/colorspace.c if ((image->colorspace == Rec709LumaColorspace) && image 1398 magick/colorspace.c return(SetImageColorspace(image,colorspace)); image 1399 magick/colorspace.c if ((image->colorspace == GRAYColorspace) && (image->gamma != 1.0) && image 1401 magick/colorspace.c return(SetImageColorspace(image,colorspace)); image 1403 magick/colorspace.c return(SetImageColorspace(image,colorspace)); image 1407 magick/colorspace.c (void) DeleteImageProfile(image,"icc"); image 1408 magick/colorspace.c (void) DeleteImageProfile(image,"icm"); image 1410 magick/colorspace.c return(TransformRGBImage(image,image->colorspace)); image 1412 magick/colorspace.c if (IssRGBColorspace(image->colorspace) == MagickFalse) image 1413 magick/colorspace.c status=TransformRGBImage(image,image->colorspace); image 1419 magick/colorspace.c if (RGBTransformImage(image,colorspace) == MagickFalse) image 1578 magick/colorspace.c MagickExport MagickBooleanType TransformRGBImage(Image *image, image 1843 magick/colorspace.c assert(image != (Image *) NULL); image 1844 magick/colorspace.c assert(image->signature == MagickSignature); image 1845 magick/colorspace.c if (image->debug != MagickFalse) image 1846 magick/colorspace.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1849 magick/colorspace.c exception=(&image->exception); image 1860 magick/colorspace.c if (image->storage_class == PseudoClass) image 1862 magick/colorspace.c if (SyncImage(image) == MagickFalse) image 1864 magick/colorspace.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1867 magick/colorspace.c GetMagickPixelPacket(image,&zero); image 1868 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 1873 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 1892 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 1901 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 1903 magick/colorspace.c SetMagickPixelPacket(image,q,indexes+x,&pixel); image 1905 magick/colorspace.c SetPixelPacket(image,&pixel,q,indexes+x); image 1913 magick/colorspace.c if (SetImageColorspace(image,sRGBColorspace) == MagickFalse) image 1924 magick/colorspace.c if (image->storage_class == PseudoClass) image 1926 magick/colorspace.c if (SyncImage(image) == MagickFalse) image 1928 magick/colorspace.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1931 magick/colorspace.c if (SetImageColorspace(image,sRGBColorspace) == MagickFalse) image 1933 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 1938 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 1951 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 1958 magick/colorspace.c for (x=(ssize_t) image->columns; x != 0; x--) image 1964 magick/colorspace.c if ((image->intensity == Rec601LuminancePixelIntensityMethod) || image 1965 magick/colorspace.c (image->intensity == Rec709LuminancePixelIntensityMethod)) image 1977 magick/colorspace.c if (SetImageColorspace(image,sRGBColorspace) == MagickFalse) image 2006 magick/colorspace.c if (image->storage_class == PseudoClass) image 2008 magick/colorspace.c if (SyncImage(image) == MagickFalse) image 2010 magick/colorspace.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2013 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 2018 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 2031 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 2038 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 2174 magick/colorspace.c if (SetImageColorspace(image,sRGBColorspace) == MagickFalse) image 2199 magick/colorspace.c value=GetImageProperty(image,"gamma"); image 2203 magick/colorspace.c value=GetImageProperty(image,"film-gamma"); image 2207 magick/colorspace.c value=GetImageProperty(image,"reference-black"); image 2211 magick/colorspace.c value=GetImageProperty(image,"reference-white"); image 2218 magick/colorspace.c image->filename); image 2229 magick/colorspace.c if (image->storage_class == PseudoClass) image 2231 magick/colorspace.c if (SyncImage(image) == MagickFalse) image 2233 magick/colorspace.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2236 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 2241 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 2254 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 2261 magick/colorspace.c for (x=(ssize_t) image->columns; x != 0; x--) image 2285 magick/colorspace.c if (SetImageColorspace(image,sRGBColorspace) == MagickFalse) image 2295 magick/colorspace.c if (image->storage_class == PseudoClass) image 2297 magick/colorspace.c if (SyncImage(image) == MagickFalse) image 2299 magick/colorspace.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2302 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 2307 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 2320 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 2327 magick/colorspace.c for (x=(ssize_t) image->columns; x != 0; x--) image 2349 magick/colorspace.c if (SetImageColorspace(image,sRGBColorspace) == MagickFalse) image 2376 magick/colorspace.c image->filename); image 2530 magick/colorspace.c switch (image->storage_class) image 2538 magick/colorspace.c image_view=AcquireAuthenticCacheView(image,exception); image 2543 magick/colorspace.c for (y=0; y < (ssize_t) image->rows; y++) image 2559 magick/colorspace.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 2566 magick/colorspace.c for (x=0; x < (ssize_t) image->columns; x++) image 2602 magick/colorspace.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2610 magick/colorspace.c proceed=SetImageProgress(image,TransformRGBImageTag,progress++, image 2611 magick/colorspace.c image->rows); image 2628 magick/colorspace.c for (i=0; i < (ssize_t) image->colors; i++) image 2638 magick/colorspace.c red=ScaleQuantumToMap(image->colormap[i].red); image 2639 magick/colorspace.c green=ScaleQuantumToMap(image->colormap[i].green); image 2640 magick/colorspace.c blue=ScaleQuantumToMap(image->colormap[i].blue); image 2659 magick/colorspace.c image->colormap[i].red=ClampToQuantum(pixel.red); image 2660 magick/colorspace.c image->colormap[i].green=ClampToQuantum(pixel.green); image 2661 magick/colorspace.c image->colormap[i].blue=ClampToQuantum(pixel.blue); image 2663 magick/colorspace.c (void) SyncImage(image); image 2673 magick/colorspace.c if (SetImageColorspace(image,sRGBColorspace) == MagickFalse) image 111 magick/compare.c MagickExport Image *CompareImages(Image *image,const Image *reconstruct_image, image 117 magick/compare.c highlight_image=CompareImageChannels(image,reconstruct_image, image 122 magick/compare.c static size_t GetNumberChannels(const Image *image,const ChannelType channel) image 135 magick/compare.c (image->matte != MagickFalse)) image 138 magick/compare.c (image->colorspace == CMYKColorspace)) image 144 magick/compare.c const Image *magick_restrict image, image 150 magick/compare.c if (GetNumberChannels(image,DefaultChannels) != image 156 magick/compare.c MagickExport Image *CompareImageChannels(Image *image, image 187 magick/compare.c assert(image != (Image *) NULL); image 188 magick/compare.c assert(image->signature == MagickSignature); image 189 magick/compare.c if (image->debug != MagickFalse) image 190 magick/compare.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 195 magick/compare.c if (image->debug != MagickFalse) image 196 magick/compare.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 198 magick/compare.c if (ValidateImageMorphology(image,reconstruct_image) == MagickFalse) image 200 magick/compare.c status=GetImageChannelDistortion(image,reconstruct_image,channel,metric, image 204 magick/compare.c difference_image=CloneImage(image,0,0,MagickTrue,exception); image 208 magick/compare.c rows=MagickMax(image->rows,reconstruct_image->rows); image 209 magick/compare.c columns=MagickMax(image->columns,reconstruct_image->columns); image 210 magick/compare.c highlight_image=CloneImage(image,columns,rows,MagickTrue,exception); image 225 magick/compare.c artifact=GetImageArtifact(image,"highlight-color"); image 229 magick/compare.c artifact=GetImageArtifact(image,"lowlight-color"); image 241 magick/compare.c GetMagickPixelPacket(image,&zero); image 242 magick/compare.c image_view=AcquireVirtualCacheView(image,exception); image 296 magick/compare.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 317 magick/compare.c (image->matte != MagickFalse) && image 321 magick/compare.c (image->colorspace == CMYKColorspace) && image 342 magick/compare.c (void) CompositeImage(difference_image,image->compose,highlight_image,0,0); image 385 magick/compare.c MagickExport MagickBooleanType GetImageDistortion(Image *image, image 392 magick/compare.c status=GetImageChannelDistortion(image,reconstruct_image,CompositeChannels, image 397 magick/compare.c static MagickBooleanType GetAbsoluteDistortion(const Image *image, image 422 magick/compare.c GetMagickPixelPacket(image,&zero); image 423 magick/compare.c rows=MagickMax(image->rows,reconstruct_image->rows); image 424 magick/compare.c columns=MagickMax(image->columns,reconstruct_image->columns); image 425 magick/compare.c image_view=AcquireVirtualCacheView(image,exception); image 468 magick/compare.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 480 magick/compare.c (image->matte != MagickFalse)) image 483 magick/compare.c (image->colorspace == CMYKColorspace)) image 501 magick/compare.c static MagickBooleanType GetFuzzDistortion(const Image *image, image 523 magick/compare.c rows=MagickMax(image->rows,reconstruct_image->rows); image 524 magick/compare.c columns=MagickMax(image->columns,reconstruct_image->columns); image 525 magick/compare.c image_view=AcquireVirtualCacheView(image,exception); image 567 magick/compare.c Sa=QuantumScale*(image->matte != MagickFalse ? GetPixelAlpha(p) : image 589 magick/compare.c if (((channel & OpacityChannel) != 0) && ((image->matte != MagickFalse) || image 592 magick/compare.c distance=QuantumScale*((image->matte != MagickFalse ? image 600 magick/compare.c (image->colorspace == CMYKColorspace) && image 621 magick/compare.c if (((channel & OpacityChannel) != 0) && ((image->matte != MagickFalse) || image 624 magick/compare.c (GetNumberChannels(image,channel)-1); image 626 magick/compare.c distortion[CompositeChannels]/=(double) GetNumberChannels(image,channel); image 631 magick/compare.c static MagickBooleanType GetMeanAbsoluteDistortion(const Image *image, image 653 magick/compare.c rows=MagickMax(image->rows,reconstruct_image->rows); image 654 magick/compare.c columns=MagickMax(image->columns,reconstruct_image->columns); image 655 magick/compare.c image_view=AcquireVirtualCacheView(image,exception); image 697 magick/compare.c Sa=QuantumScale*(image->matte != MagickFalse ? GetPixelAlpha(p) : image 720 magick/compare.c (image->matte != MagickFalse)) image 728 magick/compare.c (image->colorspace == CMYKColorspace)) image 748 magick/compare.c distortion[CompositeChannels]/=(double) GetNumberChannels(image,channel); image 752 magick/compare.c static MagickBooleanType GetMeanErrorPerPixel(Image *image, image 779 magick/compare.c rows=MagickMax(image->rows,reconstruct_image->rows); image 780 magick/compare.c columns=MagickMax(image->columns,reconstruct_image->columns); image 781 magick/compare.c image_view=AcquireVirtualCacheView(image,exception); image 812 magick/compare.c Sa=QuantumScale*(image->matte != MagickFalse ? GetPixelAlpha(p) : image 847 magick/compare.c (image->matte != MagickFalse)) image 859 magick/compare.c (image->colorspace == CMYKColorspace) && image 877 magick/compare.c image->error.mean_error_per_pixel=distortion[CompositeChannels]/area; image 878 magick/compare.c image->error.normalized_mean_error=QuantumScale*QuantumScale*mean_error/area; image 879 magick/compare.c image->error.normalized_maximum_error=QuantumScale*maximum_error; image 883 magick/compare.c static MagickBooleanType GetMeanSquaredDistortion(const Image *image, image 905 magick/compare.c rows=MagickMax(image->rows,reconstruct_image->rows); image 906 magick/compare.c columns=MagickMax(image->columns,reconstruct_image->columns); image 907 magick/compare.c image_view=AcquireVirtualCacheView(image,exception); image 949 magick/compare.c Sa=QuantumScale*(image->matte != MagickFalse ? GetPixelAlpha(p) : image 972 magick/compare.c (image->matte != MagickFalse)) image 980 magick/compare.c (image->colorspace == CMYKColorspace) && image 1001 magick/compare.c distortion[CompositeChannels]/=(double) GetNumberChannels(image,channel); image 1006 magick/compare.c const Image *image,const Image *reconstruct_image,const ChannelType channel, image 1041 magick/compare.c image_statistics=GetImageChannelStatistics(image,exception); image 1058 magick/compare.c rows=MagickMax(image->rows,reconstruct_image->rows); image 1059 magick/compare.c columns=MagickMax(image->columns,reconstruct_image->columns); image 1061 magick/compare.c image_view=AcquireVirtualCacheView(image,exception); image 1093 magick/compare.c Sa=QuantumScale*(image->matte != MagickFalse ? GetPixelAlpha(p) : image 1109 magick/compare.c if (((channel & OpacityChannel) != 0) && (image->matte != MagickFalse)) image 1114 magick/compare.c (image->colorspace == CMYKColorspace) && image 1123 magick/compare.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1128 magick/compare.c proceed=SetImageProgress(image,SimilarityImageTag,progress++,rows); image 1158 magick/compare.c if (((channel & OpacityChannel) != 0) && (image->matte != MagickFalse)) image 1161 magick/compare.c if (((channel & IndexChannel) != 0) && (image->colorspace == CMYKColorspace)) image 1165 magick/compare.c GetNumberChannels(image,channel)); image 1176 magick/compare.c static MagickBooleanType GetPeakAbsoluteDistortion(const Image *image, image 1195 magick/compare.c rows=MagickMax(image->rows,reconstruct_image->rows); image 1196 magick/compare.c columns=MagickMax(image->columns,reconstruct_image->columns); image 1197 magick/compare.c image_view=AcquireVirtualCacheView(image,exception); image 1239 magick/compare.c Sa=QuantumScale*(image->matte != MagickFalse ? GetPixelAlpha(p) : image 1268 magick/compare.c (image->matte != MagickFalse)) image 1278 magick/compare.c (image->colorspace == CMYKColorspace) && image 1312 magick/compare.c static MagickBooleanType GetPeakSignalToNoiseRatio(const Image *image, image 1319 magick/compare.c status=GetMeanSquaredDistortion(image,reconstruct_image,channel,distortion, image 1331 magick/compare.c (image->matte != MagickFalse)) image 1335 magick/compare.c (image->colorspace == CMYKColorspace)) image 1343 magick/compare.c static MagickBooleanType GetPerceptualHashDistortion(const Image *image, image 1360 magick/compare.c image_phash=GetImageChannelPerceptualHash(image,exception); image 1395 magick/compare.c if (((channel & OpacityChannel) != 0) && (image->matte != MagickFalse) && image 1404 magick/compare.c (image->colorspace == CMYKColorspace) && image 1442 magick/compare.c if (((channel & OpacityChannel) != 0) && (image->matte != MagickFalse) && image 1451 magick/compare.c (image->colorspace == CMYKColorspace) && image 1469 magick/compare.c static MagickBooleanType GetRootMeanSquaredDistortion(const Image *image, image 1476 magick/compare.c status=GetMeanSquaredDistortion(image,reconstruct_image,channel,distortion, image 1485 magick/compare.c (image->matte != MagickFalse)) image 1488 magick/compare.c (image->colorspace == CMYKColorspace)) image 1494 magick/compare.c MagickExport MagickBooleanType GetImageChannelDistortion(Image *image, image 1507 magick/compare.c assert(image != (Image *) NULL); image 1508 magick/compare.c assert(image->signature == MagickSignature); image 1509 magick/compare.c if (image->debug != MagickFalse) image 1510 magick/compare.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1515 magick/compare.c if (image->debug != MagickFalse) image 1516 magick/compare.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1518 magick/compare.c if (ValidateImageMorphology(image,reconstruct_image) == MagickFalse) image 1519 magick/compare.c ThrowBinaryException(ImageError,"ImageMorphologyDiffers",image->filename); image 1534 magick/compare.c status=GetAbsoluteDistortion(image,reconstruct_image,channel, image 1540 magick/compare.c status=GetFuzzDistortion(image,reconstruct_image,channel, image 1546 magick/compare.c status=GetMeanAbsoluteDistortion(image,reconstruct_image,channel, image 1552 magick/compare.c status=GetMeanErrorPerPixel(image,reconstruct_image,channel, image 1558 magick/compare.c status=GetMeanSquaredDistortion(image,reconstruct_image,channel, image 1565 magick/compare.c status=GetNormalizedCrossCorrelationDistortion(image,reconstruct_image, image 1571 magick/compare.c status=GetPeakAbsoluteDistortion(image,reconstruct_image,channel, image 1577 magick/compare.c status=GetPeakSignalToNoiseRatio(image,reconstruct_image,channel, image 1583 magick/compare.c status=GetPerceptualHashDistortion(image,reconstruct_image,channel, image 1589 magick/compare.c status=GetRootMeanSquaredDistortion(image,reconstruct_image,channel, image 1596 magick/compare.c (void) FormatImageProperty(image,"distortion","%.*g",GetMagickPrecision(), image 1633 magick/compare.c MagickExport double *GetImageChannelDistortions(Image *image, image 1646 magick/compare.c assert(image != (Image *) NULL); image 1647 magick/compare.c assert(image->signature == MagickSignature); image 1648 magick/compare.c if (image->debug != MagickFalse) image 1649 magick/compare.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1652 magick/compare.c if (image->debug != MagickFalse) image 1653 magick/compare.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1655 magick/compare.c if (ValidateImageMorphology(image,reconstruct_image) == MagickFalse) image 1657 magick/compare.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1658 magick/compare.c ImageError,"ImageMorphologyDiffers","`%s'",image->filename); image 1676 magick/compare.c status=GetAbsoluteDistortion(image,reconstruct_image,CompositeChannels, image 1682 magick/compare.c status=GetFuzzDistortion(image,reconstruct_image,CompositeChannels, image 1688 magick/compare.c status=GetMeanAbsoluteDistortion(image,reconstruct_image, image 1694 magick/compare.c status=GetMeanErrorPerPixel(image,reconstruct_image,CompositeChannels, image 1700 magick/compare.c status=GetMeanSquaredDistortion(image,reconstruct_image,CompositeChannels, image 1707 magick/compare.c status=GetNormalizedCrossCorrelationDistortion(image,reconstruct_image, image 1713 magick/compare.c status=GetPeakAbsoluteDistortion(image,reconstruct_image, image 1719 magick/compare.c status=GetPeakSignalToNoiseRatio(image,reconstruct_image, image 1725 magick/compare.c status=GetPerceptualHashDistortion(image,reconstruct_image, image 1731 magick/compare.c status=GetRootMeanSquaredDistortion(image,reconstruct_image, image 1791 magick/compare.c MagickExport MagickBooleanType IsImagesEqual(Image *image, image 1817 magick/compare.c assert(image != (Image *) NULL); image 1818 magick/compare.c assert(image->signature == MagickSignature); image 1821 magick/compare.c if (ValidateImageMorphology(image,reconstruct_image) == MagickFalse) image 1822 magick/compare.c ThrowBinaryException(ImageError,"ImageMorphologyDiffers",image->filename); image 1827 magick/compare.c exception=(&image->exception); image 1828 magick/compare.c rows=MagickMax(image->rows,reconstruct_image->rows); image 1829 magick/compare.c columns=MagickMax(image->columns,reconstruct_image->columns); image 1830 magick/compare.c image_view=AcquireVirtualCacheView(image,exception); image 1874 magick/compare.c if (image->matte != MagickFalse) image 1883 magick/compare.c if ((image->colorspace == CMYKColorspace) && image 1900 magick/compare.c image->error.mean_error_per_pixel=(double) (mean_error_per_pixel/area); image 1901 magick/compare.c image->error.normalized_mean_error=(double) (QuantumScale*QuantumScale* image 1903 magick/compare.c image->error.normalized_maximum_error=(double) (QuantumScale*maximum_error); image 1904 magick/compare.c status=image->error.mean_error_per_pixel == 0.0 ? MagickTrue : MagickFalse; image 1943 magick/compare.c static double GetSimilarityMetric(const Image *image,const Image *reference, image 1962 magick/compare.c similarity_image=CropImage(image,&geometry,exception); image 1973 magick/compare.c MagickExport Image *SimilarityImage(Image *image,const Image *reference, image 1979 magick/compare.c similarity_image=SimilarityMetricImage(image,reference, image 1984 magick/compare.c MagickExport Image *SimilarityMetricImage(Image *image,const Image *reference, image 2011 magick/compare.c assert(image != (const Image *) NULL); image 2012 magick/compare.c assert(image->signature == MagickSignature); image 2013 magick/compare.c if (image->debug != MagickFalse) image 2014 magick/compare.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2020 magick/compare.c if (ValidateImageMorphology(image,reference) == MagickFalse) image 2022 magick/compare.c similarity_image=CloneImage(image,image->columns-reference->columns+1, image 2023 magick/compare.c image->rows-reference->rows+1,MagickTrue,exception); image 2037 magick/compare.c artifact=GetImageArtifact(image,"compare:similarity-threshold"); image 2048 magick/compare.c for (y=0; y < (ssize_t) (image->rows-reference->rows+1); y++) image 2073 magick/compare.c for (x=0; x < (ssize_t) (image->columns-reference->columns+1); x++) image 2080 magick/compare.c similarity=GetSimilarityMetric(image,reference,metric,x,y,exception); image 2102 magick/compare.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2110 magick/compare.c proceed=SetImageProgress(image,SimilarityImageTag,progress++, image 2111 magick/compare.c image->rows); image 1610 magick/composite.c MagickExport MagickBooleanType CompositeImage(Image *image, image 1617 magick/composite.c status=CompositeImageChannel(image,DefaultChannels,compose,source_image, image 1622 magick/composite.c MagickExport MagickBooleanType CompositeImageChannel(Image *image, image 1674 magick/composite.c assert(image != (Image *) NULL); image 1675 magick/composite.c assert(image->signature == MagickSignature); image 1676 magick/composite.c if (image->debug != MagickFalse) image 1677 magick/composite.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1680 magick/composite.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1682 magick/composite.c exception=(&image->exception); image 1686 magick/composite.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 1687 magick/composite.c (void) SetImageColorspace(image,sRGBColorspace); image 1688 magick/composite.c (void) SetImageColorspace(source_image,image->colorspace); image 1689 magick/composite.c GetMagickPixelPacket(image,&zero); image 1717 magick/composite.c if (image->matte != MagickFalse) image 1726 magick/composite.c if ((x_offset+(ssize_t) source_image->columns) >= (ssize_t) image->columns) image 1728 magick/composite.c if ((y_offset+(ssize_t) source_image->rows) >= (ssize_t) image->rows) image 1732 magick/composite.c image_view=AcquireAuthenticCacheView(image,exception); image 1775 magick/composite.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1783 magick/composite.c proceed=SetImageProgress(image,CompositeImageTag, image 1784 magick/composite.c (MagickOffsetType) y,image->rows); image 1801 magick/composite.c if (image->matte == MagickFalse) image 1802 magick/composite.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1833 magick/composite.c canvas_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 1901 magick/composite.c resample_filter=AcquireResampleFilter(image,exception); image 1925 magick/composite.c if (((y+y_offset) < 0) || ((y+y_offset) >= (ssize_t) image->rows)) image 1936 magick/composite.c if (((x_offset+x) < 0) || ((x_offset+x) >= (ssize_t) image->columns)) image 2012 magick/composite.c canvas_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 2033 magick/composite.c horizontal_scale=(MagickRealType) (image->columns-1)/2.0; image 2034 magick/composite.c vertical_scale=(MagickRealType) (image->rows-1)/2.0; image 2050 magick/composite.c horizontal_scale*=(image->columns-1)/200.0; image 2051 magick/composite.c vertical_scale*=(image->rows-1)/200.0; image 2071 magick/composite.c center.x=((MagickRealType) image->columns-1)/2.0; image 2082 magick/composite.c center.y=((MagickRealType) image->rows-1)/2.0; image 2096 magick/composite.c image_view=AcquireVirtualCacheView(image,exception); image 2110 magick/composite.c if (((y+y_offset) < 0) || ((y+y_offset) >= (ssize_t) image->rows)) image 2121 magick/composite.c if (((x_offset+x) < 0) || ((x_offset+x) >= (ssize_t) image->columns)) image 2137 magick/composite.c (void) InterpolateMagickPixelPacket(image,image_view, image 2269 magick/composite.c status=AccelerateCompositeImage(image,channel,compose,source_image, image 2278 magick/composite.c image_view=AcquireAuthenticCacheView(image,exception); image 2283 magick/composite.c for (y=0; y < (ssize_t) image->rows; y++) image 2341 magick/composite.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2350 magick/composite.c GetMagickPixelPacket(image,&canvas); image 2354 magick/composite.c for (x=0; x < (ssize_t) image->columns; x++) image 2369 magick/composite.c if (image->matte != MagickFalse) image 2371 magick/composite.c if (image->colorspace == CMYKColorspace) image 2373 magick/composite.c if (image->colorspace == CMYKColorspace) image 2421 magick/composite.c if (image->colorspace == CMYKColorspace) image 2434 magick/composite.c if (image->matte != MagickFalse) image 2438 magick/composite.c if (image->colorspace == CMYKColorspace) image 2848 magick/composite.c if (image->colorspace == CMYKColorspace) image 2863 magick/composite.c if (image->colorspace == CMYKColorspace) image 2873 magick/composite.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2881 magick/composite.c proceed=SetImageProgress(image,CompositeImageTag,progress++, image 2882 magick/composite.c image->rows); image 2921 magick/composite.c MagickExport MagickBooleanType TextureImage(Image *image,const Image *texture) image 2941 magick/composite.c assert(image != (Image *) NULL); image 2942 magick/composite.c if (image->debug != MagickFalse) image 2944 magick/composite.c assert(image->signature == MagickSignature); image 2947 magick/composite.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2949 magick/composite.c exception=(&image->exception); image 2953 magick/composite.c (void) TransformImageColorspace(texture_image,image->colorspace); image 2956 magick/composite.c if ((image->compose != CopyCompositeOp) && image 2957 magick/composite.c ((image->compose != OverCompositeOp) || (image->matte != MagickFalse) || image 2963 magick/composite.c for (y=0; y < (ssize_t) image->rows; y+=(ssize_t) texture_image->rows) image 2970 magick/composite.c for (x=0; x < (ssize_t) image->columns; x+=(ssize_t) texture_image->columns) image 2975 magick/composite.c thread_status=CompositeImage(image,image->compose,texture_image,x+ image 2983 magick/composite.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2988 magick/composite.c proceed=SetImageProgress(image,TextureImageTag,(MagickOffsetType) image 2989 magick/composite.c y,image->rows); image 2994 magick/composite.c (void) SetImageProgress(image,TextureImageTag,(MagickOffsetType) image 2995 magick/composite.c image->rows,image->rows); image 3004 magick/composite.c image_view=AcquireAuthenticCacheView(image,exception); image 3009 magick/composite.c for (y=0; y < (ssize_t) image->rows; y++) image 3037 magick/composite.c q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 3046 magick/composite.c for (x=0; x < (ssize_t) image->columns; x+=(ssize_t) texture_image->columns) image 3049 magick/composite.c if ((x+(ssize_t) width) > (ssize_t) image->columns) image 3050 magick/composite.c width=image->columns-x; image 3052 magick/composite.c if ((image->colorspace == CMYKColorspace) && image 3064 magick/composite.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3072 magick/composite.c proceed=SetImageProgress(image,TextureImageTag,(MagickOffsetType) y, image 3073 magick/composite.c image->rows); image 268 magick/compress.c MagickExport void Ascii85Initialize(Image *image) image 273 magick/compress.c if (image->ascii85 == (Ascii85Info *) NULL) image 274 magick/compress.c image->ascii85=(Ascii85Info *) AcquireMagickMemory(sizeof(*image->ascii85)); image 275 magick/compress.c if (image->ascii85 == (Ascii85Info *) NULL) image 277 magick/compress.c (void) ResetMagickMemory(image->ascii85,0,sizeof(*image->ascii85)); image 278 magick/compress.c image->ascii85->line_break=MaxLineExtent << 1; image 279 magick/compress.c image->ascii85->offset=0; image 282 magick/compress.c MagickExport void Ascii85Flush(Image *image) image 287 magick/compress.c assert(image != (Image *) NULL); image 288 magick/compress.c assert(image->signature == MagickSignature); image 289 magick/compress.c if (image->debug != MagickFalse) image 290 magick/compress.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 291 magick/compress.c assert(image->ascii85 != (Ascii85Info *) NULL); image 292 magick/compress.c if (image->ascii85->offset > 0) image 294 magick/compress.c image->ascii85->buffer[image->ascii85->offset]='\0'; image 295 magick/compress.c image->ascii85->buffer[image->ascii85->offset+1]='\0'; image 296 magick/compress.c image->ascii85->buffer[image->ascii85->offset+2]='\0'; image 297 magick/compress.c tuple=Ascii85Tuple(image->ascii85->buffer); image 298 magick/compress.c (void) WriteBlob(image,(size_t) image->ascii85->offset+1, image 301 magick/compress.c (void) WriteBlobByte(image,'~'); image 302 magick/compress.c (void) WriteBlobByte(image,'>'); image 303 magick/compress.c (void) WriteBlobByte(image,'\n'); image 306 magick/compress.c MagickExport void Ascii85Encode(Image *image,const unsigned char code) image 317 magick/compress.c assert(image != (Image *) NULL); image 318 magick/compress.c assert(image->signature == MagickSignature); image 319 magick/compress.c assert(image->ascii85 != (Ascii85Info *) NULL); image 320 magick/compress.c image->ascii85->buffer[image->ascii85->offset]=code; image 321 magick/compress.c image->ascii85->offset++; image 322 magick/compress.c if (image->ascii85->offset < 4) image 324 magick/compress.c p=image->ascii85->buffer; image 325 magick/compress.c for (n=image->ascii85->offset; n >= 4; n-=4) image 329 magick/compress.c image->ascii85->line_break--; image 330 magick/compress.c if ((image->ascii85->line_break < 0) && (*q != '%')) image 332 magick/compress.c (void) WriteBlobByte(image,'\n'); image 333 magick/compress.c image->ascii85->line_break=2*MaxLineExtent; image 335 magick/compress.c (void) WriteBlobByte(image,(unsigned char) *q); image 339 magick/compress.c image->ascii85->offset=n; image 342 magick/compress.c image->ascii85->buffer[n]=(*p++); image 368 magick/compress.c MagickExport MagickBooleanType HuffmanDecodeImage(Image *image) image 390 magick/compress.c byte=ReadBlobByte(image); \ image 455 magick/compress.c assert(image != (Image *) NULL); image 456 magick/compress.c assert(image->signature == MagickSignature); image 457 magick/compress.c if (image->debug != MagickFalse) image 458 magick/compress.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 461 magick/compress.c scanline=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, image 467 magick/compress.c image->filename); image 492 magick/compress.c image->x_resolution=204.0; image 493 magick/compress.c image->y_resolution=196.0; image 494 magick/compress.c image->units=PixelsPerInchResolution; image 495 magick/compress.c exception=(&image->exception); image 496 magick/compress.c image_view=AcquireAuthenticCacheView(image,exception); image 497 magick/compress.c for (y=0; ((y < (ssize_t) image->rows) && (null_lines < 3)); ) image 509 magick/compress.c for (x=0; x < (ssize_t) image->columns; x++) image 524 magick/compress.c if (x >= (ssize_t) image->columns) image 582 magick/compress.c if ((x+count) > (ssize_t) image->columns) image 583 magick/compress.c count=(ssize_t) image->columns-x; image 616 magick/compress.c q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 620 magick/compress.c for (x=0; x < (ssize_t) image->columns; x++) image 624 magick/compress.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 628 magick/compress.c proceed=SetImageProgress(image,LoadImageTag,y,image->rows); image 634 magick/compress.c image->rows=(size_t) MagickMax((size_t) y-3,1); image 635 magick/compress.c image->compression=FaxCompression; image 674 magick/compress.c Image *image,Image *inject_image) image 696 magick/compress.c (void) WriteBlobByte(image,(unsigned char) byte); \ image 698 magick/compress.c Ascii85Encode(image,byte); \ image 749 magick/compress.c assert(image != (Image *) NULL); image 750 magick/compress.c assert(image->signature == MagickSignature); image 751 magick/compress.c if (image->debug != MagickFalse) image 752 magick/compress.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 765 magick/compress.c huffman_image=CloneImage(inject_image,0,0,MagickTrue,&image->exception); image 775 magick/compress.c Ascii85Initialize(image); image 878 magick/compress.c (void) WriteBlobByte(image,byte); image 880 magick/compress.c Ascii85Encode(image,byte); image 883 magick/compress.c Ascii85Flush(image); image 919 magick/compress.c MagickExport MagickBooleanType LZWEncodeImage(Image *image,const size_t length, image 930 magick/compress.c (void) WriteBlobByte(image,(unsigned char) (accumulator >> 24)); \ image 963 magick/compress.c assert(image != (Image *) NULL); image 964 magick/compress.c assert(image->signature == MagickSignature); image 965 magick/compress.c if (image->debug != MagickFalse) image 966 magick/compress.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1046 magick/compress.c (void) WriteBlobByte(image,(unsigned char) (accumulator >> 24)); image 1082 magick/compress.c MagickExport MagickBooleanType PackbitsEncodeImage(Image *image, image 1098 magick/compress.c assert(image != (Image *) NULL); image 1099 magick/compress.c assert(image->signature == MagickSignature); image 1100 magick/compress.c if (image->debug != MagickFalse) image 1101 magick/compress.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1106 magick/compress.c image->filename); image 1114 magick/compress.c (void) WriteBlobByte(image,(unsigned char) 0); image 1115 magick/compress.c (void) WriteBlobByte(image,*pixels); image 1121 magick/compress.c (void) WriteBlobByte(image,(unsigned char) 1); image 1122 magick/compress.c (void) WriteBlobByte(image,*pixels); image 1123 magick/compress.c (void) WriteBlobByte(image,pixels[1]); image 1131 magick/compress.c (void) WriteBlobByte(image,(unsigned char) ((256-3)+1)); image 1132 magick/compress.c (void) WriteBlobByte(image,*pixels); image 1135 magick/compress.c (void) WriteBlobByte(image,(unsigned char) 2); image 1136 magick/compress.c (void) WriteBlobByte(image,*pixels); image 1137 magick/compress.c (void) WriteBlobByte(image,pixels[1]); image 1138 magick/compress.c (void) WriteBlobByte(image,pixels[2]); image 1156 magick/compress.c (void) WriteBlobByte(image,(unsigned char) ((256-count)+1)); image 1157 magick/compress.c (void) WriteBlobByte(image,*pixels); image 1176 magick/compress.c (void) WriteBlobByte(image,packbits[j]); image 1182 magick/compress.c (void) WriteBlobByte(image,(unsigned char) 128); /* EOD marker */ image 1233 magick/compress.c MagickExport MagickBooleanType ZLIBEncodeImage(Image *image,const size_t length, image 1251 magick/compress.c assert(image != (Image *) NULL); image 1252 magick/compress.c assert(image->signature == MagickSignature); image 1253 magick/compress.c if (image->debug != MagickFalse) image 1254 magick/compress.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1260 magick/compress.c image->filename); image 1268 magick/compress.c status=deflateInit(&stream,(int) (image->quality == image 1269 magick/compress.c UndefinedCompressionQuality ? 7 : MagickMin(image->quality/10,9))); image 1280 magick/compress.c ThrowBinaryException(CoderError,"UnableToZipCompressImage",image->filename) image 1282 magick/compress.c (void) WriteBlobByte(image,compress_pixels[i]); image 1287 magick/compress.c MagickExport MagickBooleanType ZLIBEncodeImage(Image *image, image 1290 magick/compress.c assert(image != (Image *) NULL); image 1291 magick/compress.c assert(image->signature == MagickSignature); image 1292 magick/compress.c if (image->debug != MagickFalse) image 1293 magick/compress.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1294 magick/compress.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 1296 magick/compress.c image->filename); image 133 magick/constitute.c *image; image 146 magick/constitute.c image=AcquireImage((ImageInfo *) NULL); image 147 magick/constitute.c if (image == (Image *) NULL) image 151 magick/constitute.c image->columns=columns; image 152 magick/constitute.c image->rows=rows; image 153 magick/constitute.c (void) SetImageBackgroundColor(image); image 154 magick/constitute.c status=ImportImagePixels(image,0,0,columns,rows,map,storage,pixels); image 157 magick/constitute.c InheritException(exception,&image->exception); image 158 magick/constitute.c image=DestroyImage(image); image 160 magick/constitute.c return(image); image 196 magick/constitute.c static size_t PingStream(const Image *magick_unused(image), image 199 magick/constitute.c magick_unreferenced(image); image 213 magick/constitute.c *image; image 226 magick/constitute.c image=ReadStream(ping_info,&PingStream,exception); image 227 magick/constitute.c if (image != (Image *) NULL) image 229 magick/constitute.c ResetTimer(&image->timer); image 231 magick/constitute.c (void) IdentifyImage(image,stdout,MagickFalse); image 234 magick/constitute.c return(image); image 268 magick/constitute.c *image, image 313 magick/constitute.c image=PingImage(read_info,exception); image 314 magick/constitute.c if (image == (Image *) NULL) image 316 magick/constitute.c AppendImageToList(&images,image); image 376 magick/constitute.c *image, image 445 magick/constitute.c image=AcquireImage(read_info); image 446 magick/constitute.c (void) CopyMagickString(image->filename,read_info->filename, image 448 magick/constitute.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 452 magick/constitute.c image=DestroyImage(image); image 455 magick/constitute.c if (IsBlobSeekable(image) == MagickFalse) image 461 magick/constitute.c status=ImageToFile(image,read_info->filename,exception); image 464 magick/constitute.c (void) CloseBlob(image); image 466 magick/constitute.c image=DestroyImage(image); image 471 magick/constitute.c (void) CloseBlob(image); image 472 magick/constitute.c image=DestroyImage(image); image 474 magick/constitute.c image=NewImageList(); image 492 magick/constitute.c image=GetImageDecoder(magick_info)(read_info,exception); image 512 magick/constitute.c image=AcquireImage(read_info); image 513 magick/constitute.c if (image == (Image *) NULL) image 518 magick/constitute.c (void) CopyMagickString(image->filename,read_info->filename, image 523 magick/constitute.c (void) InvokeDelegate(read_info,image,read_info->magick,(char *) NULL, image 527 magick/constitute.c image=DestroyImageList(image); image 547 magick/constitute.c image=(Image *) (GetImageDecoder(magick_info))(read_info,exception); image 555 magick/constitute.c if (image != (Image *) NULL) image 556 magick/constitute.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 558 magick/constitute.c if (image == (Image *) NULL) image 561 magick/constitute.c return(image); image 566 magick/constitute.c "notify the developers",image->magick,exception->severity); image 567 magick/constitute.c if (IsBlobTemporary(image) != MagickFalse) image 569 magick/constitute.c if ((GetNextImageInList(image) != (Image *) NULL) && image 575 magick/constitute.c clones=CloneImages(image,read_info->scenes,exception); image 581 magick/constitute.c image=DestroyImageList(image); image 582 magick/constitute.c image=GetFirstImageInList(clones); image 585 magick/constitute.c for (next=image; next != (Image *) NULL; next=GetNextImageInList(next)) image 604 magick/constitute.c if (IsBlobTemporary(image) != MagickFalse) image 760 magick/constitute.c image=next; image 763 magick/constitute.c return(GetFirstImageInList(image)); image 797 magick/constitute.c *image, image 843 magick/constitute.c image=ReadImage(read_info,exception); image 844 magick/constitute.c if (image == (Image *) NULL) image 846 magick/constitute.c AppendImageToList(&images,image); image 851 magick/constitute.c image=ReadImage(read_info,exception); image 853 magick/constitute.c return(image); image 890 magick/constitute.c *image; image 907 magick/constitute.c image=NewImageList(); image 921 magick/constitute.c image=BlobToImage(read_info,blob,length,exception); image 924 magick/constitute.c return(image); image 956 magick/constitute.c Image *image) image 995 magick/constitute.c if (image->debug != MagickFalse) image 998 magick/constitute.c assert(image != (Image *) NULL); image 999 magick/constitute.c assert(image->signature == MagickSignature); image 1000 magick/constitute.c exception=(&image->exception); image 1003 magick/constitute.c (void) CopyMagickString(write_info->filename,image->filename,MaxTextExtent); image 1006 magick/constitute.c (void) CopyMagickString(write_info->magick,image->magick,MaxTextExtent); image 1009 magick/constitute.c if (image->clip_mask == (Image *) NULL) image 1012 magick/constitute.c OptionError,"NoClipPathDefined","`%s'",image->filename); image 1016 magick/constitute.c image=image->clip_mask; image 1019 magick/constitute.c (void) CopyMagickString(filename,image->filename,MaxTextExtent); image 1020 magick/constitute.c (void) CopyMagickString(image->filename,write_info->filename,MaxTextExtent); image 1038 magick/constitute.c image->endian=UndefinedEndian; image 1047 magick/constitute.c image->endian=(*(char *) &lsb_first) == 1 ? LSBEndian : MSBEndian; image 1050 magick/constitute.c (void) SyncImageProfiles(image); image 1051 magick/constitute.c DisassociateImageStream(image); image 1056 magick/constitute.c (GetPreviousImageInList(image) == (Image *) NULL) && image 1057 magick/constitute.c (GetNextImageInList(image) == (Image *) NULL) && image 1058 magick/constitute.c (IsTaintImage(image) == MagickFalse)) image 1060 magick/constitute.c delegate_info=GetDelegateInfo(image->magick,write_info->magick, image 1064 magick/constitute.c (IsPathAccessible(image->magick_filename) != MagickFalse)) image 1069 magick/constitute.c (void) CopyMagickString(image->filename,image->magick_filename, image 1071 magick/constitute.c status=InvokeDelegate(write_info,image,image->magick, image 1074 magick/constitute.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 1086 magick/constitute.c (void) CopyMagickString(filename,image->filename,MaxTextExtent); image 1087 magick/constitute.c status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); image 1088 magick/constitute.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 1091 magick/constitute.c if (IsBlobSeekable(image) == MagickFalse) image 1097 magick/constitute.c (void) CopyMagickString(write_info->filename,image->filename, image 1099 magick/constitute.c (void) AcquireUniqueFilename(image->filename); image 1102 magick/constitute.c (void) CloseBlob(image); image 1114 magick/constitute.c status=GetImageEncoder(magick_info)(write_info,image); image 1130 magick/constitute.c status=InvokeDelegate(write_info,image,(char *) NULL, image 1134 magick/constitute.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 1144 magick/constitute.c (void) CopyMagickString(write_info->magick,image->magick, image 1154 magick/constitute.c GetPathComponent(image->filename,ExtensionPath,extension); image 1158 magick/constitute.c magick_info=GetMagickInfo(image->magick,exception); image 1159 magick/constitute.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 1164 magick/constitute.c magick_info=GetMagickInfo(image->magick,exception); image 1184 magick/constitute.c status=GetImageEncoder(magick_info)(write_info,image); image 1195 magick/constitute.c status=OpenBlob(write_info,image,ReadBinaryBlobMode,exception); image 1199 magick/constitute.c status=ImageToFile(image,write_info->filename,exception); image 1201 magick/constitute.c (void) CloseBlob(image); image 1202 magick/constitute.c (void) RelinquishUniqueFileResource(image->filename); image 1203 magick/constitute.c (void) CopyMagickString(image->filename,write_info->filename, image 1208 magick/constitute.c (void) IdentifyImage(image,stderr,MagickFalse); image 102 magick/decorate.c MagickExport Image *BorderImage(const Image *image, image 112 magick/decorate.c assert(image != (const Image *) NULL); image 113 magick/decorate.c assert(image->signature == MagickSignature); image 114 magick/decorate.c if (image->debug != MagickFalse) image 115 magick/decorate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 117 magick/decorate.c frame_info.width=image->columns+(border_info->width << 1); image 118 magick/decorate.c frame_info.height=image->rows+(border_info->height << 1); image 123 magick/decorate.c clone_image=CloneImage(image,0,0,MagickTrue,exception); image 126 magick/decorate.c clone_image->matte_color=image->border_color; image 130 magick/decorate.c border_image->matte_color=image->matte_color; image 165 magick/decorate.c MagickExport Image *FrameImage(const Image *image,const FrameInfo *frame_info, image 205 magick/decorate.c assert(image != (Image *) NULL); image 206 magick/decorate.c assert(image->signature == MagickSignature); image 207 magick/decorate.c if (image->debug != MagickFalse) image 208 magick/decorate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 215 magick/decorate.c if ((x < (ssize_t) image->columns) || (y < (ssize_t) image->rows)) image 220 magick/decorate.c frame_image=CloneImage(image,frame_info->width,frame_info->height,MagickTrue, image 236 magick/decorate.c frame_image->page=image->page; image 237 magick/decorate.c if ((image->page.width != 0) && (image->page.height != 0)) image 239 magick/decorate.c frame_image->page.width+=frame_image->columns-image->columns; image 240 magick/decorate.c frame_image->page.height+=frame_image->rows-image->rows; image 247 magick/decorate.c SetMagickPixelPacket(frame_image,&image->matte_color,(IndexPacket *) NULL, image 251 magick/decorate.c SetMagickPixelPacket(frame_image,&image->border_color,(IndexPacket *) NULL, image 279 magick/decorate.c if (image->colorspace == CMYKColorspace) image 290 magick/decorate.c image_view=AcquireVirtualCacheView(image,exception); image 370 magick/decorate.c width=image->columns+((size_t) frame_info->inner_bevel << 1)- image 381 magick/decorate.c for ( ; x < (ssize_t) (image->columns+2*frame_info->inner_bevel); x++) image 387 magick/decorate.c width=frame_info->width-frame_info->x-image->columns-bevel_width; image 411 magick/decorate.c for (y=0; y < (ssize_t) image->rows; y++) image 463 magick/decorate.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 470 magick/decorate.c (void) CopyMagickMemory(q,p,image->columns*sizeof(*p)); image 471 magick/decorate.c if ((image->colorspace == CMYKColorspace) && image 474 magick/decorate.c (void) CopyMagickMemory(frame_indexes,indexes,image->columns* image 476 magick/decorate.c frame_indexes+=image->columns; image 478 magick/decorate.c q+=image->columns; image 486 magick/decorate.c width=frame_info->width-frame_info->x-image->columns-bevel_width; image 501 magick/decorate.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 509 magick/decorate.c proceed=SetImageProgress(image,FrameImageTag,progress++,image->rows); image 515 magick/decorate.c frame_info->y-image->rows-bevel_width+frame_info->outer_bevel); image 558 magick/decorate.c for ( ; x < (ssize_t) (image->columns+2*frame_info->inner_bevel); x++) image 560 magick/decorate.c if (x >= (ssize_t) (image->columns+2*frame_info->inner_bevel-y)) image 567 magick/decorate.c width=frame_info->width-frame_info->x-image->columns-bevel_width; image 581 magick/decorate.c height=frame_info->height-frame_info->y-image->rows-bevel_width; image 632 magick/decorate.c status=CompositeImage(frame_image,image->compose,image,x,y); image 669 magick/decorate.c MagickExport MagickBooleanType RaiseImage(Image *image, image 697 magick/decorate.c assert(image != (Image *) NULL); image 698 magick/decorate.c assert(image->signature == MagickSignature); image 699 magick/decorate.c if (image->debug != MagickFalse) image 700 magick/decorate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 702 magick/decorate.c if ((image->columns <= (raise_info->width << 1)) || image 703 magick/decorate.c (image->rows <= (raise_info->height << 1))) image 705 magick/decorate.c image->filename); image 713 magick/decorate.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 720 magick/decorate.c exception=(&image->exception); image 721 magick/decorate.c image_view=AcquireAuthenticCacheView(image,exception); image 736 magick/decorate.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 755 magick/decorate.c for ( ; x < (ssize_t) (image->columns-y); x++) image 768 magick/decorate.c for ( ; x < (ssize_t) image->columns; x++) image 783 magick/decorate.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 791 magick/decorate.c proceed=SetImageProgress(image,RaiseImageTag,progress++,image->rows); image 800 magick/decorate.c for (y=(ssize_t) raise_info->height; y < (ssize_t) (image->rows-raise_info->height); y++) image 810 magick/decorate.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 829 magick/decorate.c for ( ; x < (ssize_t) (image->columns-raise_info->width); x++) image 831 magick/decorate.c for ( ; x < (ssize_t) image->columns; x++) image 846 magick/decorate.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 854 magick/decorate.c proceed=SetImageProgress(image,RaiseImageTag,progress++,image->rows); image 863 magick/decorate.c for (y=(ssize_t) (image->rows-raise_info->height); y < (ssize_t) image->rows; y++) image 873 magick/decorate.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 879 magick/decorate.c for (x=0; x < (ssize_t) (image->rows-y); x++) image 892 magick/decorate.c for ( ; x < (ssize_t) (image->columns-(image->rows-y)); x++) image 905 magick/decorate.c for ( ; x < (ssize_t) image->columns; x++) image 920 magick/decorate.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 928 magick/decorate.c proceed=SetImageProgress(image,RaiseImageTag,progress++,image->rows); image 530 magick/delegate.c MagickExport char *GetDelegateCommand(const ImageInfo *image_info,Image *image, image 545 magick/delegate.c assert(image != (Image *) NULL); image 546 magick/delegate.c assert(image->signature == MagickSignature); image 547 magick/delegate.c if (image->debug != MagickFalse) image 548 magick/delegate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 564 magick/delegate.c command=InterpretImageProperties(image_info,image,commands[0]); image 1098 magick/delegate.c Image *image,const char *decode,const char *encode,ExceptionInfo *exception) image 1124 magick/delegate.c assert(image != (Image *) NULL); image 1125 magick/delegate.c assert(image->signature == MagickSignature); image 1126 magick/delegate.c if (image->debug != MagickFalse) image 1127 magick/delegate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1143 magick/delegate.c temporary=(*image->filename == '\0') ? MagickTrue : MagickFalse; image 1145 magick/delegate.c if (AcquireUniqueFilename(image->filename) == MagickFalse) image 1148 magick/delegate.c "UnableToCreateTemporaryFile",image->filename); image 1155 magick/delegate.c (void) RelinquishUniqueFileResource(image->filename); image 1165 magick/delegate.c (void) RelinquishUniqueFileResource(image->filename); image 1202 magick/delegate.c magick=InterpretImageProperties(image_info,image,decode != (char *) NULL ? image 1209 magick/delegate.c (void) RelinquishUniqueFileResource(image->filename); image 1218 magick/delegate.c (void) CopyMagickString(image->magick,magick,MaxTextExtent); image 1222 magick/delegate.c (void) SetImageInfo(clone_info,(unsigned int) GetImageListLength(image), image 1226 magick/delegate.c (void) CopyMagickString(image_info->filename,image->filename, image 1228 magick/delegate.c for (p=image; p != (Image *) NULL; p=GetNextImageInList(p)) image 1238 magick/delegate.c (void) RelinquishUniqueFileResource(image->filename); image 1258 magick/delegate.c (void) RelinquishUniqueFileResource(image->filename); image 1267 magick/delegate.c (void) CopyMagickString(input_filename,image->filename,MaxTextExtent); image 1286 magick/delegate.c status=AcquireUniqueSymbolicLink(input_filename,image->filename); image 1295 magick/delegate.c command=InterpretImageProperties(image_info,image,commands[i]); image 1312 magick/delegate.c while ((count-- > 0) && (access_utf8(image->filename,F_OK) == 0)) image 1319 magick/delegate.c if (CopyDelegateFile(image->filename,input_filename,MagickFalse) == MagickFalse) image 1329 magick/delegate.c (void) RelinquishUniqueFileResource(image->filename); image 1339 magick/delegate.c (void) CopyMagickString(image->filename,input_filename,MaxTextExtent); image 1347 magick/delegate.c (void) RelinquishUniqueFileResource(image->filename); image 231 magick/deprecate.c MagickExport const PixelPacket *AcquireImagePixels(const Image *image, image 235 magick/deprecate.c return(GetVirtualPixels(image,x,y,columns,rows,exception)); image 270 magick/deprecate.c MagickExport const IndexPacket *AcquireIndexes(const Image *image) image 272 magick/deprecate.c return(GetVirtualIndexQueue(image)); image 438 magick/deprecate.c MagickExport MagickPixelPacket AcquireOneMagickPixel(const Image *image, image 444 magick/deprecate.c (void) GetOneVirtualMagickPixel(image,x,y,&pixel,exception); image 482 magick/deprecate.c MagickExport PixelPacket AcquireOnePixel(const Image *image,const ssize_t x, image 488 magick/deprecate.c (void) GetOneVirtualPixel(image,x,y,&pixel,exception); image 530 magick/deprecate.c MagickExport PixelPacket AcquireOneVirtualPixel(const Image *image, image 537 magick/deprecate.c (void) GetOneVirtualMethodPixel(image,virtual_pixel_method,x,y,&pixel, image 569 magick/deprecate.c MagickExport const PixelPacket *AcquirePixels(const Image *image) image 571 magick/deprecate.c return(GetVirtualPixelQueue(image)); image 642 magick/deprecate.c Image *image,const Image *affinity_image) image 644 magick/deprecate.c return(RemapImage(quantize_info,image,affinity_image)); image 751 magick/deprecate.c MagickExport MagickBooleanType AllocateImageColormap(Image *image, image 754 magick/deprecate.c return(AcquireImageColormap(image,colors)); image 789 magick/deprecate.c MagickExport void AllocateNextImage(const ImageInfo *image_info,Image *image) image 791 magick/deprecate.c AcquireNextImage(image_info,image); image 904 magick/deprecate.c MagickExport unsigned int ChannelImage(Image *image,const ChannelType channel) image 906 magick/deprecate.c return(SeparateImageChannel(image,channel)); image 934 magick/deprecate.c MagickExport unsigned int ChannelThresholdImage(Image *image,const char *level) image 946 magick/deprecate.c assert(image != (Image *) NULL); image 947 magick/deprecate.c assert(image->signature == MagickSignature); image 948 magick/deprecate.c if (image->debug != MagickFalse) image 949 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 950 magick/deprecate.c if (image->debug != MagickFalse) image 962 magick/deprecate.c status=BilevelImageChannel(image,RedChannel,threshold.red); image 963 magick/deprecate.c status&=BilevelImageChannel(image,GreenChannel,threshold.green); image 964 magick/deprecate.c status&=BilevelImageChannel(image,BlueChannel,threshold.blue); image 1002 magick/deprecate.c MagickExport MagickBooleanType ClipPathImage(Image *image,const char *pathname, image 1005 magick/deprecate.c return(ClipImagePath(image,pathname,inside)); image 1037 magick/deprecate.c MagickExport MagickBooleanType CloneImageAttributes(Image *image, image 1040 magick/deprecate.c return(CloneImageProperties(image,clone_image)); image 1180 magick/deprecate.c ThrowBinaryException(DrawError,"SegmentStackOverflow",image->filename) \ image 1183 magick/deprecate.c if ((((up)+(delta)) >= 0) && (((up)+(delta)) < (ssize_t) image->rows)) \ image 1194 magick/deprecate.c MagickExport MagickBooleanType ColorFloodfillImage(Image *image, image 1224 magick/deprecate.c assert(image != (Image *) NULL); image 1225 magick/deprecate.c assert(image->signature == MagickSignature); image 1226 magick/deprecate.c if (image->debug != MagickFalse) image 1227 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1230 magick/deprecate.c if ((x_offset < 0) || (x_offset >= (ssize_t) image->columns)) image 1232 magick/deprecate.c if ((y_offset < 0) || (y_offset >= (ssize_t) image->rows)) image 1234 magick/deprecate.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1236 magick/deprecate.c if (image->matte == MagickFalse) image 1237 magick/deprecate.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1238 magick/deprecate.c floodplane_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 1239 magick/deprecate.c &image->exception); image 1252 magick/deprecate.c image->filename); image 1285 magick/deprecate.c p=GetVirtualPixels(image,0,y,(size_t) (x1+1),1,&image->exception); image 1287 magick/deprecate.c &image->exception); image 1298 magick/deprecate.c if (IsColorSimilar(image,p,&target) == MagickFalse) image 1302 magick/deprecate.c if (IsColorSimilar(image,p,&target) != MagickFalse) image 1308 magick/deprecate.c if (SyncAuthenticPixels(floodplane_image,&image->exception) == MagickFalse) image 1322 magick/deprecate.c if (x < (ssize_t) image->columns) image 1324 magick/deprecate.c p=GetVirtualPixels(image,x,y,image->columns-x,1, image 1325 magick/deprecate.c &image->exception); image 1326 magick/deprecate.c q=GetAuthenticPixels(floodplane_image,x,y,image->columns-x,1, image 1327 magick/deprecate.c &image->exception); image 1331 magick/deprecate.c for ( ; x < (ssize_t) image->columns; x++) image 1337 magick/deprecate.c if (IsColorSimilar(image,p,&target) == MagickFalse) image 1341 magick/deprecate.c if (IsColorSimilar(image,p,&target) != MagickFalse) image 1347 magick/deprecate.c if (SyncAuthenticPixels(floodplane_image,&image->exception) == MagickFalse) image 1358 magick/deprecate.c p=GetVirtualPixels(image,x,y,(size_t) (x2-x+1),1, image 1359 magick/deprecate.c &image->exception); image 1361 magick/deprecate.c &image->exception); image 1370 magick/deprecate.c if (IsColorSimilar(image,p,&target) != MagickFalse) image 1374 magick/deprecate.c if (IsColorSimilar(image,p,&target) == MagickFalse) image 1383 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 1397 magick/deprecate.c p=GetVirtualPixels(floodplane_image,0,y,image->columns,1, image 1398 magick/deprecate.c &image->exception); image 1399 magick/deprecate.c q=GetAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 1402 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 1413 magick/deprecate.c if (SyncAuthenticPixels(image,&image->exception) == MagickFalse) image 1418 magick/deprecate.c return(y == (ssize_t) image->rows ? MagickTrue : MagickFalse); image 1494 magick/deprecate.c MagickExport MagickBooleanType DeleteImageAttribute(Image *image, image 1497 magick/deprecate.c return(DeleteImageProperty(image,key)); image 1664 magick/deprecate.c MagickExport MagickBooleanType DescribeImage(Image *image,FILE *file, image 1667 magick/deprecate.c return(IdentifyImage(image,file,verbose)); image 1693 magick/deprecate.c MagickExport void DestroyImageAttributes(Image *image) image 1695 magick/deprecate.c assert(image != (Image *) NULL); image 1696 magick/deprecate.c assert(image->signature == MagickSignature); image 1697 magick/deprecate.c if (image->debug != MagickFalse) image 1698 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1699 magick/deprecate.c if (image->attributes != (void *) NULL) image 1700 magick/deprecate.c image->attributes=(void *) DestroySplayTree((SplayTreeInfo *) image 1701 magick/deprecate.c image->attributes); image 1730 magick/deprecate.c MagickExport void DestroyImages(Image *image) image 1732 magick/deprecate.c if (image == (Image *) NULL) image 1734 magick/deprecate.c if (image->debug != MagickFalse) image 1736 magick/deprecate.c image=DestroyImageList(image); image 1823 magick/deprecate.c MagickExport unsigned int DispatchImage(const Image *image,const ssize_t x_offset, image 1830 magick/deprecate.c if (image->debug != MagickFalse) image 1832 magick/deprecate.c status=ExportImagePixels(image,x_offset,y_offset,columns,rows,map,type,pixels, image 1866 magick/deprecate.c static double GetSimilarityMetric(const Image *image,const Image *reference, image 1888 magick/deprecate.c if ((image->matte != MagickFalse) && (reference->matte != MagickFalse)) image 1890 magick/deprecate.c if ((image->colorspace == CMYKColorspace) && image 1893 magick/deprecate.c image_view=AcquireVirtualCacheView(image,exception); image 1930 magick/deprecate.c if ((image->matte != MagickFalse) && (reference->matte != MagickFalse)) image 1936 magick/deprecate.c if ((image->colorspace == CMYKColorspace) && image 1956 magick/deprecate.c MagickExport Image *ExtractSubimageFromImage(Image *image, image 1971 magick/deprecate.c if ((reference->columns > image->columns) || (reference->rows > image->rows)) image 1973 magick/deprecate.c similarity_threshold=(double) image->columns*image->rows; image 1978 magick/deprecate.c for (y=0; y < (ssize_t) (image->rows-reference->rows); y++) image 1986 magick/deprecate.c for (x=0; x < (ssize_t) (image->columns-reference->columns); x++) image 1988 magick/deprecate.c similarity=GetSimilarityMetric(image,reference,x,y,similarity_threshold, image 2003 magick/deprecate.c return(CropImage(image,&offset,exception)); image 2034 magick/deprecate.c MagickExport Image *FlattenImages(Image *image,ExceptionInfo *exception) image 2036 magick/deprecate.c return(MergeImageLayers(image,FlattenLayer,exception)); image 2069 magick/deprecate.c MagickExport MagickBooleanType FormatImageAttributeList(Image *image, image 2085 magick/deprecate.c return(SetImageProperty(image,key,value)); image 2088 magick/deprecate.c MagickExport MagickBooleanType FormatImagePropertyList(Image *image, image 2104 magick/deprecate.c return(SetImageProperty(image,property,value)); image 2107 magick/deprecate.c MagickExport MagickBooleanType FormatImageAttribute(Image *image, image 2123 magick/deprecate.c return(SetImageProperty(image,key,value)); image 2328 magick/deprecate.c MagickExport MagickBooleanType FuzzyColorCompare(const Image *image, image 2332 magick/deprecate.c return(IsColorSimilar(image,p,q)); image 2369 magick/deprecate.c MagickExport MagickBooleanType FuzzyOpacityCompare(const Image *image, image 2373 magick/deprecate.c return(IsOpacitySimilar(image,p,q)); image 2720 magick/deprecate.c MagickExport const ImageAttribute *GetImageAttribute(const Image *image, image 2730 magick/deprecate.c value=GetImageProperty(image,key); image 2733 magick/deprecate.c if (image->attributes == (void *) NULL) image 2734 magick/deprecate.c ((Image *) image)->attributes=NewSplayTree(CompareSplayTreeString, image 2742 magick/deprecate.c image->attributes,key); image 2752 magick/deprecate.c (void) AddValueToSplayTree((SplayTreeInfo *) ((Image *) image)->attributes, image 2787 magick/deprecate.c MagickExport const ImageAttribute *GetImageClippingPathAttribute(Image *image) image 2789 magick/deprecate.c return(GetImageAttribute(image,"8BIM:1999,2998")); image 2921 magick/deprecate.c MagickExport int GetImageGeometry(Image *image,const char *geometry, image 2924 magick/deprecate.c if (image->debug != MagickFalse) image 2927 magick/deprecate.c return((int) ParseRegionGeometry(image,geometry,region_info,&image->exception)); image 2928 magick/deprecate.c return((int) ParsePageGeometry(image,geometry,region_info,&image->exception)); image 2967 magick/deprecate.c *image; image 2971 magick/deprecate.c image=CloneImage(GetImageFromList(images,(ssize_t) offset),0,0,MagickTrue, image 2973 magick/deprecate.c return(image); image 3090 magick/deprecate.c MagickExport PixelPacket *GetImagePixels(Image *image,const ssize_t x,const ssize_t y, image 3093 magick/deprecate.c return(GetAuthenticPixels(image,x,y,columns,rows,&image->exception)); image 3127 magick/deprecate.c MagickExport IndexPacket *GetIndexes(const Image *image) image 3129 magick/deprecate.c return(GetAuthenticIndexQueue(image)); image 3237 magick/deprecate.c MagickExport const ImageAttribute *GetNextImageAttribute(const Image *image) image 3242 magick/deprecate.c property=GetNextImageProperty(image); image 3245 magick/deprecate.c return(GetImageAttribute(image,property)); image 3274 magick/deprecate.c MagickExport unsigned int GetNumberScenes(const Image *image) image 3276 magick/deprecate.c if (image->debug != MagickFalse) image 3278 magick/deprecate.c return((unsigned int) GetImageListLength(image)); image 3310 magick/deprecate.c MagickExport PixelPacket GetOnePixel(Image *image,const ssize_t x,const ssize_t y) image 3315 magick/deprecate.c (void) GetOneAuthenticPixel(image,x,y,&pixel,&image->exception); image 3349 magick/deprecate.c MagickExport PixelPacket *GetPixels(const Image *image) image 3351 magick/deprecate.c return(GetAuthenticPixelQueue(image)); image 3628 magick/deprecate.c MagickExport MagickPixelPacket InterpolatePixelColor(const Image *image, image 3644 magick/deprecate.c assert(image != (Image *) NULL); image 3645 magick/deprecate.c assert(image->signature == MagickSignature); image 3647 magick/deprecate.c GetMagickPixelPacket(image,&pixel); image 3668 magick/deprecate.c GetMagickPixelPacket(image,pixels+i); image 3669 magick/deprecate.c SetMagickPixelPacket(image,p,indexes+i,pixels+i); image 3671 magick/deprecate.c if (image->matte != MagickFalse) image 3677 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3686 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3710 magick/deprecate.c GetMagickPixelPacket(image,u+i); image 3713 magick/deprecate.c GetMagickPixelPacket(image,pixels+i); image 3714 magick/deprecate.c SetMagickPixelPacket(image,p,indexes+i,pixels+i); image 3716 magick/deprecate.c if (image->matte != MagickFalse) image 3722 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3730 magick/deprecate.c GetMagickPixelPacket(image,pixels+4*i); image 3759 magick/deprecate.c GetMagickPixelPacket(image,pixels+i); image 3760 magick/deprecate.c SetMagickPixelPacket(image,p,indexes+i,pixels+i); image 3762 magick/deprecate.c if (image->matte != MagickFalse) image 3768 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3790 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3812 magick/deprecate.c excerpt_image=ExcerptImage(image,&geometry,exception); image 3815 magick/deprecate.c filter_image=ResizeImage(excerpt_image,1,1,image->filter,image->blur, image 3827 magick/deprecate.c GetMagickPixelPacket(image,pixels); image 3828 magick/deprecate.c SetMagickPixelPacket(image,p,indexes,&pixel); image 3842 magick/deprecate.c GetMagickPixelPacket(image,pixels); image 3843 magick/deprecate.c SetMagickPixelPacket(image,p,indexes,&pixel); image 3868 magick/deprecate.c GetMagickPixelPacket(image,pixels+i); image 3869 magick/deprecate.c SetMagickPixelPacket(image,p,indexes+i,pixels+i); image 3871 magick/deprecate.c if (image->matte != MagickFalse) image 3877 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3907 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3927 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3952 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3973 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 3990 magick/deprecate.c GetMagickPixelPacket(image,pixels); image 3991 magick/deprecate.c SetMagickPixelPacket(image,p,indexes,&pixel); image 4027 magick/deprecate.c GetMagickPixelPacket(image,pixels+n); image 4028 magick/deprecate.c SetMagickPixelPacket(image,p,indexes+n,pixels+n); image 4030 magick/deprecate.c if (image->matte != MagickFalse) image 4037 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 4046 magick/deprecate.c if (image->matte != MagickFalse) image 4048 magick/deprecate.c if (image->colorspace == CMYKColorspace) image 4094 magick/deprecate.c Image *image,const char *embed_text) image 4097 magick/deprecate.c return(InterpretImageProperties(image_info,image,embed_text)); image 4239 magick/deprecate.c MagickBooleanType LevelImageColors(Image *image,const ChannelType channel, image 4243 magick/deprecate.c return(LevelColorsImageChannel(image,channel,black_color,white_color,invert)); image 4436 magick/deprecate.c MagickExport MagickBooleanType MapImage(Image *image,const Image *map_image, image 4445 magick/deprecate.c assert(image != (Image *) NULL); image 4446 magick/deprecate.c assert(image->signature == MagickSignature); image 4447 magick/deprecate.c if (image->debug != MagickFalse) image 4448 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4453 magick/deprecate.c return(RemapImage(&quantize_info,image,map_image)); image 4551 magick/deprecate.c MagickExport MagickBooleanType MatteFloodfillImage(Image *image, image 4578 magick/deprecate.c assert(image != (Image *) NULL); image 4579 magick/deprecate.c assert(image->signature == MagickSignature); image 4580 magick/deprecate.c if (image->debug != MagickFalse) image 4581 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4582 magick/deprecate.c if ((x_offset < 0) || (x_offset >= (ssize_t) image->columns)) image 4584 magick/deprecate.c if ((y_offset < 0) || (y_offset >= (ssize_t) image->rows)) image 4586 magick/deprecate.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 4588 magick/deprecate.c if (image->matte == MagickFalse) image 4589 magick/deprecate.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 4590 magick/deprecate.c floodplane_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 4591 magick/deprecate.c &image->exception); image 4604 magick/deprecate.c image->filename); image 4637 magick/deprecate.c p=GetVirtualPixels(image,0,y,(size_t) (x1+1),1,&image->exception); image 4639 magick/deprecate.c &image->exception); image 4650 magick/deprecate.c if (IsColorSimilar(image,p,&target) == MagickFalse) image 4654 magick/deprecate.c if (IsColorSimilar(image,p,&target) != MagickFalse) image 4660 magick/deprecate.c if (SyncAuthenticPixels(floodplane_image,&image->exception) == MagickFalse) image 4674 magick/deprecate.c if (x < (ssize_t) image->columns) image 4676 magick/deprecate.c p=GetVirtualPixels(image,x,y,image->columns-x,1, image 4677 magick/deprecate.c &image->exception); image 4678 magick/deprecate.c q=GetAuthenticPixels(floodplane_image,x,y,image->columns-x,1, image 4679 magick/deprecate.c &image->exception); image 4683 magick/deprecate.c for ( ; x < (ssize_t) image->columns; x++) image 4689 magick/deprecate.c if (IsColorSimilar(image,p,&target) == MagickFalse) image 4693 magick/deprecate.c if (IsColorSimilar(image,p,&target) != MagickFalse) image 4699 magick/deprecate.c if (SyncAuthenticPixels(floodplane_image,&image->exception) == MagickFalse) image 4710 magick/deprecate.c p=GetVirtualPixels(image,x,y,(size_t) (x2-x+1),1, image 4711 magick/deprecate.c &image->exception); image 4713 magick/deprecate.c &image->exception); image 4722 magick/deprecate.c if (IsColorSimilar(image,p,&target) != MagickFalse) image 4726 magick/deprecate.c if (IsColorSimilar(image,p,&target) == MagickFalse) image 4735 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 4749 magick/deprecate.c p=GetVirtualPixels(floodplane_image,0,y,image->columns,1, image 4750 magick/deprecate.c &image->exception); image 4751 magick/deprecate.c q=GetAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 4754 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 4761 magick/deprecate.c if (SyncAuthenticPixels(image,&image->exception) == MagickFalse) image 4766 magick/deprecate.c return(y == (ssize_t) image->rows ? MagickTrue : MagickFalse); image 4869 magick/deprecate.c MagickExport Image *MedianFilterImage(const Image *image,const double radius, image 4875 magick/deprecate.c median_image=StatisticImage(image,MedianStatistic,(size_t) radius,(size_t) image 4908 magick/deprecate.c MagickExport Image *ModeImage(const Image *image,const double radius, image 4914 magick/deprecate.c mode_image=StatisticImage(image,ModeStatistic,(size_t) radius,(size_t) radius, image 4947 magick/deprecate.c MagickExport Image *MosaicImages(Image *image,ExceptionInfo *exception) image 4949 magick/deprecate.c return(MergeImageLayers(image,MosaicLayer,exception)); image 4986 magick/deprecate.c MagickExport MagickBooleanType OpaqueImage(Image *image, image 5003 magick/deprecate.c assert(image != (Image *) NULL); image 5004 magick/deprecate.c assert(image->signature == MagickSignature); image 5006 magick/deprecate.c if (image->debug != MagickFalse) image 5007 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 5008 magick/deprecate.c switch (image->storage_class) image 5016 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 5024 magick/deprecate.c q=GetAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 5027 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 5029 magick/deprecate.c if (IsColorSimilar(image,q,&target) != MagickFalse) image 5033 magick/deprecate.c if (SyncAuthenticPixels(image,&image->exception) == MagickFalse) image 5035 magick/deprecate.c proceed=SetImageProgress(image,OpaqueImageTag,(MagickOffsetType) y, image 5036 magick/deprecate.c image->rows); image 5047 magick/deprecate.c for (i=0; i < (ssize_t) image->colors; i++) image 5049 magick/deprecate.c if (IsColorSimilar(image,&image->colormap[i],&target) != MagickFalse) image 5050 magick/deprecate.c image->colormap[i]=fill; image 5054 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 5062 magick/deprecate.c q=GetAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 5065 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 5067 magick/deprecate.c if (IsColorSimilar(image,q,&target) != MagickFalse) image 5071 magick/deprecate.c if (SyncAuthenticPixels(image,&image->exception) == MagickFalse) image 5075 magick/deprecate.c (void) SyncImage(image); image 5080 magick/deprecate.c image->matte=MagickTrue; image 5111 magick/deprecate.c MagickExport CacheView *OpenCacheView(const Image *image) image 5113 magick/deprecate.c return(AcquireVirtualCacheView(image,&((Image *) image)->exception)); image 5345 magick/deprecate.c MagickExport MagickBooleanType PaintFloodfillImage(Image *image, image 5352 magick/deprecate.c status=FloodfillPaintImage(image,channel,draw_info,target,x,y, image 5400 magick/deprecate.c MagickExport MagickBooleanType PaintOpaqueImage(Image *image, image 5406 magick/deprecate.c status=OpaquePaintImageChannel(image,DefaultChannels,target,fill,MagickFalse); image 5410 magick/deprecate.c MagickExport MagickBooleanType PaintOpaqueImageChannel(Image *image, image 5414 magick/deprecate.c return(OpaquePaintImageChannel(image,channel,target,fill,MagickFalse)); image 5455 magick/deprecate.c MagickExport MagickBooleanType PaintTransparentImage(Image *image, image 5458 magick/deprecate.c return(TransparentPaintImage(image,target,opacity,MagickFalse)); image 5538 magick/deprecate.c MagickExport MagickStatusType ParseSizeGeometry(const Image *image, image 5545 magick/deprecate.c SetGeometry(image,region_info); image 5613 magick/deprecate.c MagickExport size_t PopImagePixels(Image *image,const QuantumType quantum, image 5622 magick/deprecate.c quantum_info=AcquireQuantumInfo((const ImageInfo *) NULL,image); image 5625 magick/deprecate.c length=ExportQuantumPixels(image,(const CacheView *) NULL,quantum_info, image 5626 magick/deprecate.c quantum,destination,&image->exception); image 5697 magick/deprecate.c MagickExport unsigned int PushImageList(Image **images,const Image *image, image 5701 magick/deprecate.c AppendImageToList(images,CloneImageList(image,exception)); image 5736 magick/deprecate.c MagickExport size_t PushImagePixels(Image *image,const QuantumType quantum, image 5745 magick/deprecate.c quantum_info=AcquireQuantumInfo((const ImageInfo *) NULL,image); image 5748 magick/deprecate.c length=ImportQuantumPixels(image,(CacheView *) NULL,quantum_info,quantum, image 5749 magick/deprecate.c source,&image->exception); image 5798 magick/deprecate.c MagickExport unsigned int QuantizationError(Image *image) image 5800 magick/deprecate.c if (image->debug != MagickFalse) image 5802 magick/deprecate.c return(GetImageQuantizeError(image)); image 5839 magick/deprecate.c MagickExport Image *RadialBlurImage(const Image *image,const double angle, image 5842 magick/deprecate.c return(RotationalBlurImage(image,angle,exception)); image 5845 magick/deprecate.c MagickExport Image *RadialBlurImageChannel(const Image *image, image 5848 magick/deprecate.c return(RotationalBlurImageChannel(image,channel,angle,exception)); image 5884 magick/deprecate.c MagickExport unsigned int RandomChannelThresholdImage(Image *image, image 5913 magick/deprecate.c assert(image != (Image *) NULL); image 5914 magick/deprecate.c assert(image->signature == MagickSignature); image 5915 magick/deprecate.c if (image->debug != MagickFalse) image 5916 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 5919 magick/deprecate.c if (image->debug != MagickFalse) image 5946 magick/deprecate.c if (image->debug != MagickFalse) image 5949 magick/deprecate.c if (image->debug != MagickFalse) image 5954 magick/deprecate.c if (AcquireImageColormap(image,2) == MagickFalse) image 5956 magick/deprecate.c image->filename); image 5958 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 5970 magick/deprecate.c q=GetAuthenticPixels(image,0,y,image->columns,1,exception); image 5976 magick/deprecate.c indexes=GetAuthenticIndexQueue(image); image 5977 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 5982 magick/deprecate.c intensity=GetPixelIntensity(image,q); image 6001 magick/deprecate.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 6009 magick/deprecate.c if (image->matte != MagickFalse) image 6010 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 6038 magick/deprecate.c image->filename); image 6040 magick/deprecate.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 6127 magick/deprecate.c MagickExport Image *RecolorImage(const Image *image,const size_t order, image 6142 magick/deprecate.c recolor_image=ColorMatrixImage(image,kernel_info,exception); image 6178 magick/deprecate.c MagickExport Image *ReduceNoiseImage(const Image *image,const double radius, image 6184 magick/deprecate.c reduce_image=StatisticImage(image,NonpeakStatistic,(size_t) radius,(size_t) image 6245 magick/deprecate.c MagickExport void ResetImageAttributeIterator(const Image *image) image 6247 magick/deprecate.c ResetImagePropertyIterator(image); image 6387 magick/deprecate.c MagickExport void SetImage(Image *image,const Quantum opacity) image 6396 magick/deprecate.c assert(image != (Image *) NULL); image 6397 magick/deprecate.c if (image->debug != MagickFalse) image 6399 magick/deprecate.c assert(image->signature == MagickSignature); image 6400 magick/deprecate.c background_color=image->background_color; image 6405 magick/deprecate.c (void) SetImageStorageClass(image,DirectClass); image 6406 magick/deprecate.c image->matte=MagickTrue; image 6408 magick/deprecate.c if ((image->storage_class == PseudoClass) || image 6409 magick/deprecate.c (image->colorspace == CMYKColorspace)) image 6414 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 6425 magick/deprecate.c q=QueueAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 6428 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 6433 magick/deprecate.c indexes=GetAuthenticIndexQueue(image); image 6434 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 6436 magick/deprecate.c if (SyncAuthenticPixels(image,&image->exception) == MagickFalse) image 6444 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 6452 magick/deprecate.c q=QueueAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 6455 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 6460 magick/deprecate.c if (SyncAuthenticPixels(image,&image->exception) == MagickFalse) image 6498 magick/deprecate.c MagickExport MagickBooleanType SetImageAttribute(Image *image,const char *key, image 6502 magick/deprecate.c return(SetImageProperty(image,key,value)); image 6534 magick/deprecate.c MagickExport unsigned int SetImageList(Image **images,const Image *image, image 6544 magick/deprecate.c clone=CloneImageList(image,exception); image 6617 magick/deprecate.c MagickExport PixelPacket *SetImagePixels(Image *image,const ssize_t x,const ssize_t y, image 6620 magick/deprecate.c return(QueueAuthenticPixels(image,x,y,columns,rows,&image->exception)); image 6775 magick/deprecate.c MagickExport MagickOffsetType SizeBlob(Image *image) image 6777 magick/deprecate.c if (image->debug != MagickFalse) image 6779 magick/deprecate.c return((MagickOffsetType) GetBlobSize(image)); image 7024 magick/deprecate.c MagickExport MagickBooleanType SyncImagePixels(Image *image) image 7026 magick/deprecate.c return(SyncAuthenticPixels(image,&image->exception)); image 7129 magick/deprecate.c MagickExport unsigned int ThresholdImage(Image *image,const double threshold) image 7142 magick/deprecate.c assert(image != (Image *) NULL); image 7143 magick/deprecate.c assert(image->signature == MagickSignature); image 7144 magick/deprecate.c if (image->debug != MagickFalse) image 7145 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 7146 magick/deprecate.c if (image->debug != MagickFalse) image 7148 magick/deprecate.c if (!AcquireImageColormap(image,2)) image 7151 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 7162 magick/deprecate.c q=GetAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 7165 magick/deprecate.c indexes=GetAuthenticIndexQueue(image); image 7166 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 7168 magick/deprecate.c index=(IndexPacket) (GetPixelIntensity(image,q) <= image 7171 magick/deprecate.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 7174 magick/deprecate.c if (!SyncAuthenticPixels(image,&image->exception)) image 7205 magick/deprecate.c MagickExport unsigned int ThresholdImageChannel(Image *image, image 7228 magick/deprecate.c assert(image != (Image *) NULL); image 7229 magick/deprecate.c assert(image->signature == MagickSignature); image 7230 magick/deprecate.c if (image->debug != MagickFalse) image 7231 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 7234 magick/deprecate.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 7236 magick/deprecate.c GetMagickPixelPacket(image,&pixel); image 7260 magick/deprecate.c if (!AcquireImageColormap(image,2)) image 7264 magick/deprecate.c (void) GetImageDynamicThreshold(image,2.0,2.0,&pixel,&image->exception); image 7266 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 7277 magick/deprecate.c q=GetAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 7280 magick/deprecate.c indexes=GetAuthenticIndexQueue(image); image 7282 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 7284 magick/deprecate.c index=(IndexPacket) (GetPixelIntensity(image,q) <= pixel.red ? 0 : 1); image 7286 magick/deprecate.c SetPixelRed(q,image->colormap[(ssize_t) index].red); image 7287 magick/deprecate.c SetPixelGreen(q,image->colormap[(ssize_t) index].green); image 7288 magick/deprecate.c SetPixelBlue(q,image->colormap[(ssize_t) index].blue); image 7292 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 7304 magick/deprecate.c if (!SyncAuthenticPixels(image,&image->exception)) image 7344 magick/deprecate.c MagickExport unsigned int TransformColorspace(Image *image, image 7347 magick/deprecate.c assert(image != (Image *) NULL); image 7348 magick/deprecate.c assert(image->signature == MagickSignature); image 7349 magick/deprecate.c if (image->debug != MagickFalse) image 7351 magick/deprecate.c return(TransformImageColorspace(image,colorspace)); image 7455 magick/deprecate.c MagickExport char *TranslateText(const ImageInfo *image_info,Image *image, image 7458 magick/deprecate.c assert(image != (Image *) NULL); image 7459 magick/deprecate.c assert(image->signature == MagickSignature); image 7460 magick/deprecate.c if (image->debug != MagickFalse) image 7462 magick/deprecate.c return(InterpretImageProperties(image_info,image,embed_text)); image 7499 magick/deprecate.c MagickExport MagickBooleanType TransparentImage(Image *image, image 7513 magick/deprecate.c assert(image != (Image *) NULL); image 7514 magick/deprecate.c assert(image->signature == MagickSignature); image 7516 magick/deprecate.c if (image->debug != MagickFalse) image 7517 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 7518 magick/deprecate.c if (image->matte == MagickFalse) image 7519 magick/deprecate.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 7520 magick/deprecate.c for (y=0; y < (ssize_t) image->rows; y++) image 7528 magick/deprecate.c q=GetAuthenticPixels(image,0,y,image->columns,1,&image->exception); image 7531 magick/deprecate.c for (x=0; x < (ssize_t) image->columns; x++) image 7533 magick/deprecate.c if (IsColorSimilar(image,q,&target) != MagickFalse) image 7537 magick/deprecate.c if (SyncAuthenticPixels(image,&image->exception) == MagickFalse) image 7539 magick/deprecate.c proceed=SetImageProgress(image,TransparentImageTag,(MagickOffsetType) y, image 7540 magick/deprecate.c image->rows); image 7578 magick/deprecate.c MagickExport unsigned int UnshiftImageList(Image **images,const Image *image, image 7582 magick/deprecate.c PrependImageToList(images,CloneImageList(image,exception)); image 7619 magick/deprecate.c MagickExport IndexPacket ValidateColormapIndex(Image *image, image 7622 magick/deprecate.c if (image->debug != MagickFalse) image 7624 magick/deprecate.c return(ConstrainColormapIndex(image,index)); image 7666 magick/deprecate.c MagickExport Image *ZoomImage(const Image *image,const size_t columns, image 7672 magick/deprecate.c assert(image != (const Image *) NULL); image 7673 magick/deprecate.c assert(image->signature == MagickSignature); image 7674 magick/deprecate.c if (image->debug != MagickFalse) image 7675 magick/deprecate.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 7678 magick/deprecate.c zoom_image=ResizeImage(image,columns,rows,image->filter,image->blur, image 247 magick/deprecate.h SizeBlob(Image *image) magick_attribute((deprecated)); image 377 magick/deprecate.h const Image *magick_restrict image,const PixelPacket *magick_restrict pixel) image 379 magick/deprecate.h return(ClampToQuantum(GetPixelIntensity(image,pixel))); image 1643 magick/display.c *image; image 1686 magick/display.c image=GetImageFromList(images,i % GetImageListLength(images)); image 1687 magick/display.c (void) XDisplayImage(display,&resource_info,argv,1,&image,&state); image 1786 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image *image) image 1891 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 1896 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 1897 magick/display.c (void) XSelectInput(display,windows->image.id, image 1898 magick/display.c windows->image.attributes.event_mask | PointerMotionMask); image 1900 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 1910 magick/display.c x+windows->image.x,y+windows->image.y); image 1923 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 2136 magick/display.c if (event.xbutton.window != windows->image.id) image 2152 magick/display.c if (event.xkey.window != windows->image.id) image 2210 magick/display.c (void) XSelectInput(display,windows->image.id, image 2211 magick/display.c windows->image.attributes.event_mask); image 2225 magick/display.c if ((x+font_info->max_bounds.width) >= (int) windows->image.width) image 2226 magick/display.c x=(int) windows->image.width-font_info->max_bounds.width; image 2229 magick/display.c if (((int) font_info->max_bounds.width > (int) windows->image.width) || image 2230 magick/display.c ((font_info->ascent+font_info->descent) >= (int) windows->image.height)) image 2252 magick/display.c windows->image.width/MagickMax((ssize_t) font_info->min_bounds.width,1)+2UL, image 2260 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 2261 magick/display.c annotate_context=windows->image.annotate_context; image 2274 magick/display.c (void) XDrawString(display,windows->image.id,annotate_context,x,y,"_",1); image 2285 magick/display.c (void) XDrawString(display,windows->image.id,annotate_context,x,y,"_",1); image 2312 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 2322 magick/display.c XRefreshWindow(display,&windows->image,&text_event); image 2336 magick/display.c (void) XClearArea(display,windows->image.id,x,text_event.xexpose.y, image 2339 magick/display.c XRefreshWindow(display,&windows->image,&text_event); image 2344 magick/display.c if (event.xbutton.window != windows->image.id) image 2352 magick/display.c windows->image.id,CurrentTime); image 2367 magick/display.c XRefreshWindow(display,&windows->image,(XEvent *) NULL); image 2372 magick/display.c (void) XDrawString(display,windows->image.id,annotate_context, image 2376 magick/display.c (void) XDrawImageString(display,windows->image.id, image 2381 magick/display.c (void) XDrawString(display,windows->image.id,annotate_context, image 2391 magick/display.c if (event.xkey.window != windows->image.id) image 2443 magick/display.c XRefreshWindow(display,&windows->image,&text_event); image 2461 magick/display.c XRefreshWindow(display,&windows->image,&text_event); image 2473 magick/display.c XRefreshWindow(display,&windows->image,&text_event); image 2488 magick/display.c (void) XDrawString(display,windows->image.id,annotate_context, image 2491 magick/display.c (void) XDrawImageString(display,windows->image.id, image 2495 magick/display.c if ((x+font_info->max_bounds.width) < (int) windows->image.width) image 2526 magick/display.c windows->image.width/MagickMax((ssize_t) image 2531 magick/display.c if (annotate_info->y > (int) windows->image.height) image 2589 magick/display.c (void) XDrawString(display,windows->image.id,annotate_context, image 2593 magick/display.c if ((x+font_info->max_bounds.width) < (int) windows->image.width) image 2621 magick/display.c windows->image.width/MagickMax((ssize_t) image 2626 magick/display.c if (annotate_info->y > (int) windows->image.height) image 2644 magick/display.c width=(unsigned int) image->columns; image 2645 magick/display.c height=(unsigned int) image->rows; image 2648 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 2649 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y,&width,&height); image 2694 magick/display.c width*(annotate_info->x+windows->image.x)/windows->image.ximage->width; image 2696 magick/display.c windows->image.y)/windows->image.ximage->height; image 2698 magick/display.c "%ux%u%+d%+d",width*annotate_info->width/windows->image.ximage->width, image 2699 magick/display.c height*annotate_info->height/windows->image.ximage->height, image 2704 magick/display.c status=XAnnotateImage(display,windows->pixel_info,annotate_info,image); image 2725 magick/display.c XConfigureImageColormap(display,resource_info,windows,image); image 2726 magick/display.c (void) XConfigureImage(display,resource_info,windows,image); image 2761 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image **image) image 2781 magick/display.c (void) XMagickCommand(display,resource_info,windows,ApplyCommand,image); image 2788 magick/display.c status=XDisplayBackgroundImage(display,&background_resources,*image); image 2790 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 2793 magick/display.c (void) XMagickCommand(display,resource_info,windows,UndoCommand,image); image 2828 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image **image) image 2893 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 2898 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 2899 magick/display.c (void) XSelectInput(display,windows->image.id, image 2900 magick/display.c windows->image.attributes.event_mask | PointerMotionMask); image 2911 magick/display.c x+windows->image.x,y+windows->image.y); image 2975 magick/display.c if (event.xbutton.window != windows->image.id) image 2999 magick/display.c if (event.xkey.window != windows->image.id) image 3021 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 3025 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 3058 magick/display.c (void) XSelectInput(display,windows->image.id, image 3059 magick/display.c windows->image.attributes.event_mask); image 3071 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXinvert); image 3086 magick/display.c XHighlightLine(display,windows->image.id, image 3087 magick/display.c windows->image.highlight_context,&segment_info); image 3097 magick/display.c XHighlightLine(display,windows->image.id, image 3098 magick/display.c windows->image.highlight_context,&segment_info); image 3133 magick/display.c if (segment_info.x2 > windows->image.ximage->width) image 3134 magick/display.c segment_info.x2=windows->image.ximage->width; image 3138 magick/display.c if (segment_info.y2 > windows->image.ximage->height) image 3139 magick/display.c segment_info.y2=windows->image.ximage->height; image 3149 magick/display.c chop_info.x=(ssize_t) windows->image.x+segment_info.x1; image 3155 magick/display.c chop_info.x=(ssize_t) windows->image.x+segment_info.x2; image 3163 magick/display.c chop_info.y=(ssize_t) windows->image.y+segment_info.y1; image 3167 magick/display.c chop_info.y=(ssize_t) windows->image.y+segment_info.y2; image 3171 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 3178 magick/display.c (void) XMagickCommand(display,resource_info,windows,ApplyCommand,image); image 3181 magick/display.c windows->image.window_changes.width=windows->image.ximage->width- image 3183 magick/display.c windows->image.window_changes.height=windows->image.ximage->height- image 3185 magick/display.c width=(unsigned int) (*image)->columns; image 3186 magick/display.c height=(unsigned int) (*image)->rows; image 3189 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 3190 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y,&width,&height); image 3191 magick/display.c scale_factor=(MagickRealType) width/windows->image.ximage->width; image 3195 magick/display.c scale_factor=(MagickRealType) height/windows->image.ximage->height; image 3202 magick/display.c chop_image=ChopImage(*image,&chop_info,&(*image)->exception); image 3206 magick/display.c *image=DestroyImage(*image); image 3207 magick/display.c *image=chop_image; image 3211 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 3212 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 3250 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image **image) image 3330 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 3335 magick/display.c cursor=XMakeCursor(display,windows->image.id,windows->map_info->colormap, image 3337 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 3341 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 3342 magick/display.c (void) XSelectInput(display,windows->image.id, image 3343 magick/display.c windows->image.attributes.event_mask | PointerMotionMask); image 3353 magick/display.c x+windows->image.x,y+windows->image.y); image 3368 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 3506 magick/display.c (*image)->fuzz=StringToDoubleInterval(FuzzMenu[entry],(double) image 3516 magick/display.c (*image)->fuzz=StringToDoubleInterval(fuzz,(double) QuantumRange+ image 3523 magick/display.c image); image 3543 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 3552 magick/display.c if ((event.xbutton.window != windows->image.id) && image 3561 magick/display.c SaveToUndoBufferCommand,image); image 3569 magick/display.c if ((event.xbutton.window != windows->image.id) && image 3577 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 3578 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 3580 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 3599 magick/display.c if (event.xkey.window != windows->image.id) image 3657 magick/display.c x=windows->magnify.x-windows->image.x; image 3658 magick/display.c y=windows->magnify.y-windows->image.y; image 3674 magick/display.c (void) XClearArea(display,windows->image.id,x_offset,y_offset,1,1, image 3677 magick/display.c XPutPixel(windows->image.ximage,x_offset,y_offset,color.pixel); image 3678 magick/display.c width=(unsigned int) (*image)->columns; image 3679 magick/display.c height=(unsigned int) (*image)->rows; image 3682 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 3683 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y, image 3686 magick/display.c (width*(windows->image.x+x_offset)/windows->image.ximage->width+x); image 3688 magick/display.c (height*(windows->image.y+y_offset)/windows->image.ximage->height+y); image 3691 magick/display.c if ((x_offset >= (int) (*image)->columns) || image 3692 magick/display.c (y_offset >= (int) (*image)->rows)) image 3694 magick/display.c exception=(&(*image)->exception); image 3695 magick/display.c image_view=AcquireAuthenticCacheView(*image,exception); image 3704 magick/display.c if (SetImageStorageClass(*image,DirectClass) == MagickFalse) image 3714 magick/display.c &(*image)->exception); image 3726 magick/display.c (ssize_t) y_offset,&target,&(*image)->exception); image 3727 magick/display.c if ((*image)->storage_class == DirectClass) image 3729 magick/display.c for (y=0; y < (int) (*image)->rows; y++) image 3732 magick/display.c (*image)->columns,1,exception); image 3735 magick/display.c for (x=0; x < (int) (*image)->columns; x++) image 3737 magick/display.c if (IsColorSimilar(*image,q,&target) != MagickFalse) image 3751 magick/display.c for (i=0; i < (ssize_t) (*image)->colors; i++) image 3752 magick/display.c if (IsColorSimilar(*image,(*image)->colormap+i,&target) != MagickFalse) image 3754 magick/display.c (*image)->colormap[i].red=ScaleShortToQuantum(color.red); image 3755 magick/display.c (*image)->colormap[i].green=ScaleShortToQuantum( image 3757 magick/display.c (*image)->colormap[i].blue=ScaleShortToQuantum( image 3760 magick/display.c (void) SyncImage(*image); image 3776 magick/display.c (void) GetOneVirtualMagickPixel(*image,(ssize_t) x_offset, image 3791 magick/display.c (void) FloodfillPaintImage(*image,DefaultChannels,draw_info,&target, image 3802 magick/display.c if (SetImageStorageClass(*image,DirectClass) == MagickFalse) image 3804 magick/display.c for (y=0; y < (int) (*image)->rows; y++) image 3807 magick/display.c (*image)->columns,1,exception); image 3810 magick/display.c for (x=0; x < (int) (*image)->columns; x++) image 3827 magick/display.c (void) XSelectInput(display,windows->image.id, image 3828 magick/display.c windows->image.attributes.event_mask); image 3867 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image *image) image 3943 magick/display.c composite_image=ReadImage(resource_info->image_info,&image->exception); image 3944 magick/display.c CatchException(&image->exception); image 3955 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 3960 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 3961 magick/display.c (void) XSelectInput(display,windows->image.id, image 3962 magick/display.c windows->image.attributes.event_mask | PointerMotionMask); image 3963 magick/display.c composite_info.x=(ssize_t) windows->image.x+x; image 3964 magick/display.c composite_info.y=(ssize_t) windows->image.y+y; image 3968 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXinvert); image 3983 magick/display.c highlight_info.x=composite_info.x-windows->image.x; image 3984 magick/display.c highlight_info.y=composite_info.y-windows->image.y; image 3985 magick/display.c XHighlightRectangle(display,windows->image.id, image 3986 magick/display.c windows->image.highlight_context,&highlight_info); image 3991 magick/display.c XHighlightRectangle(display,windows->image.id, image 3992 magick/display.c windows->image.highlight_context,&highlight_info); image 4031 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4035 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4048 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4052 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4061 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4065 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4087 magick/display.c if (image->debug != MagickFalse) image 4093 magick/display.c if (event.xbutton.window != windows->image.id) image 4100 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 4101 magick/display.c composite_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 4102 magick/display.c composite_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 4107 magick/display.c if (image->debug != MagickFalse) image 4113 magick/display.c if (event.xbutton.window != windows->image.id) image 4120 magick/display.c composite_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 4121 magick/display.c composite_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 4139 magick/display.c if (event.xkey.window != windows->image.id) image 4147 magick/display.c if (image->debug != MagickFalse) image 4166 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4170 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4200 magick/display.c composite_info.x=(ssize_t) windows->image.x+x; image 4201 magick/display.c composite_info.y=(ssize_t) windows->image.y+y; image 4206 magick/display.c if (image->debug != MagickFalse) image 4213 magick/display.c (void) XSelectInput(display,windows->image.id, image 4214 magick/display.c windows->image.attributes.event_mask); image 4215 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 4225 magick/display.c width=(unsigned int) image->columns; image 4226 magick/display.c height=(unsigned int) image->rows; image 4229 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 4230 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y,&width,&height); image 4231 magick/display.c scale_factor=(MagickRealType) width/windows->image.ximage->width; image 4235 magick/display.c scale_factor=(MagickRealType) height/windows->image.ximage->height; image 4250 magick/display.c &image->exception); image 4288 magick/display.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 4290 magick/display.c image->matte=MagickTrue; image 4291 magick/display.c exception=(&image->exception); image 4292 magick/display.c image_view=AcquireAuthenticCacheView(image,exception); image 4293 magick/display.c for (y=0; y < (int) image->rows; y++) image 4295 magick/display.c q=GetCacheViewAuthenticPixels(image_view,0,(ssize_t) y,image->columns,1, image 4299 magick/display.c for (x=0; x < (int) image->columns; x++) image 4312 magick/display.c (void) CompositeImage(image,compose,composite_image,composite_info.x, image 4319 magick/display.c XConfigureImageColormap(display,resource_info,windows,image); image 4320 magick/display.c (void) XConfigureImage(display,resource_info,windows,image); image 4357 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image *image) image 4383 magick/display.c width=(unsigned int) windows->image.window_changes.width; image 4384 magick/display.c height=(unsigned int) windows->image.window_changes.height; image 4385 magick/display.c if (image->debug != MagickFalse) image 4387 magick/display.c "Configure Image: %dx%d=>%.20gx%.20g",windows->image.ximage->width, image 4388 magick/display.c windows->image.ximage->height,(double) width,(double) height); image 4398 magick/display.c if (((int) width != windows->image.ximage->width) || image 4399 magick/display.c ((int) height != windows->image.ximage->height)) image 4400 magick/display.c image->taint=MagickTrue; image 4402 magick/display.c width*windows->magnify.x/windows->image.ximage->width; image 4404 magick/display.c height*windows->magnify.y/windows->image.ximage->height; image 4405 magick/display.c windows->image.x=(int) (width*windows->image.x/windows->image.ximage->width); image 4406 magick/display.c windows->image.y=(int) image 4407 magick/display.c (height*windows->image.y/windows->image.ximage->height); image 4408 magick/display.c status=XMakeImage(display,resource_info,&windows->image,image, image 4412 magick/display.c windows->image.name); image 4421 magick/display.c XDisplayWidth(display,windows->image.screen), image 4422 magick/display.c XDisplayHeight(display,windows->image.screen)); image 4425 magick/display.c if (window_changes.width > XDisplayWidth(display,windows->image.screen)) image 4426 magick/display.c window_changes.width=XDisplayWidth(display,windows->image.screen); image 4428 magick/display.c if (window_changes.height > XDisplayHeight(display,windows->image.screen)) image 4429 magick/display.c window_changes.height=XDisplayHeight(display,windows->image.screen); image 4435 magick/display.c ((XDisplayWidth(display,windows->image.screen)/2)-(width/2)); image 4437 magick/display.c ((XDisplayHeight(display,windows->image.screen)/2)-(height/2)); image 4439 magick/display.c (void) XReconfigureWMWindow(display,windows->image.id,windows->image.screen, image 4441 magick/display.c (void) XClearWindow(display,windows->image.id); image 4442 magick/display.c XRefreshWindow(display,&windows->image,(XEvent *) NULL); image 4448 magick/display.c windows->pan.crop_geometry=windows->image.crop_geometry; image 4449 magick/display.c XBestIconSize(display,&windows->pan,image); image 4482 magick/display.c windows->icon.crop_geometry=windows->image.crop_geometry; image 4483 magick/display.c XBestIconSize(display,&windows->icon,image); image 4529 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image *image, image 4629 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 4634 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 4635 magick/display.c (void) XSelectInput(display,windows->image.id, image 4636 magick/display.c windows->image.attributes.event_mask | PointerMotionMask); image 4637 magick/display.c crop_info.x=(ssize_t) windows->image.x+x; image 4638 magick/display.c crop_info.y=(ssize_t) windows->image.y+y; image 4713 magick/display.c if (event.xbutton.window != windows->image.id) image 4718 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 4719 magick/display.c crop_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 4720 magick/display.c crop_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 4730 magick/display.c if (event.xkey.window != windows->image.id) image 4785 magick/display.c if (event.xmotion.window != windows->image.id) image 4803 magick/display.c crop_info.x=(ssize_t) windows->image.x+x; image 4804 magick/display.c crop_info.y=(ssize_t) windows->image.y+y; image 4811 magick/display.c (void) XSelectInput(display,windows->image.id, image 4812 magick/display.c windows->image.attributes.event_mask); image 4822 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXinvert); image 4836 magick/display.c highlight_info.x=crop_info.x-windows->image.x; image 4837 magick/display.c highlight_info.y=crop_info.y-windows->image.y; image 4849 magick/display.c XHighlightRectangle(display,windows->image.id, image 4850 magick/display.c windows->image.highlight_context,&highlight_info); image 4860 magick/display.c XHighlightRectangle(display,windows->image.id, image 4861 magick/display.c windows->image.highlight_context,&highlight_info); image 4866 magick/display.c crop_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 4867 magick/display.c crop_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 4875 magick/display.c crop_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 4876 magick/display.c crop_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 4888 magick/display.c crop_info.x=(ssize_t) windows->image.x+event.xmotion.x; image 4889 magick/display.c crop_info.y=(ssize_t) windows->image.y+event.xmotion.y; image 4903 magick/display.c if (crop_info.x > (ssize_t) windows->image.ximage->width) image 4904 magick/display.c crop_info.x=(ssize_t) windows->image.ximage->width; image 4915 magick/display.c if (crop_info.y > (ssize_t) windows->image.ximage->height) image 4916 magick/display.c crop_info.y=(ssize_t) windows->image.ximage->height; image 4944 magick/display.c highlight_info.x=crop_info.x-windows->image.x; image 4945 magick/display.c highlight_info.y=crop_info.y-windows->image.y; image 4952 magick/display.c XHighlightRectangle(display,windows->image.id, image 4953 magick/display.c windows->image.highlight_context,&highlight_info); image 4960 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 4962 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4964 magick/display.c XHighlightRectangle(display,windows->image.id, image 4965 magick/display.c windows->image.highlight_context,&highlight_info); image 4976 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 4999 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 5017 magick/display.c XHighlightRectangle(display,windows->image.id, image 5018 magick/display.c windows->image.highlight_context,&highlight_info); image 5025 magick/display.c if (event.xbutton.window != windows->image.id) image 5027 magick/display.c x=windows->image.x+event.xbutton.x; image 5028 magick/display.c y=windows->image.y+event.xbutton.y; image 5069 magick/display.c if ((highlight_info.x != crop_info.x-windows->image.x) || image 5070 magick/display.c (highlight_info.y != crop_info.y-windows->image.y)) image 5071 magick/display.c XHighlightRectangle(display,windows->image.id, image 5072 magick/display.c windows->image.highlight_context,&highlight_info); image 5073 magick/display.c (void) XSetSelectionOwner(display,XA_PRIMARY,windows->image.id, image 5079 magick/display.c if (event.xexpose.window == windows->image.id) image 5086 magick/display.c XRefreshWindow(display,&windows->image,&event); image 5095 magick/display.c if (event.xkey.window != windows->image.id) image 5115 magick/display.c crop_info.x=(ssize_t) (windows->image.width/2L-crop_info.width/ image 5117 magick/display.c crop_info.y=(ssize_t) (windows->image.height/2L-crop_info.height/ image 5150 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 5173 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 5183 magick/display.c (void) XSetSelectionOwner(display,XA_PRIMARY,windows->image.id, image 5191 magick/display.c if (event.xmotion.window != windows->image.id) image 5209 magick/display.c crop_info.x=(ssize_t) windows->image.x+event.xmotion.x; image 5210 magick/display.c crop_info.y=(ssize_t) windows->image.y+event.xmotion.y; image 5250 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 5255 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 5260 magick/display.c if (((int) crop_info.width != windows->image.ximage->width) || image 5261 magick/display.c ((int) crop_info.height != windows->image.ximage->height)) image 5266 magick/display.c XSetCropGeometry(display,windows,&crop_info,image); image 5267 magick/display.c windows->image.window_changes.width=(int) crop_info.width; image 5268 magick/display.c windows->image.window_changes.height=(int) crop_info.height; image 5269 magick/display.c (void) XConfigureImage(display,resource_info,windows,image); image 5277 magick/display.c width=(unsigned int) image->columns; image 5278 magick/display.c height=(unsigned int) image->rows; image 5281 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 5282 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y,&width,&height); image 5283 magick/display.c scale_factor=(MagickRealType) width/windows->image.ximage->width; image 5287 magick/display.c scale_factor=(MagickRealType) height/windows->image.ximage->height; image 5291 magick/display.c crop_image=CropImage(image,&crop_info,&image->exception); image 5300 magick/display.c (void) XConfigureImage(display,resource_info,windows,image); image 5306 magick/display.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 5308 magick/display.c image->matte=MagickTrue; image 5309 magick/display.c exception=(&image->exception); image 5310 magick/display.c image_view=AcquireAuthenticCacheView(image,exception); image 5329 magick/display.c XConfigureImageColormap(display,resource_info,windows,image); image 5330 magick/display.c (void) XConfigureImage(display,resource_info,windows,image); image 5366 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image **image) image 5461 magick/display.c (void) ThrowMagickException(&(*image)->exception,GetMagickModule(), image 5472 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 5483 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 5484 magick/display.c (void) XSelectInput(display,windows->image.id, image 5485 magick/display.c windows->image.attributes.event_mask | PointerMotionMask); image 5486 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 5496 magick/display.c x+windows->image.x,y+windows->image.y); image 5700 magick/display.c stipple_image=ReadImage(image_info,&(*image)->exception); image 5701 magick/display.c CatchException(&(*image)->exception); image 5759 magick/display.c image); image 5766 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 5781 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 5790 magick/display.c if (event.xbutton.window != windows->image.id) image 5809 magick/display.c if (event.xkey.window != windows->image.id) image 5865 magick/display.c (void) XSelectInput(display,windows->image.id, image 5866 magick/display.c windows->image.attributes.event_mask); image 5886 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXinvert); image 5897 magick/display.c (void) XDrawLines(display,windows->image.id, image 5898 magick/display.c windows->image.highlight_context,coordinate_info, image 5919 magick/display.c XHighlightLine(display,windows->image.id, image 5920 magick/display.c windows->image.highlight_context,&line_info); image 5941 magick/display.c XHighlightRectangle(display,windows->image.id, image 5942 magick/display.c windows->image.highlight_context,&rectangle_info); image 5965 magick/display.c XHighlightEllipse(display,windows->image.id, image 5966 magick/display.c windows->image.highlight_context,&rectangle_info); image 5978 magick/display.c (void) XDrawLines(display,windows->image.id, image 5979 magick/display.c windows->image.highlight_context,coordinate_info, image 5991 magick/display.c XHighlightLine(display,windows->image.id, image 5992 magick/display.c windows->image.highlight_context,&line_info); image 6011 magick/display.c (void) XDrawLines(display,windows->image.id, image 6012 magick/display.c windows->image.highlight_context,coordinate_info, image 6019 magick/display.c XHighlightLine(display,windows->image.id, image 6020 magick/display.c windows->image.highlight_context,&line_info); image 6027 magick/display.c XHighlightRectangle(display,windows->image.id, image 6028 magick/display.c windows->image.highlight_context,&rectangle_info); image 6037 magick/display.c XHighlightEllipse(display,windows->image.id, image 6038 magick/display.c windows->image.highlight_context,&rectangle_info); image 6045 magick/display.c (void) XDrawLines(display,windows->image.id, image 6046 magick/display.c windows->image.highlight_context,coordinate_info, image 6049 magick/display.c XHighlightLine(display,windows->image.id, image 6050 magick/display.c windows->image.highlight_context,&line_info); image 6086 magick/display.c (void) ThrowMagickException(&(*image)->exception,GetMagickModule(), image 6094 magick/display.c if (event.xmotion.window != windows->image.id) image 6113 magick/display.c (void) ThrowMagickException(&(*image)->exception,GetMagickModule(), image 6126 magick/display.c if (line_info.x2 > (int) windows->image.width) image 6127 magick/display.c line_info.x2=(short) windows->image.width; image 6131 magick/display.c if (line_info.y2 > (int) windows->image.height) image 6132 magick/display.c line_info.y2=(short) windows->image.height; image 6142 magick/display.c if (rectangle_info.x > (ssize_t) windows->image.width) image 6143 magick/display.c rectangle_info.x=(ssize_t) windows->image.width; image 6154 magick/display.c if (rectangle_info.y > (ssize_t) windows->image.height) image 6155 magick/display.c rectangle_info.y=(ssize_t) windows->image.height; image 6165 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 6211 magick/display.c image); image 6212 magick/display.c width=(unsigned int) (*image)->columns; image 6213 magick/display.c height=(unsigned int) (*image)->rows; image 6216 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 6217 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y,&width,&height); image 6218 magick/display.c draw_info.x+=windows->image.x-(line_width/2); image 6221 magick/display.c draw_info.x=(int) (width*draw_info.x/windows->image.ximage->width); image 6222 magick/display.c draw_info.y+=windows->image.y-(line_width/2); image 6225 magick/display.c draw_info.y=(int) height*draw_info.y/windows->image.ximage->height; image 6227 magick/display.c if (draw_info.width > (unsigned int) (*image)->columns) image 6228 magick/display.c draw_info.width=(unsigned int) (*image)->columns; image 6230 magick/display.c if (draw_info.height > (unsigned int) (*image)->rows) image 6231 magick/display.c draw_info.height=(unsigned int) (*image)->rows; image 6233 magick/display.c width*draw_info.width/windows->image.ximage->width, image 6234 magick/display.c height*draw_info.height/windows->image.ximage->height, image 6278 magick/display.c status=XDrawImage(display,windows->pixel_info,&draw_info,*image); image 6283 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 6284 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 6329 magick/display.c scale_factor=(MagickRealType) windows->pan.width/windows->image.ximage->width; image 6330 magick/display.c highlight_info.x=(ssize_t) (scale_factor*windows->image.x+0.5); image 6331 magick/display.c highlight_info.width=(unsigned int) (scale_factor*windows->image.width+0.5); image 6333 magick/display.c windows->pan.height/windows->image.ximage->height; image 6334 magick/display.c highlight_info.y=(ssize_t) (scale_factor*windows->image.y+0.5); image 6335 magick/display.c highlight_info.height=(unsigned int) (scale_factor*windows->image.height+0.5); image 6379 magick/display.c XWindows *windows,const CommandType command,Image **image) image 6423 magick/display.c windows->image.window_changes.width=(int) cache_image->columns; image 6424 magick/display.c windows->image.window_changes.height=(int) cache_image->rows; image 6426 magick/display.c windows->image.ximage->width,windows->image.ximage->height); image 6427 magick/display.c (void) TransformImage(image,windows->image.crop_geometry,image_geometry); image 6428 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 6429 magick/display.c windows->image.crop_geometry=(char *) image 6430 magick/display.c RelinquishMagickMemory(windows->image.crop_geometry); image 6431 magick/display.c windows->image.crop_geometry=cache_image->geometry; image 6434 magick/display.c redo_image=(*image); image 6435 magick/display.c *image=cache_image->list; image 6437 magick/display.c if (windows->image.orphan != MagickFalse) image 6439 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 6440 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 6510 magick/display.c bytes=(ssize_t) ((*image)->columns*(*image)->rows*sizeof(PixelPacket)); image 6555 magick/display.c cache_image->list=CloneImage(*image,0,0,MagickTrue,&(*image)->exception); image 6562 magick/display.c cache_image->columns=(size_t) windows->image.ximage->width; image 6563 magick/display.c cache_image->rows=(size_t) windows->image.ximage->height; image 6564 magick/display.c cache_image->geometry=windows->image.crop_geometry; image 6565 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 6569 magick/display.c windows->image.crop_geometry,MaxTextExtent); image 6594 magick/display.c windows->image.window_changes.width=(int) redo_image->columns; image 6595 magick/display.c windows->image.window_changes.height=(int) redo_image->rows; image 6596 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 6597 magick/display.c windows->image.crop_geometry=(char *) image 6598 magick/display.c RelinquishMagickMemory(windows->image.crop_geometry); image 6599 magick/display.c windows->image.crop_geometry=redo_image->geometry; image 6600 magick/display.c *image=DestroyImage(*image); image 6601 magick/display.c *image=redo_image; image 6603 magick/display.c if (windows->image.orphan != MagickFalse) image 6605 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 6606 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 6616 magick/display.c XDisplayImageInfo(display,resource_info,windows,undo_image,*image); image 6663 magick/display.c KeySym key_symbol,Image **image) image 6941 magick/display.c XTranslateImage(display,windows,*image,key_symbol); image 6963 magick/display.c crop_info.width=(size_t) windows->image.ximage->width; image 6964 magick/display.c crop_info.height=(size_t) windows->image.ximage->height; image 6991 magick/display.c if ((int) (windows->image.x+windows->image.width) > image 6993 magick/display.c windows->image.x=(int) (crop_info.width-windows->image.width); image 6994 magick/display.c if ((int) (windows->image.y+windows->image.height) > image 6996 magick/display.c windows->image.y=(int) (crop_info.height-windows->image.height); image 6997 magick/display.c XSetCropGeometry(display,windows,&crop_info,*image); image 6998 magick/display.c windows->image.window_changes.width=(int) crop_info.width; image 6999 magick/display.c windows->image.window_changes.height=(int) crop_info.height; image 7000 magick/display.c (void) XSetWindowBackgroundPixmap(display,windows->image.id,None); image 7001 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7004 magick/display.c XTranslateImage(display,windows,*image,key_symbol); image 7052 magick/display.c XWindows *windows,const CommandType command,Image **image) image 7096 magick/display.c XImageCache(display,resource_info,windows,command,image); image 7098 magick/display.c windows->image.window_changes.width=windows->image.ximage->width; image 7099 magick/display.c windows->image.window_changes.height=windows->image.ximage->height; image 7119 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 7129 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 7146 magick/display.c (void) ThrowMagickException(&(*image)->exception,GetMagickModule(), image 7156 magick/display.c status=XSaveImage(display,resource_info,windows,*image); image 7163 magick/display.c (*image)->exception.reason != (char *) NULL ? image 7164 magick/display.c (*image)->exception.reason : "", image 7165 magick/display.c (*image)->exception.description != (char *) NULL ? image 7166 magick/display.c (*image)->exception.description : ""); image 7177 magick/display.c status=XPrintImage(display,resource_info,windows,*image); image 7184 magick/display.c (*image)->exception.reason != (char *) NULL ? image 7185 magick/display.c (*image)->exception.reason : "", image 7186 magick/display.c (*image)->exception.description != (char *) NULL ? image 7187 magick/display.c (*image)->exception.description : ""); image 7239 magick/display.c nexus=ReadImage(image_info,&(*image)->exception); image 7240 magick/display.c CatchException(&(*image)->exception); image 7241 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 7259 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 7272 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 7282 magick/display.c (void) XCropImage(display,resource_info,windows,*image,CutMode); image 7290 magick/display.c (void) XCropImage(display,resource_info,windows,*image,CopyMode); image 7298 magick/display.c status=XPasteImage(display,resource_info,windows,*image); image 7302 magick/display.c (*image)->filename); image 7312 magick/display.c windows->image.window_changes.width=windows->image.ximage->width/2; image 7313 magick/display.c windows->image.window_changes.height=windows->image.ximage->height/2; image 7314 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7322 magick/display.c windows->image.window_changes.width=(int) (*image)->columns; image 7323 magick/display.c windows->image.window_changes.height=(int) (*image)->rows; image 7324 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7332 magick/display.c windows->image.window_changes.width=windows->image.ximage->width << 1; image 7333 magick/display.c windows->image.window_changes.height=windows->image.ximage->height << 1; image 7334 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7353 magick/display.c width=(size_t) windows->image.ximage->width; image 7354 magick/display.c height=(size_t) windows->image.ximage->height; image 7366 magick/display.c windows->image.window_changes.width=(int) width; image 7367 magick/display.c windows->image.window_changes.height=(int) height; image 7368 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7376 magick/display.c if ((windows->image.crop_geometry == (char *) NULL) && image 7377 magick/display.c ((int) (*image)->columns == windows->image.ximage->width) && image 7378 magick/display.c ((int) (*image)->rows == windows->image.ximage->height)) image 7389 magick/display.c windows->image.ximage->width,windows->image.ximage->height); image 7390 magick/display.c (void) TransformImage(image,windows->image.crop_geometry,image_geometry); image 7391 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 7392 magick/display.c windows->image.crop_geometry=(char *) image 7393 magick/display.c RelinquishMagickMemory(windows->image.crop_geometry); image 7394 magick/display.c windows->image.x=0; image 7395 magick/display.c windows->image.y=0; image 7396 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7397 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7402 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7410 magick/display.c if ((windows->image.width == (unsigned int) (*image)->columns) && image 7411 magick/display.c (windows->image.height == (unsigned int) (*image)->rows) && image 7412 magick/display.c (windows->image.crop_geometry == (char *) NULL)) image 7417 magick/display.c windows->image.window_changes.width=(int) (*image)->columns; image 7418 magick/display.c windows->image.window_changes.height=(int) (*image)->rows; image 7419 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 7421 magick/display.c windows->image.crop_geometry=(char *) image 7422 magick/display.c RelinquishMagickMemory(windows->image.crop_geometry); image 7423 magick/display.c windows->image.crop_geometry=(char *) NULL; image 7424 magick/display.c windows->image.x=0; image 7425 magick/display.c windows->image.y=0; image 7427 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7428 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7436 magick/display.c (void) XCropImage(display,resource_info,windows,*image,CropMode); image 7444 magick/display.c status=XChopImage(display,resource_info,windows,image); image 7448 magick/display.c (*image)->filename); image 7463 magick/display.c flop_image=FlopImage(*image,&(*image)->exception); image 7466 magick/display.c *image=DestroyImage(*image); image 7467 magick/display.c *image=flop_image; image 7469 magick/display.c CatchException(&(*image)->exception); image 7471 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 7476 magick/display.c width=(unsigned int) (*image)->columns; image 7477 magick/display.c height=(unsigned int) (*image)->rows; image 7478 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y, image 7480 magick/display.c (void) FormatLocaleString(windows->image.crop_geometry,MaxTextExtent, image 7481 magick/display.c "%ux%u%+d%+d",width,height,(int) (*image)->columns-(int) width-x,y); image 7483 magick/display.c if (windows->image.orphan != MagickFalse) image 7485 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7498 magick/display.c flip_image=FlipImage(*image,&(*image)->exception); image 7501 magick/display.c *image=DestroyImage(*image); image 7502 magick/display.c *image=flip_image; image 7504 magick/display.c CatchException(&(*image)->exception); image 7506 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 7511 magick/display.c width=(unsigned int) (*image)->columns; image 7512 magick/display.c height=(unsigned int) (*image)->rows; image 7513 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y, image 7515 magick/display.c (void) FormatLocaleString(windows->image.crop_geometry,MaxTextExtent, image 7516 magick/display.c "%ux%u%+d%+d",width,height,x,(int) (*image)->rows-(int) height-y); image 7518 magick/display.c if (windows->image.orphan != MagickFalse) image 7520 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7528 magick/display.c status=XRotateImage(display,resource_info,windows,90.0,image); image 7532 magick/display.c (*image)->filename); image 7542 magick/display.c status=XRotateImage(display,resource_info,windows,-90.0,image); image 7546 magick/display.c (*image)->filename); image 7556 magick/display.c status=XRotateImage(display,resource_info,windows,0.0,image); image 7560 magick/display.c (*image)->filename); image 7586 magick/display.c (void) XMagickCommand(display,resource_info,windows,ApplyCommand,image); image 7589 magick/display.c (void) QueryColorDatabase(color,&(*image)->background_color, image 7590 magick/display.c &(*image)->exception); image 7594 magick/display.c shear_image=ShearImage(*image,geometry_info.rho,geometry_info.sigma, image 7595 magick/display.c &(*image)->exception); image 7598 magick/display.c *image=DestroyImage(*image); image 7599 magick/display.c *image=shear_image; image 7601 magick/display.c CatchException(&(*image)->exception); image 7603 magick/display.c if (windows->image.orphan != MagickFalse) image 7605 magick/display.c windows->image.window_changes.width=(int) (*image)->columns; image 7606 magick/display.c windows->image.window_changes.height=(int) (*image)->rows; image 7607 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7608 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7629 magick/display.c (void) XMagickCommand(display,resource_info,windows,ApplyCommand,image); image 7632 magick/display.c (void) ParsePageGeometry(*image,geometry,&page_geometry, image 7633 magick/display.c &(*image)->exception); image 7634 magick/display.c roll_image=RollImage(*image,page_geometry.x,page_geometry.y, image 7635 magick/display.c &(*image)->exception); image 7638 magick/display.c *image=DestroyImage(*image); image 7639 magick/display.c *image=roll_image; image 7641 magick/display.c CatchException(&(*image)->exception); image 7643 magick/display.c if (windows->image.orphan != MagickFalse) image 7645 magick/display.c windows->image.window_changes.width=(int) (*image)->columns; image 7646 magick/display.c windows->image.window_changes.height=(int) (*image)->rows; image 7647 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7648 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7660 magick/display.c (*image)->fuzz/(QuantumRange+1.0)); image 7664 magick/display.c (*image)->fuzz=StringToDoubleInterval(fuzz,(double) QuantumRange+1.0); image 7668 magick/display.c status=XTrimImage(display,resource_info,windows,*image); image 7672 magick/display.c (*image)->filename); image 7697 magick/display.c (void) ModulateImage(*image,modulate_factors); image 7699 magick/display.c if (windows->image.orphan != MagickFalse) image 7701 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7702 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7725 magick/display.c (void) ModulateImage(*image,modulate_factors); image 7727 magick/display.c if (windows->image.orphan != MagickFalse) image 7729 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7730 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7752 magick/display.c (void) ModulateImage(*image,modulate_factors); image 7754 magick/display.c if (windows->image.orphan != MagickFalse) image 7756 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7757 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7777 magick/display.c (void) GammaImage(*image,factor); image 7779 magick/display.c if (windows->image.orphan != MagickFalse) image 7781 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7782 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7792 magick/display.c (void) ContrastImage(*image,MagickTrue); image 7794 magick/display.c if (windows->image.orphan != MagickFalse) image 7796 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7797 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7807 magick/display.c (void) ContrastImage(*image,MagickFalse); image 7809 magick/display.c if (windows->image.orphan != MagickFalse) image 7811 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7812 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7841 magick/display.c black_point*=(double) (*image)->columns*(*image)->rows/100.0; image 7842 magick/display.c white_point*=(double) (*image)->columns*(*image)->rows/100.0; image 7844 magick/display.c white_point=(MagickRealType) (*image)->columns*(*image)->rows-white_point; image 7845 magick/display.c (void) ContrastStretchImageChannel(*image,DefaultChannels,black_point, image 7848 magick/display.c if (windows->image.orphan != MagickFalse) image 7850 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7851 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7871 magick/display.c (void) SigmoidalContrastImage(*image,MagickTrue,levels); image 7873 magick/display.c if (windows->image.orphan != MagickFalse) image 7875 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7876 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7886 magick/display.c (void) NormalizeImage(*image); image 7888 magick/display.c if (windows->image.orphan != MagickFalse) image 7890 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7891 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7901 magick/display.c (void) EqualizeImage(*image); image 7903 magick/display.c if (windows->image.orphan != MagickFalse) image 7905 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7906 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7916 magick/display.c (void) NegateImage(*image,MagickFalse); image 7918 magick/display.c if (windows->image.orphan != MagickFalse) image 7920 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7921 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7931 magick/display.c (void) SetImageType(*image,(*image)->matte == MagickFalse ? image 7934 magick/display.c if (windows->image.orphan != MagickFalse) image 7936 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7937 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7960 magick/display.c affinity_image=ReadImage(image_info,&(*image)->exception); image 7963 magick/display.c (void) RemapImage(&quantize_info,*image,affinity_image); image 7966 magick/display.c CatchException(&(*image)->exception); image 7968 magick/display.c if (windows->image.orphan != MagickFalse) image 7970 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 7971 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 7996 magick/display.c (void) QuantizeImage(&quantize_info,*image); image 7998 magick/display.c if (windows->image.orphan != MagickFalse) image 8000 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8001 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8014 magick/display.c despeckle_image=DespeckleImage(*image,&(*image)->exception); image 8017 magick/display.c *image=DestroyImage(*image); image 8018 magick/display.c *image=despeckle_image; image 8020 magick/display.c CatchException(&(*image)->exception); image 8022 magick/display.c if (windows->image.orphan != MagickFalse) image 8024 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8025 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8051 magick/display.c emboss_image=EmbossImage(*image,geometry_info.rho,geometry_info.sigma, image 8052 magick/display.c &(*image)->exception); image 8055 magick/display.c *image=DestroyImage(*image); image 8056 magick/display.c *image=emboss_image; image 8058 magick/display.c CatchException(&(*image)->exception); image 8060 magick/display.c if (windows->image.orphan != MagickFalse) image 8062 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8063 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8087 magick/display.c noise_image=StatisticImage(*image,NonpeakStatistic,(size_t) image 8088 magick/display.c geometry_info.rho,(size_t) geometry_info.rho,&(*image)->exception); image 8091 magick/display.c *image=DestroyImage(*image); image 8092 magick/display.c *image=noise_image; image 8094 magick/display.c CatchException(&(*image)->exception); image 8096 magick/display.c if (windows->image.orphan != MagickFalse) image 8098 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8099 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8127 magick/display.c noise_image=AddNoiseImage(*image,(NoiseType) ParseCommandOption( image 8128 magick/display.c MagickNoiseOptions,MagickFalse,noise_type),&(*image)->exception); image 8131 magick/display.c *image=DestroyImage(*image); image 8132 magick/display.c *image=noise_image; image 8134 magick/display.c CatchException(&(*image)->exception); image 8136 magick/display.c if (windows->image.orphan != MagickFalse) image 8138 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8139 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8163 magick/display.c sharp_image=SharpenImage(*image,geometry_info.rho,geometry_info.sigma, image 8164 magick/display.c &(*image)->exception); image 8167 magick/display.c *image=DestroyImage(*image); image 8168 magick/display.c *image=sharp_image; image 8170 magick/display.c CatchException(&(*image)->exception); image 8172 magick/display.c if (windows->image.orphan != MagickFalse) image 8174 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8175 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8199 magick/display.c blur_image=BlurImage(*image,geometry_info.rho,geometry_info.sigma, image 8200 magick/display.c &(*image)->exception); image 8203 magick/display.c *image=DestroyImage(*image); image 8204 magick/display.c *image=blur_image; image 8206 magick/display.c CatchException(&(*image)->exception); image 8208 magick/display.c if (windows->image.orphan != MagickFalse) image 8210 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8211 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8235 magick/display.c (void) BilevelImage(*image,threshold); image 8237 magick/display.c if (windows->image.orphan != MagickFalse) image 8239 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8240 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8264 magick/display.c edge_image=EdgeImage(*image,geometry_info.rho,&(*image)->exception); image 8267 magick/display.c *image=DestroyImage(*image); image 8268 magick/display.c *image=edge_image; image 8270 magick/display.c CatchException(&(*image)->exception); image 8272 magick/display.c if (windows->image.orphan != MagickFalse) image 8274 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8275 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8299 magick/display.c spread_image=EdgeImage(*image,geometry_info.rho,&(*image)->exception); image 8302 magick/display.c *image=DestroyImage(*image); image 8303 magick/display.c *image=spread_image; image 8305 magick/display.c CatchException(&(*image)->exception); image 8307 magick/display.c if (windows->image.orphan != MagickFalse) image 8309 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8310 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8339 magick/display.c shade_image=ShadeImage(*image,status != 0 ? MagickFalse : MagickTrue, image 8340 magick/display.c geometry_info.rho,geometry_info.sigma,&(*image)->exception); image 8343 magick/display.c *image=DestroyImage(*image); image 8344 magick/display.c *image=shade_image; image 8346 magick/display.c CatchException(&(*image)->exception); image 8348 magick/display.c if (windows->image.orphan != MagickFalse) image 8350 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8351 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8368 magick/display.c (void) XMagickCommand(display,resource_info,windows,ApplyCommand,image); image 8371 magick/display.c (void) ParsePageGeometry(*image,bevel_width,&page_geometry, image 8372 magick/display.c &(*image)->exception); image 8373 magick/display.c (void) RaiseImage(*image,&page_geometry,MagickTrue); image 8375 magick/display.c if (windows->image.orphan != MagickFalse) image 8377 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8378 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8401 magick/display.c (void) SegmentImage(*image,sRGBColorspace,MagickFalse,geometry_info.rho, image 8404 magick/display.c if (windows->image.orphan != MagickFalse) image 8406 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8407 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8434 magick/display.c sepia_image=SepiaToneImage(*image,threshold,&(*image)->exception); image 8437 magick/display.c *image=DestroyImage(*image); image 8438 magick/display.c *image=sepia_image; image 8440 magick/display.c CatchException(&(*image)->exception); image 8442 magick/display.c if (windows->image.orphan != MagickFalse) image 8444 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8445 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8469 magick/display.c (void) SolarizeImage(*image,threshold); image 8471 magick/display.c if (windows->image.orphan != MagickFalse) image 8473 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8474 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8498 magick/display.c swirl_image=SwirlImage(*image,geometry_info.rho,&(*image)->exception); image 8501 magick/display.c *image=DestroyImage(*image); image 8502 magick/display.c *image=swirl_image; image 8504 magick/display.c CatchException(&(*image)->exception); image 8506 magick/display.c if (windows->image.orphan != MagickFalse) image 8508 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8509 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8533 magick/display.c implode_image=ImplodeImage(*image,geometry_info.rho,&(*image)->exception); image 8536 magick/display.c *image=DestroyImage(*image); image 8537 magick/display.c *image=implode_image; image 8539 magick/display.c CatchException(&(*image)->exception); image 8541 magick/display.c if (windows->image.orphan != MagickFalse) image 8543 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8544 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8571 magick/display.c geometry_info.xi=0.1*(*image)->columns; image 8573 magick/display.c geometry_info.psi=0.1*(*image)->rows; image 8574 magick/display.c vignette_image=VignetteImage(*image,geometry_info.rho,geometry_info.sigma, image 8576 magick/display.c 0.5),&(*image)->exception); image 8579 magick/display.c *image=DestroyImage(*image); image 8580 magick/display.c *image=vignette_image; image 8582 magick/display.c CatchException(&(*image)->exception); image 8584 magick/display.c if (windows->image.orphan != MagickFalse) image 8586 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8587 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8613 magick/display.c wave_image=WaveImage(*image,geometry_info.rho,geometry_info.sigma, image 8614 magick/display.c &(*image)->exception); image 8617 magick/display.c *image=DestroyImage(*image); image 8618 magick/display.c *image=wave_image; image 8620 magick/display.c CatchException(&(*image)->exception); image 8622 magick/display.c if (windows->image.orphan != MagickFalse) image 8624 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8625 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8649 magick/display.c paint_image=OilPaintImage(*image,geometry_info.rho,&(*image)->exception); image 8652 magick/display.c *image=DestroyImage(*image); image 8653 magick/display.c *image=paint_image; image 8655 magick/display.c CatchException(&(*image)->exception); image 8657 magick/display.c if (windows->image.orphan != MagickFalse) image 8659 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8660 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8681 magick/display.c (void) XMagickCommand(display,resource_info,windows,ApplyCommand,image); image 8687 magick/display.c charcoal_image=CharcoalImage(*image,geometry_info.rho,geometry_info.sigma, image 8688 magick/display.c &(*image)->exception); image 8691 magick/display.c *image=DestroyImage(*image); image 8692 magick/display.c *image=charcoal_image; image 8694 magick/display.c CatchException(&(*image)->exception); image 8696 magick/display.c if (windows->image.orphan != MagickFalse) image 8698 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8699 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8707 magick/display.c status=XAnnotateEditImage(display,resource_info,windows,*image); image 8711 magick/display.c (*image)->filename); image 8721 magick/display.c status=XDrawEditImage(display,resource_info,windows,image); image 8725 magick/display.c (*image)->filename); image 8735 magick/display.c status=XColorEditImage(display,resource_info,windows,image); image 8739 magick/display.c (*image)->filename); image 8749 magick/display.c status=XMatteEditImage(display,resource_info,windows,image); image 8753 magick/display.c (*image)->filename); image 8763 magick/display.c status=XCompositeImage(display,resource_info,windows,*image); image 8767 magick/display.c (*image)->filename); image 8793 magick/display.c (void) XMagickCommand(display,resource_info,windows,ApplyCommand,image); image 8796 magick/display.c (void) QueryColorDatabase(color,&(*image)->border_color, image 8797 magick/display.c &(*image)->exception); image 8798 magick/display.c (void) ParsePageGeometry(*image,geometry,&page_geometry, image 8799 magick/display.c &(*image)->exception); image 8800 magick/display.c border_image=BorderImage(*image,&page_geometry,&(*image)->exception); image 8803 magick/display.c *image=DestroyImage(*image); image 8804 magick/display.c *image=border_image; image 8806 magick/display.c CatchException(&(*image)->exception); image 8808 magick/display.c if (windows->image.orphan != MagickFalse) image 8810 magick/display.c windows->image.window_changes.width=(int) (*image)->columns; image 8811 magick/display.c windows->image.window_changes.height=(int) (*image)->rows; image 8812 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8813 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8840 magick/display.c (void) XMagickCommand(display,resource_info,windows,ApplyCommand,image); image 8843 magick/display.c (void) QueryColorDatabase(color,&(*image)->matte_color, image 8844 magick/display.c &(*image)->exception); image 8845 magick/display.c (void) ParsePageGeometry(*image,geometry,&page_geometry, image 8846 magick/display.c &(*image)->exception); image 8853 magick/display.c frame_info.width=(*image)->columns+2*frame_info.width; image 8854 magick/display.c frame_info.height=(*image)->rows+2*frame_info.height; image 8855 magick/display.c frame_image=FrameImage(*image,&frame_info,&(*image)->exception); image 8858 magick/display.c *image=DestroyImage(*image); image 8859 magick/display.c *image=frame_image; image 8861 magick/display.c CatchException(&(*image)->exception); image 8863 magick/display.c if (windows->image.orphan != MagickFalse) image 8865 magick/display.c windows->image.window_changes.width=(int) (*image)->columns; image 8866 magick/display.c windows->image.window_changes.height=(int) (*image)->rows; image 8867 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 8868 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 8889 magick/display.c value=GetImageProperty(*image,"comment"); image 8911 magick/display.c status=InvokeDelegate(image_info,*image,"edit",(char *) NULL, image 8912 magick/display.c &(*image)->exception); image 8921 magick/display.c comment=FileToString(image_info->filename,~0UL,&(*image)->exception); image 8924 magick/display.c (void) SetImageProperty(*image,"comment",comment); image 8925 magick/display.c (*image)->taint=MagickTrue; image 8940 magick/display.c (void) FormatLocaleString((*image)->filename,MaxTextExtent,"launch:%s", image 8942 magick/display.c status=WriteImage(image_info,*image); image 8948 magick/display.c nexus=ReadImage(resource_info->image_info,&(*image)->exception); image 8949 magick/display.c CatchException(&(*image)->exception); image 8950 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 8962 magick/display.c (void) XROIImage(display,resource_info,windows,image); image 9015 magick/display.c image_info->group=(ssize_t) windows->image.id; image 9016 magick/display.c (void) DeleteImageProperty(*image,"label"); image 9017 magick/display.c (void) SetImageProperty(*image,"label","Preview"); image 9019 magick/display.c (void) FormatLocaleString((*image)->filename,MaxTextExtent,"preview:%s", image 9021 magick/display.c status=WriteImage(image_info,*image); image 9023 magick/display.c preview_image=ReadImage(image_info,&(*image)->exception); image 9033 magick/display.c (*image)->filename); image 9048 magick/display.c image_info->group=(ssize_t) windows->image.id; image 9049 magick/display.c (void) DeleteImageProperty(*image,"label"); image 9050 magick/display.c (void) SetImageProperty(*image,"label","Histogram"); image 9052 magick/display.c (void) FormatLocaleString((*image)->filename,MaxTextExtent,"histogram:%s", image 9054 magick/display.c status=WriteImage(image_info,*image); image 9056 magick/display.c histogram_image=ReadImage(image_info,&(*image)->exception); image 9066 magick/display.c (*image)->filename); image 9076 magick/display.c if ((*image)->matte == MagickFalse) image 9079 magick/display.c "Image does not have any matte information",(*image)->filename); image 9087 magick/display.c image_info->group=(ssize_t) windows->image.id; image 9088 magick/display.c (void) DeleteImageProperty(*image,"label"); image 9089 magick/display.c (void) SetImageProperty(*image,"label","Matte"); image 9091 magick/display.c (void) FormatLocaleString((*image)->filename,MaxTextExtent,"matte:%s", image 9093 magick/display.c status=WriteImage(image_info,*image); image 9095 magick/display.c matte_image=ReadImage(image_info,&(*image)->exception); image 9105 magick/display.c (*image)->filename); image 9115 magick/display.c status=XBackgroundImage(display,resource_info,windows,image); image 9118 magick/display.c nexus=CloneImage(*image,0,0,MagickTrue,&(*image)->exception); image 9120 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 9137 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 9149 magick/display.c nexus=CloneImage(*image,0,0,MagickTrue,&(*image)->exception); image 9151 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 9200 magick/display.c status=InvokeDelegate(image_info,*image,"browse",(char *) NULL, image 9201 magick/display.c &(*image)->exception); image 9271 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,windows->magnify.cursor); image 9275 magick/display.c windows->magnify.x=(int) windows->image.x+x; image 9276 magick/display.c windows->magnify.y=(int) windows->image.y+y; image 9336 magick/display.c if (x >= (int) windows->image.width) image 9337 magick/display.c x=(int) windows->image.width-1; image 9341 magick/display.c if (y >= (int) windows->image.height) image 9342 magick/display.c y=(int) windows->image.height-1; image 9405 magick/display.c windows->magnify.x=(int) windows->image.width/2; image 9406 magick/display.c windows->magnify.y=(int) windows->image.height/2; image 9426 magick/display.c if (windows->magnify.x < (int) (windows->image.ximage->width-1)) image 9433 magick/display.c if (windows->magnify.y < (int) (windows->image.ximage->height-1)) image 9503 magick/display.c XWindows *windows,Image *image) image 9513 magick/display.c windows->pan.x=(int) windows->image.x; image 9514 magick/display.c windows->pan.y=(int) windows->image.y; image 9515 magick/display.c status=XMakeImage(display,resource_info,&windows->pan,image, image 9518 magick/display.c ThrowXWindowFatalException(XServerFatalError,image->exception.reason, image 9519 magick/display.c image->exception.description); image 9560 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image **image) image 9634 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 9639 magick/display.c cursor=XMakeCursor(display,windows->image.id,windows->map_info->colormap, image 9641 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 9645 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 9646 magick/display.c (void) XSelectInput(display,windows->image.id, image 9647 magick/display.c windows->image.attributes.event_mask | PointerMotionMask); image 9657 magick/display.c x+windows->image.x,y+windows->image.y); image 9672 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 9764 magick/display.c (*image)->fuzz=StringToDoubleInterval(FuzzMenu[entry],(double) image 9774 magick/display.c (*image)->fuzz=StringToDoubleInterval(fuzz,(double) QuantumRange+ image 9819 magick/display.c image); image 9840 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 9849 magick/display.c if ((event.xbutton.window != windows->image.id) && image 9858 magick/display.c SaveToUndoBufferCommand,image); image 9866 magick/display.c if ((event.xbutton.window != windows->image.id) && image 9874 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 9875 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 9877 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 9899 magick/display.c if (event.xkey.window != windows->image.id) image 9957 magick/display.c x=windows->magnify.x-windows->image.x; image 9958 magick/display.c y=windows->magnify.y-windows->image.y; image 9977 magick/display.c (void) XClearArea(display,windows->image.id,x_offset,y_offset,1,1, image 9979 magick/display.c XPutPixel(windows->image.ximage,x_offset,y_offset, image 9981 magick/display.c width=(unsigned int) (*image)->columns; image 9982 magick/display.c height=(unsigned int) (*image)->rows; image 9985 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 9986 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y, image 9989 magick/display.c (width*(windows->image.x+x_offset)/windows->image.ximage->width+x); image 9991 magick/display.c (height*(windows->image.y+y_offset)/windows->image.ximage->height+y); image 9994 magick/display.c if ((x_offset >= (int) (*image)->columns) || image 9995 magick/display.c (y_offset >= (int) (*image)->rows)) image 9997 magick/display.c if (SetImageStorageClass(*image,DirectClass) == MagickFalse) image 9999 magick/display.c (*image)->matte=MagickTrue; image 10000 magick/display.c exception=(&(*image)->exception); image 10001 magick/display.c image_view=AcquireAuthenticCacheView(*image,exception); image 10028 magick/display.c for (y=0; y < (int) (*image)->rows; y++) image 10031 magick/display.c (*image)->columns,1,&(*image)->exception); image 10034 magick/display.c for (x=0; x < (int) (*image)->columns; x++) image 10036 magick/display.c if (IsColorSimilar(*image,q,&target)) image 10057 magick/display.c (void) GetOneVirtualMagickPixel(*image,(ssize_t) x_offset, image 10072 magick/display.c (void) FloodfillPaintImage(*image,OpacityChannel,draw_info,&target, image 10083 magick/display.c if (SetImageStorageClass(*image,DirectClass) == MagickFalse) image 10085 magick/display.c for (y=0; y < (int) (*image)->rows; y++) image 10088 magick/display.c (*image)->columns,1,exception); image 10091 magick/display.c for (x=0; x < (int) (*image)->columns; x++) image 10100 magick/display.c (*image)->matte=MagickFalse; image 10108 magick/display.c (void) XSelectInput(display,windows->image.id, image 10109 magick/display.c windows->image.attributes.event_mask); image 10186 magick/display.c status=XGetCommand(display,windows->image.id,&files,&count); image 10257 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 10344 magick/display.c if ((windows->image.ximage->width > (int) windows->image.width) && image 10345 magick/display.c (windows->image.ximage->height > (int) windows->image.height)) image 10348 magick/display.c if (windows->image.ximage->width > (int) windows->image.width) image 10351 magick/display.c if (windows->image.ximage->height > (int) windows->image.height) image 10359 magick/display.c x_factor=(MagickRealType) windows->image.ximage->width/windows->pan.width; image 10360 magick/display.c y_factor=(MagickRealType) windows->image.ximage->height/windows->pan.height; image 10361 magick/display.c pan_info.width=windows->pan.width*windows->image.width/ image 10362 magick/display.c windows->image.ximage->width; image 10363 magick/display.c pan_info.height=windows->pan.height*windows->image.height/ image 10364 magick/display.c windows->image.ximage->height; image 10413 magick/display.c if ((int) (pan_info.x+windows->image.width) > image 10414 magick/display.c windows->image.ximage->width) image 10416 magick/display.c (windows->image.ximage->width-windows->image.width); image 10424 magick/display.c if ((int) (pan_info.y+windows->image.height) > image 10425 magick/display.c windows->image.ximage->height) image 10427 magick/display.c (windows->image.ximage->height-windows->image.height); image 10428 magick/display.c if ((windows->image.x != (int) pan_info.x) || image 10429 magick/display.c (windows->image.y != (int) pan_info.y)) image 10434 magick/display.c windows->image.x=(int) pan_info.x; image 10435 magick/display.c windows->image.y=(int) pan_info.y; image 10437 magick/display.c windows->image.width,windows->image.height,windows->image.x, image 10438 magick/display.c windows->image.y); image 10444 magick/display.c XRefreshWindow(display,&windows->image,(XEvent *) NULL); image 10494 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image *image) image 10554 magick/display.c &image->exception); image 10562 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 10568 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 10569 magick/display.c (void) XSelectInput(display,windows->image.id, image 10570 magick/display.c windows->image.attributes.event_mask | PointerMotionMask); image 10571 magick/display.c paste_info.x=(ssize_t) windows->image.x+x; image 10572 magick/display.c paste_info.y=(ssize_t) windows->image.y+y; image 10576 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXinvert); image 10590 magick/display.c highlight_info.x=paste_info.x-windows->image.x; image 10591 magick/display.c highlight_info.y=paste_info.y-windows->image.y; image 10592 magick/display.c XHighlightRectangle(display,windows->image.id, image 10593 magick/display.c windows->image.highlight_context,&highlight_info); image 10598 magick/display.c XHighlightRectangle(display,windows->image.id, image 10599 magick/display.c windows->image.highlight_context,&highlight_info); image 10654 magick/display.c if (image->debug != MagickFalse) image 10660 magick/display.c if (event.xbutton.window != windows->image.id) image 10665 magick/display.c width=(unsigned int) image->columns; image 10666 magick/display.c height=(unsigned int) image->rows; image 10669 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 10670 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y, image 10672 magick/display.c scale_factor=(MagickRealType) windows->image.ximage->width/width; image 10674 magick/display.c scale_factor=(MagickRealType) windows->image.ximage->height/height; image 10676 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 10677 magick/display.c paste_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 10678 magick/display.c paste_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 10683 magick/display.c if (image->debug != MagickFalse) image 10689 magick/display.c if (event.xbutton.window != windows->image.id) image 10696 magick/display.c paste_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 10697 magick/display.c paste_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 10715 magick/display.c if (event.xkey.window != windows->image.id) image 10723 magick/display.c if (image->debug != MagickFalse) image 10742 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 10746 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 10776 magick/display.c paste_info.x=(ssize_t) windows->image.x+x; image 10777 magick/display.c paste_info.y=(ssize_t) windows->image.y+y; image 10782 magick/display.c if (image->debug != MagickFalse) image 10789 magick/display.c (void) XSelectInput(display,windows->image.id, image 10790 magick/display.c windows->image.attributes.event_mask); image 10791 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 10801 magick/display.c width=(unsigned int) image->columns; image 10802 magick/display.c height=(unsigned int) image->rows; image 10805 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 10806 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y,&width,&height); image 10807 magick/display.c scale_factor=(MagickRealType) width/windows->image.ximage->width; image 10811 magick/display.c scale_factor=(MagickRealType) height/windows->image.ximage->height; image 10818 magick/display.c (void) CompositeImage(image,compose,paste_image,paste_info.x,paste_info.y); image 10824 magick/display.c XConfigureImageColormap(display,resource_info,windows,image); image 10825 magick/display.c (void) XConfigureImage(display,resource_info,windows,image); image 10860 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image *image) image 10892 magick/display.c print_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 10896 magick/display.c windows->image.ximage->width,windows->image.ximage->height); image 10897 magick/display.c (void) TransformImage(&print_image,windows->image.crop_geometry,geometry); image 10943 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image **image) image 11200 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 11205 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 11206 magick/display.c (void) XSelectInput(display,windows->image.id, image 11207 magick/display.c windows->image.attributes.event_mask | PointerMotionMask); image 11212 magick/display.c roi_info.x=(ssize_t) windows->image.x+x; image 11213 magick/display.c roi_info.y=(ssize_t) windows->image.y+y; image 11269 magick/display.c if (event.xbutton.window != windows->image.id) image 11274 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 11275 magick/display.c roi_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 11276 magick/display.c roi_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 11289 magick/display.c if (event.xkey.window != windows->image.id) image 11341 magick/display.c roi_info.x=(ssize_t) windows->image.x+x; image 11342 magick/display.c roi_info.y=(ssize_t) windows->image.y+y; image 11349 magick/display.c (void) XSelectInput(display,windows->image.id, image 11350 magick/display.c windows->image.attributes.event_mask); image 11360 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXinvert); image 11374 magick/display.c highlight_info.x=roi_info.x-windows->image.x; image 11375 magick/display.c highlight_info.y=roi_info.y-windows->image.y; image 11387 magick/display.c XHighlightRectangle(display,windows->image.id, image 11388 magick/display.c windows->image.highlight_context,&highlight_info); image 11398 magick/display.c XHighlightRectangle(display,windows->image.id, image 11399 magick/display.c windows->image.highlight_context,&highlight_info); image 11404 magick/display.c roi_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 11405 magick/display.c roi_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 11413 magick/display.c roi_info.x=(ssize_t) windows->image.x+event.xbutton.x; image 11414 magick/display.c roi_info.y=(ssize_t) windows->image.y+event.xbutton.y; image 11428 magick/display.c roi_info.x=(ssize_t) windows->image.x+event.xmotion.x; image 11429 magick/display.c roi_info.y=(ssize_t) windows->image.y+event.xmotion.y; image 11443 magick/display.c if (roi_info.x > (ssize_t) windows->image.ximage->width) image 11444 magick/display.c roi_info.x=(ssize_t) windows->image.ximage->width; image 11455 magick/display.c if (roi_info.y > (ssize_t) windows->image.ximage->height) image 11456 magick/display.c roi_info.y=(ssize_t) windows->image.ximage->height; image 11485 magick/display.c highlight_info.x=roi_info.x-windows->image.x; image 11486 magick/display.c highlight_info.y=roi_info.y-windows->image.y; image 11495 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 11502 magick/display.c image); image 11510 magick/display.c progress_monitor=SetImageProgressMonitor(*image, image 11511 magick/display.c (MagickProgressMonitor) NULL,(*image)->client_data); image 11513 magick/display.c width=(unsigned int) (*image)->columns; image 11514 magick/display.c height=(unsigned int) (*image)->rows; image 11517 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 11518 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y, image 11520 magick/display.c scale_factor=(MagickRealType) width/windows->image.ximage->width; image 11525 magick/display.c height/windows->image.ximage->height; image 11530 magick/display.c roi_image=CropImage(*image,&crop_info,&(*image)->exception); image 11531 magick/display.c (void) SetImageProgressMonitor(*image,progress_monitor, image 11532 magick/display.c (*image)->client_data); image 11538 magick/display.c windows->image.orphan=MagickTrue; image 11541 magick/display.c progress_monitor=SetImageProgressMonitor(*image, image 11542 magick/display.c (MagickProgressMonitor) NULL,(*image)->client_data); image 11544 magick/display.c SaveToUndoBufferCommand,image); image 11545 magick/display.c windows->image.orphan=MagickFalse; image 11546 magick/display.c (void) CompositeImage(*image,CopyCompositeOp,roi_image, image 11549 magick/display.c (void) SetImageProgressMonitor(*image,progress_monitor, image 11550 magick/display.c (*image)->client_data); image 11556 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 11557 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 11561 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 11565 magick/display.c XHighlightRectangle(display,windows->image.id, image 11566 magick/display.c windows->image.highlight_context,&highlight_info); image 11573 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 11595 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 11597 magick/display.c XHighlightRectangle(display,windows->image.id, image 11598 magick/display.c windows->image.highlight_context,&highlight_info); image 11601 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 11605 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 11622 magick/display.c XHighlightRectangle(display,windows->image.id, image 11623 magick/display.c windows->image.highlight_context,&highlight_info); image 11628 magick/display.c x=windows->image.x; image 11629 magick/display.c y=windows->image.y; image 11632 magick/display.c if (event.xbutton.window != windows->image.id) image 11634 magick/display.c x=windows->image.x+event.xbutton.x; image 11635 magick/display.c y=windows->image.y+event.xbutton.y; image 11676 magick/display.c if ((highlight_info.x != crop_info.x-windows->image.x) || image 11677 magick/display.c (highlight_info.y != crop_info.y-windows->image.y)) image 11678 magick/display.c XHighlightRectangle(display,windows->image.id, image 11679 magick/display.c windows->image.highlight_context,&highlight_info); image 11680 magick/display.c (void) XSetSelectionOwner(display,XA_PRIMARY,windows->image.id, image 11686 magick/display.c if (event.xexpose.window == windows->image.id) image 11693 magick/display.c XRefreshWindow(display,&windows->image,&event); image 11705 magick/display.c if (event.xkey.window != windows->image.id) image 11728 magick/display.c roi_info.x=(ssize_t) (windows->image.width/2L-roi_info.width/2L); image 11729 magick/display.c roi_info.y=(ssize_t) (windows->image.height/2L- image 11762 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 11766 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 11773 magick/display.c event.xkey.state,key_symbol,image); image 11779 magick/display.c (void) XSetSelectionOwner(display,XA_PRIMARY,windows->image.id, image 11787 magick/display.c if (event.xbutton.window != windows->image.id) image 11805 magick/display.c roi_info.x=(ssize_t) windows->image.x+event.xmotion.x; image 11806 magick/display.c roi_info.y=(ssize_t) windows->image.y+event.xmotion.y; image 11846 magick/display.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 11851 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 11893 magick/display.c XResourceInfo *resource_info,XWindows *windows,double degrees,Image **image) image 11969 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 11974 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXinvert); image 11975 magick/display.c XQueryPosition(display,windows->image.id,&x,&y); image 11983 magick/display.c XHighlightLine(display,windows->image.id, image 11984 magick/display.c windows->image.highlight_context,&rotate_info); image 11989 magick/display.c XHighlightLine(display,windows->image.id, image 11990 magick/display.c windows->image.highlight_context,&rotate_info); image 11999 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 12089 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 12099 magick/display.c if (event.xbutton.window != windows->image.id) image 12104 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 12123 magick/display.c if (event.xkey.window != windows->image.id) image 12145 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 12149 magick/display.c (void) XSetFunction(display,windows->image.highlight_context, image 12174 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 12182 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXinvert); image 12196 magick/display.c XHighlightLine(display,windows->image.id, image 12197 magick/display.c windows->image.highlight_context,&rotate_info); image 12208 magick/display.c XHighlightLine(display,windows->image.id, image 12209 magick/display.c windows->image.highlight_context,&rotate_info); image 12240 magick/display.c if (rotate_info.x2 > (int) windows->image.width) image 12241 magick/display.c rotate_info.x2=(short) windows->image.width; image 12245 magick/display.c if (rotate_info.y2 > (int) windows->image.height) image 12246 magick/display.c rotate_info.y2=(short) windows->image.height; image 12258 magick/display.c (void) XSetFunction(display,windows->image.highlight_context,GXcopy); image 12276 magick/display.c (void) XMagickCommand(display,resource_info,windows,ApplyCommand,image); image 12279 magick/display.c (*image)->background_color.red=ScaleShortToQuantum( image 12281 magick/display.c (*image)->background_color.green=ScaleShortToQuantum( image 12283 magick/display.c (*image)->background_color.blue=ScaleShortToQuantum( image 12285 magick/display.c rotate_image=RotateImage(*image,degrees,&(*image)->exception); image 12289 magick/display.c *image=DestroyImage(*image); image 12290 magick/display.c *image=rotate_image; image 12291 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 12296 magick/display.c width=(unsigned int) (*image)->columns; image 12297 magick/display.c height=(unsigned int) (*image)->rows; image 12298 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y,&width,&height); image 12309 magick/display.c (void) FormatLocaleString(windows->image.crop_geometry,MaxTextExtent, image 12310 magick/display.c "%ux%u%+d%+d",height,width,(int) (*image)->columns- image 12319 magick/display.c (void) FormatLocaleString(windows->image.crop_geometry,MaxTextExtent, image 12328 magick/display.c (void) FormatLocaleString(windows->image.crop_geometry,MaxTextExtent, image 12329 magick/display.c "%ux%u%+d%+d",height,width,y,(int) (*image)->rows-(int) width-x); image 12334 magick/display.c if (windows->image.orphan != MagickFalse) image 12341 magick/display.c windows->image.window_changes.width=(int) (*image)->columns; image 12342 magick/display.c windows->image.window_changes.height=(int) (*image)->rows; image 12343 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 12348 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y, image 12350 magick/display.c windows->image.window_changes.width=(int) width; image 12351 magick/display.c windows->image.window_changes.height=(int) height; image 12353 magick/display.c XConfigureImageColormap(display,resource_info,windows,*image); image 12358 magick/display.c windows->image.window_changes.width=windows->image.ximage->height; image 12359 magick/display.c windows->image.window_changes.height=windows->image.ximage->width; image 12364 magick/display.c (void) XConfigureImage(display,resource_info,windows,*image); image 12399 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image *image) image 12428 magick/display.c GetPathComponent(image->filename,HeadPath,path); image 12429 magick/display.c GetPathComponent(image->filename,TailPath,filename); image 12434 magick/display.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 12455 magick/display.c (void) SetImageInfo(image_info,1,&image->exception); image 12469 magick/display.c image->quality); image 12474 magick/display.c image->quality=StringToUnsignedLong(quality); image 12503 magick/display.c save_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 12507 magick/display.c windows->image.ximage->width,windows->image.ximage->height); image 12508 magick/display.c (void) TransformImage(&save_image,windows->image.crop_geometry,geometry); image 12515 magick/display.c image->taint=MagickFalse; image 12565 magick/display.c (event->xclient.window == windows->image.id)) image 12608 magick/display.c if (event->xbutton.window == windows->image.id) image 12619 magick/display.c if (x >= (int) windows->image.width) image 12620 magick/display.c x=(int) (windows->image.width-1); image 12621 magick/display.c windows->magnify.x=(int) windows->image.x+x; image 12625 magick/display.c if (y >= (int) windows->image.height) image 12626 magick/display.c y=(int) (windows->image.height-1); image 12627 magick/display.c windows->magnify.y=windows->image.y+y; image 12695 magick/display.c if (event->xexpose.window == windows->image.id) image 12697 magick/display.c XRefreshWindow(display,&windows->image,event); image 12750 magick/display.c if (event->xmotion.window == windows->image.id) image 12761 magick/display.c if (x >= (int) windows->image.width) image 12762 magick/display.c x=(int) (windows->image.width-1); image 12763 magick/display.c windows->magnify.x=(int) windows->image.x+x; image 12767 magick/display.c if (y >= (int) windows->image.height) image 12768 magick/display.c y=(int) (windows->image.height-1); image 12769 magick/display.c windows->magnify.y=windows->image.y+y; image 12826 magick/display.c RectangleInfo *crop_info,Image *image) image 12857 magick/display.c width=(unsigned int) image->columns; image 12858 magick/display.c height=(unsigned int) image->rows; image 12859 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 12860 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y,&width,&height); image 12862 magick/display.c windows->image.crop_geometry=AcquireString((char *) NULL); image 12866 magick/display.c scale_factor=(MagickRealType) width/windows->image.ximage->width; image 12872 magick/display.c scale_factor=(MagickRealType) height/windows->image.ximage->height; image 12878 magick/display.c (void) FormatLocaleString(windows->image.crop_geometry,MaxTextExtent, image 12920 magick/display.c XWindows *windows,Image *image,XEvent *event) image 12976 magick/display.c width=(unsigned int) image->columns; image 12977 magick/display.c height=(unsigned int) image->rows; image 12978 magick/display.c if (windows->image.crop_geometry != (char *) NULL) image 12979 magick/display.c (void) XParseGeometry(windows->image.crop_geometry,&x,&y,&width,&height); image 12980 magick/display.c scale_factor=(MagickRealType) width/windows->image.ximage->width; image 12981 magick/display.c event->xbutton.x+=windows->image.x; image 12983 magick/display.c scale_factor=(MagickRealType) height/windows->image.ximage->height; image 12984 magick/display.c event->xbutton.y+=windows->image.y; image 12989 magick/display.c width=(unsigned int) image->columns; image 12990 magick/display.c height=(unsigned int) image->rows; image 12993 magick/display.c (void) XParseGeometry(image->montage,&x,&y,&width,&height); image 12994 magick/display.c tile=((event->xbutton.y-y)/height)*(((int) image->columns-x)/width)+ image 13007 magick/display.c p=image->directory; image 13050 magick/display.c tile_image=ReadImage(resource_info->image_info,&image->exception); image 13051 magick/display.c CatchException(&image->exception); image 13060 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 13069 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 13116 magick/display.c for (p=image->directory; *p != '\0'; p++) image 13134 magick/display.c x_offset=(int) (width*(tile % (((int) image->columns-x)/width))+x); image 13135 magick/display.c y_offset=(int) (height*(tile/(((int) image->columns-x)/width))+y); image 13136 magick/display.c exception=(&image->exception); image 13137 magick/display.c image_view=AcquireAuthenticCacheView(image,exception); image 13153 magick/display.c windows->image.window_changes.width=(int) image->columns; image 13154 magick/display.c windows->image.window_changes.height=(int) image->rows; image 13155 magick/display.c XConfigureImageColormap(display,resource_info,windows,image); image 13156 magick/display.c (void) XConfigureImage(display,resource_info,windows,image); image 13200 magick/display.c Image *image,const KeySym key_symbol) image 13216 magick/display.c x_offset=windows->image.width; image 13217 magick/display.c y_offset=windows->image.height; image 13218 magick/display.c if (image->montage != (char *) NULL) image 13219 magick/display.c (void) XParseGeometry(image->montage,&x,&y,&x_offset,&y_offset); image 13225 magick/display.c windows->image.x=(int) windows->image.width/2; image 13226 magick/display.c windows->image.y=(int) windows->image.height/2; image 13232 magick/display.c windows->image.x-=x_offset; image 13239 magick/display.c windows->image.y-=y_offset; image 13245 magick/display.c windows->image.x+=x_offset; image 13252 magick/display.c windows->image.y+=y_offset; image 13261 magick/display.c if (windows->image.x < 0) image 13262 magick/display.c windows->image.x=0; image 13264 magick/display.c if ((int) (windows->image.x+windows->image.width) > image 13265 magick/display.c windows->image.ximage->width) image 13266 magick/display.c windows->image.x=(int) windows->image.ximage->width-windows->image.width; image 13267 magick/display.c if (windows->image.y < 0) image 13268 magick/display.c windows->image.y=0; image 13270 magick/display.c if ((int) (windows->image.y+windows->image.height) > image 13271 magick/display.c windows->image.ximage->height) image 13272 magick/display.c windows->image.y=(int) windows->image.ximage->height-windows->image.height; image 13277 magick/display.c windows->image.width,windows->image.height,windows->image.x, image 13278 magick/display.c windows->image.y); image 13282 magick/display.c XRefreshWindow(display,&windows->image,(XEvent *) NULL); image 13317 magick/display.c XResourceInfo *resource_info,XWindows *windows,Image *image) image 13338 magick/display.c background=XGetPixel(windows->image.ximage,0,0); image 13339 magick/display.c trim_info.width=(size_t) windows->image.ximage->width; image 13340 magick/display.c for (x=0; x < windows->image.ximage->width; x++) image 13342 magick/display.c for (y=0; y < windows->image.ximage->height; y++) image 13344 magick/display.c pixel=XGetPixel(windows->image.ximage,x,y); image 13348 magick/display.c if (y < windows->image.ximage->height) image 13352 magick/display.c if (trim_info.x == (ssize_t) windows->image.ximage->width) image 13360 magick/display.c background=XGetPixel(windows->image.ximage,windows->image.ximage->width-1,0); image 13361 magick/display.c for (x=windows->image.ximage->width-1; x != 0; x--) image 13363 magick/display.c for (y=0; y < windows->image.ximage->height; y++) image 13365 magick/display.c pixel=XGetPixel(windows->image.ximage,x,y); image 13369 magick/display.c if (y < windows->image.ximage->height) image 13376 magick/display.c background=XGetPixel(windows->image.ximage,0,0); image 13377 magick/display.c trim_info.height=(size_t) windows->image.ximage->height; image 13378 magick/display.c for (y=0; y < windows->image.ximage->height; y++) image 13380 magick/display.c for (x=0; x < windows->image.ximage->width; x++) image 13382 magick/display.c pixel=XGetPixel(windows->image.ximage,x,y); image 13386 magick/display.c if (x < windows->image.ximage->width) image 13393 magick/display.c background=XGetPixel(windows->image.ximage,0,windows->image.ximage->height-1); image 13394 magick/display.c for (y=windows->image.ximage->height-1; y != 0; y--) image 13396 magick/display.c for (x=0; x < windows->image.ximage->width; x++) image 13398 magick/display.c pixel=XGetPixel(windows->image.ximage,x,y); image 13402 magick/display.c if (x < windows->image.ximage->width) image 13406 magick/display.c if (((unsigned int) trim_info.width != windows->image.width) || image 13407 magick/display.c ((unsigned int) trim_info.height != windows->image.height)) image 13412 magick/display.c XSetCropGeometry(display,windows,&trim_info,image); image 13413 magick/display.c windows->image.window_changes.width=(int) trim_info.width; image 13414 magick/display.c windows->image.window_changes.height=(int) trim_info.height; image 13415 magick/display.c (void) XConfigureImage(display,resource_info,windows,image); image 13533 magick/display.c "0x%lx",windows->image.id); image 13614 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 13648 magick/display.c XResourceInfo *resource_info,Image *image) image 13692 magick/display.c assert(image != (Image *) NULL); image 13693 magick/display.c assert(image->signature == MagickSignature); image 13694 magick/display.c if (image->debug != MagickFalse) image 13695 magick/display.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 13732 magick/display.c image->filename); image 13761 magick/display.c XMakeStandardColormap(display,visual_info,&resources,image,map_info,&pixel); image 13771 magick/display.c image->filename); image 13782 magick/display.c window_info.width=(unsigned int) image->columns; image 13783 magick/display.c window_info.height=(unsigned int) image->rows; image 13784 magick/display.c if ((image->columns != window_info.width) || image 13785 magick/display.c (image->rows != window_info.height)) image 13787 magick/display.c image->filename); image 13800 magick/display.c status=XMakeImage(display,&resources,&window_info,image,window_info.width, image 13804 magick/display.c image->filename); image 13807 magick/display.c if (image->debug != MagickFalse) image 13810 magick/display.c "Image: %s[%.20g] %.20gx%.20g ",image->filename,(double) image->scene, image 13811 magick/display.c (double) image->columns,(double) image->rows); image 13812 magick/display.c if (image->colors != 0) image 13814 magick/display.c image->colors); image 13815 magick/display.c (void) LogMagickEvent(X11Event,GetMagickModule(),"%s",image->magick); image 13853 magick/display.c "MemoryAllocationFailed",image->filename); image 13874 magick/display.c image->filename); image 13888 magick/display.c delay=1000*image->delay/MagickMax(image->ticks_per_second,1L); image 13932 magick/display.c char **argv,int argc,Image **image,size_t *state) image 14382 magick/display.c assert(image != (Image **) NULL); image 14383 magick/display.c assert((*image)->signature == MagickSignature); image 14384 magick/display.c if ((*image)->debug != MagickFalse) image 14385 magick/display.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",(*image)->filename); image 14386 magick/display.c display_image=(*image); image 14398 magick/display.c (void) ThrowMagickException(&(*image)->exception,GetMagickModule(), image 14414 magick/display.c (*image)->filename); image 14421 magick/display.c magick_windows[number_windows++]=(&windows->image); image 14557 magick/display.c &windows->image); image 14558 magick/display.c windows->image.shape=MagickTrue; /* non-rectangular shape hint */ image 14560 magick/display.c windows->image.shared_memory=MagickFalse; image 14568 magick/display.c (void) CopyMagickString(windows->image.name,title,MaxTextExtent); image 14569 magick/display.c (void) CopyMagickString(windows->image.icon_name,title,MaxTextExtent); image 14582 magick/display.c (void) FormatLocaleString(windows->image.name,MaxTextExtent, image 14585 magick/display.c (void) FormatLocaleString(windows->image.name,MaxTextExtent, image 14589 magick/display.c (void) CopyMagickString(windows->image.icon_name,filename,MaxTextExtent); image 14592 magick/display.c windows->image.immutable=MagickTrue; image 14593 magick/display.c windows->image.use_pixmap=resource_info->use_pixmap; image 14594 magick/display.c windows->image.geometry=resource_info->image_geometry; image 14604 magick/display.c windows->image.width=(unsigned int) geometry_info.width; image 14605 magick/display.c windows->image.height=(unsigned int) geometry_info.height; image 14606 magick/display.c windows->image.attributes.event_mask=ButtonMotionMask | ButtonPressMask | image 14643 magick/display.c if (windows->image.id != (Window) NULL) image 14645 magick/display.c (void) XDestroyWindow(display,windows->image.id); image 14646 magick/display.c windows->image.id=(Window) NULL; image 14651 magick/display.c windows->image.flags|=USPosition; image 14652 magick/display.c windows->image.x=(XDisplayWidth(display,visual_info->screen)/2)- image 14653 magick/display.c (windows->image.width/2); image 14654 magick/display.c windows->image.y=(XDisplayHeight(display,visual_info->screen)/2)- image 14655 magick/display.c (windows->image.height/2); image 14676 magick/display.c argv,argc,class_hints,manager_hints,&windows->image); image 14677 magick/display.c (void) XChangeProperty(display,windows->image.id,windows->im_protocols, image 14680 magick/display.c (void) XSetTransientForHint(display,windows->image.id, image 14684 magick/display.c windows->image.id); image 14702 magick/display.c manager_hints->window_group=windows->image.id; image 14703 magick/display.c XMakeWindow(display,windows->image.id,argv,argc,class_hints,manager_hints, image 14709 magick/display.c (void) XSetTransientForHint(display,windows->info.id,windows->image.id); image 14710 magick/display.c if (windows->image.mapped != MagickFalse) image 14735 magick/display.c manager_hints->window_group=windows->image.id; image 14743 magick/display.c (void) XSetTransientForHint(display,windows->command.id,windows->image.id); image 14767 magick/display.c manager_hints->window_group=windows->image.id; image 14774 magick/display.c (void) XSetTransientForHint(display,windows->widget.id,windows->image.id); image 14791 magick/display.c manager_hints->window_group=windows->image.id; image 14798 magick/display.c (void) XSetTransientForHint(display,windows->popup.id,windows->image.id); image 14817 magick/display.c windows->magnify.cursor=XMakeCursor(display,windows->image.id, image 14838 magick/display.c manager_hints->window_group=windows->image.id; image 14844 magick/display.c (void) XSetTransientForHint(display,windows->magnify.id,windows->image.id); image 14867 magick/display.c manager_hints->window_group=windows->image.id; image 14873 magick/display.c (void) XSetTransientForHint(display,windows->pan.id,windows->image.id); image 14876 magick/display.c if ((windows->image.mapped == MagickFalse) || image 14878 magick/display.c (void) XMapWindow(display,windows->image.id); image 14892 magick/display.c windows->image.x=0; image 14893 magick/display.c windows->image.y=0; image 14900 magick/display.c status=XMakeImage(display,resource_info,&windows->image,display_image, image 14914 magick/display.c windows->image.window_changes.width=(int) display_image->columns; image 14915 magick/display.c windows->image.window_changes.height=(int) display_image->rows; image 14945 magick/display.c if (windows->image.mapped != MagickFalse) image 14992 magick/display.c if (windows->image.stasis == MagickFalse) image 14993 magick/display.c windows->image.stasis=(time((time_t *) NULL)-timestamp) > 0 ? image 15048 magick/display.c if (event.xbutton.window == windows->image.id) image 15113 magick/display.c vid_info.x=(short int) windows->image.x; image 15114 magick/display.c vid_info.y=(short int) windows->image.y; image 15132 magick/display.c XTranslateImage(display,windows,*image,XK_Up); image 15140 magick/display.c XTranslateImage(display,windows,*image,XK_Down); image 15197 magick/display.c XTranslateImage(display,windows,*image,XK_Up); image 15205 magick/display.c XTranslateImage(display,windows,*image,XK_Down); image 15376 magick/display.c if (event.xclient.window == windows->image.id) image 15386 magick/display.c windows->image.window_changes.width=windows->image.ximage->width; image 15387 magick/display.c windows->image.window_changes.height=windows->image.ximage->height; image 15400 magick/display.c if (event.xconfigure.window == windows->image.id) image 15468 magick/display.c if ((event.xconfigure.width == (int) windows->image.width) && image 15469 magick/display.c (event.xconfigure.height == (int) windows->image.height)) image 15471 magick/display.c windows->image.width=(unsigned int) event.xconfigure.width; image 15472 magick/display.c windows->image.height=(unsigned int) event.xconfigure.height; image 15473 magick/display.c windows->image.x=0; image 15474 magick/display.c windows->image.y=0; image 15477 magick/display.c windows->image.x=vid_info.x; image 15478 magick/display.c windows->image.y=vid_info.y; image 15480 magick/display.c if ((windows->image.mapped != MagickFalse) && image 15481 magick/display.c (windows->image.stasis != MagickFalse)) image 15486 magick/display.c windows->image.window_changes.width=event.xconfigure.width; image 15487 magick/display.c windows->image.window_changes.height=event.xconfigure.height; image 15494 magick/display.c if ((event.xconfigure.width < windows->image.ximage->width) || image 15495 magick/display.c (event.xconfigure.height < windows->image.ximage->height)) image 15604 magick/display.c if ((event.xexpose.window == windows->image.id) && image 15605 magick/display.c (windows->image.mapped != MagickFalse)) image 15607 magick/display.c XRefreshWindow(display,&windows->image,&event); image 15646 magick/display.c if (event.xkey.window == windows->image.id) image 15666 magick/display.c XTranslateImage(display,windows,*image,key_symbol); image 15707 magick/display.c if (event.xmap.window == windows->image.id) image 15716 magick/display.c if (((int) windows->image.width < windows->image.ximage->width) || image 15717 magick/display.c ((int) windows->image.height < windows->image.ximage->height)) image 15719 magick/display.c windows->image.mapped=MagickTrue; image 15819 magick/display.c XClientMessage(display,windows->image.id,windows->im_protocols, image 15851 magick/display.c if (event.xunmap.window == windows->image.id) image 15853 magick/display.c windows->image.mapped=MagickFalse; image 15889 magick/display.c (void) XSetInputFocus(display,windows->image.id,RevertToParent, image 15897 magick/display.c (void) XSetInputFocus(display,windows->image.id,RevertToParent, image 15963 magick/display.c (void) XWithdrawWindow(display,windows->image.id, image 15964 magick/display.c windows->image.screen); image 15965 magick/display.c (void) XDestroyWindow(display,windows->image.id); image 15966 magick/display.c windows->image.id=(Window) NULL; image 16012 magick/display.c *image=display_image; image 16045 magick/display.c Image *image) image 16049 magick/display.c assert(image != (Image *) NULL); image 16050 magick/display.c assert(image->signature == MagickSignature); image 16052 magick/display.c if (image->debug != MagickFalse) image 16053 magick/display.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 16054 magick/display.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 16056 magick/display.c image->filename); image 285 magick/distort.c MagickExport Image *AffineTransformImage(const Image *image, image 297 magick/distort.c assert(image->signature == MagickSignature); image 298 magick/distort.c if (image->debug != MagickFalse) image 299 magick/distort.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 309 magick/distort.c deskew_image=DistortImage(image,AffineProjectionDistortion,6,distort, image 374 magick/distort.c static double *GenerateCoefficients(const Image *image, image 671 magick/distort.c x = nx = (double)(image->columns)/2.0 + (double)image->page.x; image 672 magick/distort.c y = ny = (double)(image->rows)/2.0 + (double)image->page.y; image 1154 magick/distort.c coeff[3] = (double)image->rows-1; image 1155 magick/distort.c coeff[2] = (double)image->columns/coeff[1] + coeff[3]/2.0; image 1163 magick/distort.c coeff[4] = ((double)image->columns-1.0)/2.0; image 1202 magick/distort.c coeff[2] = (double)(image->columns)/2.0+image->page.x; image 1203 magick/distort.c coeff[3] = (double)(image->rows)/2.0+image->page.y; image 1218 magick/distort.c coeff[0]=MagickMin(fabs(coeff[2]-image->page.x), image 1219 magick/distort.c fabs(coeff[3]-image->page.y)); image 1221 magick/distort.c fabs(coeff[2]-image->page.x-image->columns)); image 1223 magick/distort.c fabs(coeff[3]-image->page.y-image->rows)); image 1228 magick/distort.c rx = coeff[2]-image->page.x; image 1229 magick/distort.c ry = coeff[3]-image->page.y; image 1231 magick/distort.c ry = coeff[3]-image->page.y-image->rows; image 1233 magick/distort.c rx = coeff[2]-image->page.x-image->columns; image 1235 magick/distort.c ry = coeff[3]-image->page.y; image 1251 magick/distort.c coeff[6]=(double) image->columns/(coeff[5]-coeff[4]); image 1252 magick/distort.c coeff[7]=(double) image->rows/(coeff[0]-coeff[1]); image 1255 magick/distort.c coeff[6]=(coeff[5]-coeff[4])/image->columns; image 1256 magick/distort.c coeff[7]=(coeff[0]-coeff[1])/image->rows; image 1297 magick/distort.c coeff[1] = (double) image->columns/coeff[0]; image 1300 magick/distort.c coeff[1] = (double) image->columns / ( 2 * tan(coeff[0]/2) ); image 1302 magick/distort.c coeff[2] = (double)(image->columns)/2.0+image->page.x; image 1303 magick/distort.c coeff[3] = (double)(image->rows)/2.0+image->page.y; image 1330 magick/distort.c rscale = 2.0/MagickMin((double) image->columns,(double) image->rows); image 1382 magick/distort.c coeff[8] = (double)image->columns/2.0 + image->page.x; image 1383 magick/distort.c coeff[9] = (double)image->rows/2.0 + image->page.y; image 1403 magick/distort.c { const char *artifact=GetImageArtifact(image,"shepards:power"); image 1461 magick/distort.c MagickExport Image *DistortResizeImage(const Image *image, image 1482 magick/distort.c assert(image != (const Image *) NULL); image 1483 magick/distort.c assert(image->signature == MagickSignature); image 1484 magick/distort.c if (image->debug != MagickFalse) image 1485 magick/distort.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1493 magick/distort.c distort_args[4]=(double) image->columns; image 1495 magick/distort.c distort_args[9]=(double) image->rows; image 1498 magick/distort.c vp_save=GetImageVirtualPixelMethod(image); image 1500 magick/distort.c tmp_image=CloneImage(image,0,0,MagickTrue,exception); image 1505 magick/distort.c if (image->matte == MagickFalse) image 1519 magick/distort.c InheritException(exception,&image->exception); image 1541 magick/distort.c tmp_image=CloneImage(image,0,0,MagickTrue,exception); image 1580 magick/distort.c resize_image->matte=image->matte; image 1581 magick/distort.c resize_image->compose=image->compose; image 1677 magick/distort.c MagickExport Image *DistortImage(const Image *image,DistortImageMethod method, image 1696 magick/distort.c assert(image != (Image *) NULL); image 1697 magick/distort.c assert(image->signature == MagickSignature); image 1698 magick/distort.c if (image->debug != MagickFalse) image 1699 magick/distort.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1715 magick/distort.c distort_image=DistortResizeImage(image,(size_t) arguments[0], image 1727 magick/distort.c coeff=GenerateCoefficients(image,&method,number_arguments,arguments,0, image 1738 magick/distort.c geometry.width=image->columns; image 1739 magick/distort.c geometry.height=image->rows; image 1778 magick/distort.c s.x = (double) image->page.x; image 1779 magick/distort.c s.y = (double) image->page.y; image 1783 magick/distort.c s.x = (double) image->page.x+image->columns; image 1784 magick/distort.c s.y = (double) image->page.y; image 1788 magick/distort.c s.x = (double) image->page.x; image 1789 magick/distort.c s.y = (double) image->page.y+image->rows; image 1793 magick/distort.c s.x = (double) image->page.x+image->columns; image 1794 magick/distort.c s.y = (double) image->page.y+image->rows; image 1803 magick/distort.c s.x = (double) image->page.x; image 1804 magick/distort.c s.y = (double) image->page.y; image 1810 magick/distort.c s.x = (double) image->page.x+image->columns; image 1811 magick/distort.c s.y = (double) image->page.y; image 1817 magick/distort.c s.x = (double) image->page.x; image 1818 magick/distort.c s.y = (double) image->page.y+image->rows; image 1824 magick/distort.c s.x = (double) image->page.x+image->columns; image 1825 magick/distort.c s.y = (double) image->page.y+image->rows; image 1863 magick/distort.c coeff[1] = (double) (Magick2PI*image->columns/coeff[1]); image 1864 magick/distort.c coeff[3] = (double)image->rows/coeff[3]; image 1954 magick/distort.c { const char *artifact=GetImageArtifact(image,"distort:viewport"); image 1968 magick/distort.c if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { image 2223 magick/distort.c xc = ((double)image->columns-1.0)/2.0 + image->page.x; image 2224 magick/distort.c yc = ((double)image->rows-1.0)/2.0 + image->page.y; image 2254 magick/distort.c artifact=GetImageArtifact(image,"distort:scale"); image 2279 magick/distort.c distort_image=CloneImage(image,geometry.width,geometry.height,MagickTrue, image 2322 magick/distort.c resample_filter=AcquireResampleFilterThreadSet(image, image 2540 magick/distort.c s.x = s.x*coeff[1] + coeff[4] + image->page.x +0.5; image 2541 magick/distort.c s.y = (coeff[2] - s.y) * coeff[3] + image->page.y; image 2565 magick/distort.c s.x = s.x*coeff[6] + (double)image->columns/2.0 + image->page.x; image 2566 magick/distort.c s.y = (s.y-coeff[1])*coeff[7] + image->page.y; image 2718 magick/distort.c s.x -= image->page.x; image 2719 magick/distort.c s.y -= image->page.y; image 2746 magick/distort.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2754 magick/distort.c proceed=SetImageProgress(image,DistortImageTag,progress++, image 2755 magick/distort.c image->rows); image 2812 magick/distort.c MagickExport Image *RotateImage(const Image *image,const double degrees, image 2831 magick/distort.c assert(image != (Image *) NULL); image 2832 magick/distort.c assert(image->signature == MagickSignature); image 2833 magick/distort.c if (image->debug != MagickFalse) image 2834 magick/distort.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2846 magick/distort.c return(IntegralRotateImage(image,rotations,exception)); image 2847 magick/distort.c distort_image=CloneImage(image,0,0,MagickTrue,exception); image 2899 magick/distort.c MagickExport Image *SparseColorImage(const Image *image, image 2918 magick/distort.c assert(image != (Image *) NULL); image 2919 magick/distort.c assert(image->signature == MagickSignature); image 2920 magick/distort.c if (image->debug != MagickFalse) image 2921 magick/distort.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2943 magick/distort.c coeff = GenerateCoefficients(image, &distort_method, number_arguments, image 2961 magick/distort.c if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { image 3023 magick/distort.c sparse_image=CloneImage(image,0,0,MagickTrue,exception); image 3028 magick/distort.c InheritException(exception,&image->exception); image 3078 magick/distort.c for (i=0; i < (ssize_t) image->columns; i++) image 3080 magick/distort.c SetMagickPixelPacket(image,q,indexes,&pixel); image 3237 magick/distort.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3245 magick/distort.c proceed=SetImageProgress(image,SparseColorTag,progress++,image->rows); image 474 magick/distribute-cache.c *image; image 494 magick/distribute-cache.c image=AcquireImage((ImageInfo *) NULL); image 495 magick/distribute-cache.c if (image == (Image *) NULL) image 497 magick/distribute-cache.c length=sizeof(image->storage_class)+sizeof(image->colorspace)+ image 498 magick/distribute-cache.c sizeof(image->channels)+sizeof(image->columns)+sizeof(image->rows); image 506 magick/distribute-cache.c (void) memcpy(&image->storage_class,p,sizeof(image->storage_class)); image 507 magick/distribute-cache.c p+=sizeof(image->storage_class); image 508 magick/distribute-cache.c (void) memcpy(&image->colorspace,p,sizeof(image->colorspace)); image 509 magick/distribute-cache.c p+=sizeof(image->colorspace); image 510 magick/distribute-cache.c (void) memcpy(&image->channels,p,sizeof(image->channels)); image 511 magick/distribute-cache.c p+=sizeof(image->channels); image 512 magick/distribute-cache.c (void) memcpy(&image->columns,p,sizeof(image->columns)); image 513 magick/distribute-cache.c p+=sizeof(image->columns); image 514 magick/distribute-cache.c (void) memcpy(&image->rows,p,sizeof(image->rows)); image 515 magick/distribute-cache.c p+=sizeof(image->rows); image 516 magick/distribute-cache.c if (SyncImagePixelCache(image,exception) == MagickFalse) image 518 magick/distribute-cache.c status=AddValueToSplayTree(registry,(const void *) session_key,image); image 529 magick/distribute-cache.c *image; image 552 magick/distribute-cache.c image=(Image *) GetValueFromSplayTree(registry,(const void *) session_key); image 553 magick/distribute-cache.c if (image == (Image *) NULL) image 571 magick/distribute-cache.c p=GetVirtualPixels(image,region.x,region.y,region.width,region.height, image 575 magick/distribute-cache.c indexes=GetVirtualIndexQueue(image); image 586 magick/distribute-cache.c *image; image 609 magick/distribute-cache.c image=(Image *) GetValueFromSplayTree(registry,(const void *) session_key); image 610 magick/distribute-cache.c if (image == (Image *) NULL) image 628 magick/distribute-cache.c p=GetVirtualPixels(image,region.x,region.y,region.width,region.height, image 638 magick/distribute-cache.c static void *RelinquishImageRegistry(void *image) image 640 magick/distribute-cache.c return((void *) DestroyImageList((Image *) image)); image 647 magick/distribute-cache.c *image; image 673 magick/distribute-cache.c image=(Image *) GetValueFromSplayTree(registry,(const void *) session_key); image 674 magick/distribute-cache.c if (image == (Image *) NULL) image 692 magick/distribute-cache.c q=GetAuthenticPixels(image,region.x,region.y,region.width,region.height, image 696 magick/distribute-cache.c indexes=GetAuthenticIndexQueue(image); image 700 magick/distribute-cache.c return(SyncAuthenticPixels(image,exception)); image 707 magick/distribute-cache.c *image; image 730 magick/distribute-cache.c image=(Image *) GetValueFromSplayTree(registry,(const void *) session_key); image 731 magick/distribute-cache.c if (image == (Image *) NULL) image 749 magick/distribute-cache.c q=GetAuthenticPixels(image,region.x,region.y,region.width,region.height, image 756 magick/distribute-cache.c return(SyncAuthenticPixels(image,exception)); image 1113 magick/distribute-cache.c DistributeCacheInfo *server_info,Image *image) image 1136 magick/distribute-cache.c assert(image != (Image *) NULL); image 1137 magick/distribute-cache.c assert(image->signature == MagickSignature); image 1145 magick/distribute-cache.c (void) memcpy(p,&image->storage_class,sizeof(image->storage_class)); image 1146 magick/distribute-cache.c p+=sizeof(image->storage_class); image 1147 magick/distribute-cache.c (void) memcpy(p,&image->colorspace,sizeof(image->colorspace)); image 1148 magick/distribute-cache.c p+=sizeof(image->colorspace); image 1149 magick/distribute-cache.c (void) memcpy(p,&image->channels,sizeof(image->channels)); image 1150 magick/distribute-cache.c p+=sizeof(image->channels); image 1151 magick/distribute-cache.c (void) memcpy(p,&image->columns,sizeof(image->columns)); image 1152 magick/distribute-cache.c p+=sizeof(image->columns); image 1153 magick/distribute-cache.c (void) memcpy(p,&image->rows,sizeof(image->rows)); image 1154 magick/distribute-cache.c p+=sizeof(image->rows); image 969 magick/draw.c static SegmentInfo AffineEdge(const Image *image,const AffineMatrix *affine, image 996 magick/draw.c intercept=(-z+(double) image->columns)/affine->sx; image 1004 magick/draw.c intercept=(-z+(double) image->columns)/affine->sx; image 1014 magick/draw.c if ((z < 0.0) || ((size_t) floor(z+0.5) >= image->columns)) image 1029 magick/draw.c intercept=(-z+(double) image->rows)/affine->rx; image 1037 magick/draw.c intercept=(-z+(double) image->rows)/affine->rx; image 1047 magick/draw.c if ((z < 0.0) || ((size_t) floor(z+0.5) >= image->rows)) image 1076 magick/draw.c MagickExport MagickBooleanType DrawAffineImage(Image *image, image 1115 magick/draw.c assert(image != (Image *) NULL); image 1116 magick/draw.c assert(image->signature == MagickSignature); image 1117 magick/draw.c if (image->debug != MagickFalse) image 1118 magick/draw.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1152 magick/draw.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1157 magick/draw.c edge.x2=MagickMin(max.x,(double) image->columns-1.0); image 1158 magick/draw.c edge.y2=MagickMin(max.y,(double) image->rows-1.0); image 1160 magick/draw.c GetMagickPixelPacket(image,&zero); image 1161 magick/draw.c exception=(&image->exception); image 1165 magick/draw.c image_view=AcquireAuthenticCacheView(image,exception); image 1214 magick/draw.c SetMagickPixelPacket(image,q,indexes+x_offset,&composite); image 1217 magick/draw.c SetPixelPacket(image,&composite,q,indexes+x_offset); image 1257 magick/draw.c static void DrawBoundingRectangles(Image *image,const DrawInfo *draw_info, image 1284 magick/draw.c (void) QueryColorDatabase("#0000",&clone_info->fill,&image->exception); image 1323 magick/draw.c image->columns ? (double) image->columns-1 : bounds.x1; image 1326 magick/draw.c image->rows ? (double) image->rows-1 : bounds.y1; image 1329 magick/draw.c image->columns ? (double) image->columns-1 : bounds.x2; image 1332 magick/draw.c image->rows ? (double) image->rows-1 : bounds.y2; image 1337 magick/draw.c &image->exception); image 1340 magick/draw.c &image->exception); image 1350 magick/draw.c (void) DrawPrimitive(image,clone_info,primitive_info); image 1353 magick/draw.c (void) QueryColorDatabase("blue",&clone_info->stroke,&image->exception); image 1363 magick/draw.c (void) DrawPrimitive(image,clone_info,primitive_info); image 1394 magick/draw.c MagickExport MagickBooleanType DrawClipPath(Image *image, image 1409 magick/draw.c assert(image != (Image *) NULL); image 1410 magick/draw.c assert(image->signature == MagickSignature); image 1411 magick/draw.c if (image->debug != MagickFalse) image 1412 magick/draw.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1415 magick/draw.c value=GetImageArtifact(image,clip_mask); image 1418 magick/draw.c if (image->clip_mask == (Image *) NULL) image 1423 magick/draw.c clip_mask=CloneImage(image,image->columns,image->rows,MagickTrue, image 1424 magick/draw.c &image->exception); image 1427 magick/draw.c (void) SetImageClipMask(image,clip_mask); image 1430 magick/draw.c (void) QueryColorDatabase("#00000000",&image->clip_mask->background_color, image 1431 magick/draw.c &image->exception); image 1432 magick/draw.c image->clip_mask->background_color.opacity=(Quantum) TransparentOpacity; image 1433 magick/draw.c (void) SetImageBackgroundColor(image->clip_mask); image 1434 magick/draw.c if (image->debug != MagickFalse) image 1439 magick/draw.c (void) QueryColorDatabase("#ffffff",&clone_info->fill,&image->exception); image 1441 magick/draw.c status=DrawImage(image->clip_mask,clone_info); image 1442 magick/draw.c status&=NegateImage(image->clip_mask,MagickFalse); image 1444 magick/draw.c if (image->debug != MagickFalse) image 1479 magick/draw.c const PrimitiveInfo *primitive_info,Image *image) image 1512 magick/draw.c if (image->debug != MagickFalse) image 1588 magick/draw.c status&=DrawStrokePolygon(image,clone_info,dash_polygon); image 1611 magick/draw.c status&=DrawStrokePolygon(image,clone_info,dash_polygon); image 1615 magick/draw.c if (image->debug != MagickFalse) image 1668 magick/draw.c MagickExport MagickBooleanType DrawImage(Image *image,const DrawInfo *draw_info) image 1736 magick/draw.c assert(image != (Image *) NULL); image 1737 magick/draw.c assert(image->signature == MagickSignature); image 1738 magick/draw.c if (image->debug != MagickFalse) image 1739 magick/draw.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1742 magick/draw.c if (image->debug != MagickFalse) image 1747 magick/draw.c if (image->debug != MagickFalse) image 1752 magick/draw.c primitive=FileToString(draw_info->primitive+1,~0UL,&image->exception); image 1756 magick/draw.c (void) SetImageArtifact(image,"MVG",primitive); image 1767 magick/draw.c image->filename); image 1779 magick/draw.c image->filename); image 1782 magick/draw.c graphic_context[n]->viewbox=image->page; image 1783 magick/draw.c if ((image->page.width == 0) || (image->page.height == 0)) image 1785 magick/draw.c graphic_context[n]->viewbox.width=image->columns; image 1786 magick/draw.c graphic_context[n]->viewbox.height=image->rows; image 1789 magick/draw.c (void) QueryColorDatabase("#000000",&start_color,&image->exception); image 1790 magick/draw.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1867 magick/draw.c &image->exception); image 1883 magick/draw.c (void) DrawClipPath(image,graphic_context[n], image 2001 magick/draw.c if (GetImageArtifact(image,pattern) != (const char *) NULL) image 2002 magick/draw.c (void) DrawPatternPath(image,draw_info,token, image 2007 magick/draw.c &image->exception); image 2017 magick/draw.c ReadImage(pattern_info,&image->exception); image 2018 magick/draw.c CatchException(&image->exception); image 2269 magick/draw.c (void) ThrowMagickException(&image->exception, image 2278 magick/draw.c (void) SetImageClipMask(image,(Image *) NULL); image 2309 magick/draw.c (void) SetImageArtifact(image,name,token); image 2371 magick/draw.c (void) SetImageArtifact(image,key,token); image 2373 magick/draw.c (void) SetImageArtifact(image,key,type); image 2380 magick/draw.c (void) SetImageArtifact(image,key,geometry); image 2421 magick/draw.c (void) SetImageArtifact(image,key,token); image 2426 magick/draw.c (void) SetImageArtifact(image,key,geometry); image 2437 magick/draw.c (void) ThrowMagickException(&image->exception, image 2439 magick/draw.c "MemoryAllocationFailed","`%s'",image->filename); image 2516 magick/draw.c (void) QueryColorDatabase(token,&stop_color,&image->exception); image 2520 magick/draw.c (void) GradientImage(image,type,PadSpread,&start_color, image 2530 magick/draw.c if (GetImageArtifact(image,pattern) != (const char *) NULL) image 2531 magick/draw.c (void) DrawPatternPath(image,draw_info,token, image 2536 magick/draw.c &image->exception); image 2546 magick/draw.c ReadImage(pattern_info,&image->exception); image 2547 magick/draw.c CatchException(&image->exception); image 2585 magick/draw.c (void) ThrowMagickException(&image->exception, image 2587 magick/draw.c "MemoryAllocationFailed","`%s'",image->filename); image 2719 magick/draw.c &image->exception); image 2785 magick/draw.c if (image->debug != MagickFalse) image 2825 magick/draw.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 2826 magick/draw.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 2881 magick/draw.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 2940 magick/draw.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 2942 magick/draw.c image->filename); image 3105 magick/draw.c if (image->debug != MagickFalse) image 3141 magick/draw.c status&=DrawClipPath(image,graphic_context[n], image 3143 magick/draw.c status&=DrawPrimitive(image,graphic_context[n],primitive_info); image 3148 magick/draw.c proceed=SetImageProgress(image,RenderImageTag,q-primitive,(MagickSizeType) image 3155 magick/draw.c if (image->debug != MagickFalse) image 3255 magick/draw.c MagickExport MagickBooleanType DrawGradientImage(Image *image, image 3291 magick/draw.c assert(image != (Image *) NULL); image 3292 magick/draw.c assert(image->signature == MagickSignature); image 3293 magick/draw.c if (image->debug != MagickFalse) image 3294 magick/draw.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3303 magick/draw.c exception=(&image->exception); image 3304 magick/draw.c GetMagickPixelPacket(image,&zero); image 3305 magick/draw.c image_view=AcquireAuthenticCacheView(image,exception); image 3335 magick/draw.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 3349 magick/draw.c SetMagickPixelPacket(image,q,indexes+x,&pixel); image 3484 magick/draw.c SetPixelPacket(image,&pixel,q,indexes+x); image 3523 magick/draw.c MagickExport MagickBooleanType DrawPatternPath(Image *image, image 3543 magick/draw.c assert(image != (Image *) NULL); image 3544 magick/draw.c assert(image->signature == MagickSignature); image 3545 magick/draw.c if (image->debug != MagickFalse) image 3546 magick/draw.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3550 magick/draw.c path=GetImageArtifact(image,property); image 3554 magick/draw.c geometry=GetImageArtifact(image,property); image 3564 magick/draw.c &image->exception); image 3566 magick/draw.c if (image->debug != MagickFalse) image 3573 magick/draw.c type=GetImageArtifact(image,property); image 3580 magick/draw.c if (image->debug != MagickFalse) image 3832 magick/draw.c static MagickBooleanType DrawPolygonPrimitive(Image *image, image 3868 magick/draw.c assert(image != (Image *) NULL); image 3869 magick/draw.c assert(image->signature == MagickSignature); image 3870 magick/draw.c if (image->debug != MagickFalse) image 3871 magick/draw.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3882 magick/draw.c DrawBoundingRectangles(image,draw_info,polygon_info[0]); image 3884 magick/draw.c if (image->debug != MagickFalse) image 3904 magick/draw.c image->columns ? (double) image->columns-1 : bounds.x1; image 3907 magick/draw.c image->rows ? (double) image->rows-1 : bounds.y1; image 3910 magick/draw.c image->columns ? (double) image->columns-1 : bounds.x2; image 3913 magick/draw.c image->rows ? (double) image->rows-1 : bounds.y2; image 3915 magick/draw.c exception=(&image->exception); image 3916 magick/draw.c image_view=AcquireAuthenticCacheView(image,exception); image 3969 magick/draw.c if (image->debug != MagickFalse) image 3977 magick/draw.c if (image->matte == MagickFalse) image 3978 magick/draw.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 4048 magick/draw.c if (image->debug != MagickFalse) image 4183 magick/draw.c MagickExport MagickBooleanType DrawPrimitive(Image *image, image 4202 magick/draw.c if (image->debug != MagickFalse) image 4211 magick/draw.c if ((IsGrayColorspace(image->colorspace) != MagickFalse) && image 4214 magick/draw.c (void) SetImageColorspace(image,sRGBColorspace); image 4216 magick/draw.c exception=(&image->exception); image 4219 magick/draw.c image_view=AcquireAuthenticCacheView(image,exception); image 4230 magick/draw.c if ((y < 0) || (y >= (ssize_t) image->rows)) image 4232 magick/draw.c if ((x < 0) || (x >= (ssize_t) image->columns)) image 4269 magick/draw.c for (y=0; y < (ssize_t) image->rows; y++) image 4274 magick/draw.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 4278 magick/draw.c for (x=0; x < (ssize_t) image->columns; x++) image 4280 magick/draw.c if (IsColorSimilar(image,q,&target) == MagickFalse) image 4300 magick/draw.c (void) GetOneVirtualMagickPixel(image,x,y,&target,exception); image 4307 magick/draw.c status&=FloodfillPaintImage(image,DefaultChannels,draw_info,&target,x, image 4317 magick/draw.c for (y=0; y < (ssize_t) image->rows; y++) image 4325 magick/draw.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 4329 magick/draw.c for (x=0; x < (ssize_t) image->columns; x++) image 4345 magick/draw.c if (image->matte == MagickFalse) image 4346 magick/draw.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 4376 magick/draw.c for (y=0; y < (ssize_t) image->rows; y++) image 4384 magick/draw.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 4388 magick/draw.c for (x=0; x < (ssize_t) image->columns; x++) image 4390 magick/draw.c if (IsColorSimilar(image,q,&target) == MagickFalse) image 4411 magick/draw.c (void) GetOneVirtualMagickPixel(image,x,y,&target,exception); image 4418 magick/draw.c status&=FloodfillPaintImage(image,OpacityChannel,draw_info,&target,x, image 4431 magick/draw.c for (y=0; y < (ssize_t) image->rows; y++) image 4439 magick/draw.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 4443 magick/draw.c for (x=0; x < (ssize_t) image->columns; x++) image 4473 magick/draw.c status&=AnnotateImage(image,clone_info); image 4503 magick/draw.c &image->exception); image 4508 magick/draw.c composite_image=ReadImage(clone_info,&image->exception); image 4528 magick/draw.c composite_image->filter=image->filter; image 4535 magick/draw.c SetGeometry(image,&geometry); image 4536 magick/draw.c image->gravity=draw_info->gravity; image 4542 magick/draw.c (void) ParseGravityGeometry(image,composite_geometry,&geometry, image 4543 magick/draw.c &image->exception); image 4547 magick/draw.c composite_image->interpolate=image->interpolate; image 4549 magick/draw.c (void) DrawAffineImage(image,composite_image,&affine); image 4551 magick/draw.c (void) CompositeImage(image,draw_info->compose,composite_image, image 4579 magick/draw.c status&=DrawPolygonPrimitive(image,clone_info,primitive_info); image 4581 magick/draw.c (void) DrawDashPolygon(draw_info,primitive_info,image); image 4605 magick/draw.c (void) DrawPolygonPrimitive(image,draw_info,primitive_info); image 4611 magick/draw.c status&=DrawPolygonPrimitive(image,clone_info,primitive_info); image 4613 magick/draw.c status&=DrawStrokePolygon(image,draw_info,primitive_info); image 4616 magick/draw.c status&=DrawPolygonPrimitive(image,draw_info,primitive_info); image 4621 magick/draw.c if (image->debug != MagickFalse) image 4656 magick/draw.c static void DrawRoundLinecap(Image *image,const DrawInfo *draw_info, image 4673 magick/draw.c (void) DrawPolygonPrimitive(image,draw_info,linecap); image 4676 magick/draw.c static MagickBooleanType DrawStrokePolygon(Image *image, image 4698 magick/draw.c if (image->debug != MagickFalse) image 4715 magick/draw.c status&=DrawPolygonPrimitive(image,clone_info,stroke_polygon); image 4724 magick/draw.c DrawRoundLinecap(image,draw_info,p); image 4725 magick/draw.c DrawRoundLinecap(image,draw_info,q); image 4729 magick/draw.c if (image->debug != MagickFalse) image 138 magick/effect.c MagickExport Image *AdaptiveBlurImage(const Image *image,const double radius, image 144 magick/effect.c blur_image=AdaptiveBlurImageChannel(image,DefaultChannels,radius,sigma, image 149 magick/effect.c MagickExport Image *AdaptiveBlurImageChannel(const Image *image, image 192 magick/effect.c assert(image != (const Image *) NULL); image 193 magick/effect.c assert(image->signature == MagickSignature); image 194 magick/effect.c if (image->debug != MagickFalse) image 195 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 198 magick/effect.c blur_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 212 magick/effect.c edge_image=EdgeImage(image,radius,exception); image 276 magick/effect.c GetMagickPixelPacket(image,&bias); image 277 magick/effect.c SetMagickPixelPacketBias(image,&bias); image 278 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 358 magick/effect.c (image->matte != MagickFalse)) image 369 magick/effect.c (image->colorspace == CMYKColorspace)) image 386 magick/effect.c (image->colorspace == CMYKColorspace)) image 393 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 401 magick/effect.c proceed=SetImageProgress(image,AdaptiveBlurImageTag,progress++, image 402 magick/effect.c image->rows); image 407 magick/effect.c blur_image->type=image->type; image 460 magick/effect.c MagickExport Image *AdaptiveSharpenImage(const Image *image,const double radius, image 466 magick/effect.c sharp_image=AdaptiveSharpenImageChannel(image,DefaultChannels,radius,sigma, image 471 magick/effect.c MagickExport Image *AdaptiveSharpenImageChannel(const Image *image, image 514 magick/effect.c assert(image != (const Image *) NULL); image 515 magick/effect.c assert(image->signature == MagickSignature); image 516 magick/effect.c if (image->debug != MagickFalse) image 517 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 520 magick/effect.c sharp_image=CloneImage(image,0,0,MagickTrue,exception); image 534 magick/effect.c edge_image=EdgeImage(image,radius,exception); image 598 magick/effect.c GetMagickPixelPacket(image,&bias); image 599 magick/effect.c SetMagickPixelPacketBias(image,&bias); image 600 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 680 magick/effect.c (image->matte != MagickFalse)) image 691 magick/effect.c (image->colorspace == CMYKColorspace)) image 708 magick/effect.c (image->colorspace == CMYKColorspace)) image 715 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 723 magick/effect.c proceed=SetImageProgress(image,AdaptiveSharpenImageTag,progress++, image 724 magick/effect.c image->rows); image 729 magick/effect.c sharp_image->type=image->type; image 780 magick/effect.c MagickExport Image *BlurImage(const Image *image,const double radius, image 786 magick/effect.c blur_image=BlurImageChannel(image,DefaultChannels,radius,sigma,exception); image 790 magick/effect.c MagickExport Image *BlurImageChannel(const Image *image, image 803 magick/effect.c assert(image != (const Image *) NULL); image 804 magick/effect.c assert(image->signature == MagickSignature); image 805 magick/effect.c if (image->debug != MagickFalse) image 806 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 809 magick/effect.c blur_image=AccelerateBlurImage(image,channel,radius,sigma,exception); image 817 magick/effect.c blur_image=MorphologyApply(image,channel,ConvolveMorphology,1,kernel_info, image 857 magick/effect.c MagickExport Image *ConvolveImage(const Image *image,const size_t order, image 867 magick/effect.c convolve_image=ConvolveImageChannel(image,DefaultChannels,order,kernel, image 876 magick/effect.c MagickExport Image *ConvolveImageChannel(const Image *image, image 906 magick/effect.c convolve_image=AccelerateConvolveImageChannel(image,channel,kernel_info, image 909 magick/effect.c convolve_image=MorphologyApply(image,channel,ConvolveMorphology,1, image 945 magick/effect.c static void Hull(const Image *image,const ssize_t x_offset, image 1038 magick/effect.c MagickExport Image *DespeckleImage(const Image *image,ExceptionInfo *exception) image 1074 magick/effect.c assert(image != (const Image *) NULL); image 1075 magick/effect.c assert(image->signature == MagickSignature); image 1076 magick/effect.c if (image->debug != MagickFalse) image 1077 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1080 magick/effect.c despeckle_image=AccelerateDespeckleImage(image, exception); image 1083 magick/effect.c despeckle_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 1096 magick/effect.c length=(size_t) ((image->columns+2)*(image->rows+2)); image 1115 magick/effect.c number_channels=(size_t) (image->colorspace == CMYKColorspace ? 5 : 4); image 1116 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 1130 magick/effect.c if ((image->matte == MagickFalse) && (i == 3)) image 1133 magick/effect.c j=(ssize_t) image->columns+2; image 1134 magick/effect.c for (y=0; y < (ssize_t) image->rows; y++) image 1142 magick/effect.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1147 magick/effect.c for (x=0; x < (ssize_t) image->columns; x++) image 1166 magick/effect.c Hull(image,X[k],Y[k],image->columns,image->rows,1,pixels,buffer); image 1167 magick/effect.c Hull(image,-X[k],-Y[k],image->columns,image->rows,1,pixels,buffer); image 1168 magick/effect.c Hull(image,-X[k],-Y[k],image->columns,image->rows,-1,pixels,buffer); image 1169 magick/effect.c Hull(image,X[k],Y[k],image->columns,image->rows,-1,pixels,buffer); image 1171 magick/effect.c j=(ssize_t) image->columns+2; image 1172 magick/effect.c for (y=0; y < (ssize_t) image->rows; y++) image 1189 magick/effect.c for (x=0; x < (ssize_t) image->columns; x++) image 1211 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1216 magick/effect.c proceed=SetImageProgress(image,DespeckleImageTag,(MagickOffsetType) i, image 1226 magick/effect.c despeckle_image->type=image->type; image 1261 magick/effect.c MagickExport Image *EdgeImage(const Image *image,const double radius, image 1276 magick/effect.c assert(image != (const Image *) NULL); image 1277 magick/effect.c assert(image->signature == MagickSignature); image 1278 magick/effect.c if (image->debug != MagickFalse) image 1279 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1302 magick/effect.c edge_image=AccelerateConvolveImageChannel(image,DefaultChannels,kernel_info, image 1305 magick/effect.c edge_image=MorphologyApply(image,DefaultChannels,ConvolveMorphology,1, image 1344 magick/effect.c MagickExport Image *EmbossImage(const Image *image,const double radius, image 1369 magick/effect.c assert(image != (const Image *) NULL); image 1370 magick/effect.c assert(image->signature == MagickSignature); image 1371 magick/effect.c if (image->debug != MagickFalse) image 1372 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1412 magick/effect.c emboss_image=AccelerateConvolveImageChannel(image,DefaultChannels,kernel_info, exception); image 1414 magick/effect.c emboss_image=MorphologyApply(image,DefaultChannels,ConvolveMorphology,1, image 1455 magick/effect.c MagickExport Image *FilterImage(const Image *image,const KernelInfo *kernel, image 1461 magick/effect.c filter_image=FilterImageChannel(image,DefaultChannels,kernel,exception); image 1465 magick/effect.c MagickExport Image *FilterImageChannel(const Image *image, image 1502 magick/effect.c assert(image != (Image *) NULL); image 1503 magick/effect.c assert(image->signature == MagickSignature); image 1504 magick/effect.c if (image->debug != MagickFalse) image 1505 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1510 magick/effect.c if (image->debug != MagickFalse) image 1542 magick/effect.c filter_image=AccelerateConvolveImageChannel(image,channel,kernel,exception); image 1550 magick/effect.c filter_image=CloneImage(image,0,0,MagickTrue,exception); image 1576 magick/effect.c GetMagickPixelPacket(image,&bias); image 1577 magick/effect.c SetMagickPixelPacketBias(image,&bias); image 1578 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 1584 magick/effect.c for (y=0; y < (ssize_t) image->rows; y++) image 1607 magick/effect.c (ssize_t) ((kernel->height-1)/2L),image->columns+kernel->width, image 1618 magick/effect.c for (x=0; x < (ssize_t) image->columns; x++) image 1642 magick/effect.c if (((channel & OpacityChannel) == 0) || (image->matte == MagickFalse)) image 1653 magick/effect.c kernel_pixels+=image->columns+kernel->width; image 1672 magick/effect.c kernel_pixels+=image->columns+kernel->width; image 1677 magick/effect.c (image->colorspace == CMYKColorspace)) image 1691 magick/effect.c kernel_indexes+=image->columns+kernel->width; image 1715 magick/effect.c kernel_pixels+=image->columns+kernel->width; image 1735 magick/effect.c kernel_pixels+=image->columns+kernel->width; image 1740 magick/effect.c (image->colorspace == CMYKColorspace)) image 1757 magick/effect.c kernel_pixels+=image->columns+kernel->width; image 1758 magick/effect.c kernel_indexes+=image->columns+kernel->width; image 1770 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1778 magick/effect.c proceed=SetImageProgress(image,FilterImageTag,progress++,image->rows); image 1783 magick/effect.c filter_image->type=image->type; image 1834 magick/effect.c MagickExport Image *GaussianBlurImage(const Image *image,const double radius, image 1840 magick/effect.c blur_image=GaussianBlurImageChannel(image,DefaultChannels,radius,sigma, image 1845 magick/effect.c MagickExport Image *GaussianBlurImageChannel(const Image *image, image 1858 magick/effect.c assert(image != (const Image *) NULL); image 1859 magick/effect.c assert(image->signature == MagickSignature); image 1860 magick/effect.c if (image->debug != MagickFalse) image 1861 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1869 magick/effect.c blur_image=AccelerateConvolveImageChannel(image,channel,kernel_info, image 1872 magick/effect.c blur_image=MorphologyApply(image,channel,ConvolveMorphology,1,kernel_info, image 1951 magick/effect.c MagickExport Image *MotionBlurImage(const Image *image,const double radius, image 1957 magick/effect.c motion_blur=MotionBlurImageChannel(image,DefaultChannels,radius,sigma,angle, image 1962 magick/effect.c MagickExport Image *MotionBlurImageChannel(const Image *image, image 2002 magick/effect.c assert(image != (Image *) NULL); image 2003 magick/effect.c assert(image->signature == MagickSignature); image 2004 magick/effect.c if (image->debug != MagickFalse) image 2005 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2029 magick/effect.c blur_image=AccelerateMotionBlurImage(image,channel,kernel,width,offset, image 2033 magick/effect.c blur_image=CloneImage(image,0,0,MagickTrue,exception); image 2051 magick/effect.c GetMagickPixelPacket(image,&bias); image 2052 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 2058 magick/effect.c for (y=0; y < (ssize_t) image->rows; y++) image 2079 magick/effect.c for (x=0; x < (ssize_t) image->columns; x++) image 2098 magick/effect.c if (((channel & OpacityChannel) == 0) || (image->matte == MagickFalse)) image 2108 magick/effect.c if (image->colorspace == CMYKColorspace) image 2124 magick/effect.c (image->colorspace == CMYKColorspace)) image 2144 magick/effect.c if (image->colorspace == CMYKColorspace) image 2162 magick/effect.c (image->colorspace == CMYKColorspace)) image 2169 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2177 magick/effect.c proceed=SetImageProgress(image,BlurImageTag,progress++,image->rows); image 2225 magick/effect.c MagickExport Image *KuwaharaImage(const Image *image,const double radius, image 2231 magick/effect.c kuwahara_image=KuwaharaImageChannel(image,DefaultChannels,radius,sigma, image 2236 magick/effect.c MagickExport Image *KuwaharaImageChannel(const Image *image, image 2265 magick/effect.c assert(image != (Image *) NULL); image 2266 magick/effect.c assert(image->signature == MagickSignature); image 2267 magick/effect.c if (image->debug != MagickFalse) image 2268 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2273 magick/effect.c gaussian_image=BlurImage(image,radius,sigma,exception); image 2276 magick/effect.c kuwahara_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 2385 magick/effect.c GetMagickPixelPacket(image,&mean); image 2404 magick/effect.c luma=GetPixelLuma(image,k); image 2427 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2435 magick/effect.c proceed=SetImageProgress(image,KuwaharaImageTag,progress++,image->rows); image 2481 magick/effect.c MagickExport Image *LocalContrastImage(const Image *image,const double radius, image 2510 magick/effect.c assert(image != (const Image *) NULL); image 2511 magick/effect.c assert(image->signature == MagickSignature); image 2512 magick/effect.c if (image->debug != MagickFalse) image 2513 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2516 magick/effect.c contrast_image=AccelerateLocalContrastImage(image,radius,strength,exception); image 2519 magick/effect.c contrast_image=CloneImage(image,0,0,MagickTrue,exception); image 2528 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 2541 magick/effect.c scanLineSize=(ssize_t) MagickMax(image->columns,image->rows); image 2554 magick/effect.c interImage_info=AcquireVirtualMemory((image->rows+(2*width))*image->columns, image 2576 magick/effect.c for (x=0; x < (ssize_t) image->columns; x++) image 2597 magick/effect.c p=GetCacheViewVirtualPixels(image_view,x,-width,1,image->rows+(2*width), image 2600 magick/effect.c for (y=0; y < (ssize_t) image->rows+(2*width); y++) image 2602 magick/effect.c *pix++=(float)GetPixelLuma(image,p); image 2608 magick/effect.c for (y = 0; y < (ssize_t) image->rows; y++) image 2632 magick/effect.c if ((x > (ssize_t) image->columns-width-2) && image 2633 magick/effect.c (x != (ssize_t) image->columns-1)) image 2634 magick/effect.c *(out+((image->columns-x-1)*2))=*out; image 2636 magick/effect.c out+=image->columns+(width*2); image 2649 magick/effect.c for (y=0; y < (ssize_t) image->rows; y++) image 2671 magick/effect.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1, image 2673 magick/effect.c q=GetCacheViewAuthenticPixels(contrast_view,0,y,image->columns,1, image 2676 magick/effect.c memcpy(pixels,interImage+(y*(image->columns+(2*width))),(image->columns+ image 2679 magick/effect.c for (x=0; x < (ssize_t) image->columns; x++) image 2702 magick/effect.c srcVal=(float) GetPixelLuma(image,p); image 2750 magick/effect.c MagickExport Image *PreviewImage(const Image *image,const PreviewType preview, image 2803 magick/effect.c assert(image != (Image *) NULL); image 2804 magick/effect.c assert(image->signature == MagickSignature); image 2805 magick/effect.c if (image->debug != MagickFalse) image 2806 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2811 magick/effect.c SetGeometry(image,&geometry); image 2824 magick/effect.c thumbnail=ThumbnailImage(image,geometry.width,geometry.height,exception); image 3202 magick/effect.c proceed=SetImageProgress(image,PreviewImageTag,(MagickOffsetType) i, image 3216 magick/effect.c (void) CopyMagickString(montage_info->filename,image->filename,MaxTextExtent); image 3233 magick/effect.c if (image->directory != (char *) NULL) image 3275 magick/effect.c MagickExport Image *RotationalBlurImage(const Image *image,const double angle, image 3281 magick/effect.c blur_image=RotationalBlurImageChannel(image,DefaultChannels,angle,exception); image 3285 magick/effect.c MagickExport Image *RotationalBlurImageChannel(const Image *image, image 3326 magick/effect.c assert(image != (Image *) NULL); image 3327 magick/effect.c assert(image->signature == MagickSignature); image 3328 magick/effect.c if (image->debug != MagickFalse) image 3329 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3332 magick/effect.c blur_image=AccelerateRadialBlurImage(image,channel,angle,exception); image 3335 magick/effect.c blur_center.x=(double) (image->columns-1)/2.0; image 3336 magick/effect.c blur_center.y=(double) (image->rows-1)/2.0; image 3355 magick/effect.c blur_image=CloneImage(image,0,0,MagickTrue,exception); image 3375 magick/effect.c GetMagickPixelPacket(image,&bias); image 3376 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 3443 magick/effect.c if (((channel & OpacityChannel) == 0) || (image->matte == MagickFalse)) image 3455 magick/effect.c if (image->colorspace == CMYKColorspace) image 3472 magick/effect.c (image->colorspace == CMYKColorspace)) image 3494 magick/effect.c if (image->colorspace == CMYKColorspace) image 3513 magick/effect.c (image->colorspace == CMYKColorspace)) image 3520 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3528 magick/effect.c proceed=SetImageProgress(image,BlurImageTag,progress++,image->rows); image 3583 magick/effect.c MagickExport Image *SelectiveBlurImage(const Image *image,const double radius, image 3589 magick/effect.c blur_image=SelectiveBlurImageChannel(image,DefaultChannels,radius,sigma, image 3594 magick/effect.c MagickExport Image *SelectiveBlurImageChannel(const Image *image, image 3637 magick/effect.c assert(image != (Image *) NULL); image 3638 magick/effect.c assert(image->signature == MagickSignature); image 3639 magick/effect.c if (image->debug != MagickFalse) image 3640 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3656 magick/effect.c if (image->debug != MagickFalse) image 3688 magick/effect.c blur_image=CloneImage(image,0,0,MagickTrue,exception); image 3701 magick/effect.c luminance_image=CloneImage(image,0,0,MagickTrue,exception); image 3722 magick/effect.c center=(ssize_t) ((image->columns+width)*((width-1)/2L)+((width-1)/2L)); image 3723 magick/effect.c GetMagickPixelPacket(image,&bias); image 3724 magick/effect.c SetMagickPixelPacketBias(image,&bias); image 3725 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 3732 magick/effect.c for (y=0; y < (ssize_t) image->rows; y++) image 3759 magick/effect.c ((width-1)/2L),image->columns+width,width,exception); image 3772 magick/effect.c for (x=0; x < (ssize_t) image->columns; x++) image 3799 magick/effect.c intensity=GetPixelIntensity(image,p+center); image 3802 magick/effect.c if (((channel & OpacityChannel) == 0) || (image->matte == MagickFalse)) image 3818 magick/effect.c j+=(ssize_t) (image->columns+width); image 3846 magick/effect.c j+=(ssize_t) (image->columns+width); image 3852 magick/effect.c (image->colorspace == CMYKColorspace)) image 3868 magick/effect.c j+=(ssize_t) (image->columns+width); image 3895 magick/effect.c j+=(ssize_t) (image->columns+width); image 3919 magick/effect.c j+=(ssize_t) (image->columns+width); image 3924 magick/effect.c (image->colorspace == CMYKColorspace)) image 3942 magick/effect.c j+=(ssize_t) (image->columns+width); image 3955 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3963 magick/effect.c proceed=SetImageProgress(image,SelectiveBlurImageTag,progress++, image 3964 magick/effect.c image->rows); image 3969 magick/effect.c blur_image->type=image->type; image 4012 magick/effect.c MagickExport Image *ShadeImage(const Image *image,const MagickBooleanType gray, image 4040 magick/effect.c assert(image != (const Image *) NULL); image 4041 magick/effect.c assert(image->signature == MagickSignature); image 4042 magick/effect.c if (image->debug != MagickFalse) image 4043 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4046 magick/effect.c linear_image=CloneImage(image,0,0,MagickTrue,exception); image 4047 magick/effect.c shade_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 4125 magick/effect.c s1=s0+image->columns+2; image 4126 magick/effect.c s2=s1+image->columns+2; image 4172 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4180 magick/effect.c proceed=SetImageProgress(image,ShadeImageTag,progress++,image->rows); image 4236 magick/effect.c MagickExport Image *SharpenImage(const Image *image,const double radius, image 4242 magick/effect.c sharp_image=SharpenImageChannel(image,DefaultChannels,radius,sigma,exception); image 4246 magick/effect.c MagickExport Image *SharpenImageChannel(const Image *image, image 4271 magick/effect.c assert(image != (const Image *) NULL); image 4272 magick/effect.c assert(image->signature == MagickSignature); image 4273 magick/effect.c if (image->debug != MagickFalse) image 4274 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4314 magick/effect.c sharp_image=MorphologyApply(image,channel,ConvolveMorphology,1,kernel_info, image 4348 magick/effect.c MagickExport Image *SpreadImage(const Image *image,const double radius, image 4386 magick/effect.c assert(image != (Image *) NULL); image 4387 magick/effect.c assert(image->signature == MagickSignature); image 4388 magick/effect.c if (image->debug != MagickFalse) image 4389 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4392 magick/effect.c spread_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 4410 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 4452 magick/effect.c (void) InterpolateMagickPixelPacket(image,image_view,image->interpolate, image 4460 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4468 magick/effect.c proceed=SetImageProgress(image,SpreadImageTag,progress++,image->rows); image 4526 magick/effect.c MagickExport Image *UnsharpMaskImage(const Image *image,const double radius, image 4534 magick/effect.c sharp_image=UnsharpMaskImageChannel(image,DefaultChannels,radius,sigma,gain, image 4540 magick/effect.c MagickExport Image *UnsharpMaskImageChannel(const Image *image, image 4568 magick/effect.c assert(image != (const Image *) NULL); image 4569 magick/effect.c assert(image->signature == MagickSignature); image 4570 magick/effect.c if (image->debug != MagickFalse) image 4571 magick/effect.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4573 magick/effect.c unsharp_image=AccelerateUnsharpMaskImage(image,channel,radius,sigma,gain, image 4577 magick/effect.c unsharp_image=BlurImageChannel(image,(ChannelType) (channel &~ SyncChannels), image 4587 magick/effect.c GetMagickPixelPacket(image,&bias); image 4588 magick/effect.c image_view=AcquireVirtualCacheView(image,exception); image 4594 magick/effect.c for (y=0; y < (ssize_t) image->rows; y++) image 4616 magick/effect.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 4631 magick/effect.c for (x=0; x < (ssize_t) image->columns; x++) image 4670 magick/effect.c (image->colorspace == CMYKColorspace)) image 4686 magick/effect.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4694 magick/effect.c proceed=SetImageProgress(image,SharpenImageTag,progress++,image->rows); image 4699 magick/effect.c unsharp_image->type=image->type; image 115 magick/enhance.c MagickExport MagickBooleanType AutoGammaImage(Image *image) image 117 magick/enhance.c return(AutoGammaImageChannel(image,DefaultChannels)); image 120 magick/enhance.c MagickExport MagickBooleanType AutoGammaImageChannel(Image *image, image 138 magick/enhance.c (void) GetImageChannelMean(image,channel,&mean,&sans,&image->exception); image 140 magick/enhance.c return(LevelImageChannel(image,channel,0.0,(double) QuantumRange,gamma)); image 148 magick/enhance.c (void) GetImageChannelMean(image,RedChannel,&mean,&sans, image 149 magick/enhance.c &image->exception); image 151 magick/enhance.c status&=LevelImageChannel(image,RedChannel,0.0,(double) QuantumRange, image 156 magick/enhance.c (void) GetImageChannelMean(image,GreenChannel,&mean,&sans, image 157 magick/enhance.c &image->exception); image 159 magick/enhance.c status&=LevelImageChannel(image,GreenChannel,0.0,(double) QuantumRange, image 164 magick/enhance.c (void) GetImageChannelMean(image,BlueChannel,&mean,&sans, image 165 magick/enhance.c &image->exception); image 167 magick/enhance.c status&=LevelImageChannel(image,BlueChannel,0.0,(double) QuantumRange, image 171 magick/enhance.c (image->matte != MagickFalse)) image 173 magick/enhance.c (void) GetImageChannelMean(image,OpacityChannel,&mean,&sans, image 174 magick/enhance.c &image->exception); image 176 magick/enhance.c status&=LevelImageChannel(image,OpacityChannel,0.0,(double) QuantumRange, image 180 magick/enhance.c (image->colorspace == CMYKColorspace)) image 182 magick/enhance.c (void) GetImageChannelMean(image,IndexChannel,&mean,&sans, image 183 magick/enhance.c &image->exception); image 185 magick/enhance.c status&=LevelImageChannel(image,IndexChannel,0.0,(double) QuantumRange, image 221 magick/enhance.c MagickExport MagickBooleanType AutoLevelImage(Image *image) image 223 magick/enhance.c return(AutoLevelImageChannel(image,DefaultChannels)); image 226 magick/enhance.c MagickExport MagickBooleanType AutoLevelImageChannel(Image *image, image 232 magick/enhance.c return(MinMaxStretchImage(image,channel,0.0,0.0)); image 270 magick/enhance.c MagickExport MagickBooleanType BrightnessContrastImage(Image *image, image 276 magick/enhance.c status=BrightnessContrastImageChannel(image,DefaultChannels,brightness, image 281 magick/enhance.c MagickExport MagickBooleanType BrightnessContrastImageChannel(Image *image, image 298 magick/enhance.c assert(image != (Image *) NULL); image 299 magick/enhance.c assert(image->signature == MagickSignature); image 300 magick/enhance.c if (image->debug != MagickFalse) image 301 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 309 magick/enhance.c status=FunctionImageChannel(image,channel,PolynomialFunction,2,coefficients, image 310 magick/enhance.c &image->exception); image 357 magick/enhance.c MagickExport MagickBooleanType ColorDecisionListImage(Image *image, image 421 magick/enhance.c assert(image != (Image *) NULL); image 422 magick/enhance.c assert(image->signature == MagickSignature); image 423 magick/enhance.c if (image->debug != MagickFalse) image 424 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 427 magick/enhance.c ccc=NewXMLTree((const char *) color_correction_collection,&image->exception); image 568 magick/enhance.c if (image->debug != MagickFalse) image 596 magick/enhance.c image->filename); image 609 magick/enhance.c if (image->storage_class == PseudoClass) image 614 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 619 magick/enhance.c luma=0.212656*image->colormap[i].red+0.715158*image->colormap[i].green+ image 620 magick/enhance.c 0.072186*image->colormap[i].blue; image 621 magick/enhance.c image->colormap[i].red=ClampToQuantum(luma+color_correction.saturation* image 622 magick/enhance.c cdl_map[ScaleQuantumToMap(image->colormap[i].red)].red-luma); image 623 magick/enhance.c image->colormap[i].green=ClampToQuantum(luma+ image 625 magick/enhance.c image->colormap[i].green)].green-luma); image 626 magick/enhance.c image->colormap[i].blue=ClampToQuantum(luma+color_correction.saturation* image 627 magick/enhance.c cdl_map[ScaleQuantumToMap(image->colormap[i].blue)].blue-luma); image 635 magick/enhance.c exception=(&image->exception); image 636 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 641 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 654 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 660 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 674 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 682 magick/enhance.c proceed=SetImageProgress(image,ColorDecisionListCorrectImageTag, image 683 magick/enhance.c progress++,image->rows); image 738 magick/enhance.c MagickExport MagickBooleanType ClutImage(Image *image,const Image *clut_image) image 740 magick/enhance.c return(ClutImageChannel(image,DefaultChannels,clut_image)); image 743 magick/enhance.c MagickExport MagickBooleanType ClutImageChannel(Image *image, image 771 magick/enhance.c assert(image != (Image *) NULL); image 772 magick/enhance.c assert(image->signature == MagickSignature); image 773 magick/enhance.c if (image->debug != MagickFalse) image 774 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 777 magick/enhance.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 779 magick/enhance.c if ((IsGrayColorspace(image->colorspace) != MagickFalse) && image 781 magick/enhance.c (void) SetImageColorspace(image,sRGBColorspace); image 786 magick/enhance.c image->filename); image 793 magick/enhance.c exception=(&image->exception); image 803 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 808 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 824 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 831 magick/enhance.c GetMagickPixelPacket(image,&pixel); image 832 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 834 magick/enhance.c SetMagickPixelPacket(image,q,indexes+x,&pixel); image 850 magick/enhance.c if (image->matte == MagickFalse) image 858 magick/enhance.c (image->colorspace == CMYKColorspace)) image 865 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 873 magick/enhance.c proceed=SetImageProgress(image,ClutImageTag,progress++,image->rows); image 881 magick/enhance.c (void) SetImageAlphaChannel(image,ActivateAlphaChannel); image 940 magick/enhance.c MagickExport MagickBooleanType ContrastImage(Image *image, image 965 magick/enhance.c assert(image != (Image *) NULL); image 966 magick/enhance.c assert(image->signature == MagickSignature); image 967 magick/enhance.c if (image->debug != MagickFalse) image 968 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 970 magick/enhance.c if (image->storage_class == PseudoClass) image 975 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 976 magick/enhance.c Contrast(sign,&image->colormap[i].red,&image->colormap[i].green, image 977 magick/enhance.c &image->colormap[i].blue); image 983 magick/enhance.c status = AccelerateContrastImage(image, sharpen, &image->exception); image 989 magick/enhance.c exception=(&image->exception); image 990 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 995 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 1010 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1016 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 1029 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1037 magick/enhance.c proceed=SetImageProgress(image,ContrastImageTag,progress++,image->rows); image 1087 magick/enhance.c MagickExport MagickBooleanType ContrastStretchImage(Image *image, image 1110 magick/enhance.c white_point=(double) image->columns*image->rows; image 1119 magick/enhance.c white_point=(double) image->columns*image->rows-black_point; image 1120 magick/enhance.c status=ContrastStretchImageChannel(image,DefaultChannels,black_point, image 1125 magick/enhance.c MagickExport MagickBooleanType ContrastStretchImageChannel(Image *image, image 1163 magick/enhance.c assert(image != (Image *) NULL); image 1164 magick/enhance.c assert(image->signature == MagickSignature); image 1165 magick/enhance.c if (image->debug != MagickFalse) image 1166 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1169 magick/enhance.c status=AccelerateContrastStretchImageChannel(image,channel,black_point, image 1170 magick/enhance.c white_point,&image->exception); image 1180 magick/enhance.c image->filename); image 1184 magick/enhance.c exception=(&image->exception); image 1185 magick/enhance.c if (SetImageGray(image,exception) != MagickFalse) image 1186 magick/enhance.c (void) SetImageColorspace(image,GRAYColorspace); image 1189 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 1190 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 1203 magick/enhance.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1211 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 1216 magick/enhance.c intensity=ClampToQuantum(GetPixelIntensity(image,p)); image 1224 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 1235 magick/enhance.c (image->colorspace == CMYKColorspace)) image 1259 magick/enhance.c if (intensity > ((double) image->columns*image->rows-white_point)) image 1280 magick/enhance.c if (intensity > ((double) image->columns*image->rows-white_point)) image 1301 magick/enhance.c if (intensity > ((double) image->columns*image->rows-white_point)) image 1322 magick/enhance.c if (intensity > ((double) image->columns*image->rows-white_point)) image 1329 magick/enhance.c if (((channel & IndexChannel) != 0) && (image->colorspace == CMYKColorspace)) image 1343 magick/enhance.c if (intensity > ((double) image->columns*image->rows-white_point)) image 1404 magick/enhance.c (image->colorspace == CMYKColorspace)) image 1421 magick/enhance.c (image->colorspace == CMYKColorspace))) image 1422 magick/enhance.c image->storage_class=DirectClass; image 1423 magick/enhance.c if (image->storage_class == PseudoClass) image 1428 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 1433 magick/enhance.c image->colormap[i].red=stretch_map[ image 1434 magick/enhance.c ScaleQuantumToMap(image->colormap[i].red)].red; image 1439 magick/enhance.c image->colormap[i].green=stretch_map[ image 1440 magick/enhance.c ScaleQuantumToMap(image->colormap[i].green)].green; image 1445 magick/enhance.c image->colormap[i].blue=stretch_map[ image 1446 magick/enhance.c ScaleQuantumToMap(image->colormap[i].blue)].blue; image 1451 magick/enhance.c image->colormap[i].opacity=stretch_map[ image 1452 magick/enhance.c ScaleQuantumToMap(image->colormap[i].opacity)].opacity; image 1465 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 1478 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1485 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 1512 magick/enhance.c (image->colorspace == CMYKColorspace)) image 1522 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1530 magick/enhance.c proceed=SetImageProgress(image,ContrastStretchImageTag,progress++, image 1531 magick/enhance.c image->rows); image 1566 magick/enhance.c MagickExport Image *EnhanceImage(const Image *image,ExceptionInfo *exception) image 1614 magick/enhance.c assert(image != (const Image *) NULL); image 1615 magick/enhance.c assert(image->signature == MagickSignature); image 1616 magick/enhance.c if (image->debug != MagickFalse) image 1617 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1620 magick/enhance.c if ((image->columns < 5) || (image->rows < 5)) image 1622 magick/enhance.c enhance_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 1638 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 1644 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 1660 magick/enhance.c p=GetCacheViewVirtualPixels(image_view,-2,y-2,image->columns+4,5,exception); image 1668 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 1690 magick/enhance.c r=p+2*(image->columns+4)+2; image 1695 magick/enhance.c r=p+(image->columns+4); image 1698 magick/enhance.c r=p+2*(image->columns+4); image 1701 magick/enhance.c r=p+3*(image->columns+4); image 1704 magick/enhance.c r=p+4*(image->columns+4); image 1716 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1724 magick/enhance.c proceed=SetImageProgress(image,EnhanceImageTag,progress++,image->rows); image 1763 magick/enhance.c MagickExport MagickBooleanType EqualizeImage(Image *image) image 1765 magick/enhance.c return(EqualizeImageChannel(image,DefaultChannels)); image 1768 magick/enhance.c MagickExport MagickBooleanType EqualizeImageChannel(Image *image, image 1801 magick/enhance.c assert(image != (Image *) NULL); image 1802 magick/enhance.c assert(image->signature == MagickSignature); image 1803 magick/enhance.c if (image->debug != MagickFalse) image 1804 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1807 magick/enhance.c status = AccelerateEqualizeImage(image, channel, &image->exception); image 1831 magick/enhance.c image->filename); image 1837 magick/enhance.c exception=(&image->exception); image 1838 magick/enhance.c image_view=AcquireVirtualCacheView(image,exception); image 1839 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 1850 magick/enhance.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1855 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 1857 magick/enhance.c MagickRealType intensity=GetPixelIntensity(image,p); image 1862 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 1873 magick/enhance.c (image->colorspace == CMYKColorspace)) image 1900 magick/enhance.c (image->colorspace == CMYKColorspace)) image 1929 magick/enhance.c (image->colorspace == CMYKColorspace)) && image 1936 magick/enhance.c if (image->storage_class == PseudoClass) image 1941 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 1947 magick/enhance.c image->colormap[i].red=equalize_map[ image 1948 magick/enhance.c ScaleQuantumToMap(image->colormap[i].red)].red; image 1949 magick/enhance.c image->colormap[i].green=equalize_map[ image 1950 magick/enhance.c ScaleQuantumToMap(image->colormap[i].green)].red; image 1951 magick/enhance.c image->colormap[i].blue=equalize_map[ image 1952 magick/enhance.c ScaleQuantumToMap(image->colormap[i].blue)].red; image 1953 magick/enhance.c image->colormap[i].opacity=equalize_map[ image 1954 magick/enhance.c ScaleQuantumToMap(image->colormap[i].opacity)].red; image 1959 magick/enhance.c image->colormap[i].red=equalize_map[ image 1960 magick/enhance.c ScaleQuantumToMap(image->colormap[i].red)].red; image 1962 magick/enhance.c image->colormap[i].green=equalize_map[ image 1963 magick/enhance.c ScaleQuantumToMap(image->colormap[i].green)].green; image 1965 magick/enhance.c image->colormap[i].blue=equalize_map[ image 1966 magick/enhance.c ScaleQuantumToMap(image->colormap[i].blue)].blue; image 1969 magick/enhance.c image->colormap[i].opacity=equalize_map[ image 1970 magick/enhance.c ScaleQuantumToMap(image->colormap[i].opacity)].opacity; image 1978 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 1983 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 1996 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2003 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 2017 magick/enhance.c if (image->colorspace == CMYKColorspace) image 2037 magick/enhance.c (image->colorspace == CMYKColorspace)) && image 2045 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2053 magick/enhance.c proceed=SetImageProgress(image,EqualizeImageTag,progress++,image->rows); image 2106 magick/enhance.c MagickExport MagickBooleanType GammaImage(Image *image,const char *level) image 2118 magick/enhance.c assert(image != (Image *) NULL); image 2119 magick/enhance.c assert(image->signature == MagickSignature); image 2120 magick/enhance.c if (image->debug != MagickFalse) image 2121 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2135 magick/enhance.c status=GammaImageChannel(image,(ChannelType) (RedChannel | GreenChannel | image 2139 magick/enhance.c status=GammaImageChannel(image,RedChannel,(double) gamma.red); image 2140 magick/enhance.c status&=GammaImageChannel(image,GreenChannel,(double) gamma.green); image 2141 magick/enhance.c status&=GammaImageChannel(image,BlueChannel,(double) gamma.blue); image 2146 magick/enhance.c MagickExport MagickBooleanType GammaImageChannel(Image *image, image 2175 magick/enhance.c assert(image != (Image *) NULL); image 2176 magick/enhance.c assert(image->signature == MagickSignature); image 2177 magick/enhance.c if (image->debug != MagickFalse) image 2178 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2184 magick/enhance.c image->filename); image 2190 magick/enhance.c if (image->storage_class == PseudoClass) image 2195 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 2199 magick/enhance.c image->colormap[i].red=gamma_map[ScaleQuantumToMap( image 2200 magick/enhance.c image->colormap[i].red)]; image 2202 magick/enhance.c image->colormap[i].green=gamma_map[ScaleQuantumToMap( image 2203 magick/enhance.c image->colormap[i].green)]; image 2205 magick/enhance.c image->colormap[i].blue=gamma_map[ScaleQuantumToMap( image 2206 magick/enhance.c image->colormap[i].blue)]; image 2209 magick/enhance.c if (image->matte == MagickFalse) image 2210 magick/enhance.c image->colormap[i].opacity=gamma_map[ScaleQuantumToMap( image 2211 magick/enhance.c image->colormap[i].opacity)]; image 2213 magick/enhance.c image->colormap[i].opacity=QuantumRange-gamma_map[ image 2215 magick/enhance.c image->colormap[i].opacity))]; image 2219 magick/enhance.c image->colormap[i].red=QuantumRange*gamma_pow(QuantumScale* image 2220 magick/enhance.c image->colormap[i].red,1.0/gamma); image 2222 magick/enhance.c image->colormap[i].green=QuantumRange*gamma_pow(QuantumScale* image 2223 magick/enhance.c image->colormap[i].green,1.0/gamma); image 2225 magick/enhance.c image->colormap[i].blue=QuantumRange*gamma_pow(QuantumScale* image 2226 magick/enhance.c image->colormap[i].blue,1.0/gamma); image 2229 magick/enhance.c if (image->matte == MagickFalse) image 2230 magick/enhance.c image->colormap[i].opacity=QuantumRange*gamma_pow(QuantumScale* image 2231 magick/enhance.c image->colormap[i].opacity,1.0/gamma); image 2233 magick/enhance.c image->colormap[i].opacity=QuantumRange-QuantumRange*gamma_pow( image 2234 magick/enhance.c QuantumScale*(QuantumRange-image->colormap[i].opacity),1.0/ image 2245 magick/enhance.c exception=(&image->exception); image 2246 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 2251 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 2264 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2271 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 2290 magick/enhance.c if (image->matte == MagickFalse) image 2321 magick/enhance.c if (image->matte == MagickFalse) image 2333 magick/enhance.c (image->colorspace == CMYKColorspace)) image 2334 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 2339 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2347 magick/enhance.c proceed=SetImageProgress(image,GammaCorrectImageTag,progress++, image 2348 magick/enhance.c image->rows); image 2355 magick/enhance.c if (image->gamma != 0.0) image 2356 magick/enhance.c image->gamma*=gamma; image 2385 magick/enhance.c MagickExport MagickBooleanType GrayscaleImage(Image *image, image 2405 magick/enhance.c assert(image != (Image *) NULL); image 2406 magick/enhance.c assert(image->signature == MagickSignature); image 2407 magick/enhance.c if (image->debug != MagickFalse) image 2408 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2409 magick/enhance.c if (image->storage_class == PseudoClass) image 2411 magick/enhance.c if (SyncImage(image) == MagickFalse) image 2413 magick/enhance.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2422 magick/enhance.c status = AccelerateGrayscaleImage(image, method, &image->exception); image 2428 magick/enhance.c exception=(&image->exception); image 2429 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 2434 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 2444 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2450 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 2488 magick/enhance.c if (image->colorspace == RGBColorspace) image 2499 magick/enhance.c if (image->colorspace == sRGBColorspace) image 2511 magick/enhance.c if (image->colorspace == RGBColorspace) image 2522 magick/enhance.c if (image->colorspace == sRGBColorspace) image 2543 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2551 magick/enhance.c proceed=SetImageProgress(image,GrayscaleImageTag,progress++, image 2552 magick/enhance.c image->rows); image 2558 magick/enhance.c image->intensity=method; image 2559 magick/enhance.c image->type=GrayscaleType; image 2560 magick/enhance.c return(SetImageColorspace(image,GRAYColorspace)); image 2596 magick/enhance.c MagickExport MagickBooleanType HaldClutImage(Image *image, image 2599 magick/enhance.c return(HaldClutImageChannel(image,DefaultChannels,hald_image)); image 2602 magick/enhance.c MagickExport MagickBooleanType HaldClutImageChannel(Image *image, image 2642 magick/enhance.c assert(image != (Image *) NULL); image 2643 magick/enhance.c assert(image->signature == MagickSignature); image 2644 magick/enhance.c if (image->debug != MagickFalse) image 2645 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2648 magick/enhance.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2650 magick/enhance.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 2651 magick/enhance.c (void) SetImageColorspace(image,sRGBColorspace); image 2652 magick/enhance.c if (image->matte == MagickFalse) image 2653 magick/enhance.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 2666 magick/enhance.c exception=(&image->exception); image 2667 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 2673 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 2699 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2711 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 2720 magick/enhance.c (void) InterpolateMagickPixelPacket(image,hald_view, image 2723 magick/enhance.c (void) InterpolateMagickPixelPacket(image,hald_view, image 2729 magick/enhance.c (void) InterpolateMagickPixelPacket(image,hald_view, image 2732 magick/enhance.c (void) InterpolateMagickPixelPacket(image,hald_view, image 2745 magick/enhance.c if (((channel & OpacityChannel) != 0) && (image->matte != MagickFalse)) image 2748 magick/enhance.c (image->colorspace == CMYKColorspace)) image 2754 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2762 magick/enhance.c proceed=SetImageProgress(image,HaldClutImageTag,progress++,image->rows); image 2813 magick/enhance.c MagickExport MagickBooleanType LevelImage(Image *image,const char *levels) image 2844 magick/enhance.c black_point*=(double) image->columns*image->rows/100.0; image 2845 magick/enhance.c white_point*=(double) image->columns*image->rows/100.0; image 2850 magick/enhance.c status=LevelImageChannel(image,DefaultChannels,black_point,white_point, image 2853 magick/enhance.c status=LevelizeImage(image,black_point,white_point,gamma); image 2913 magick/enhance.c MagickExport MagickBooleanType LevelImageChannel(Image *image, image 2940 magick/enhance.c assert(image != (Image *) NULL); image 2941 magick/enhance.c assert(image->signature == MagickSignature); image 2942 magick/enhance.c if (image->debug != MagickFalse) image 2943 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2944 magick/enhance.c if (image->storage_class == PseudoClass) image 2945 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 2951 magick/enhance.c image->colormap[i].red=(Quantum) ClampToQuantum(LevelPixel(black_point, image 2952 magick/enhance.c white_point,gamma,(MagickRealType) image->colormap[i].red)); image 2954 magick/enhance.c image->colormap[i].green=(Quantum) ClampToQuantum(LevelPixel( image 2956 magick/enhance.c image->colormap[i].green)); image 2958 magick/enhance.c image->colormap[i].blue=(Quantum) ClampToQuantum(LevelPixel(black_point, image 2959 magick/enhance.c white_point,gamma,(MagickRealType) image->colormap[i].blue)); image 2961 magick/enhance.c image->colormap[i].opacity=(Quantum) (QuantumRange-(Quantum) image 2963 magick/enhance.c (MagickRealType) (QuantumRange-image->colormap[i].opacity)))); image 2970 magick/enhance.c exception=(&image->exception); image 2971 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 2976 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 2989 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2996 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 3008 magick/enhance.c (image->matte != MagickFalse)) image 3012 magick/enhance.c (image->colorspace == CMYKColorspace)) image 3019 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3027 magick/enhance.c proceed=SetImageProgress(image,LevelImageTag,progress++,image->rows); image 3033 magick/enhance.c (void) ClampImage(image); image 3080 magick/enhance.c MagickExport MagickBooleanType LevelizeImage(Image *image, image 3086 magick/enhance.c status=LevelizeImageChannel(image,DefaultChannels,black_point,white_point, image 3091 magick/enhance.c MagickExport MagickBooleanType LevelizeImageChannel(Image *image, image 3120 magick/enhance.c assert(image != (Image *) NULL); image 3121 magick/enhance.c assert(image->signature == MagickSignature); image 3122 magick/enhance.c if (image->debug != MagickFalse) image 3123 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3124 magick/enhance.c if (image->storage_class == PseudoClass) image 3125 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 3131 magick/enhance.c image->colormap[i].red=LevelizeValue(image->colormap[i].red); image 3133 magick/enhance.c image->colormap[i].green=LevelizeValue(image->colormap[i].green); image 3135 magick/enhance.c image->colormap[i].blue=LevelizeValue(image->colormap[i].blue); image 3137 magick/enhance.c image->colormap[i].opacity=(Quantum) (QuantumRange-LevelizeValue( image 3138 magick/enhance.c QuantumRange-image->colormap[i].opacity)); image 3145 magick/enhance.c exception=(&image->exception); image 3146 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 3151 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 3164 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 3171 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 3180 magick/enhance.c (image->matte != MagickFalse)) image 3183 magick/enhance.c (image->colorspace == CMYKColorspace)) image 3189 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3197 magick/enhance.c proceed=SetImageProgress(image,LevelizeImageTag,progress++,image->rows); image 3251 magick/enhance.c MagickExport MagickBooleanType LevelColorsImage(Image *image, image 3258 magick/enhance.c status=LevelColorsImageChannel(image,DefaultChannels,black_color,white_color, image 3263 magick/enhance.c MagickExport MagickBooleanType LevelColorsImageChannel(Image *image, image 3273 magick/enhance.c assert(image != (Image *) NULL); image 3274 magick/enhance.c assert(image->signature == MagickSignature); image 3275 magick/enhance.c if (image->debug != MagickFalse) image 3276 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3277 magick/enhance.c if ((IsGrayColorspace(image->colorspace) != MagickFalse) && image 3280 magick/enhance.c (void) SetImageColorspace(image,sRGBColorspace); image 3285 magick/enhance.c status&=LevelImageChannel(image,RedChannel,black_color->red, image 3288 magick/enhance.c status&=LevelImageChannel(image,GreenChannel,black_color->green, image 3291 magick/enhance.c status&=LevelImageChannel(image,BlueChannel,black_color->blue, image 3294 magick/enhance.c (image->matte != MagickFalse)) image 3295 magick/enhance.c status&=LevelImageChannel(image,OpacityChannel,black_color->opacity, image 3298 magick/enhance.c (image->colorspace == CMYKColorspace)) image 3299 magick/enhance.c status&=LevelImageChannel(image,IndexChannel,black_color->index, image 3305 magick/enhance.c status&=LevelizeImageChannel(image,RedChannel,black_color->red, image 3308 magick/enhance.c status&=LevelizeImageChannel(image,GreenChannel,black_color->green, image 3311 magick/enhance.c status&=LevelizeImageChannel(image,BlueChannel,black_color->blue, image 3314 magick/enhance.c (image->matte != MagickFalse)) image 3315 magick/enhance.c status&=LevelizeImageChannel(image,OpacityChannel,black_color->opacity, image 3318 magick/enhance.c (image->colorspace == CMYKColorspace)) image 3319 magick/enhance.c status&=LevelizeImageChannel(image,IndexChannel,black_color->index, image 3353 magick/enhance.c MagickExport MagickBooleanType LinearStretchImage(Image *image, image 3376 magick/enhance.c assert(image != (Image *) NULL); image 3377 magick/enhance.c assert(image->signature == MagickSignature); image 3382 magick/enhance.c image->filename); image 3387 magick/enhance.c exception=(&image->exception); image 3388 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 3396 magick/enhance.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 3399 magick/enhance.c for (x=(ssize_t) image->columns-1; x >= 0; x--) image 3401 magick/enhance.c histogram[ScaleQuantumToMap(ClampToQuantum(GetPixelIntensity(image,p)))]++; image 3423 magick/enhance.c status=LevelImageChannel(image,DefaultChannels,(double) image 3665 magick/enhance.c MagickExport MagickBooleanType ModulateImage(Image *image,const char *modulate) image 3707 magick/enhance.c assert(image != (Image *) NULL); image 3708 magick/enhance.c assert(image->signature == MagickSignature); image 3709 magick/enhance.c if (image->debug != MagickFalse) image 3710 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3713 magick/enhance.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 3714 magick/enhance.c (void) SetImageColorspace(image,sRGBColorspace); image 3724 magick/enhance.c artifact=GetImageArtifact(image,"modulate:colorspace"); image 3728 magick/enhance.c if (image->storage_class == PseudoClass) image 3729 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 3739 magick/enhance.c red=image->colormap[i].red; image 3740 magick/enhance.c green=image->colormap[i].green; image 3741 magick/enhance.c blue=image->colormap[i].blue; image 3801 magick/enhance.c image->colormap[i].red=red; image 3802 magick/enhance.c image->colormap[i].green=green; image 3803 magick/enhance.c image->colormap[i].blue=blue; image 3811 magick/enhance.c status = AccelerateModulateImage(image, percent_brightness, percent_hue, percent_saturation, colorspace, &image->exception); image 3817 magick/enhance.c exception=(&image->exception); image 3818 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 3823 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 3833 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 3839 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 3909 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3917 magick/enhance.c proceed=SetImageProgress(image,ModulateImageTag,progress++,image->rows); image 3957 magick/enhance.c MagickExport MagickBooleanType NegateImage(Image *image, image 3963 magick/enhance.c status=NegateImageChannel(image,DefaultChannels,grayscale); image 3967 magick/enhance.c MagickExport MagickBooleanType NegateImageChannel(Image *image, image 3990 magick/enhance.c assert(image != (Image *) NULL); image 3991 magick/enhance.c assert(image->signature == MagickSignature); image 3992 magick/enhance.c if (image->debug != MagickFalse) image 3993 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3994 magick/enhance.c if (image->storage_class == PseudoClass) image 3999 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 4002 magick/enhance.c if ((image->colormap[i].red != image->colormap[i].green) || image 4003 magick/enhance.c (image->colormap[i].green != image->colormap[i].blue)) image 4006 magick/enhance.c image->colormap[i].red=QuantumRange-image->colormap[i].red; image 4008 magick/enhance.c image->colormap[i].green=QuantumRange-image->colormap[i].green; image 4010 magick/enhance.c image->colormap[i].blue=QuantumRange-image->colormap[i].blue; image 4018 magick/enhance.c exception=(&image->exception); image 4019 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 4026 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 4042 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 4050 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 4067 magick/enhance.c (image->colorspace == CMYKColorspace)) image 4074 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4082 magick/enhance.c proceed=SetImageProgress(image,NegateImageTag,progress++, image 4083 magick/enhance.c image->rows); image 4098 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 4111 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 4119 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 4126 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 4138 magick/enhance.c (image->colorspace == CMYKColorspace)) image 4139 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 4143 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4151 magick/enhance.c proceed=SetImageProgress(image,NegateImageTag,progress++,image->rows); image 4189 magick/enhance.c MagickExport MagickBooleanType NormalizeImage(Image *image) image 4194 magick/enhance.c status=NormalizeImageChannel(image,DefaultChannels); image 4198 magick/enhance.c MagickExport MagickBooleanType NormalizeImageChannel(Image *image, image 4205 magick/enhance.c black_point=(double) image->columns*image->rows*0.0015; image 4206 magick/enhance.c white_point=(double) image->columns*image->rows*0.9995; image 4207 magick/enhance.c return(ContrastStretchImageChannel(image,channel,black_point,white_point)); image 4337 magick/enhance.c MagickExport MagickBooleanType SigmoidalContrastImage(Image *image, image 4354 magick/enhance.c status=SigmoidalContrastImageChannel(image,DefaultChannels,sharpen, image 4359 magick/enhance.c MagickExport MagickBooleanType SigmoidalContrastImageChannel(Image *image, image 4395 magick/enhance.c assert(image != (Image *) NULL); image 4396 magick/enhance.c assert(image->signature == MagickSignature); image 4397 magick/enhance.c if (image->debug != MagickFalse) image 4398 magick/enhance.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4403 magick/enhance.c image->filename); image 4418 magick/enhance.c if (image->storage_class == PseudoClass) image 4419 magick/enhance.c for (i=0; i < (ssize_t) image->colors; i++) image 4422 magick/enhance.c image->colormap[i].red=ClampToQuantum(sigmoidal_map[ image 4423 magick/enhance.c ScaleQuantumToMap(image->colormap[i].red)]); image 4425 magick/enhance.c image->colormap[i].green=ClampToQuantum(sigmoidal_map[ image 4426 magick/enhance.c ScaleQuantumToMap(image->colormap[i].green)]); image 4428 magick/enhance.c image->colormap[i].blue=ClampToQuantum(sigmoidal_map[ image 4429 magick/enhance.c ScaleQuantumToMap(image->colormap[i].blue)]); image 4431 magick/enhance.c image->colormap[i].opacity=ClampToQuantum(sigmoidal_map[ image 4432 magick/enhance.c ScaleQuantumToMap(image->colormap[i].opacity)]); image 4439 magick/enhance.c exception=(&image->exception); image 4440 magick/enhance.c image_view=AcquireAuthenticCacheView(image,exception); image 4445 magick/enhance.c for (y=0; y < (ssize_t) image->rows; y++) image 4458 magick/enhance.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 4465 magick/enhance.c for (x=0; x < (ssize_t) image->columns; x++) image 4480 magick/enhance.c (image->colorspace == CMYKColorspace)) image 4487 magick/enhance.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4495 magick/enhance.c proceed=SetImageProgress(image,SigmoidalContrastImageTag,progress++, image 4496 magick/enhance.c image->rows); image 42 magick/enhance.h EqualizeImage(Image *image), image 43 magick/enhance.h EqualizeImageChannel(Image *image,const ChannelType), image 31 magick/exception-private.h if (image != (Image *) NULL) \ image 32 magick/exception-private.h (void) ThrowMagickException(&image->exception,GetMagickModule(),severity, \ image 67 magick/exception-private.h tag == (const char *) NULL ? "unknown" : tag,"`%s'",image->filename); \ image 74 magick/exception-private.h if ((image) != (Image *) NULL) \ image 76 magick/exception-private.h (void) CloseBlob(image); \ image 77 magick/exception-private.h image=DestroyImageList(image); \ image 83 magick/exception-private.h (void) ThrowMagickException(&image->exception,GetMagickModule(),severity, \ image 84 magick/exception-private.h tag == (const char *) NULL ? "unknown" : tag,"`%s'",image->filename); \ image 86 magick/exception-private.h while (image->previous != (Image *) NULL) \ image 87 magick/exception-private.h image=image->previous; \ image 88 magick/exception-private.h (void) CloseBlob(image); \ image 148 magick/feature.c static inline MagickBooleanType IsAuthenticPixel(const Image *image, image 151 magick/feature.c if ((x < 0) || (x >= (ssize_t) image->columns)) image 153 magick/feature.c if ((y < 0) || (y >= (ssize_t) image->rows)) image 242 magick/feature.c MagickExport Image *CannyEdgeImage(const Image *image,const double radius, image 281 magick/feature.c assert(image != (const Image *) NULL); image 282 magick/feature.c assert(image->signature == MagickSignature); image 283 magick/feature.c if (image->debug != MagickFalse) image 284 magick/feature.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 295 magick/feature.c edge_image=MorphologyApply(image,DefaultChannels,ConvolveMorphology,1, image 520 magick/feature.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 528 magick/feature.c proceed=SetImageProgress(image,CannyEdgeImageTag,progress++, image 529 magick/feature.c image->rows); image 630 magick/feature.c MagickExport ChannelFeatures *GetImageChannelFeatures(const Image *image, image 681 magick/feature.c assert(image != (Image *) NULL); image 682 magick/feature.c assert(image->signature == MagickSignature); image 683 magick/feature.c if (image->debug != MagickFalse) image 684 magick/feature.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 685 magick/feature.c if ((image->columns < (distance+1)) || (image->rows < (distance+1))) image 703 magick/feature.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 715 magick/feature.c image_view=AcquireVirtualCacheView(image,exception); image 720 magick/feature.c for (y=0; y < (ssize_t) image->rows; y++) image 733 magick/feature.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 740 magick/feature.c for (x=0; x < (ssize_t) image->columns; x++) image 748 magick/feature.c if (image->colorspace == CMYKColorspace) image 751 magick/feature.c if (image->matte != MagickFalse) image 774 magick/feature.c if (image->colorspace == CMYKColorspace) image 777 magick/feature.c if (image->matte != MagickFalse) image 789 magick/feature.c if (image->colorspace == CMYKColorspace) image 792 magick/feature.c if (image->matte != MagickFalse) image 838 magick/feature.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 887 magick/feature.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 894 magick/feature.c image_view=AcquireVirtualCacheView(image,exception); image 895 magick/feature.c for (y=0; y < (ssize_t) image->rows; y++) image 914 magick/feature.c p=GetCacheViewVirtualPixels(image_view,-(ssize_t) distance,y,image->columns+ image 924 magick/feature.c for (x=0; x < (ssize_t) image->columns; x++) image 944 magick/feature.c offset=(ssize_t) (image->columns+2*distance); image 952 magick/feature.c offset=(ssize_t) ((image->columns+2*distance)-distance); image 960 magick/feature.c offset=(ssize_t) ((image->columns+2*distance)+distance); image 988 magick/feature.c if (image->colorspace == CMYKColorspace) image 999 magick/feature.c if (image->matte != MagickFalse) image 1025 magick/feature.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 1047 magick/feature.c normalize=2.0*image->rows*(image->columns-distance); image 1055 magick/feature.c normalize=2.0*(image->rows-distance)*image->columns; image 1063 magick/feature.c normalize=2.0*(image->rows-distance)*(image->columns-distance); image 1071 magick/feature.c normalize=2.0*(image->rows-distance)*(image->columns-distance); image 1086 magick/feature.c if (image->colorspace == CMYKColorspace) image 1088 magick/feature.c if (image->matte != MagickFalse) image 1124 magick/feature.c if (image->colorspace == CMYKColorspace) image 1128 magick/feature.c if (image->matte != MagickFalse) image 1138 magick/feature.c if (image->colorspace == CMYKColorspace) image 1140 magick/feature.c if (image->matte != MagickFalse) image 1147 magick/feature.c if (image->colorspace == CMYKColorspace) image 1150 magick/feature.c if (image->matte != MagickFalse) image 1162 magick/feature.c if (image->colorspace == CMYKColorspace) image 1165 magick/feature.c if (image->matte != MagickFalse) image 1177 magick/feature.c if (image->colorspace == CMYKColorspace) image 1180 magick/feature.c if (image->matte != MagickFalse) image 1195 magick/feature.c if (image->colorspace == CMYKColorspace) image 1199 magick/feature.c if (image->matte != MagickFalse) image 1209 magick/feature.c if (image->colorspace == CMYKColorspace) image 1212 magick/feature.c if (image->matte != MagickFalse) image 1218 magick/feature.c if (image->colorspace == CMYKColorspace) image 1221 magick/feature.c if (image->matte != MagickFalse) image 1231 magick/feature.c if (image->colorspace == CMYKColorspace) image 1236 magick/feature.c if (image->matte != MagickFalse) image 1263 magick/feature.c if (image->colorspace == CMYKColorspace) image 1270 magick/feature.c if (image->matte != MagickFalse) image 1301 magick/feature.c if (image->colorspace == CMYKColorspace) image 1304 magick/feature.c if (image->matte != MagickFalse) image 1319 magick/feature.c if (image->colorspace == CMYKColorspace) image 1323 magick/feature.c if (image->matte != MagickFalse) image 1342 magick/feature.c if (image->colorspace == CMYKColorspace) image 1347 magick/feature.c if (image->matte != MagickFalse) image 1382 magick/feature.c if (image->colorspace == CMYKColorspace) image 1385 magick/feature.c if (image->matte != MagickFalse) image 1398 magick/feature.c if (image->colorspace == CMYKColorspace) image 1401 magick/feature.c if (image->matte != MagickFalse) image 1413 magick/feature.c if (image->colorspace == CMYKColorspace) image 1416 magick/feature.c if (image->matte != MagickFalse) image 1429 magick/feature.c if (image->colorspace == CMYKColorspace) image 1433 magick/feature.c if (image->matte != MagickFalse) image 1447 magick/feature.c if (image->colorspace == CMYKColorspace) image 1451 magick/feature.c if (image->matte != MagickFalse) image 1464 magick/feature.c if (image->colorspace == CMYKColorspace) image 1467 magick/feature.c if (image->matte != MagickFalse) image 1493 magick/feature.c if (image->colorspace == CMYKColorspace) image 1495 magick/feature.c if (image->matte != MagickFalse) image 1503 magick/feature.c if (image->colorspace == CMYKColorspace) image 1506 magick/feature.c if (image->matte != MagickFalse) image 1521 magick/feature.c if (image->colorspace == CMYKColorspace) image 1525 magick/feature.c if (image->matte != MagickFalse) image 1538 magick/feature.c if (image->colorspace == CMYKColorspace) image 1541 magick/feature.c if (image->matte != MagickFalse) image 1550 magick/feature.c if (image->colorspace == CMYKColorspace) image 1553 magick/feature.c if (image->matte != MagickFalse) image 1572 magick/feature.c if (image->matte != MagickFalse) image 1577 magick/feature.c if (image->colorspace == CMYKColorspace) image 1597 magick/feature.c if (image->colorspace == CMYKColorspace) image 1602 magick/feature.c if (image->matte != MagickFalse) image 1616 magick/feature.c if (image->colorspace == CMYKColorspace) image 1620 magick/feature.c if (image->matte != MagickFalse) image 1661 magick/feature.c if (image->colorspace == CMYKColorspace) image 1663 magick/feature.c if (image->matte != MagickFalse) image 1679 magick/feature.c if (image->colorspace == CMYKColorspace) image 1683 magick/feature.c if (image->matte != MagickFalse) image 1694 magick/feature.c if (image->colorspace == CMYKColorspace) image 1697 magick/feature.c if (image->matte != MagickFalse) image 1711 magick/feature.c if (image->colorspace == CMYKColorspace) image 1714 magick/feature.c if (image->matte != MagickFalse) image 1784 magick/feature.c MagickExport Image *HoughLineImage(const Image *image,const size_t width, image 1834 magick/feature.c assert(image != (const Image *) NULL); image 1835 magick/feature.c assert(image->signature == MagickSignature); image 1836 magick/feature.c if (image->debug != MagickFalse) image 1837 magick/feature.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1841 magick/feature.c hough_height=((sqrt(2.0)*(double) (image->rows > image->columns ? image 1842 magick/feature.c image->rows : image->columns))/2.0); image 1858 magick/feature.c center.x=(double) image->columns/2.0; image 1859 magick/feature.c center.y=(double) image->rows/2.0; image 1860 magick/feature.c image_view=AcquireVirtualCacheView(image,exception); image 1861 magick/feature.c for (y=0; y < (ssize_t) image->rows; y++) image 1871 magick/feature.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1877 magick/feature.c for (x=0; x < (ssize_t) image->columns; x++) image 1879 magick/feature.c if (GetPixelIntensity(image,p) > (QuantumRange/2.0)) image 1901 magick/feature.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1909 magick/feature.c proceed=SetImageProgress(image,HoughLineImageTag,progress++, image 1910 magick/feature.c image->rows); image 1936 magick/feature.c (double) image->columns,(double) image->rows); image 1939 magick/feature.c line_count=image->columns > image->rows ? image->columns/4 : image->rows/4; image 1998 magick/feature.c (image->columns/2.0))*cos(DegreesToRadians((double) x))))/ image 1999 magick/feature.c sin(DegreesToRadians((double) x))+(image->rows/2.0); image 2000 magick/feature.c line.x2=(double) image->columns; image 2002 magick/feature.c (image->columns/2.0))*cos(DegreesToRadians((double) x))))/ image 2003 magick/feature.c sin(DegreesToRadians((double) x))+(image->rows/2.0); image 2012 magick/feature.c (image->rows/2.0))*sin(DegreesToRadians((double) x))))/ image 2013 magick/feature.c cos(DegreesToRadians((double) x))+(image->columns/2.0); image 2014 magick/feature.c line.y2=(double) image->rows; image 2016 magick/feature.c (image->rows/2.0))*sin(DegreesToRadians((double) x))))/ image 2017 magick/feature.c cos(DegreesToRadians((double) x))+(image->columns/2.0); image 2031 magick/feature.c image_info->background_color=image->background_color; image 2033 magick/feature.c artifact=GetImageArtifact(image,"background"); image 2036 magick/feature.c artifact=GetImageArtifact(image,"fill"); image 2039 magick/feature.c artifact=GetImageArtifact(image,"stroke"); image 2042 magick/feature.c artifact=GetImageArtifact(image,"strokewidth"); image 2046 magick/feature.c artifact=GetImageArtifact(image,"hough-lines:accumulator"); image 2106 magick/feature.c MagickExport Image *MeanShiftImage(const Image *image,const size_t width, image 2129 magick/feature.c assert(image != (const Image *) NULL); image 2130 magick/feature.c assert(image->signature == MagickSignature); image 2131 magick/feature.c if (image->debug != MagickFalse) image 2132 magick/feature.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2135 magick/feature.c mean_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 2146 magick/feature.c image_view=AcquireVirtualCacheView(image,exception); image 2147 magick/feature.c pixel_view=AcquireVirtualCacheView(image,exception); image 2169 magick/feature.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 2191 magick/feature.c GetMagickPixelPacket(image,&mean_pixel); image 2192 magick/feature.c SetMagickPixelPacket(image,p,indexes+x,&mean_pixel); image 2213 magick/feature.c GetMagickPixelPacket(image,&sum_pixel); image 2277 magick/feature.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2285 magick/feature.c proceed=SetImageProgress(image,MeanShiftImageTag,progress++, image 2286 magick/feature.c image->rows); image 159 magick/fourier.c *image; image 182 magick/fourier.c image=CloneImage(images,images->columns,images->rows,MagickTrue,exception); image 183 magick/fourier.c if (image == (Image *) NULL) image 185 magick/fourier.c image->storage_class=DirectClass; image 186 magick/fourier.c image->depth=32UL; image 188 magick/fourier.c AppendImageToList(&complex_images,image); image 189 magick/fourier.c image=CloneImage(images,images->columns,images->rows,MagickTrue,exception); image 190 magick/fourier.c if (image == (Image *) NULL) image 195 magick/fourier.c AppendImageToList(&complex_images,image); image 201 magick/fourier.c artifact=GetImageArtifact(image,"complex:snr"); image 551 magick/fourier.c Image *image,double *magnitude,double *phase,ExceptionInfo *exception) image 585 magick/fourier.c magnitude_image=GetFirstImageInList(image); image 586 magick/fourier.c phase_image=GetNextImageInList(image); image 590 magick/fourier.c "ImageSequenceRequired","`%s'",image->filename); image 608 magick/fourier.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 747 magick/fourier.c const Image *image,double *magnitude_pixels,double *phase_pixels, image 790 magick/fourier.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 797 magick/fourier.c image_view=AcquireVirtualCacheView(image,exception); image 851 magick/fourier.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 864 magick/fourier.c value=GetImageArtifact(image,"fourier:normalize"); image 912 magick/fourier.c static MagickBooleanType ForwardFourierTransformChannel(const Image *image, image 933 magick/fourier.c fourier_info.width=image->columns; image 934 magick/fourier.c fourier_info.height=image->rows; image 935 magick/fourier.c if ((image->columns != image->rows) || ((image->columns % 2) != 0) || image 936 magick/fourier.c ((image->rows % 2) != 0)) image 938 magick/fourier.c extent=image->columns < image->rows ? image->rows : image->columns; image 957 magick/fourier.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 962 magick/fourier.c status=ForwardFourierTransform(&fourier_info,image,magnitude_pixels, image 973 magick/fourier.c MagickExport Image *ForwardFourierTransformImage(const Image *image, image 984 magick/fourier.c image->filename); image 995 magick/fourier.c width=image->columns; image 996 magick/fourier.c height=image->rows; image 997 magick/fourier.c if ((image->columns != image->rows) || ((image->columns % 2) != 0) || image 998 magick/fourier.c ((image->rows % 2) != 0)) image 1000 magick/fourier.c extent=image->columns < image->rows ? image->rows : image->columns; image 1004 magick/fourier.c magnitude_image=CloneImage(image,width,height,MagickTrue,exception); image 1012 magick/fourier.c phase_image=CloneImage(image,width,height,MagickTrue,exception); image 1026 magick/fourier.c is_gray=IsGrayImage(image,exception); image 1039 magick/fourier.c thread_status=ForwardFourierTransformChannel(image, image 1042 magick/fourier.c thread_status=ForwardFourierTransformChannel(image,RedChannel, image 1056 magick/fourier.c thread_status=ForwardFourierTransformChannel(image, image 1070 magick/fourier.c thread_status=ForwardFourierTransformChannel(image, image 1083 magick/fourier.c if (image->matte != MagickFalse) image 1084 magick/fourier.c thread_status=ForwardFourierTransformChannel(image, image 1097 magick/fourier.c if (image->colorspace == CMYKColorspace) image 1098 magick/fourier.c thread_status=ForwardFourierTransformChannel(image, image 1391 magick/fourier.c fftw_complex *fourier_pixels,Image *image,ExceptionInfo *exception) image 1426 magick/fourier.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 1430 magick/fourier.c value=GetImageArtifact(image,"fourier:normalize"); image 1464 magick/fourier.c image_view=AcquireAuthenticCacheView(image,exception); image 1467 magick/fourier.c if (y >= (ssize_t) image->rows) image 1470 magick/fourier.c image->columns ? image->columns : fourier_info->width,1UL,exception); image 1476 magick/fourier.c if (x < (ssize_t) image->columns) image 159 magick/fx.c MagickExport FxInfo *AcquireFxInfo(const Image *image,const char *expression) image 178 magick/fx.c fx_info->images=image; image 262 magick/fx.c MagickExport Image *AddNoiseImage(const Image *image,const NoiseType noise_type, image 268 magick/fx.c noise_image=AddNoiseImageChannel(image,DefaultChannels,noise_type,exception); image 272 magick/fx.c MagickExport Image *AddNoiseImageChannel(const Image *image, image 310 magick/fx.c assert(image != (const Image *) NULL); image 311 magick/fx.c assert(image->signature == MagickSignature); image 312 magick/fx.c if (image->debug != MagickFalse) image 313 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 316 magick/fx.c noise_image=AccelerateAddNoiseImage(image,channel,noise_type,exception); image 319 magick/fx.c noise_image=CloneImage(image,0,0,MagickTrue,exception); image 332 magick/fx.c option=GetImageArtifact(image,"attenuate"); image 338 magick/fx.c image_view=AcquireVirtualCacheView(image,exception); image 345 magick/fx.c for (y=0; y < (ssize_t) image->rows; y++) image 370 magick/fx.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 380 magick/fx.c for (x=0; x < (ssize_t) image->columns; x++) image 385 magick/fx.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 403 magick/fx.c (image->colorspace == CMYKColorspace)) image 413 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 421 magick/fx.c proceed=SetImageProgress(image,AddNoiseImageTag,progress++, image 422 magick/fx.c image->rows); image 463 magick/fx.c MagickExport Image *BlueShiftImage(const Image *image,const double factor, image 487 magick/fx.c assert(image != (const Image *) NULL); image 488 magick/fx.c assert(image->signature == MagickSignature); image 489 magick/fx.c if (image->debug != MagickFalse) image 490 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 493 magick/fx.c shift_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 508 magick/fx.c image_view=AcquireVirtualCacheView(image,exception); image 514 magick/fx.c for (y=0; y < (ssize_t) image->rows; y++) image 536 magick/fx.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 544 magick/fx.c for (x=0; x < (ssize_t) image->columns; x++) image 571 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 579 magick/fx.c proceed=SetImageProgress(image,BlueShiftImageTag,progress++, image 580 magick/fx.c image->rows); image 623 magick/fx.c MagickExport Image *CharcoalImage(const Image *image,const double radius, image 631 magick/fx.c assert(image != (Image *) NULL); image 632 magick/fx.c assert(image->signature == MagickSignature); image 633 magick/fx.c if (image->debug != MagickFalse) image 634 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 637 magick/fx.c clone_image=CloneImage(image,0,0,MagickTrue,exception); image 650 magick/fx.c (void) GrayscaleImage(charcoal_image,image->intensity); image 687 magick/fx.c MagickExport Image *ColorizeImage(const Image *image,const char *opacity, image 720 magick/fx.c assert(image != (const Image *) NULL); image 721 magick/fx.c assert(image->signature == MagickSignature); image 722 magick/fx.c if (image->debug != MagickFalse) image 723 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 726 magick/fx.c colorize_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 736 magick/fx.c if ((IsGrayColorspace(image->colorspace) != MagickFalse) || image 763 magick/fx.c image_view=AcquireVirtualCacheView(image,exception); image 769 magick/fx.c for (y=0; y < (ssize_t) image->rows; y++) image 785 magick/fx.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 793 magick/fx.c for (x=0; x < (ssize_t) image->columns; x++) image 812 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 820 magick/fx.c proceed=SetImageProgress(image,ColorizeImageTag,progress++,image->rows); image 865 magick/fx.c MagickExport Image *ColorMatrixImage(const Image *image, image 905 magick/fx.c assert(image != (Image *) NULL); image 906 magick/fx.c assert(image->signature == MagickSignature); image 907 magick/fx.c if (image->debug != MagickFalse) image 908 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 922 magick/fx.c color_image=CloneImage(image,0,0,MagickTrue,exception); image 931 magick/fx.c if (image->debug != MagickFalse) image 960 magick/fx.c image_view=AcquireVirtualCacheView(image,exception); image 966 magick/fx.c for (y=0; y < (ssize_t) image->rows; y++) image 988 magick/fx.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 998 magick/fx.c for (x=0; x < (ssize_t) image->columns; x++) image 1011 magick/fx.c if (image->matte != MagickFalse) image 1013 magick/fx.c if (image->colorspace == CMYKColorspace) image 1023 magick/fx.c if (image->matte != MagickFalse) image 1029 magick/fx.c if (image->colorspace == CMYKColorspace) image 1040 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1048 magick/fx.c proceed=SetImageProgress(image,ColorMatrixImageTag,progress++, image 1049 magick/fx.c image->rows); image 1136 magick/fx.c static double FxChannelStatistics(FxInfo *fx_info,const Image *image, image 1162 magick/fx.c (void) FormatLocaleString(key,MaxTextExtent,"%p.%.20g.%s",(void *) image, image 1173 magick/fx.c depth=GetImageChannelDepth(image,channel,exception); image 1182 magick/fx.c (void) GetImageChannelKurtosis(image,channel,&kurtosis,&skewness, image 1192 magick/fx.c (void) GetImageChannelRange(image,channel,&minima,&maxima,exception); image 1201 magick/fx.c (void) GetImageChannelMean(image,channel,&mean,&standard_deviation, image 1211 magick/fx.c (void) GetImageChannelRange(image,channel,&minima,&maxima,exception); image 1220 magick/fx.c (void) GetImageChannelKurtosis(image,channel,&kurtosis,&skewness, image 1230 magick/fx.c (void) GetImageChannelMean(image,channel,&mean,&standard_deviation, image 1296 magick/fx.c *image; image 1423 magick/fx.c image=GetImageFromList(fx_info->images,i); image 1424 magick/fx.c if (image == (Image *) NULL) image 1430 magick/fx.c GetMagickPixelPacket(image,&pixel); image 1431 magick/fx.c (void) InterpolateMagickPixelPacket(image,fx_info->view[i],image->interpolate, image 1498 magick/fx.c if (image->colorspace != CMYKColorspace) image 1502 magick/fx.c image->filename); image 1508 magick/fx.c return(QuantumScale*GetMagickPixelIntensity(image,&pixel)); image 1544 magick/fx.c if (image->colorspace == CMYKColorspace) image 1624 magick/fx.c return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); image 1638 magick/fx.c return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); image 1641 magick/fx.c if (image->colorspace != CMYKColorspace) image 1645 magick/fx.c image->filename); image 1656 magick/fx.c return((double) image->rows); image 1680 magick/fx.c return(FxChannelStatistics(fx_info,image,channel,symbol+6,exception)); image 1682 magick/fx.c return(image->x_resolution); image 1684 magick/fx.c return(image->y_resolution); image 1686 magick/fx.c return(QuantumScale*GetMagickPixelIntensity(image,&pixel)); image 1734 magick/fx.c return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); image 1736 magick/fx.c return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); image 1738 magick/fx.c return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); image 1761 magick/fx.c return((double) image->page.height); image 1763 magick/fx.c return((double) image->page.width); image 1765 magick/fx.c return((double) image->page.x); image 1767 magick/fx.c return((double) image->page.y); image 1774 magick/fx.c return((double) image->quality); image 1781 magick/fx.c return(image->x_resolution); image 1783 magick/fx.c return(image->y_resolution); image 1803 magick/fx.c return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); image 1805 magick/fx.c return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); image 1819 magick/fx.c return((double) image->columns); image 1837 magick/fx.c depth=(double) GetImageChannelDepth(image,channel,fx_info->exception); image 3037 magick/fx.c static FxInfo **AcquireFxThreadSet(const Image *image,const char *expression, image 3060 magick/fx.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 3073 magick/fx.c fx_info[i]=AcquireFxInfo(image,fx_expression); image 3086 magick/fx.c MagickExport Image *FxImage(const Image *image,const char *expression, image 3092 magick/fx.c fx_image=FxImageChannel(image,GrayChannel,expression,exception); image 3096 magick/fx.c MagickExport Image *FxImageChannel(const Image *image,const ChannelType channel, image 3119 magick/fx.c assert(image != (Image *) NULL); image 3120 magick/fx.c assert(image->signature == MagickSignature); image 3121 magick/fx.c if (image->debug != MagickFalse) image 3122 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3123 magick/fx.c fx_info=AcquireFxThreadSet(image,expression,exception); image 3126 magick/fx.c fx_image=CloneImage(image,0,0,MagickTrue,exception); image 3200 magick/fx.c if (image->matte == MagickFalse) image 3219 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3227 magick/fx.c proceed=SetImageProgress(image,FxImageTag,progress++,image->rows); image 3273 magick/fx.c MagickExport Image *ImplodeImage(const Image *image,const double amount, image 3307 magick/fx.c assert(image != (Image *) NULL); image 3308 magick/fx.c assert(image->signature == MagickSignature); image 3309 magick/fx.c if (image->debug != MagickFalse) image 3310 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3313 magick/fx.c implode_image=CloneImage(image,0,0,MagickTrue,exception); image 3329 magick/fx.c center.x=0.5*image->columns; image 3330 magick/fx.c center.y=0.5*image->rows; image 3332 magick/fx.c if (image->columns > image->rows) image 3333 magick/fx.c scale.y=(double) image->columns/(double) image->rows; image 3335 magick/fx.c if (image->columns < image->rows) image 3337 magick/fx.c scale.x=(double) image->rows/(double) image->columns; image 3346 magick/fx.c image_view=AcquireVirtualCacheView(image,exception); image 3352 magick/fx.c for (y=0; y < (ssize_t) image->rows; y++) image 3384 magick/fx.c for (x=0; x < (ssize_t) image->columns; x++) image 3403 magick/fx.c (void) InterpolateMagickPixelPacket(image,image_view, image 3413 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3421 magick/fx.c proceed=SetImageProgress(image,ImplodeImageTag,progress++,image->rows); image 3463 magick/fx.c MagickExport Image *MorphImages(const Image *image, image 3494 magick/fx.c assert(image != (Image *) NULL); image 3495 magick/fx.c assert(image->signature == MagickSignature); image 3496 magick/fx.c if (image->debug != MagickFalse) image 3497 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3500 magick/fx.c morph_images=CloneImage(image,0,0,MagickTrue,exception); image 3503 magick/fx.c if (GetNextImageInList(image) == (Image *) NULL) image 3510 magick/fx.c morph_image=CloneImage(image,0,0,MagickTrue,exception); image 3517 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3522 magick/fx.c proceed=SetImageProgress(image,MorphImageTag,(MagickOffsetType) i, image 3535 magick/fx.c next=image; image 3636 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3644 magick/fx.c proceed=SetImageProgress(image,MorphImageTag,scene, image 3645 magick/fx.c GetImageListLength(image)); image 3706 magick/fx.c MagickExport MagickBooleanType PlasmaImageProxy(Image *image, image 3748 magick/fx.c (void) PlasmaImageProxy(image,image_view,u_view,v_view,random_info, image 3753 magick/fx.c (void) PlasmaImageProxy(image,image_view,u_view,v_view,random_info, image 3758 magick/fx.c (void) PlasmaImageProxy(image,image_view,u_view,v_view,random_info, image 3763 magick/fx.c status=PlasmaImageProxy(image,image_view,u_view,v_view,random_info, image 3777 magick/fx.c exception=(&image->exception); image 3910 magick/fx.c MagickExport MagickBooleanType PlasmaImage(Image *image, image 3924 magick/fx.c if (image->debug != MagickFalse) image 3926 magick/fx.c assert(image != (Image *) NULL); image 3927 magick/fx.c assert(image->signature == MagickSignature); image 3928 magick/fx.c if (image->debug != MagickFalse) image 3930 magick/fx.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 3932 magick/fx.c image_view=AcquireAuthenticCacheView(image,&image->exception); image 3933 magick/fx.c u_view=AcquireVirtualCacheView(image,&image->exception); image 3934 magick/fx.c v_view=AcquireVirtualCacheView(image,&image->exception); image 3936 magick/fx.c status=PlasmaImageProxy(image,image_view,u_view,v_view,random_info,segment, image 3974 magick/fx.c MagickExport Image *PolaroidImage(const Image *image,const DrawInfo *draw_info, image 3998 magick/fx.c assert(image != (Image *) NULL); image 3999 magick/fx.c assert(image->signature == MagickSignature); image 4000 magick/fx.c if (image->debug != MagickFalse) image 4001 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4004 magick/fx.c quantum=(ssize_t) MagickMax(MagickMax((double) image->columns,(double) image 4005 magick/fx.c image->rows)/25.0,10.0); image 4006 magick/fx.c height=image->rows+2*quantum; image 4008 magick/fx.c value=GetImageProperty(image,"Caption"); image 4030 magick/fx.c caption_image=CloneImage(image,image->columns,1,MagickTrue,exception); image 4034 magick/fx.c caption=InterpretImageProperties((ImageInfo *) NULL,(Image *) image, image 4039 magick/fx.c status=SetImageExtent(caption_image,image->columns,(size_t) image 4045 magick/fx.c caption_image->background_color=image->border_color; image 4059 magick/fx.c picture_image=CloneImage(image,image->columns+2*quantum,height,MagickTrue, image 4067 magick/fx.c picture_image->background_color=image->border_color; image 4069 magick/fx.c (void) CompositeImage(picture_image,OverCompositeOp,image,quantum,quantum); image 4073 magick/fx.c quantum,(ssize_t) (image->rows+3*quantum/2)); image 4095 magick/fx.c picture_image->background_color=image->background_color; image 4158 magick/fx.c MagickExport Image *SepiaToneImage(const Image *image,const double threshold, image 4182 magick/fx.c assert(image != (const Image *) NULL); image 4183 magick/fx.c assert(image->signature == MagickSignature); image 4184 magick/fx.c if (image->debug != MagickFalse) image 4185 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4188 magick/fx.c sepia_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 4202 magick/fx.c image_view=AcquireVirtualCacheView(image,exception); image 4208 magick/fx.c for (y=0; y < (ssize_t) image->rows; y++) image 4221 magick/fx.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 4229 magick/fx.c for (x=0; x < (ssize_t) image->columns; x++) image 4235 magick/fx.c intensity=GetPixelIntensity(image,p); image 4255 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4263 magick/fx.c proceed=SetImageProgress(image,SepiaToneImageTag,progress++, image 4264 magick/fx.c image->rows); image 4312 magick/fx.c MagickExport Image *ShadowImage(const Image *image,const double opacity, image 4338 magick/fx.c assert(image != (Image *) NULL); image 4339 magick/fx.c assert(image->signature == MagickSignature); image 4340 magick/fx.c if (image->debug != MagickFalse) image 4341 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4344 magick/fx.c clone_image=CloneImage(image,0,0,MagickTrue,exception); image 4347 magick/fx.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 4403 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4411 magick/fx.c proceed=SetImageProgress(image,ShadowImageTag,progress++, image 4469 magick/fx.c MagickExport Image *SketchImage(const Image *image,const double radius, image 4502 magick/fx.c random_image=CloneImage(image,image->columns << 1,image->rows << 1, image 4553 magick/fx.c if (image->colorspace == CMYKColorspace) image 4582 magick/fx.c sketch_image=CloneImage(image,0,0,MagickTrue,exception); image 4590 magick/fx.c blend_image=CloneImage(image,0,0,MagickTrue,exception); image 4636 magick/fx.c MagickExport MagickBooleanType SolarizeImage(Image *image, image 4642 magick/fx.c status=SolarizeImageChannel(image,DefaultChannels,threshold, image 4643 magick/fx.c &image->exception); image 4647 magick/fx.c MagickExport MagickBooleanType SolarizeImageChannel(Image *image, image 4664 magick/fx.c assert(image != (Image *) NULL); image 4665 magick/fx.c assert(image->signature == MagickSignature); image 4666 magick/fx.c if (image->debug != MagickFalse) image 4667 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4668 magick/fx.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 4669 magick/fx.c (void) SetImageColorspace(image,sRGBColorspace); image 4670 magick/fx.c if (image->storage_class == PseudoClass) image 4678 magick/fx.c for (i=0; i < (ssize_t) image->colors; i++) image 4681 magick/fx.c if ((double) image->colormap[i].red > threshold) image 4682 magick/fx.c image->colormap[i].red=QuantumRange-image->colormap[i].red; image 4684 magick/fx.c if ((double) image->colormap[i].green > threshold) image 4685 magick/fx.c image->colormap[i].green=QuantumRange-image->colormap[i].green; image 4687 magick/fx.c if ((double) image->colormap[i].blue > threshold) image 4688 magick/fx.c image->colormap[i].blue=QuantumRange-image->colormap[i].blue; image 4696 magick/fx.c image_view=AcquireAuthenticCacheView(image,exception); image 4701 magick/fx.c for (y=0; y < (ssize_t) image->rows; y++) image 4711 magick/fx.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 4718 magick/fx.c for (x=0; x < (ssize_t) image->columns; x++) image 4733 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4741 magick/fx.c proceed=SetImageProgress(image,SolarizeImageTag,progress++,image->rows); image 4779 magick/fx.c MagickExport Image *SteganoImage(const Image *image,const Image *watermark, image 4822 magick/fx.c assert(image != (const Image *) NULL); image 4823 magick/fx.c assert(image->signature == MagickSignature); image 4824 magick/fx.c if (image->debug != MagickFalse) image 4825 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4831 magick/fx.c stegano_image=CloneImage(image,0,0,MagickTrue,exception); image 4848 magick/fx.c k=image->offset; image 4871 magick/fx.c image,&pixel)),i)); image 4877 magick/fx.c image,&pixel)),i)); image 4883 magick/fx.c image,&pixel)),i)); image 4895 magick/fx.c if (k == image->offset) image 4899 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 4904 magick/fx.c proceed=SetImageProgress(image,SteganoImageTag,(MagickOffsetType) image 4971 magick/fx.c *image; image 4992 magick/fx.c image=left_image; image 5026 magick/fx.c p=GetVirtualPixels(left_image,-x_offset,y-y_offset,image->columns,1, image 5045 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 5050 magick/fx.c proceed=SetImageProgress(image,StereoImageTag,(MagickOffsetType) y, image 5090 magick/fx.c MagickExport Image *SwirlImage(const Image *image,double degrees, image 5124 magick/fx.c assert(image != (const Image *) NULL); image 5125 magick/fx.c assert(image->signature == MagickSignature); image 5126 magick/fx.c if (image->debug != MagickFalse) image 5127 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 5130 magick/fx.c swirl_image=CloneImage(image,0,0,MagickTrue,exception); image 5144 magick/fx.c center.x=(double) image->columns/2.0; image 5145 magick/fx.c center.y=(double) image->rows/2.0; image 5149 magick/fx.c if (image->columns > image->rows) image 5150 magick/fx.c scale.y=(double) image->columns/(double) image->rows; image 5152 magick/fx.c if (image->columns < image->rows) image 5153 magick/fx.c scale.x=(double) image->rows/(double) image->columns; image 5161 magick/fx.c image_view=AcquireVirtualCacheView(image,exception); image 5167 magick/fx.c for (y=0; y < (ssize_t) image->rows; y++) image 5199 magick/fx.c for (x=0; x < (ssize_t) image->columns; x++) image 5219 magick/fx.c (void) InterpolateMagickPixelPacket(image,image_view, image 5229 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 5237 magick/fx.c proceed=SetImageProgress(image,SwirlImageTag,progress++,image->rows); image 5280 magick/fx.c MagickExport Image *TintImage(const Image *image,const char *opacity, image 5314 magick/fx.c assert(image != (const Image *) NULL); image 5315 magick/fx.c assert(image->signature == MagickSignature); image 5316 magick/fx.c if (image->debug != MagickFalse) image 5317 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 5320 magick/fx.c tint_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 5329 magick/fx.c if ((IsGrayColorspace(image->colorspace) != MagickFalse) && image 5359 magick/fx.c image_view=AcquireVirtualCacheView(image,exception); image 5365 magick/fx.c for (y=0; y < (ssize_t) image->rows; y++) image 5378 magick/fx.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 5386 magick/fx.c for (x=0; x < (ssize_t) image->columns; x++) image 5412 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 5420 magick/fx.c proceed=SetImageProgress(image,TintImageTag,progress++,image->rows); image 5464 magick/fx.c MagickExport Image *VignetteImage(const Image *image,const double radius, image 5479 magick/fx.c assert(image != (Image *) NULL); image 5480 magick/fx.c assert(image->signature == MagickSignature); image 5481 magick/fx.c if (image->debug != MagickFalse) image 5482 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 5485 magick/fx.c canvas_image=CloneImage(image,0,0,MagickTrue,exception); image 5508 magick/fx.c "ellipse %g,%g,%g,%g,0.0,360.0",image->columns/2.0, image 5509 magick/fx.c image->rows/2.0,image->columns/2.0-x,image->rows/2.0-y); image 5526 magick/fx.c (void) TransformImageColorspace(vignette_image,image->colorspace); image 5560 magick/fx.c MagickExport Image *WaveImage(const Image *image,const double amplitude, image 5593 magick/fx.c assert(image != (Image *) NULL); image 5594 magick/fx.c assert(image->signature == MagickSignature); image 5595 magick/fx.c if (image->debug != MagickFalse) image 5596 magick/fx.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 5599 magick/fx.c wave_image=CloneImage(image,image->columns,(size_t) (image->rows+2.0* image 5630 magick/fx.c image_view=AcquireVirtualCacheView(image,exception); image 5665 magick/fx.c (void) InterpolateMagickPixelPacket(image,image_view, image 5673 magick/fx.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 5681 magick/fx.c proceed=SetImageProgress(image,WaveImageTag,progress++,image->rows); image 1141 magick/geometry.c MagickExport MagickStatusType ParseGravityGeometry(const Image *image, image 1151 magick/geometry.c SetGeometry(image,region_info); image 1152 magick/geometry.c if (image->page.width != 0) image 1153 magick/geometry.c region_info->width=image->page.width; image 1154 magick/geometry.c if (image->page.height != 0) image 1155 magick/geometry.c region_info->height=image->page.height; image 1177 magick/geometry.c if (image->gravity != UndefinedGravity) image 1186 magick/geometry.c region_info->width=(size_t) floor((scale.x*image->columns/100.0)+0.5); image 1187 magick/geometry.c region_info->height=(size_t) floor((scale.y*image->rows/100.0)+0.5); image 1195 magick/geometry.c region_info->width=image->page.width | image->columns; image 1197 magick/geometry.c region_info->height=image->page.height | image->rows; image 1198 magick/geometry.c GravityAdjustGeometry(image->columns,image->rows,image->gravity,region_info); image 1424 magick/geometry.c MagickExport MagickStatusType ParsePageGeometry(const Image *image, image 1430 magick/geometry.c SetGeometry(image,region_info); image 1431 magick/geometry.c if (image->page.width != 0) image 1432 magick/geometry.c region_info->width=image->page.width; image 1433 magick/geometry.c if (image->page.height != 0) image 1434 magick/geometry.c region_info->height=image->page.height; image 1444 magick/geometry.c region_info->width=image->columns; image 1445 magick/geometry.c region_info->height=image->rows; image 1493 magick/geometry.c MagickExport MagickStatusType ParseRegionGeometry(const Image *image, image 1499 magick/geometry.c SetGeometry(image,region_info); image 1532 magick/geometry.c MagickExport void SetGeometry(const Image *image,RectangleInfo *geometry) image 1534 magick/geometry.c assert(image != (Image *) NULL); image 1535 magick/geometry.c assert(image->signature == MagickSignature); image 1536 magick/geometry.c if (image->debug != MagickFalse) image 1537 magick/geometry.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1540 magick/geometry.c geometry->width=image->columns; image 1541 magick/geometry.c geometry->height=image->rows; image 159 magick/histogram.c static inline size_t ColorToNodeId(const Image *image, image 169 magick/histogram.c if (image->matte != MagickFalse) image 175 magick/histogram.c static CubeInfo *ClassifyImageColors(const Image *image, image 217 magick/histogram.c assert(image != (const Image *) NULL); image 218 magick/histogram.c assert(image->signature == MagickSignature); image 219 magick/histogram.c if (image->debug != MagickFalse) image 220 magick/histogram.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 225 magick/histogram.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 228 magick/histogram.c GetMagickPixelPacket(image,&pixel); image 229 magick/histogram.c GetMagickPixelPacket(image,&target); image 230 magick/histogram.c image_view=AcquireVirtualCacheView(image,exception); image 231 magick/histogram.c for (y=0; y < (ssize_t) image->rows; y++) image 233 magick/histogram.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 237 magick/histogram.c for (x=0; x < (ssize_t) image->columns; x++) image 246 magick/histogram.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 247 magick/histogram.c id=ColorToNodeId(image,&pixel,index); image 255 magick/histogram.c image->filename); image 264 magick/histogram.c SetMagickPixelPacket(image,&node_info->list[i].pixel, image 283 magick/histogram.c image->filename); image 287 magick/histogram.c if ((image->colorspace == CMYKColorspace) || image 288 magick/histogram.c (image->storage_class == PseudoClass)) image 296 magick/histogram.c proceed=SetImageProgress(image,EvaluateImageTag,(MagickOffsetType) y, image 297 magick/histogram.c image->rows); image 335 magick/histogram.c static void DefineImageHistogram(const Image *image,NodeInfo *node_info, image 347 magick/histogram.c number_children=image->matte == MagickFalse ? 8UL : 16UL; image 350 magick/histogram.c DefineImageHistogram(image,node_info->child[i],histogram); image 392 magick/histogram.c static CubeInfo *DestroyCubeInfo(const Image *image,CubeInfo *cube_info) image 400 magick/histogram.c DestroyColorCube(image,cube_info->root); image 437 magick/histogram.c static void DestroyColorCube(const Image *image,NodeInfo *node_info) image 448 magick/histogram.c number_children=image->matte == MagickFalse ? 8UL : 16UL; image 451 magick/histogram.c DestroyColorCube(image,node_info->child[i]); image 526 magick/histogram.c MagickExport ColorPacket *GetImageHistogram(const Image *image, image 537 magick/histogram.c cube_info=ClassifyImageColors(image,exception); image 544 magick/histogram.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 552 magick/histogram.c DefineImageHistogram(image,cube_info->root,&root); image 555 magick/histogram.c cube_info=DestroyCubeInfo(image,cube_info); image 639 magick/histogram.c static MagickBooleanType CheckImageColors(const Image *image, image 675 magick/histogram.c if (image->storage_class == PseudoClass) image 676 magick/histogram.c return((image->colors <= max_colors) ? MagickTrue : MagickFalse); image 684 magick/histogram.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 687 magick/histogram.c GetMagickPixelPacket(image,&pixel); image 688 magick/histogram.c GetMagickPixelPacket(image,&target); image 689 magick/histogram.c image_view=AcquireVirtualCacheView(image,exception); image 690 magick/histogram.c for (y=0; y < (ssize_t) image->rows; y++) image 692 magick/histogram.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 696 magick/histogram.c for (x=0; x < (ssize_t) image->columns; x++) image 705 magick/histogram.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 706 magick/histogram.c id=ColorToNodeId(image,&pixel,index); image 714 magick/histogram.c image->filename); image 725 magick/histogram.c SetMagickPixelPacket(image,&node_info->list[i].pixel, image 747 magick/histogram.c image->filename); image 751 magick/histogram.c if ((image->colorspace == CMYKColorspace) || image 752 magick/histogram.c (image->storage_class == PseudoClass)) image 762 magick/histogram.c if (x < (ssize_t) image->columns) image 766 magick/histogram.c cube_info=DestroyCubeInfo(image,cube_info); image 767 magick/histogram.c return(y < (ssize_t) image->rows ? MagickFalse : MagickTrue); image 770 magick/histogram.c MagickExport MagickBooleanType IdentifyPaletteImage(const Image *image, image 773 magick/histogram.c assert(image != (Image *) NULL); image 774 magick/histogram.c assert(image->signature == MagickSignature); image 775 magick/histogram.c if (image->debug != MagickFalse) image 776 magick/histogram.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 777 magick/histogram.c return(CheckImageColors(image,exception,256)); image 806 magick/histogram.c MagickExport MagickBooleanType IsHistogramImage(const Image *image, image 844 magick/histogram.c assert(image != (Image *) NULL); image 845 magick/histogram.c assert(image->signature == MagickSignature); image 846 magick/histogram.c if (image->debug != MagickFalse) image 847 magick/histogram.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 848 magick/histogram.c if ((image->storage_class == PseudoClass) && image 849 magick/histogram.c (image->colors <= MaximumUniqueColors)) image 851 magick/histogram.c if (image->storage_class == PseudoClass) image 860 magick/histogram.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 863 magick/histogram.c GetMagickPixelPacket(image,&pixel); image 864 magick/histogram.c GetMagickPixelPacket(image,&target); image 865 magick/histogram.c image_view=AcquireVirtualCacheView(image,exception); image 866 magick/histogram.c for (y=0; y < (ssize_t) image->rows; y++) image 868 magick/histogram.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 872 magick/histogram.c for (x=0; x < (ssize_t) image->columns; x++) image 881 magick/histogram.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 882 magick/histogram.c id=ColorToNodeId(image,&pixel,index); image 890 magick/histogram.c image->filename); image 901 magick/histogram.c SetMagickPixelPacket(image,&node_info->list[i].pixel, image 923 magick/histogram.c image->filename); image 927 magick/histogram.c if ((image->colorspace == CMYKColorspace) || image 928 magick/histogram.c (image->storage_class == PseudoClass)) image 938 magick/histogram.c if (x < (ssize_t) image->columns) image 942 magick/histogram.c cube_info=DestroyCubeInfo(image,cube_info); image 943 magick/histogram.c return(y < (ssize_t) image->rows ? MagickFalse : MagickTrue); image 972 magick/histogram.c MagickExport MagickBooleanType IsPaletteImage(const Image *image, image 975 magick/histogram.c assert(image != (Image *) NULL); image 976 magick/histogram.c assert(image->signature == MagickSignature); image 977 magick/histogram.c if (image->debug != MagickFalse) image 978 magick/histogram.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 979 magick/histogram.c if (image->storage_class != PseudoClass) image 981 magick/histogram.c return((image->colors <= 256) ? MagickTrue : MagickFalse); image 1033 magick/histogram.c MagickExport MagickBooleanType MinMaxStretchImage(Image *image, image 1049 magick/histogram.c (void) GetImageChannelRange(image,channel,&min,&max,&image->exception); image 1053 magick/histogram.c status&=LevelImageChannel(image,channel,min,max,1.0); image 1061 magick/histogram.c (void) GetImageChannelRange(image,RedChannel,&min,&max,&image->exception); image 1065 magick/histogram.c status&=LevelImageChannel(image,RedChannel,min,max,1.0); image 1069 magick/histogram.c (void) GetImageChannelRange(image,GreenChannel,&min,&max, image 1070 magick/histogram.c &image->exception); image 1074 magick/histogram.c status&=LevelImageChannel(image,GreenChannel,min,max,1.0); image 1078 magick/histogram.c (void) GetImageChannelRange(image,BlueChannel,&min,&max, image 1079 magick/histogram.c &image->exception); image 1083 magick/histogram.c status&=LevelImageChannel(image,BlueChannel,min,max,1.0); image 1086 magick/histogram.c (image->matte != MagickFalse)) image 1088 magick/histogram.c (void) GetImageChannelRange(image,OpacityChannel,&min,&max, image 1089 magick/histogram.c &image->exception); image 1093 magick/histogram.c status&=LevelImageChannel(image,OpacityChannel,min,max,1.0); image 1096 magick/histogram.c (image->colorspace == CMYKColorspace)) image 1098 magick/histogram.c (void) GetImageChannelRange(image,IndexChannel,&min,&max, image 1099 magick/histogram.c &image->exception); image 1103 magick/histogram.c status&=LevelImageChannel(image,IndexChannel,min,max,1.0); image 1161 magick/histogram.c MagickExport size_t GetNumberColors(const Image *image,FILE *file, image 1195 magick/histogram.c cube_info=ClassifyImageColors(image,exception); image 1198 magick/histogram.c cube_info=DestroyCubeInfo(image,cube_info); image 1201 magick/histogram.c histogram=GetImageHistogram(image,&number_colors,exception); image 1206 magick/histogram.c GetMagickPixelPacket(image,&pixel); image 1211 magick/histogram.c SetMagickPixelPacket(image,&p->pixel,&p->index,&pixel); image 1229 magick/histogram.c (void) QueryMagickColorname(image,&pixel,SVGCompliance,color,exception); image 1234 magick/histogram.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1239 magick/histogram.c proceed=SetImageProgress(image,HistogramImageTag,(MagickOffsetType) i, image 1344 magick/histogram.c MagickExport Image *UniqueImageColors(const Image *image, image 1356 magick/histogram.c cube_info=ClassifyImageColors(image,exception); image 1359 magick/histogram.c unique_image=CloneImage(image,cube_info->colors,1,MagickTrue,exception); image 1372 magick/histogram.c cube_info=DestroyCubeInfo(image,cube_info); image 129 magick/identify.c static ChannelStatistics *GetLocationStatistics(const Image *image, image 144 magick/identify.c assert(image != (Image *) NULL); image 145 magick/identify.c assert(image->signature == MagickSignature); image 146 magick/identify.c if (image->debug != MagickFalse) image 147 magick/identify.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 172 magick/identify.c for (y=0; y < (ssize_t) image->rows; y++) image 183 magick/identify.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 186 magick/identify.c indexes=GetVirtualIndexQueue(image); image 187 magick/identify.c for (x=0; x < (ssize_t) image->columns; x++) image 200 magick/identify.c if ((image->matte != MagickFalse) && image 204 magick/identify.c if ((image->colorspace == CMYKColorspace) && image 218 magick/identify.c if ((image->matte != MagickFalse) && image 222 magick/identify.c if ((image->colorspace == CMYKColorspace) && image 296 magick/identify.c static ssize_t PrintChannelLocations(FILE *file,const Image *image, image 333 magick/identify.c for (y=0; y < (ssize_t) image->rows; y++) image 341 magick/identify.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 344 magick/identify.c for (x=0; x < (ssize_t) image->columns; x++) image 387 magick/identify.c if (x < (ssize_t) image->columns) image 489 magick/identify.c MagickExport MagickBooleanType IdentifyImage(Image *image,FILE *file, image 550 magick/identify.c assert(image != (Image *) NULL); image 551 magick/identify.c assert(image->signature == MagickSignature); image 552 magick/identify.c if (image->debug != MagickFalse) image 553 magick/identify.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 556 magick/identify.c colorspace=image->colorspace; image 558 magick/identify.c type=IdentifyImageType(image,exception); image 562 magick/identify.c locate=GetImageArtifact(image,"identify:locate"); image 579 magick/identify.c limit=GetImageArtifact(image,"identify:limit"); image 583 magick/identify.c channel_statistics=GetLocationStatistics(image,type,exception); image 586 magick/identify.c colorspace=image->colorspace; image 587 magick/identify.c if (SetImageGray(image,exception) != MagickFalse) image 595 magick/identify.c (void) PrintChannelLocations(file,image,RedChannel,"Red",type, image 597 magick/identify.c (void) PrintChannelLocations(file,image,GreenChannel,"Green",type, image 599 magick/identify.c (void) PrintChannelLocations(file,image,BlueChannel,"Blue",type, image 605 magick/identify.c (void) PrintChannelLocations(file,image,CyanChannel,"Cyan",type, image 607 magick/identify.c (void) PrintChannelLocations(file,image,MagentaChannel,"Magenta",type, image 609 magick/identify.c (void) PrintChannelLocations(file,image,YellowChannel,"Yellow",type, image 611 magick/identify.c (void) PrintChannelLocations(file,image,BlackChannel,"Black",type, image 617 magick/identify.c (void) PrintChannelLocations(file,image,GrayChannel,"Gray",type, image 622 magick/identify.c if (image->matte != MagickFalse) image 623 magick/identify.c (void) PrintChannelLocations(file,image,AlphaChannel,"Alpha",type, image 631 magick/identify.c elapsed_time=GetElapsedTime(&image->timer); image 632 magick/identify.c user_time=GetUserTime(&image->timer); image 633 magick/identify.c GetTimerInfo(&image->timer); image 639 magick/identify.c if (*image->magick_filename != '\0') image 640 magick/identify.c if (LocaleCompare(image->magick_filename,image->filename) != 0) image 641 magick/identify.c (void) FormatLocaleFile(file,"%s=>",image->magick_filename); image 642 magick/identify.c if ((GetPreviousImageInList(image) == (Image *) NULL) && image 643 magick/identify.c (GetNextImageInList(image) == (Image *) NULL) && (image->scene == 0)) image 644 magick/identify.c (void) FormatLocaleFile(file,"%s ",image->filename); image 646 magick/identify.c (void) FormatLocaleFile(file,"%s[%.20g] ",image->filename,(double) image 647 magick/identify.c image->scene); image 648 magick/identify.c (void) FormatLocaleFile(file,"%s ",image->magick); image 649 magick/identify.c if ((image->magick_columns != 0) || (image->magick_rows != 0)) image 650 magick/identify.c if ((image->magick_columns != image->columns) || image 651 magick/identify.c (image->magick_rows != image->rows)) image 653 magick/identify.c image->magick_columns,(double) image->magick_rows); image 654 magick/identify.c (void) FormatLocaleFile(file,"%.20gx%.20g ",(double) image->columns, image 655 magick/identify.c (double) image->rows); image 656 magick/identify.c if ((image->page.width != 0) || (image->page.height != 0) || image 657 magick/identify.c (image->page.x != 0) || (image->page.y != 0)) image 659 magick/identify.c image->page.width,(double) image->page.height,(double) image->page.x, image 660 magick/identify.c (double) image->page.y); image 661 magick/identify.c (void) FormatLocaleFile(file,"%.20g-bit ",(double) image->depth); image 662 magick/identify.c if (image->type != UndefinedType) image 664 magick/identify.c MagickTypeOptions,(ssize_t) image->type)); image 665 magick/identify.c if (image->colorspace != UndefinedColorspace) image 667 magick/identify.c MagickColorspaceOptions,(ssize_t) image->colorspace)); image 668 magick/identify.c if (image->storage_class == DirectClass) image 670 magick/identify.c if (image->total_colors != 0) image 672 magick/identify.c (void) FormatMagickSize(image->total_colors,MagickFalse,format); image 677 magick/identify.c if (image->total_colors <= image->colors) image 678 magick/identify.c (void) FormatLocaleFile(file,"%.20gc ",(double) image->colors); image 681 magick/identify.c image->total_colors,(double) image->colors); image 682 magick/identify.c if (image->error.mean_error_per_pixel != 0.0) image 684 magick/identify.c (image->error.mean_error_per_pixel+0.5), image 685 magick/identify.c image->error.normalized_mean_error, image 686 magick/identify.c image->error.normalized_maximum_error); image 687 magick/identify.c if (GetBlobSize(image) != 0) image 689 magick/identify.c (void) FormatMagickSize(GetBlobSize(image),MagickFalse,format); image 704 magick/identify.c pixels=GetVirtualPixels(image,0,0,1,1,exception); image 707 magick/identify.c exception=(&image->exception); image 708 magick/identify.c (void) SignatureImage(image); image 709 magick/identify.c (void) FormatLocaleFile(file,"Image: %s\n",image->filename); image 710 magick/identify.c if (*image->magick_filename != '\0') image 711 magick/identify.c if (LocaleCompare(image->magick_filename,image->filename) != 0) image 716 magick/identify.c GetPathComponent(image->magick_filename,TailPath,filename); image 719 magick/identify.c magick_info=GetMagickInfo(image->magick,exception); image 722 magick/identify.c (void) FormatLocaleFile(file," Format: %s\n",image->magick); image 724 magick/identify.c (void) FormatLocaleFile(file," Format: %s (%s)\n",image->magick, image 731 magick/identify.c MagickClassOptions,(ssize_t) image->storage_class)); image 733 magick/identify.c image->columns,(double) image->rows,(double) image->tile_offset.x,(double) image 734 magick/identify.c image->tile_offset.y); image 735 magick/identify.c if ((image->magick_columns != 0) || (image->magick_rows != 0)) image 736 magick/identify.c if ((image->magick_columns != image->columns) || image 737 magick/identify.c (image->magick_rows != image->rows)) image 739 magick/identify.c image->magick_columns,(double) image->magick_rows); image 740 magick/identify.c if ((image->x_resolution != 0.0) && (image->y_resolution != 0.0)) image 742 magick/identify.c (void) FormatLocaleFile(file," Resolution: %gx%g\n",image->x_resolution, image 743 magick/identify.c image->y_resolution); image 745 magick/identify.c image->columns/image->x_resolution,(double) image->rows/ image 746 magick/identify.c image->y_resolution); image 749 magick/identify.c MagickResolutionOptions,(ssize_t) image->units)); image 752 magick/identify.c if (image->type != UndefinedType) image 754 magick/identify.c MagickTypeOptions,(ssize_t) image->type)); image 756 magick/identify.c MagickEndianOptions,(ssize_t) image->endian)); image 761 magick/identify.c MagickColorspaceOptions,(ssize_t) image->colorspace)); image 766 magick/identify.c colorspace=image->colorspace; image 773 magick/identify.c channel_statistics=GetImageChannelStatistics(image,exception); image 776 magick/identify.c artifact=GetImageArtifact(image,"identify:moments"); image 779 magick/identify.c channel_moments=GetImageChannelMoments(image,exception); image 780 magick/identify.c channel_phash=GetImageChannelPerceptualHash(image,exception); image 782 magick/identify.c artifact=GetImageArtifact(image,"identify:features"); image 786 magick/identify.c channel_features=GetImageChannelFeatures(image,distance,exception); image 788 magick/identify.c depth=GetImageDepth(image,exception); image 789 magick/identify.c if (image->depth == depth) image 791 magick/identify.c image->depth); image 794 magick/identify.c image->depth,(double) depth); image 796 magick/identify.c if (SetImageGray(image,exception) != MagickFalse) image 830 magick/identify.c if (image->matte != MagickFalse) image 834 magick/identify.c if (image->depth <= MAGICKCORE_QUANTUM_DEPTH) image 836 magick/identify.c MAGICKCORE_QUANTUM_DEPTH-image->depth)); image 842 magick/identify.c image->columns*image->rows); image 875 magick/identify.c if (image->matte != MagickFalse) image 889 magick/identify.c scale=(double) ((1UL << image->depth)-1); image 923 magick/identify.c if (image->matte != MagickFalse) image 944 magick/identify.c if (image->matte != MagickFalse) image 982 magick/identify.c if (image->matte != MagickFalse) image 989 magick/identify.c if (image->colorspace == CMYKColorspace) image 991 magick/identify.c GetMagickPrecision(),100.0*GetImageTotalInkDensity(image)/(double) image 994 magick/identify.c if (image->matte != MagickFalse) image 1004 magick/identify.c for (y=0; y < (ssize_t) image->rows; y++) image 1006 magick/identify.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 1009 magick/identify.c indexes=GetVirtualIndexQueue(image); image 1010 magick/identify.c for (x=0; x < (ssize_t) image->columns; x++) image 1016 magick/identify.c if (x < (ssize_t) image->columns) image 1019 magick/identify.c if ((x < (ssize_t) image->columns) || (y < (ssize_t) image->rows)) image 1027 magick/identify.c GetMagickPixelPacket(image,&pixel); image 1028 magick/identify.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 1029 magick/identify.c (void) QueryMagickColorname(image,&pixel,SVGCompliance,tuple, image 1036 magick/identify.c artifact=GetImageArtifact(image,"identify:unique-colors"); image 1037 magick/identify.c if (IsHistogramImage(image,exception) != MagickFalse) image 1040 magick/identify.c GetNumberColors(image,(FILE *) NULL,exception)); image 1042 magick/identify.c (void) GetNumberColors(image,file,exception); image 1048 magick/identify.c GetNumberColors(image,(FILE *) NULL,exception)); image 1050 magick/identify.c if (image->storage_class == PseudoClass) image 1053 magick/identify.c image->colors); image 1055 magick/identify.c if (image->colors <= 1024) image 1068 magick/identify.c GetMagickPixelPacket(image,&pixel); image 1069 magick/identify.c p=image->colormap; image 1070 magick/identify.c for (i=0; i < (ssize_t) image->colors; i++) image 1072 magick/identify.c SetMagickPixelPacket(image,p,(IndexPacket *) NULL,&pixel); image 1092 magick/identify.c (void) QueryMagickColorname(image,&pixel,SVGCompliance,color, image 1101 magick/identify.c if (image->error.mean_error_per_pixel != 0.0) image 1103 magick/identify.c image->error.mean_error_per_pixel); image 1104 magick/identify.c if (image->error.normalized_mean_error != 0.0) image 1106 magick/identify.c image->error.normalized_mean_error); image 1107 magick/identify.c if (image->error.normalized_maximum_error != 0.0) image 1109 magick/identify.c image->error.normalized_maximum_error); image 1112 magick/identify.c image->rendering_intent)); image 1113 magick/identify.c if (image->gamma != 0.0) image 1114 magick/identify.c (void) FormatLocaleFile(file," Gamma: %g\n",image->gamma); image 1115 magick/identify.c if ((image->chromaticity.red_primary.x != 0.0) || image 1116 magick/identify.c (image->chromaticity.green_primary.x != 0.0) || image 1117 magick/identify.c (image->chromaticity.blue_primary.x != 0.0) || image 1118 magick/identify.c (image->chromaticity.white_point.x != 0.0)) image 1125 magick/identify.c image->chromaticity.red_primary.x,image->chromaticity.red_primary.y); image 1127 magick/identify.c image->chromaticity.green_primary.x, image 1128 magick/identify.c image->chromaticity.green_primary.y); image 1130 magick/identify.c image->chromaticity.blue_primary.x,image->chromaticity.blue_primary.y); image 1132 magick/identify.c image->chromaticity.white_point.x,image->chromaticity.white_point.y); image 1134 magick/identify.c if ((image->extract_info.width*image->extract_info.height) != 0) image 1136 magick/identify.c (double) image->extract_info.width,(double) image->extract_info.height, image 1137 magick/identify.c (double) image->extract_info.x,(double) image->extract_info.y); image 1138 magick/identify.c (void) QueryColorname(image,&image->background_color,SVGCompliance,color, image 1141 magick/identify.c (void) QueryColorname(image,&image->border_color,SVGCompliance,color, image 1144 magick/identify.c (void) QueryColorname(image,&image->matte_color,SVGCompliance,color, image 1147 magick/identify.c (void) QueryColorname(image,&image->transparent_color,SVGCompliance,color, image 1151 magick/identify.c MagickInterlaceOptions,(ssize_t) image->interlace)); image 1153 magick/identify.c MagickPixelIntensityOptions,(ssize_t) image->intensity)); image 1155 magick/identify.c MagickComposeOptions,(ssize_t) image->compose)); image 1156 magick/identify.c if ((image->page.width != 0) || (image->page.height != 0) || image 1157 magick/identify.c (image->page.x != 0) || (image->page.y != 0)) image 1159 magick/identify.c (double) image->page.width,(double) image->page.height,(double) image 1160 magick/identify.c image->page.x,(double) image->page.y); image 1161 magick/identify.c if ((image->page.x != 0) || (image->page.y != 0)) image 1163 magick/identify.c image->page.x,(double) image->page.y); image 1165 magick/identify.c MagickDisposeOptions,(ssize_t) image->dispose)); image 1166 magick/identify.c if (image->delay != 0) image 1167 magick/identify.c (void) FormatLocaleFile(file," Delay: %.20gx%.20g\n",(double) image->delay, image 1168 magick/identify.c (double) image->ticks_per_second); image 1169 magick/identify.c if (image->iterations != 1) image 1171 magick/identify.c image->iterations); image 1172 magick/identify.c if (image->duration != 0) image 1174 magick/identify.c image->duration); image 1175 magick/identify.c if ((image->next != (Image *) NULL) || (image->previous != (Image *) NULL)) image 1177 magick/identify.c image->scene,(double) GetImageListLength(image)); image 1179 magick/identify.c if (image->scene != 0) image 1180 magick/identify.c (void) FormatLocaleFile(file," Scene: %.20g\n",(double) image->scene); image 1182 magick/identify.c MagickCompressOptions,(ssize_t) image->compression)); image 1183 magick/identify.c if (image->quality != UndefinedCompressionQuality) image 1184 magick/identify.c (void) FormatLocaleFile(file," Quality: %.20g\n",(double) image->quality); image 1186 magick/identify.c MagickOrientationOptions,(ssize_t) image->orientation)); image 1187 magick/identify.c if (image->montage != (char *) NULL) image 1188 magick/identify.c (void) FormatLocaleFile(file," Montage: %s\n",image->montage); image 1189 magick/identify.c if (image->directory != (char *) NULL) image 1210 magick/identify.c for (p=image->directory; *p != '\0'; p++) image 1243 magick/identify.c (void) GetImageProperty(image,"exif:*"); image 1244 magick/identify.c (void) GetImageProperty(image,"icc:*"); image 1245 magick/identify.c (void) GetImageProperty(image,"iptc:*"); image 1246 magick/identify.c (void) GetImageProperty(image,"xmp:*"); image 1247 magick/identify.c ResetImagePropertyIterator(image); image 1248 magick/identify.c property=GetNextImageProperty(image); image 1258 magick/identify.c value=GetImageProperty(image,property); image 1261 magick/identify.c property=GetNextImageProperty(image); image 1265 magick/identify.c value=GetImageProperty(image,key); image 1276 magick/identify.c ResetImageProfileIterator(image); image 1277 magick/identify.c name=GetNextImageProfile(image); image 1289 magick/identify.c profile=GetImageProfile(image,name); image 1410 magick/identify.c if (image->debug != MagickFalse) image 1412 magick/identify.c name=GetNextImageProfile(image); image 1415 magick/identify.c ResetImageArtifactIterator(image); image 1416 magick/identify.c artifact=GetNextImageArtifact(image); image 1426 magick/identify.c value=GetImageArtifact(image,artifact); image 1429 magick/identify.c artifact=GetNextImageArtifact(image); image 1451 magick/identify.c MagickBooleanOptions,(ssize_t) image->taint)); image 1452 magick/identify.c (void) FormatMagickSize(GetBlobSize(image),MagickFalse,format); image 1454 magick/identify.c (void) FormatMagickSize((MagickSizeType) image->columns*image->rows, image 1459 magick/identify.c (void) FormatMagickSize((MagickSizeType) ((double) image->columns*image->rows/ image 66 magick/image-view.c *image; image 243 magick/image-view.c source_image=source->image; image 244 magick/image-view.c destination_image=destination->image; image 490 magick/image-view.c return(image_view->image); image 560 magick/image-view.c source_image=source->image; image 720 magick/image-view.c MagickExport ImageView *NewImageView(Image *image) image 725 magick/image-view.c assert(image != (Image *) NULL); image 726 magick/image-view.c assert(image->signature == MagickSignature); image 732 magick/image-view.c image_view->image=image; image 734 magick/image-view.c image_view->view=AcquireVirtualCacheView(image_view->image, image 736 magick/image-view.c image_view->extent.width=image->columns; image 737 magick/image-view.c image_view->extent.height=image->rows; image 773 magick/image-view.c MagickExport ImageView *NewImageViewRegion(Image *image,const ssize_t x, image 779 magick/image-view.c assert(image != (Image *) NULL); image 780 magick/image-view.c assert(image->signature == MagickSignature); image 787 magick/image-view.c image_view->view=AcquireVirtualCacheView(image_view->image, image 789 magick/image-view.c image_view->image=image; image 904 magick/image-view.c destination_image=destination->image; image 1076 magick/image-view.c source_image=source->image; image 1077 magick/image-view.c destination_image=destination->image; image 1214 magick/image-view.c source_image=source->image; image 155 magick/image.c *image; image 164 magick/image.c image=(Image *) AcquireMagickMemory(sizeof(*image)); image 165 magick/image.c if (image == (Image *) NULL) image 167 magick/image.c (void) ResetMagickMemory(image,0,sizeof(*image)); image 171 magick/image.c (void) CopyMagickString(image->magick,"MIFF",MaxTextExtent); image 172 magick/image.c image->storage_class=DirectClass; image 173 magick/image.c image->depth=MAGICKCORE_QUANTUM_DEPTH; image 174 magick/image.c image->colorspace=sRGBColorspace; image 175 magick/image.c image->rendering_intent=PerceptualIntent; image 176 magick/image.c image->gamma=1.000f/2.200f; image 177 magick/image.c image->chromaticity.red_primary.x=0.6400f; image 178 magick/image.c image->chromaticity.red_primary.y=0.3300f; image 179 magick/image.c image->chromaticity.red_primary.z=0.0300f; image 180 magick/image.c image->chromaticity.green_primary.x=0.3000f; image 181 magick/image.c image->chromaticity.green_primary.y=0.6000f; image 182 magick/image.c image->chromaticity.green_primary.z=0.1000f; image 183 magick/image.c image->chromaticity.blue_primary.x=0.1500f; image 184 magick/image.c image->chromaticity.blue_primary.y=0.0600f; image 185 magick/image.c image->chromaticity.blue_primary.z=0.7900f; image 186 magick/image.c image->chromaticity.white_point.x=0.3127f; image 187 magick/image.c image->chromaticity.white_point.y=0.3290f; image 188 magick/image.c image->chromaticity.white_point.z=0.3583f; image 189 magick/image.c image->interlace=NoInterlace; image 190 magick/image.c image->ticks_per_second=UndefinedTicksPerSecond; image 191 magick/image.c image->compose=OverCompositeOp; image 192 magick/image.c image->blur=1.0; image 193 magick/image.c InitializeExceptionInfo(&image->exception); image 194 magick/image.c (void) QueryColorDatabase(BackgroundColor,&image->background_color, image 195 magick/image.c &image->exception); image 196 magick/image.c (void) QueryColorDatabase(BorderColor,&image->border_color,&image->exception); image 197 magick/image.c (void) QueryColorDatabase(MatteColor,&image->matte_color,&image->exception); image 198 magick/image.c (void) QueryColorDatabase(TransparentColor,&image->transparent_color, image 199 magick/image.c &image->exception); image 200 magick/image.c GetTimerInfo(&image->timer); image 201 magick/image.c image->ping=MagickFalse; image 202 magick/image.c image->cache=AcquirePixelCache(0); image 203 magick/image.c image->blob=CloneBlobInfo((BlobInfo *) NULL); image 204 magick/image.c image->timestamp=time((time_t *) NULL); image 205 magick/image.c image->debug=IsEventLogging(); image 206 magick/image.c image->reference_count=1; image 207 magick/image.c image->semaphore=AllocateSemaphoreInfo(); image 208 magick/image.c image->signature=MagickSignature; image 210 magick/image.c return(image); image 214 magick/image.c SetBlobExempt(image,image_info->file != (FILE *) NULL ? MagickTrue : image 216 magick/image.c (void) CopyMagickString(image->filename,image_info->filename,MaxTextExtent); image 217 magick/image.c (void) CopyMagickString(image->magick_filename,image_info->filename, image 219 magick/image.c (void) CopyMagickString(image->magick,image_info->magick,MaxTextExtent); image 222 magick/image.c (void) ParseAbsoluteGeometry(image_info->size,&image->extract_info); image 223 magick/image.c image->columns=image->extract_info.width; image 224 magick/image.c image->rows=image->extract_info.height; image 225 magick/image.c image->offset=image->extract_info.x; image 226 magick/image.c image->extract_info.x=0; image 227 magick/image.c image->extract_info.y=0; image 237 magick/image.c image->extract_info=geometry; image 238 magick/image.c Swap(image->columns,image->extract_info.width); image 239 magick/image.c Swap(image->rows,image->extract_info.height); image 242 magick/image.c image->compression=image_info->compression; image 243 magick/image.c image->quality=image_info->quality; image 244 magick/image.c image->endian=image_info->endian; image 245 magick/image.c image->interlace=image_info->interlace; image 246 magick/image.c image->units=image_info->units; image 253 magick/image.c image->x_resolution=geometry_info.rho; image 254 magick/image.c image->y_resolution=geometry_info.sigma; image 256 magick/image.c image->y_resolution=image->x_resolution; image 263 magick/image.c image->page=image->extract_info; image 265 magick/image.c (void) ParseAbsoluteGeometry(geometry,&image->page); image 269 magick/image.c image->depth=image_info->depth; image 270 magick/image.c image->dither=image_info->dither; image 271 magick/image.c image->background_color=image_info->background_color; image 272 magick/image.c image->border_color=image_info->border_color; image 273 magick/image.c image->matte_color=image_info->matte_color; image 274 magick/image.c image->transparent_color=image_info->transparent_color; image 275 magick/image.c image->ping=image_info->ping; image 276 magick/image.c image->progress_monitor=image_info->progress_monitor; image 277 magick/image.c image->client_data=image_info->client_data; image 279 magick/image.c ClonePixelCacheMethods(image->cache,image_info->cache); image 280 magick/image.c (void) SyncImageSettings(image_info,image); image 290 magick/image.c if (image->delay > (size_t) floor(geometry_info.rho+0.5)) image 291 magick/image.c image->delay=(size_t) floor(geometry_info.rho+0.5); image 296 magick/image.c if (image->delay < (size_t) floor(geometry_info.rho+0.5)) image 297 magick/image.c image->ticks_per_second=(ssize_t) floor(geometry_info.sigma+0.5); image 300 magick/image.c image->delay=(size_t) floor(geometry_info.rho+0.5); image 302 magick/image.c image->ticks_per_second=(ssize_t) floor(geometry_info.sigma+0.5); image 306 magick/image.c image->dispose=(DisposeType) ParseCommandOption(MagickDisposeOptions, image 308 magick/image.c return(image); image 369 magick/image.c MagickExport void AcquireNextImage(const ImageInfo *image_info,Image *image) image 374 magick/image.c assert(image != (Image *) NULL); image 375 magick/image.c assert(image->signature == MagickSignature); image 376 magick/image.c if (image->debug != MagickFalse) image 377 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 378 magick/image.c image->next=AcquireImage(image_info); image 379 magick/image.c if (GetNextImageInList(image) == (Image *) NULL) image 381 magick/image.c (void) CopyMagickString(GetNextImageInList(image)->filename,image->filename, image 384 magick/image.c (void) CopyMagickString(GetNextImageInList(image)->filename, image 386 magick/image.c DestroyBlob(GetNextImageInList(image)); image 387 magick/image.c image->next->blob=ReferenceBlob(image->blob); image 388 magick/image.c image->next->endian=image->endian; image 389 magick/image.c image->next->scene=image->scene+1; image 390 magick/image.c image->next->previous=image; image 519 magick/image.c *image; image 524 magick/image.c image=CloneImage(next,0,0,MagickTrue,exception); image 525 magick/image.c if (image == (Image *) NULL) image 527 magick/image.c status=TransformImageColorspace(image,append_image->colorspace); image 531 magick/image.c GravityAdjustGeometry(image->columns,image->rows,image->gravity,&geometry); image 536 magick/image.c image_view=AcquireVirtualCacheView(image,exception); image 541 magick/image.c for (y=0; y < (ssize_t) image->rows; y++) image 563 magick/image.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 565 magick/image.c image->columns,1,exception); image 573 magick/image.c for (x=0; x < (ssize_t) image->columns; x++) image 579 magick/image.c if (image->matte != MagickFalse) image 581 magick/image.c if ((image->colorspace == CMYKColorspace) && image 594 magick/image.c x_offset+=(ssize_t) image->columns; image 600 magick/image.c y_offset+=(ssize_t) image->rows; image 602 magick/image.c image=DestroyImage(image); image 638 magick/image.c MagickExport ExceptionType CatchImageException(Image *image) image 646 magick/image.c assert(image != (const Image *) NULL); image 647 magick/image.c assert(image->signature == MagickSignature); image 648 magick/image.c if (image->debug != MagickFalse) image 649 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 651 magick/image.c GetImageException(image,exception); image 689 magick/image.c MagickExport MagickBooleanType ClipImage(Image *image) image 691 magick/image.c return(ClipImagePath(image,"#1",MagickTrue)); image 694 magick/image.c MagickExport MagickBooleanType ClipImagePath(Image *image,const char *pathname, image 711 magick/image.c assert(image != (const Image *) NULL); image 712 magick/image.c assert(image->signature == MagickSignature); image 713 magick/image.c if (image->debug != MagickFalse) image 714 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 719 magick/image.c value=GetImageProperty(image,property); image 723 magick/image.c ThrowFileException(&image->exception,OptionError,"NoClipPathDefined", image 724 magick/image.c image->filename); image 728 magick/image.c (void) CopyMagickString(image_info->filename,image->filename,MaxTextExtent); image 730 magick/image.c clip_mask=BlobToImage(image_info,value,strlen(value),&image->exception); image 744 magick/image.c (void) SetImageClipMask(image,clip_mask); image 788 magick/image.c MagickExport Image *CloneImage(const Image *image,const size_t columns, image 803 magick/image.c assert(image != (const Image *) NULL); image 804 magick/image.c assert(image->signature == MagickSignature); image 805 magick/image.c if (image->debug != MagickFalse) image 806 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 809 magick/image.c if ((image->columns == 0) || (image->rows == 0)) image 812 magick/image.c "NegativeOrZeroImageSize","`%s'",image->filename); image 820 magick/image.c clone_image->storage_class=image->storage_class; image 821 magick/image.c clone_image->channels=image->channels; image 822 magick/image.c clone_image->colorspace=image->colorspace; image 823 magick/image.c clone_image->matte=image->matte; image 824 magick/image.c clone_image->columns=image->columns; image 825 magick/image.c clone_image->rows=image->rows; image 826 magick/image.c clone_image->dither=image->dither; image 827 magick/image.c if (image->colormap != (PixelPacket *) NULL) image 832 magick/image.c clone_image->colors=image->colors; image 833 magick/image.c length=(size_t) image->colors; image 838 magick/image.c (void) CopyMagickMemory(clone_image->colormap,image->colormap,length* image 841 magick/image.c (void) CloneImageProfiles(clone_image,image); image 842 magick/image.c (void) CloneImageProperties(clone_image,image); image 843 magick/image.c (void) CloneImageArtifacts(clone_image,image); image 846 magick/image.c InheritException(&clone_image->exception,&image->exception); image 847 magick/image.c if (image->ascii85 != (void *) NULL) image 849 magick/image.c clone_image->magick_columns=image->magick_columns; image 850 magick/image.c clone_image->magick_rows=image->magick_rows; image 851 magick/image.c clone_image->type=image->type; image 852 magick/image.c (void) CopyMagickString(clone_image->magick_filename,image->magick_filename, image 854 magick/image.c (void) CopyMagickString(clone_image->magick,image->magick,MaxTextExtent); image 855 magick/image.c (void) CopyMagickString(clone_image->filename,image->filename,MaxTextExtent); image 856 magick/image.c clone_image->progress_monitor=image->progress_monitor; image 857 magick/image.c clone_image->client_data=image->client_data; image 859 magick/image.c clone_image->next=image->next; image 860 magick/image.c clone_image->previous=image->previous; image 865 magick/image.c clone_image->blob=ReferenceBlob(image->blob); image 872 magick/image.c clone_image->ping=image->ping; image 877 magick/image.c if (image->montage != (char *) NULL) image 878 magick/image.c (void) CloneString(&clone_image->montage,image->montage); image 879 magick/image.c if (image->directory != (char *) NULL) image 880 magick/image.c (void) CloneString(&clone_image->directory,image->directory); image 881 magick/image.c if (image->clip_mask != (Image *) NULL) image 882 magick/image.c clone_image->clip_mask=CloneImage(image->clip_mask,0,0,MagickTrue, image 884 magick/image.c if (image->mask != (Image *) NULL) image 885 magick/image.c clone_image->mask=CloneImage(image->mask,0,0,MagickTrue,exception); image 886 magick/image.c clone_image->cache=ReferencePixelCache(image->cache); image 889 magick/image.c if ((columns == image->columns) && (rows == image->rows)) image 891 magick/image.c if (image->clip_mask != (Image *) NULL) image 892 magick/image.c clone_image->clip_mask=CloneImage(image->clip_mask,0,0,MagickTrue, image 894 magick/image.c if (image->mask != (Image *) NULL) image 895 magick/image.c clone_image->mask=CloneImage(image->mask,0,0,MagickTrue,exception); image 898 magick/image.c if (image->columns != 0) image 899 magick/image.c scale=(double) columns/(double) image->columns; image 900 magick/image.c clone_image->page.width=(size_t) floor(scale*image->page.width+0.5); image 901 magick/image.c clone_image->page.x=(ssize_t) ceil(scale*image->page.x-0.5); image 902 magick/image.c clone_image->tile_offset.x=(ssize_t) ceil(scale*image->tile_offset.x-0.5); image 904 magick/image.c if (image->rows != 0) image 905 magick/image.c scale=(double) rows/(double) image->rows; image 906 magick/image.c clone_image->page.height=(size_t) floor(scale*image->page.height+0.5); image 907 magick/image.c clone_image->page.y=(ssize_t) ceil(scale*image->page.y-0.5); image 908 magick/image.c clone_image->tile_offset.y=(ssize_t) ceil(scale*image->tile_offset.y-0.5); image 911 magick/image.c clone_image->cache=ClonePixelCache(image->cache); image 1045 magick/image.c MagickExport MagickBooleanType CopyImagePixels(Image *image, image 1064 magick/image.c assert(image != (Image *) NULL); image 1065 magick/image.c if (image->debug != MagickFalse) image 1071 magick/image.c ((ssize_t) (offset->x+geometry->width) > (ssize_t) image->columns) || image 1072 magick/image.c ((ssize_t) (offset->y+geometry->height) > (ssize_t) image->rows)) image 1074 magick/image.c image->filename); image 1075 magick/image.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1083 magick/image.c image_view=AcquireAuthenticCacheView(image,exception); image 1121 magick/image.c if (image->colorspace == CMYKColorspace) image 1128 magick/image.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1136 magick/image.c proceed=SetImageProgress(image,CopyImageTag,progress++,image->rows); image 1169 magick/image.c MagickExport Image *DestroyImage(Image *image) image 1177 magick/image.c assert(image != (Image *) NULL); image 1178 magick/image.c assert(image->signature == MagickSignature); image 1179 magick/image.c if (image->debug != MagickFalse) image 1180 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1182 magick/image.c LockSemaphoreInfo(image->semaphore); image 1183 magick/image.c image->reference_count--; image 1184 magick/image.c if (image->reference_count == 0) image 1186 magick/image.c UnlockSemaphoreInfo(image->semaphore); image 1192 magick/image.c DestroyImagePixels(image); image 1193 magick/image.c if (image->clip_mask != (Image *) NULL) image 1194 magick/image.c image->clip_mask=DestroyImage(image->clip_mask); image 1195 magick/image.c if (image->mask != (Image *) NULL) image 1196 magick/image.c image->mask=DestroyImage(image->mask); image 1197 magick/image.c if (image->montage != (char *) NULL) image 1198 magick/image.c image->montage=DestroyString(image->montage); image 1199 magick/image.c if (image->directory != (char *) NULL) image 1200 magick/image.c image->directory=DestroyString(image->directory); image 1201 magick/image.c if (image->colormap != (PixelPacket *) NULL) image 1202 magick/image.c image->colormap=(PixelPacket *) RelinquishMagickMemory(image->colormap); image 1203 magick/image.c if (image->geometry != (char *) NULL) image 1204 magick/image.c image->geometry=DestroyString(image->geometry); image 1205 magick/image.c DestroyImageProfiles(image); image 1206 magick/image.c DestroyImageProperties(image); image 1207 magick/image.c DestroyImageArtifacts(image); image 1208 magick/image.c if (image->ascii85 != (Ascii85Info*) NULL) image 1209 magick/image.c image->ascii85=(Ascii85Info *) RelinquishMagickMemory(image->ascii85); image 1210 magick/image.c DestroyBlob(image); image 1211 magick/image.c (void) ClearExceptionInfo(&image->exception,MagickTrue); image 1212 magick/image.c if (image->semaphore != (SemaphoreInfo *) NULL) image 1213 magick/image.c DestroySemaphoreInfo(&image->semaphore); image 1214 magick/image.c image->signature=(~MagickSignature); image 1215 magick/image.c image=(Image *) RelinquishMagickMemory(image); image 1216 magick/image.c return(image); image 1309 magick/image.c MagickExport void DisassociateImageStream(Image *image) image 1311 magick/image.c assert(image != (Image *) NULL); image 1312 magick/image.c assert(image->signature == MagickSignature); image 1313 magick/image.c if (image->debug != MagickFalse) image 1314 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1315 magick/image.c DisassociateBlob(image); image 1340 magick/image.c MagickExport Image *GetImageClipMask(const Image *image, image 1343 magick/image.c assert(image != (const Image *) NULL); image 1344 magick/image.c if (image->debug != MagickFalse) image 1346 magick/image.c assert(image->signature == MagickSignature); image 1347 magick/image.c if (image->clip_mask == (Image *) NULL) image 1349 magick/image.c return(CloneImage(image->clip_mask,0,0,MagickTrue,exception)); image 1377 magick/image.c MagickExport void GetImageException(Image *image,ExceptionInfo *exception) image 1382 magick/image.c assert(image != (Image *) NULL); image 1383 magick/image.c assert(image->signature == MagickSignature); image 1384 magick/image.c if (image->debug != MagickFalse) image 1385 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1388 magick/image.c for (next=image; next != (Image *) NULL; next=GetNextImageInList(next)) image 1507 magick/image.c MagickExport Image *GetImageMask(const Image *image,ExceptionInfo *exception) image 1509 magick/image.c assert(image != (const Image *) NULL); image 1510 magick/image.c if (image->debug != MagickFalse) image 1512 magick/image.c assert(image->signature == MagickSignature); image 1513 magick/image.c if (image->mask == (Image *) NULL) image 1515 magick/image.c return(CloneImage(image->mask,0,0,MagickTrue,exception)); image 1541 magick/image.c MagickExport size_t GetImageChannels(Image *image) image 1543 magick/image.c assert(image != (Image *) NULL); image 1544 magick/image.c assert(image->signature == MagickSignature); image 1545 magick/image.c if (image->debug != MagickFalse) image 1546 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1547 magick/image.c return(image->channels); image 1572 magick/image.c MagickExport ssize_t GetImageReferenceCount(Image *image) image 1577 magick/image.c assert(image != (Image *) NULL); image 1578 magick/image.c assert(image->signature == MagickSignature); image 1579 magick/image.c if (image->debug != MagickFalse) image 1580 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1581 magick/image.c LockSemaphoreInfo(image->semaphore); image 1582 magick/image.c reference_count=image->reference_count; image 1583 magick/image.c UnlockSemaphoreInfo(image->semaphore); image 1611 magick/image.c MagickExport VirtualPixelMethod GetImageVirtualPixelMethod(const Image *image) image 1613 magick/image.c assert(image != (Image *) NULL); image 1614 magick/image.c assert(image->signature == MagickSignature); image 1615 magick/image.c if (image->debug != MagickFalse) image 1616 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1617 magick/image.c return(GetPixelCacheVirtualMethod(image)); image 1654 magick/image.c Image *image,const char *format,int value,char *filename) image 1753 magick/image.c (image != (const Image *) NULL)) image 1754 magick/image.c value=GetMagickProperty(image_info,image,pattern); image 1757 magick/image.c if (image != (Image *) NULL) image 1758 magick/image.c value=GetImageProperty(image,pattern); image 1760 magick/image.c (image != (Image *) NULL)) image 1761 magick/image.c value=GetImageArtifact(image,pattern); image 1823 magick/image.c MagickExport MagickBooleanType IsHighDynamicRangeImage(const Image *image, image 1827 magick/image.c (void) image; image 1843 magick/image.c assert(image != (Image *) NULL); image 1844 magick/image.c assert(image->signature == MagickSignature); image 1845 magick/image.c if (image->debug != MagickFalse) image 1846 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1848 magick/image.c GetMagickPixelPacket(image,&zero); image 1849 magick/image.c image_view=AcquireVirtualCacheView(image,exception); image 1854 magick/image.c for (y=0; y < (ssize_t) image->rows; y++) image 1870 magick/image.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1878 magick/image.c for (x=0; x < (ssize_t) image->columns; x++) image 1880 magick/image.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 1904 magick/image.c if (x < (ssize_t) image->columns) image 1935 magick/image.c MagickExport MagickBooleanType IsImageObject(const Image *image) image 1940 magick/image.c assert(image != (Image *) NULL); image 1941 magick/image.c if (image->debug != MagickFalse) image 1943 magick/image.c for (p=image; p != (Image *) NULL; p=GetNextImageInList(p)) image 1972 magick/image.c MagickExport MagickBooleanType IsTaintImage(const Image *image) image 1981 magick/image.c assert(image != (Image *) NULL); image 1982 magick/image.c if (image->debug != MagickFalse) image 1984 magick/image.c assert(image->signature == MagickSignature); image 1985 magick/image.c (void) CopyMagickString(magick,image->magick,MaxTextExtent); image 1986 magick/image.c (void) CopyMagickString(filename,image->filename,MaxTextExtent); image 1987 magick/image.c for (p=image; p != (Image *) NULL; p=GetNextImageInList(p)) image 2025 magick/image.c MagickExport MagickBooleanType ModifyImage(Image **image, image 2031 magick/image.c assert(image != (Image **) NULL); image 2032 magick/image.c assert(*image != (Image *) NULL); image 2033 magick/image.c assert((*image)->signature == MagickSignature); image 2034 magick/image.c if ((*image)->debug != MagickFalse) image 2035 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",(*image)->filename); image 2036 magick/image.c if (GetImageReferenceCount(*image) <= 1) image 2038 magick/image.c clone_image=CloneImage(*image,0,0,MagickTrue,exception); image 2039 magick/image.c LockSemaphoreInfo((*image)->semaphore); image 2040 magick/image.c (*image)->reference_count--; image 2041 magick/image.c UnlockSemaphoreInfo((*image)->semaphore); image 2042 magick/image.c *image=clone_image; image 2086 magick/image.c *image; image 2099 magick/image.c image=AcquireImage(image_info); image 2100 magick/image.c image->columns=width; image 2101 magick/image.c image->rows=height; image 2102 magick/image.c image->colorspace=background->colorspace; image 2103 magick/image.c image->matte=background->matte; image 2104 magick/image.c image->fuzz=background->fuzz; image 2105 magick/image.c image->depth=background->depth; image 2107 magick/image.c exception=(&image->exception); image 2108 magick/image.c image_view=AcquireAuthenticCacheView(image,exception); image 2113 magick/image.c for (y=0; y < (ssize_t) image->rows; y++) image 2126 magick/image.c q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2133 magick/image.c for (x=0; x < (ssize_t) image->columns; x++) image 2135 magick/image.c SetPixelPacket(image,background,q,indexes+x); image 2143 magick/image.c image=DestroyImage(image); image 2144 magick/image.c return(image); image 2170 magick/image.c MagickExport Image *ReferenceImage(Image *image) image 2172 magick/image.c assert(image != (Image *) NULL); image 2173 magick/image.c if (image->debug != MagickFalse) image 2175 magick/image.c assert(image->signature == MagickSignature); image 2176 magick/image.c LockSemaphoreInfo(image->semaphore); image 2177 magick/image.c image->reference_count++; image 2178 magick/image.c UnlockSemaphoreInfo(image->semaphore); image 2179 magick/image.c return(image); image 2206 magick/image.c MagickExport MagickBooleanType ResetImagePage(Image *image,const char *page) image 2214 magick/image.c assert(image != (Image *) NULL); image 2215 magick/image.c assert(image->signature == MagickSignature); image 2216 magick/image.c if (image->debug != MagickFalse) image 2217 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2223 magick/image.c image->page.width=geometry.width; image 2224 magick/image.c image->page.height=geometry.height; image 2229 magick/image.c image->page.x+=geometry.x; image 2231 magick/image.c image->page.y+=geometry.y; image 2237 magick/image.c image->page.x=geometry.x; image 2238 magick/image.c if ((image->page.width == 0) && (geometry.x > 0)) image 2239 magick/image.c image->page.width=image->columns+geometry.x; image 2243 magick/image.c image->page.y=geometry.y; image 2244 magick/image.c if ((image->page.height == 0) && (geometry.y > 0)) image 2245 magick/image.c image->page.height=image->rows+geometry.y; image 2275 magick/image.c MagickExport MagickBooleanType SetImageBackgroundColor(Image *image) image 2298 magick/image.c assert(image != (Image *) NULL); image 2299 magick/image.c if (image->debug != MagickFalse) image 2301 magick/image.c assert(image->signature == MagickSignature); image 2302 magick/image.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2304 magick/image.c if ((IsPixelGray(&image->background_color) == MagickFalse) && image 2305 magick/image.c (IsGrayColorspace(image->colorspace) != MagickFalse)) image 2306 magick/image.c (void) TransformImageColorspace(image,RGBColorspace); image 2307 magick/image.c if ((image->background_color.opacity != OpaqueOpacity) && image 2308 magick/image.c (image->matte == MagickFalse)) image 2309 magick/image.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 2310 magick/image.c GetMagickPixelPacket(image,&background); image 2311 magick/image.c SetMagickPixelPacket(image,&image->background_color,(const IndexPacket *) image 2313 magick/image.c if (image->colorspace == CMYKColorspace) image 2317 magick/image.c SetPixelPacket(image,&background,&pixel,&index); image 2322 magick/image.c exception=(&image->exception); image 2323 magick/image.c image_view=AcquireAuthenticCacheView(image,exception); image 2324 magick/image.c for (y=0; y < (ssize_t) image->rows; y++) image 2334 magick/image.c q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2340 magick/image.c for (x=0; x < (ssize_t) image->columns; x++) image 2342 magick/image.c if (image->colorspace == CMYKColorspace) image 2348 magick/image.c for (x=0; x < (ssize_t) image->columns; x++) image 2383 magick/image.c MagickExport MagickBooleanType SetImageChannels(Image *image, image 2386 magick/image.c image->channels=channels; image 2415 magick/image.c MagickExport MagickBooleanType SetImageColor(Image *image, image 2430 magick/image.c assert(image != (Image *) NULL); image 2431 magick/image.c if (image->debug != MagickFalse) image 2433 magick/image.c assert(image->signature == MagickSignature); image 2435 magick/image.c image->colorspace=color->colorspace; image 2436 magick/image.c image->matte=color->matte; image 2437 magick/image.c image->fuzz=color->fuzz; image 2438 magick/image.c image->depth=color->depth; image 2440 magick/image.c exception=(&image->exception); image 2441 magick/image.c image_view=AcquireAuthenticCacheView(image,exception); image 2446 magick/image.c for (y=0; y < (ssize_t) image->rows; y++) image 2459 magick/image.c q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2466 magick/image.c for (x=0; x < (ssize_t) image->columns; x++) image 2468 magick/image.c SetPixelPacket(image,color,q,indexes+x); image 2504 magick/image.c MagickExport MagickBooleanType SetImageStorageClass(Image *image, image 2507 magick/image.c image->storage_class=storage_class; image 2508 magick/image.c return(SyncImagePixelCache(image,&image->exception)); image 2538 magick/image.c MagickExport MagickBooleanType SetImageClipMask(Image *image, image 2541 magick/image.c assert(image != (Image *) NULL); image 2542 magick/image.c if (image->debug != MagickFalse) image 2544 magick/image.c assert(image->signature == MagickSignature); image 2546 magick/image.c if ((clip_mask->columns != image->columns) || image 2547 magick/image.c (clip_mask->rows != image->rows)) image 2548 magick/image.c ThrowBinaryException(ImageError,"ImageSizeDiffers",image->filename); image 2549 magick/image.c if (image->clip_mask != (Image *) NULL) image 2550 magick/image.c image->clip_mask=DestroyImage(image->clip_mask); image 2551 magick/image.c image->clip_mask=NewImageList(); image 2554 magick/image.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2556 magick/image.c image->clip_mask=CloneImage(clip_mask,0,0,MagickTrue,&image->exception); image 2557 magick/image.c if (image->clip_mask == (Image *) NULL) image 2589 magick/image.c MagickExport MagickBooleanType SetImageExtent(Image *image,const size_t columns, image 2594 magick/image.c image->columns=columns; image 2595 magick/image.c image->rows=rows; image 2596 magick/image.c if (image->depth > (8*sizeof(MagickSizeType))) image 2597 magick/image.c ThrowBinaryException(ImageError,"ImageDepthNotSupported",image->filename); image 2598 magick/image.c return(SyncImagePixelCache(image,&image->exception)); image 2655 magick/image.c *image; image 2875 magick/image.c image=AcquireImage(image_info); image 2876 magick/image.c (void) CopyMagickString(image->filename,image_info->filename, image 2878 magick/image.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 2881 magick/image.c image=DestroyImage(image); image 2884 magick/image.c if ((IsBlobSeekable(image) == MagickFalse) || image 2885 magick/image.c (IsBlobExempt(image) != MagickFalse)) image 2891 magick/image.c status=ImageToFile(image,filename,exception); image 2892 magick/image.c (void) CloseBlob(image); image 2895 magick/image.c image=DestroyImage(image); image 2899 magick/image.c (void) CopyMagickString(image->filename,filename,MaxTextExtent); image 2900 magick/image.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 2903 magick/image.c image=DestroyImage(image); image 2910 magick/image.c count=ReadBlob(image,2*MaxTextExtent,magick); image 2911 magick/image.c (void) SeekBlob(image,-((MagickOffsetType) count),SEEK_CUR); image 2912 magick/image.c (void) CloseBlob(image); image 2913 magick/image.c image=DestroyImage(image); image 3038 magick/image.c MagickExport MagickBooleanType SetImageMask(Image *image,const Image *mask) image 3040 magick/image.c assert(image != (Image *) NULL); image 3041 magick/image.c if (image->debug != MagickFalse) image 3043 magick/image.c assert(image->signature == MagickSignature); image 3045 magick/image.c if ((mask->columns != image->columns) || (mask->rows != image->rows)) image 3046 magick/image.c ThrowBinaryException(ImageError,"ImageSizeDiffers",image->filename); image 3047 magick/image.c if (image->mask != (Image *) NULL) image 3048 magick/image.c image->mask=DestroyImage(image->mask); image 3049 magick/image.c image->mask=NewImageList(); image 3052 magick/image.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 3054 magick/image.c image->mask=CloneImage(mask,0,0,MagickTrue,&image->exception); image 3055 magick/image.c if (image->mask == (Image *) NULL) image 3085 magick/image.c MagickExport MagickBooleanType SetImageOpacity(Image *image, image 3100 magick/image.c assert(image != (Image *) NULL); image 3101 magick/image.c if (image->debug != MagickFalse) image 3103 magick/image.c assert(image->signature == MagickSignature); image 3104 magick/image.c image->matte=MagickTrue; image 3106 magick/image.c exception=(&image->exception); image 3107 magick/image.c image_view=AcquireAuthenticCacheView(image,exception); image 3112 magick/image.c for (y=0; y < (ssize_t) image->rows; y++) image 3122 magick/image.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 3128 magick/image.c for (x=0; x < (ssize_t) image->columns; x++) image 3167 magick/image.c MagickExport VirtualPixelMethod SetImageVirtualPixelMethod(const Image *image, image 3170 magick/image.c assert(image != (const Image *) NULL); image 3171 magick/image.c assert(image->signature == MagickSignature); image 3172 magick/image.c if (image->debug != MagickFalse) image 3173 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3174 magick/image.c return(SetPixelCacheVirtualMethod(image,virtual_pixel_method)); image 3363 magick/image.c *image; image 3400 magick/image.c image=images; image 3401 magick/image.c matte=image->matte; image 3403 magick/image.c width=image->columns; image 3404 magick/image.c height=image->rows; image 3405 magick/image.c next=GetNextImageInList(image); image 3429 magick/image.c smush_image=CloneImage(image,width,height,MagickTrue,exception); image 3447 magick/image.c GravityAdjustGeometry(image->columns,image->rows,image->gravity,&geometry); image 3451 magick/image.c y_offset-=SmushYGap(smush_image,image,offset,exception); image 3455 magick/image.c x_offset-=SmushXGap(smush_image,image,offset,exception); image 3458 magick/image.c status=CompositeImage(smush_image,OverCompositeOp,image,x_offset,y_offset); image 3459 magick/image.c proceed=SetImageProgress(image,SmushImageTag,n,number_images); image 3464 magick/image.c x_offset+=(ssize_t) image->columns; image 3470 magick/image.c y_offset+=(ssize_t) image->rows; image 3472 magick/image.c image=GetNextImageInList(image); image 3506 magick/image.c MagickExport MagickBooleanType StripImage(Image *image) image 3511 magick/image.c assert(image != (Image *) NULL); image 3512 magick/image.c if (image->debug != MagickFalse) image 3514 magick/image.c DestroyImageProfiles(image); image 3515 magick/image.c (void) DeleteImageProperty(image,"comment"); image 3516 magick/image.c (void) DeleteImageProperty(image,"date:create"); image 3517 magick/image.c (void) DeleteImageProperty(image,"date:modify"); image 3518 magick/image.c status=SetImageArtifact(image,"png:exclude-chunk", image 3547 magick/image.c static inline IndexPacket PushColormapIndex(Image *image, image 3550 magick/image.c if (index < image->colors) image 3556 magick/image.c MagickExport MagickBooleanType SyncImage(Image *image) image 3572 magick/image.c assert(image != (Image *) NULL); image 3573 magick/image.c if (image->debug != MagickFalse) image 3575 magick/image.c assert(image->signature == MagickSignature); image 3576 magick/image.c if (image->storage_class == DirectClass) image 3580 magick/image.c taint=image->taint; image 3581 magick/image.c exception=(&image->exception); image 3582 magick/image.c image_view=AcquireAuthenticCacheView(image,exception); image 3587 magick/image.c for (y=0; y < (ssize_t) image->rows; y++) image 3603 magick/image.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 3610 magick/image.c for (x=0; x < (ssize_t) image->columns; x++) image 3612 magick/image.c index=PushColormapIndex(image,(size_t) GetPixelIndex(indexes+x), image 3614 magick/image.c if (image->matte == MagickFalse) image 3615 magick/image.c SetPixelRgb(q,image->colormap+(ssize_t) index) image 3617 magick/image.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 3624 magick/image.c image->taint=taint; image 3625 magick/image.c if ((image->ping == MagickFalse) && (range_exception != MagickFalse)) image 3626 magick/image.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 3627 magick/image.c CorruptImageError,"InvalidColormapIndex","`%s'",image->filename); image 3663 magick/image.c *image; image 3671 magick/image.c image=images; image 3672 magick/image.c for ( ; image != (Image *) NULL; image=GetNextImageInList(image)) image 3673 magick/image.c (void) SyncImageSettings(image_info,image); image 3679 magick/image.c Image *image) image 3702 magick/image.c assert(image != (Image *) NULL); image 3703 magick/image.c assert(image->signature == MagickSignature); image 3704 magick/image.c if (image->debug != MagickFalse) image 3705 magick/image.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3708 magick/image.c (void) QueryColorDatabase(option,&image->background_color, image 3709 magick/image.c &image->exception); image 3712 magick/image.c image->bias=StringToDoubleInterval(option,(double) QuantumRange+1.0); image 3715 magick/image.c image->black_point_compensation=(MagickBooleanType) ParseCommandOption( image 3721 magick/image.c image->chromaticity.blue_primary.x=geometry_info.rho; image 3722 magick/image.c image->chromaticity.blue_primary.y=geometry_info.sigma; image 3724 magick/image.c image->chromaticity.blue_primary.y=image->chromaticity.blue_primary.x; image 3728 magick/image.c (void) QueryColorDatabase(option,&image->border_color,&image->exception); image 3731 magick/image.c image->colors=StringToUnsignedLong(option); image 3734 magick/image.c image->compose=(CompositeOperator) ParseCommandOption(MagickComposeOptions, image 3738 magick/image.c image->compression=(CompressionType) ParseCommandOption( image 3742 magick/image.c image->debug=(MagickBooleanType) ParseCommandOption(MagickBooleanOptions, image 3754 magick/image.c image->x_resolution=geometry_info.rho; image 3755 magick/image.c image->y_resolution=geometry_info.sigma; image 3757 magick/image.c image->y_resolution=image->x_resolution; image 3761 magick/image.c image->depth=StringToUnsignedLong(option); image 3764 magick/image.c image->endian=(EndianType) ParseCommandOption(MagickEndianOptions, image 3768 magick/image.c image->filter=(FilterTypes) ParseCommandOption(MagickFilterOptions, image 3772 magick/image.c image->fuzz=StringToDoubleInterval(option,(double) QuantumRange+1.0); image 3775 magick/image.c image->gravity=(GravityType) ParseCommandOption(MagickGravityOptions, image 3781 magick/image.c image->chromaticity.green_primary.x=geometry_info.rho; image 3782 magick/image.c image->chromaticity.green_primary.y=geometry_info.sigma; image 3784 magick/image.c image->chromaticity.green_primary.y=image->chromaticity.green_primary.x; image 3788 magick/image.c image->intensity=(PixelIntensityMethod) ParseCommandOption( image 3792 magick/image.c image->rendering_intent=(RenderingIntent) ParseCommandOption( image 3796 magick/image.c image->interlace=(InterlaceType) ParseCommandOption(MagickInterlaceOptions, image 3800 magick/image.c image->interpolate=(InterpolatePixelMethod) ParseCommandOption( image 3804 magick/image.c image->iterations=StringToUnsignedLong(option); image 3807 magick/image.c (void) QueryColorDatabase(option,&image->matte_color,&image->exception); image 3810 magick/image.c image->orientation=(OrientationType) ParseCommandOption( image 3819 magick/image.c flags=ParseAbsoluteGeometry(geometry,&image->page); image 3824 magick/image.c image->quality=StringToUnsignedLong(option); image 3829 magick/image.c image->chromaticity.red_primary.x=geometry_info.rho; image 3830 magick/image.c image->chromaticity.red_primary.y=geometry_info.sigma; image 3832 magick/image.c image->chromaticity.red_primary.y=image->chromaticity.red_primary.x; image 3835 magick/image.c image->quality=image_info->quality; image 3838 magick/image.c image->scene=StringToUnsignedLong(option); image 3841 magick/image.c image->taint=(MagickBooleanType) ParseCommandOption(MagickBooleanOptions, image 3850 magick/image.c flags=ParseAbsoluteGeometry(geometry,&image->tile_offset); image 3855 magick/image.c (void) QueryColorDatabase(option,&image->transparent_color, image 3856 magick/image.c &image->exception); image 3859 magick/image.c image->type=(ImageType) ParseCommandOption(MagickTypeOptions,MagickFalse, image 3869 magick/image.c if (image->units != units) image 3870 magick/image.c switch (image->units) image 3876 magick/image.c image->x_resolution/=2.54; image 3877 magick/image.c image->y_resolution/=2.54; image 3885 magick/image.c image->x_resolution=(double) ((size_t) (100.0*2.54* image 3886 magick/image.c image->x_resolution+0.5))/100.0; image 3887 magick/image.c image->y_resolution=(double) ((size_t) (100.0*2.54* image 3888 magick/image.c image->y_resolution+0.5))/100.0; image 3895 magick/image.c image->units=units; image 3901 magick/image.c image->chromaticity.white_point.x=geometry_info.rho; image 3902 magick/image.c image->chromaticity.white_point.y=geometry_info.sigma; image 3904 magick/image.c image->chromaticity.white_point.y=image->chromaticity.white_point.x; image 3913 magick/image.c (void) SetImageArtifact(image,property,value); image 97 magick/layer.c static void ClearBounds(Image *image,RectangleInfo *bounds) image 107 magick/layer.c if (image->matte == MagickFalse) image 108 magick/layer.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 109 magick/layer.c exception=(&image->exception); image 118 magick/layer.c q=GetAuthenticPixels(image,bounds->x,bounds->y+y,bounds->width,1,exception); image 126 magick/layer.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 231 magick/layer.c MagickExport Image *CoalesceImages(const Image *image,ExceptionInfo *exception) image 247 magick/layer.c assert(image != (Image *) NULL); image 248 magick/layer.c assert(image->signature == MagickSignature); image 249 magick/layer.c if (image->debug != MagickFalse) image 250 magick/layer.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 255 magick/layer.c next=GetFirstImageInList(image); image 390 magick/layer.c *image, image 402 magick/layer.c image=GetFirstImageInList(images); image 403 magick/layer.c dispose_image=CloneImage(image,image->page.width,image->page.height, image 407 magick/layer.c dispose_image->page=image->page; image 414 magick/layer.c for (next=image; next != (Image *) NULL; next=GetNextImageInList(next)) image 769 magick/layer.c MagickExport Image *CompareImageLayers(const Image *image, image 786 magick/layer.c assert(image != (const Image *) NULL); image 787 magick/layer.c assert(image->signature == MagickSignature); image 788 magick/layer.c if (image->debug != MagickFalse) image 789 magick/layer.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 798 magick/layer.c next=GetFirstImageInList(image); image 844 magick/layer.c next=GetFirstImageInList(image); image 973 magick/layer.c static Image *OptimizeLayerFrames(const Image *image, image 1005 magick/layer.c assert(image != (const Image *) NULL); image 1006 magick/layer.c assert(image->signature == MagickSignature); image 1007 magick/layer.c if (image->debug != MagickFalse) image 1008 magick/layer.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1022 magick/layer.c curr=GetFirstImageInList(image); image 1025 magick/layer.c if ((curr->columns != image->columns) || (curr->rows != image->rows)) image 1035 magick/layer.c curr=GetFirstImageInList(image); image 1042 magick/layer.c GetImageListLength(image),(add_frames != MagickFalse ? 2UL : 1UL)* image 1381 magick/layer.c curr=GetFirstImageInList(image); image 1452 magick/layer.c MagickExport Image *OptimizeImageLayers(const Image *image, image 1455 magick/layer.c return(OptimizeLayerFrames(image,OptimizeImageLayer,exception)); image 1485 magick/layer.c MagickExport Image *OptimizePlusImageLayers(const Image *image, image 1488 magick/layer.c return OptimizeLayerFrames(image, OptimizePlusLayer, exception); image 1522 magick/layer.c MagickExport void OptimizeImageTransparency(const Image *image, image 1534 magick/layer.c assert(image != (Image *) NULL); image 1535 magick/layer.c assert(image->signature == MagickSignature); image 1536 magick/layer.c if (image->debug != MagickFalse) image 1537 magick/layer.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1540 magick/layer.c next=GetFirstImageInList(image); image 1952 magick/layer.c MagickExport Image *MergeImageLayers(Image *image, image 1977 magick/layer.c assert(image != (Image *) NULL); image 1978 magick/layer.c assert(image->signature == MagickSignature); image 1979 magick/layer.c if (image->debug != MagickFalse) image 1980 magick/layer.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1986 magick/layer.c page=image->page; image 1987 magick/layer.c width=image->columns; image 1988 magick/layer.c height=image->rows; image 1995 magick/layer.c next=GetNextImageInList(image); image 2031 magick/layer.c for (next=image; next != (Image *) NULL; next=GetNextImageInList(next)) image 2057 magick/layer.c number_images=GetImageListLength(image); image 2060 magick/layer.c image->page.x-=page.x; image 2061 magick/layer.c image->page.y-=page.y; image 2062 magick/layer.c image->page.width=width; image 2063 magick/layer.c image->page.height=height; image 2064 magick/layer.c proceed=SetImageProgress(image,MergeLayersTag,(MagickOffsetType) scene, image 2068 magick/layer.c image=GetNextImageInList(image); image 2069 magick/layer.c if (image == (Image *) NULL) image 2077 magick/layer.c canvas=CloneImage(image,width,height,MagickTrue,exception); image 2086 magick/layer.c number_images=GetImageListLength(image); image 2089 magick/layer.c (void) CompositeImage(canvas,image->compose,image,image->page.x- image 2090 magick/layer.c canvas->page.x,image->page.y-canvas->page.y); image 2091 magick/layer.c proceed=SetImageProgress(image,MergeLayersTag,(MagickOffsetType) scene, image 2095 magick/layer.c image=GetNextImageInList(image); image 2096 magick/layer.c if (image == (Image *) NULL) image 129 magick/list.c *image; image 139 magick/list.c image=(Image *) NULL; image 145 magick/list.c if (image != (Image *) NULL) image 146 magick/list.c image=DestroyImageList(image); image 149 magick/list.c if (image == (Image *) NULL) image 151 magick/list.c image=clone; image 152 magick/list.c p=image; image 159 magick/list.c return(image); image 210 magick/list.c *image; image 256 magick/list.c image=CloneImage(next,0,0,MagickTrue,exception); image 257 magick/list.c if (image == (Image *) NULL) image 259 magick/list.c AppendImageToList(&clone_images,image); image 294 magick/list.c *image; image 296 magick/list.c image=RemoveImageFromList(images); image 297 magick/list.c if (image != (Image *) NULL) image 298 magick/list.c (void) DestroyImage(image); image 344 magick/list.c *image; image 377 magick/list.c image=(*images); image 408 magick/list.c image=(*images); image 411 magick/list.c *images=image; image 412 magick/list.c image=GetNextImageInList(image); image 947 magick/list.c MagickExport void PrependImageToList(Image **images,Image *image) image 949 magick/list.c AppendImageToList(&image,*images); image 1040 magick/list.c *image; image 1049 magick/list.c image=(*images); image 1050 magick/list.c while (image->previous != (Image *) NULL) image 1051 magick/list.c image=image->previous; image 1052 magick/list.c if (image == *images) image 1054 magick/list.c if (image->next != (Image *) NULL) image 1056 magick/list.c image->next->previous=(Image *) NULL; image 1057 magick/list.c image->next=(Image *) NULL; image 1059 magick/list.c return(image); image 1091 magick/list.c *image; image 1100 magick/list.c image=(*images); image 1101 magick/list.c while (image->next != (Image *) NULL) image 1102 magick/list.c image=image->next; image 1103 magick/list.c if (image == *images) image 1105 magick/list.c if (image->previous != (Image *) NULL) image 1107 magick/list.c image->previous->next=(Image *) NULL; image 1108 magick/list.c image->previous=(Image *) NULL; image 1110 magick/list.c return(image); image 1307 magick/list.c *image, image 1324 magick/list.c image=(Image *) NULL; image 1326 magick/list.c AppendImageToList(&image,RemoveImageFromList(&split)); image 1328 magick/list.c return(image); image 309 magick/mac.c if (image->debug != MagickFalse) image 461 magick/mac.c if (image->debug != MagickFalse) image 1204 magick/mac.c *image; image 1238 magick/mac.c image=AcquireImage(image_info); image 1239 magick/mac.c status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); image 1242 magick/mac.c picture_handle=(PicHandle) NewHandle(MagickMax(GetBlobSize(image)- image 1247 magick/mac.c (void) ReadBlob(image,PICTHeaderSize,*(unsigned char **) picture_handle); image 1248 magick/mac.c status=ReadBlob(image,GetBlobSize(image)-PICTHeaderSize,*(unsigned char **) image 1303 magick/mac.c image->x_resolution=(picture_info.hRes) >> 16; image 1304 magick/mac.c image->y_resolution=(picture_info.vRes) >> 16; image 1305 magick/mac.c image->units=PixelsPerInchResolution; image 1306 magick/mac.c image->columns=picture_info.sourceRect.right-picture_info.sourceRect.left; image 1307 magick/mac.c image->rows=picture_info.sourceRect.bottom-picture_info.sourceRect.top; image 1317 magick/mac.c if (!AcquireImageColormap(image,number_colors)) image 1325 magick/mac.c for (x=0; x < image->colors; x++) image 1327 magick/mac.c image->colormap[x].red= image 1329 magick/mac.c image->colormap[x].green= image 1331 magick/mac.c image->colormap[x].blue= image 1335 magick/mac.c SetRect(&rectangle,0,0,image->columns,image->rows); image 1350 magick/mac.c for (y=0; y < image->rows; y++) image 1361 magick/mac.c q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); image 1364 magick/mac.c indexes=GetAuthenticIndexQueue(image); image 1365 magick/mac.c for (x=0; x < image->columns; x++) image 1371 magick/mac.c if (image->storage_class == PseudoClass) image 1375 magick/mac.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 1377 magick/mac.c proceed=SetImageProgress(image,LoadImageTag,y,image->rows); image 1386 magick/mac.c (void) CloseBlob(image); image 1387 magick/mac.c return(image); image 1562 magick/mac.c if (image->debug != MagickFalse) image 885 magick/matrix.c *image; image 934 magick/matrix.c image=AcquireImage((ImageInfo *) NULL); image 935 magick/matrix.c image->columns=matrix_info->columns; image 936 magick/matrix.c image->rows=matrix_info->rows; image 937 magick/matrix.c image->colorspace=GRAYColorspace; image 939 magick/matrix.c image_view=AcquireAuthenticCacheView(image,exception); image 944 magick/matrix.c for (y=0; y < (ssize_t) image->rows; y++) image 957 magick/matrix.c q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 963 magick/matrix.c for (x=0; x < (ssize_t) image->columns; x++) image 978 magick/matrix.c image=DestroyImage(image); image 979 magick/matrix.c return(image); image 1653 magick/module.c Image **image,const int argc,const char **argv,ExceptionInfo *exception) image 1658 magick/module.c assert(image != (Image **) NULL); image 1659 magick/module.c assert((*image)->signature == MagickSignature); image 1660 magick/module.c if ((*image)->debug != MagickFalse) image 1661 magick/module.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",(*image)->filename); image 1691 magick/module.c if ((*image)->debug != MagickFalse) image 1694 magick/module.c signature=image_filter(image,argc,argv,exception); image 1695 magick/module.c if ((*image)->debug != MagickFalse) image 27 magick/monitor-private.h static inline MagickBooleanType SetImageProgress(const Image *image, image 33 magick/monitor-private.h if (image->progress_monitor == (MagickProgressMonitor) NULL) image 35 magick/monitor-private.h (void) FormatLocaleString(message,MaxTextExtent,"%s/%s",tag,image->filename); image 36 magick/monitor-private.h return(image->progress_monitor(message,offset,extent,image->client_data)); image 85 magick/monitor.c MagickExport MagickProgressMonitor SetImageProgressMonitor(Image *image, image 91 magick/monitor.c previous_monitor=image->progress_monitor; image 92 magick/monitor.c image->progress_monitor=progress_monitor; image 93 magick/monitor.c image->client_data=client_data; image 340 magick/montage.c *image, image 415 magick/montage.c image=image_list[0]; image 421 magick/montage.c image=CloneImage(image_list[i],0,0,MagickTrue,exception); image 422 magick/montage.c if (image == (Image *) NULL) image 424 magick/montage.c (void) ParseAbsoluteGeometry("0x0+0+0",&image->page); image 425 magick/montage.c progress_monitor=SetImageProgressMonitor(image,(MagickProgressMonitor) NULL, image 426 magick/montage.c image->client_data); image 427 magick/montage.c (void) ParseRegionGeometry(image,montage_info->geometry,&geometry,exception); image 428 magick/montage.c thumbnail=ThumbnailImage(image,geometry.width,geometry.height,exception); image 432 magick/montage.c (void) SetImageProgressMonitor(image,progress_monitor,image->client_data); image 433 magick/montage.c proceed=SetImageProgress(image,TileImageTag,(MagickOffsetType) i, image 437 magick/montage.c image=DestroyImage(image); image 710 magick/montage.c image=CloneImage(image_list[tile],0,0,MagickTrue,exception); image 711 magick/montage.c progress_monitor=SetImageProgressMonitor(image, image 712 magick/montage.c (MagickProgressMonitor) NULL,image->client_data); image 713 magick/montage.c width=concatenate != MagickFalse ? image->columns : extract_info.width; image 714 magick/montage.c if (image->rows > max_height) image 715 magick/montage.c max_height=image->rows; image 732 magick/montage.c border_info.width=(width-image->columns+1)/2; image 733 magick/montage.c border_info.height=(height-image->rows+1)/2; image 735 magick/montage.c border_image=BorderImage(image,&border_info,exception); image 738 magick/montage.c image=DestroyImage(image); image 739 magick/montage.c image=border_image; image 742 magick/montage.c (image->compose == DstOutCompositeOp)) image 743 magick/montage.c (void) NegateImageChannel(image,OpacityChannel,MagickFalse); image 751 magick/montage.c if (image->gravity != UndefinedGravity) image 752 magick/montage.c tile_image->gravity=image->gravity; image 754 magick/montage.c (double) image->columns,(double) image->rows); image 772 magick/montage.c value=GetImageProperty(image,"label"); image 776 magick/montage.c frame_image=FrameImage(image,&extract_info,exception); image 779 magick/montage.c image=DestroyImage(image); image 780 magick/montage.c image=frame_image; image 785 magick/montage.c if (LocaleCompare(image->magick,"NULL") != 0) image 798 magick/montage.c (void) QueryColorDatabase("#000000",&image->background_color, image 800 magick/montage.c shadow_image=ShadowImage(image,80.0,2.0,5,5,exception); image 804 magick/montage.c (void) CompositeImage(shadow_image,OverCompositeOp,image,0,0); image 805 magick/montage.c image=DestroyImage(image); image 806 magick/montage.c image=shadow_image; image 809 magick/montage.c (void) CompositeImage(montage,image->compose,image,x_offset+x, image 811 magick/montage.c value=GetImageProperty(image,"label"); image 822 magick/montage.c image->columns : width)-2*border_width),(double) image 848 magick/montage.c proceed=SetImageProgress(image,MontageImageTag,tiles,total_tiles); image 853 magick/montage.c image=DestroyImage(image); image 2550 magick/morphology.c static ssize_t MorphologyPrimitive(const Image *image, Image *result_image, image 2579 magick/morphology.c assert(image != (Image *) NULL); image 2580 magick/morphology.c assert(image->signature == MagickSignature); image 2591 magick/morphology.c p_view=AcquireVirtualCacheView(image,exception); image 2593 magick/morphology.c virt_width=image->columns+kernel->width-1; image 2650 magick/morphology.c for (x=0; x < (ssize_t) image->columns; x++) image 2675 magick/morphology.c p=GetCacheViewVirtualPixels(p_view,x,-offy,1,image->rows+kernel->height-1, image 2689 magick/morphology.c for (y=0; y < (ssize_t) image->rows; y++) image 2710 magick/morphology.c if (image->colorspace == CMYKColorspace) image 2731 magick/morphology.c (image->matte == MagickFalse) ) image 2741 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 2754 magick/morphology.c (image->matte != MagickFalse)) image 2757 magick/morphology.c (image->colorspace == CMYKColorspace)) image 2786 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 2800 magick/morphology.c if (image->colorspace == CMYKColorspace) image 2808 magick/morphology.c || ( (image->matte != MagickFalse) && image 2810 magick/morphology.c || ( (image->colorspace == CMYKColorspace) && image 2818 magick/morphology.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2826 magick/morphology.c proceed=SetImageProgress(image,MorphologyTag,progress++,image->rows); image 2831 magick/morphology.c result_image->type=image->type; image 2847 magick/morphology.c for (y=0; y < (ssize_t) image->rows; y++) image 2887 magick/morphology.c for (x=0; x < (ssize_t) image->columns; x++) image 2913 magick/morphology.c if (image->colorspace == CMYKColorspace) image 2933 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 2978 magick/morphology.c (image->matte == MagickFalse) ) image 2989 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3002 magick/morphology.c (image->matte != MagickFalse)) image 3005 magick/morphology.c (image->colorspace == CMYKColorspace)) image 3033 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3047 magick/morphology.c if (image->colorspace == CMYKColorspace) image 3073 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3104 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3140 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3151 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3183 magick/morphology.c GetPixelIntensity(image,&(k_pixels[u])) < GetPixelIntensity(result_image,q) ) { image 3214 magick/morphology.c GetPixelIntensity(image,&(k_pixels[u])) > GetPixelIntensity(result_image,q) ) { image 3260 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3323 magick/morphology.c && image->matte != MagickFalse ) image 3326 magick/morphology.c (image->colorspace == CMYKColorspace)) image 3334 magick/morphology.c || ( (image->matte != MagickFalse) && image 3336 magick/morphology.c || ( (image->colorspace == CMYKColorspace) && image 3344 magick/morphology.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3352 magick/morphology.c proceed=SetImageProgress(image,MorphologyTag,progress++,image->rows); image 3377 magick/morphology.c static ssize_t MorphologyPrimitiveDirect(Image *image, image 3402 magick/morphology.c assert(image != (Image *) NULL); image 3403 magick/morphology.c assert(image->signature == MagickSignature); image 3433 magick/morphology.c virt_view=AcquireVirtualCacheView(image,exception); image 3434 magick/morphology.c auth_view=AcquireAuthenticCacheView(image,exception); image 3435 magick/morphology.c virt_width=image->columns+kernel->width-1; image 3437 magick/morphology.c for (y=0; y < (ssize_t) image->rows; y++) image 3468 magick/morphology.c q=GetCacheViewAuthenticPixels(auth_view, 0, y, image->columns, 1, image 3480 magick/morphology.c for (x=0; x < (ssize_t) image->columns; x++) image 3501 magick/morphology.c GetMagickPixelPacket(image,&result); image 3502 magick/morphology.c SetMagickPixelPacket(image,q,q_indexes,&result); image 3519 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3536 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3556 magick/morphology.c SetMagickPixelPacket(image,&k_pixels[u],&k_indexes[u], image 3573 magick/morphology.c SetMagickPixelPacket(image,&k_pixels[u],&k_indexes[u], image 3586 magick/morphology.c SetPixelPacket(image,&result,q,q_indexes); image 3595 magick/morphology.c if (((channel & OpacityChannel) != 0) && (image->matte != MagickFalse)) image 3598 magick/morphology.c (image->colorspace == CMYKColorspace)) image 3606 magick/morphology.c || ( (image->matte != MagickFalse) && image 3608 magick/morphology.c || ( (image->colorspace == CMYKColorspace) && image 3618 magick/morphology.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3619 magick/morphology.c if ( SetImageProgress(image,MorphologyTag,progress++,image->rows) image 3626 magick/morphology.c for (y=(ssize_t)image->rows-1; y >= 0; y--) image 3657 magick/morphology.c q=GetCacheViewAuthenticPixels(auth_view, 0, y, image->columns, 1, image 3667 magick/morphology.c p += image->columns-1; image 3668 magick/morphology.c q += image->columns-1; image 3673 magick/morphology.c for (x=(ssize_t)image->columns-1; x >= 0; x--) image 3694 magick/morphology.c GetMagickPixelPacket(image,&result); image 3695 magick/morphology.c SetMagickPixelPacket(image,q,q_indexes,&result); image 3712 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3723 magick/morphology.c if ( (x+u-offx) >= (ssize_t)image->columns ) continue; image 3729 magick/morphology.c if ( image->colorspace == CMYKColorspace) image 3747 magick/morphology.c SetMagickPixelPacket(image,&k_pixels[u],&k_indexes[u], image 3760 magick/morphology.c if ( (x+u-offx) >= (ssize_t)image->columns ) continue; image 3764 magick/morphology.c SetMagickPixelPacket(image,&k_pixels[u],&k_indexes[u], image 3777 magick/morphology.c SetPixelPacket(image,&result,q,q_indexes); image 3786 magick/morphology.c if (((channel & OpacityChannel) != 0) && (image->matte != MagickFalse)) image 3789 magick/morphology.c (image->colorspace == CMYKColorspace)) image 3797 magick/morphology.c || ( (image->matte != MagickFalse) && image 3799 magick/morphology.c || ( (image->colorspace == CMYKColorspace) && image 3808 magick/morphology.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3809 magick/morphology.c if ( SetImageProgress(image,MorphologyTag,progress++,image->rows) image 3828 magick/morphology.c MagickExport Image *MorphologyApply(const Image *image, const ChannelType image 3876 magick/morphology.c assert(image != (Image *) NULL); image 3877 magick/morphology.c assert(image->signature == MagickSignature); image 3889 magick/morphology.c kernel_limit = image->columns>image->rows ? image->columns : image->rows; image 3891 magick/morphology.c verbose = IsMagickTrue(GetImageArtifact(image,"debug")); image 3894 magick/morphology.c curr_image = (Image *) image; image 3895 magick/morphology.c curr_compose = image->compose; image 3943 magick/morphology.c rslt_image=CloneImage(image,0,0,MagickTrue,exception); image 3968 magick/morphology.c CopyOpacityCompositeOp, image, 0, 0); image 4078 magick/morphology.c curr_image = (Image *) image; image 4124 magick/morphology.c work_image=CloneImage(image,0,0,MagickTrue,exception); image 4160 magick/morphology.c if ( work_image == image ) image 4171 magick/morphology.c (void) FormatLocaleFile(stderr, "--E-- image=0x%lx\n", (unsigned long)image); image 4197 magick/morphology.c DifferenceCompositeOp, image, 0, 0); image 4228 magick/morphology.c curr_image = (Image *) image; /* continue with original image */ image 4245 magick/morphology.c curr_image = (Image *) image; /* continue with original image */ image 4268 magick/morphology.c if ( curr_image == rslt_image || curr_image == image ) image 4336 magick/morphology.c MagickExport Image *MorphologyImage(const Image *image, image 4343 magick/morphology.c morphology_image=MorphologyImageChannel(image,DefaultChannels,method, image 4348 magick/morphology.c MagickExport Image *MorphologyImageChannel(const Image *image, image 4369 magick/morphology.c bias=image->bias; image 4375 magick/morphology.c artifact = GetImageArtifact(image,"convolve:bias"); image 4379 magick/morphology.c artifact = GetImageArtifact(image,"convolve:scale"); image 4392 magick/morphology.c if ( IsMagickTrue(GetImageArtifact(image,"showkernel")) image 4393 magick/morphology.c || IsMagickTrue(GetImageArtifact(image,"convolve:showkernel")) image 4394 magick/morphology.c || IsMagickTrue(GetImageArtifact(image,"morphology:showkernel")) ) image 4406 magick/morphology.c artifact = GetImageArtifact(image,"morphology:compose"); image 4412 magick/morphology.c morphology_image = MorphologyApply(image, channel, method, iterations, image 98 magick/nt-feature.c MagickExport void *CropImageToHBITMAP(Image *image, image 133 magick/nt-feature.c assert(image != (const Image *) NULL); image 134 magick/nt-feature.c assert(image->signature == MagickSignature); image 135 magick/nt-feature.c if (image->debug != MagickFalse) image 136 magick/nt-feature.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 142 magick/nt-feature.c (geometry->x >= (ssize_t) image->columns) || image 143 magick/nt-feature.c (geometry->y >= (ssize_t) image->rows)) image 146 magick/nt-feature.c if ((page.x+(ssize_t) page.width) > (ssize_t) image->columns) image 147 magick/nt-feature.c page.width=image->columns-page.x; image 148 magick/nt-feature.c if ((page.y+(ssize_t) page.height) > (ssize_t) image->rows) image 149 magick/nt-feature.c page.height=image->rows-page.y; image 181 magick/nt-feature.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 182 magick/nt-feature.c SetImageColorspace(image,sRGBColorspace); image 192 magick/nt-feature.c p=GetVirtualPixels(image,page.x,page.y+y,page.width,1,exception); image 206 magick/nt-feature.c proceed=SetImageProgress(image,CropImageTag,y,page.height); image 560 magick/nt-feature.c MagickExport void *ImageToHBITMAP(Image *image,ExceptionInfo *exception) image 591 magick/nt-feature.c bitmap.bmWidth=(LONG) image->columns; image 592 magick/nt-feature.c bitmap.bmHeight=(LONG) image->rows; image 614 magick/nt-feature.c (void) SetImageColorspace(image,sRGBColorspace); image 615 magick/nt-feature.c for (y=0; y < (ssize_t) image->rows; y++) image 617 magick/nt-feature.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 620 magick/nt-feature.c for (x=0; x < (ssize_t) image->columns; x++) image 110 magick/paint.c MagickExport MagickBooleanType FloodfillPaintImage(Image *image, image 119 magick/paint.c ThrowBinaryException(DrawError,"SegmentStackOverflow",image->filename) \ image 122 magick/paint.c if ((((up)+(delta)) >= 0) && (((up)+(delta)) < (ssize_t) image->rows)) \ image 173 magick/paint.c assert(image != (Image *) NULL); image 174 magick/paint.c assert(image->signature == MagickSignature); image 175 magick/paint.c if (image->debug != MagickFalse) image 176 magick/paint.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 179 magick/paint.c if ((x_offset < 0) || (x_offset >= (ssize_t) image->columns)) image 181 magick/paint.c if ((y_offset < 0) || (y_offset >= (ssize_t) image->rows)) image 183 magick/paint.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 185 magick/paint.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 186 magick/paint.c (void) SetImageColorspace(image,sRGBColorspace); image 187 magick/paint.c if ((image->matte == MagickFalse) && image 189 magick/paint.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 193 magick/paint.c floodplane_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 202 magick/paint.c image->filename); image 208 magick/paint.c exception=(&image->exception); image 215 magick/paint.c GetMagickPixelPacket(image,&fill); image 216 magick/paint.c GetMagickPixelPacket(image,&pixel); image 217 magick/paint.c image_view=AcquireVirtualCacheView(image,exception); image 256 magick/paint.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 277 magick/paint.c if (x < (ssize_t) image->columns) image 279 magick/paint.c p=GetCacheViewVirtualPixels(image_view,x,y,image->columns-x,1, image 282 magick/paint.c image->columns-x,1,exception); image 287 magick/paint.c for ( ; x < (ssize_t) image->columns; x++) image 291 magick/paint.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 320 magick/paint.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 330 magick/paint.c for (y=0; y < (ssize_t) image->rows; y++) image 347 magick/paint.c p=GetCacheViewVirtualPixels(floodplane_view,0,y,image->columns,1, image 349 magick/paint.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 353 magick/paint.c for (x=0; x < (ssize_t) image->columns; x++) image 358 magick/paint.c SetMagickPixelPacket(image,&fill_color,(IndexPacket *) NULL,&fill); image 359 magick/paint.c if (image->colorspace == CMYKColorspace) image 371 magick/paint.c (image->colorspace == CMYKColorspace)) image 384 magick/paint.c return(y == (ssize_t) image->rows ? MagickTrue : MagickFalse); image 426 magick/paint.c MagickExport MagickBooleanType GradientImage(Image *image, image 448 magick/paint.c assert(image != (const Image *) NULL); image 449 magick/paint.c assert(image->signature == MagickSignature); image 450 magick/paint.c if (image->debug != MagickFalse) image 451 magick/paint.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 457 magick/paint.c gradient->bounding_box.width=image->columns; image 458 magick/paint.c gradient->bounding_box.height=image->rows; image 459 magick/paint.c artifact=GetImageArtifact(image,"gradient:bounding-box"); image 462 magick/paint.c gradient->gradient_vector.x2=(double) image->columns-1.0; image 463 magick/paint.c gradient->gradient_vector.y2=(double) image->rows-1.0; image 464 magick/paint.c artifact=GetImageArtifact(image,"gradient:direction"); image 476 magick/paint.c gradient->gradient_vector.x1=(double) image->columns-1.0; image 477 magick/paint.c gradient->gradient_vector.y1=(double) image->rows-1.0; image 485 magick/paint.c gradient->gradient_vector.y1=(double) image->rows-1.0; image 493 magick/paint.c gradient->gradient_vector.y1=(double) image->rows-1.0; image 494 magick/paint.c gradient->gradient_vector.x2=(double) image->columns-1.0; image 500 magick/paint.c gradient->gradient_vector.x1=(double) image->columns-1.0; image 510 magick/paint.c gradient->gradient_vector.x2=(double) image->columns-1.0; image 516 magick/paint.c gradient->gradient_vector.x1=(double) image->columns-1.0; image 519 magick/paint.c gradient->gradient_vector.y2=(double) image->rows-1.0; image 527 magick/paint.c gradient->gradient_vector.y2=(double) image->columns-1.0; image 534 magick/paint.c gradient->gradient_vector.x2=(double) image->columns-1.0; image 535 magick/paint.c gradient->gradient_vector.y2=(double) image->rows-1.0; image 542 magick/paint.c artifact=GetImageArtifact(image,"gradient:angle"); image 545 magick/paint.c artifact=GetImageArtifact(image,"gradient:vector"); image 550 magick/paint.c if ((GetImageArtifact(image,"gradient:angle") == (const char *) NULL) && image 551 magick/paint.c (GetImageArtifact(image,"gradient:direction") == (const char *) NULL) && image 552 magick/paint.c (GetImageArtifact(image,"gradient:extent") == (const char *) NULL) && image 553 magick/paint.c (GetImageArtifact(image,"gradient:vector") == (const char *) NULL)) image 558 magick/paint.c artifact=GetImageArtifact(image,"gradient:center"); image 562 magick/paint.c artifact=GetImageArtifact(image,"gradient:angle"); image 575 magick/paint.c distance=fabs((double) image->columns*cosine)+ image 576 magick/paint.c fabs((double) image->rows*sine); image 577 magick/paint.c gradient->gradient_vector.x1=0.5*(image->columns-distance*cosine); image 578 magick/paint.c gradient->gradient_vector.y1=0.5*(image->rows-distance*sine); image 579 magick/paint.c gradient->gradient_vector.x2=0.5*(image->columns+distance*cosine); image 580 magick/paint.c gradient->gradient_vector.y2=0.5*(image->rows+distance*sine); image 582 magick/paint.c gradient->radii.x=(double) MagickMax(image->columns,image->rows)/2.0; image 584 magick/paint.c artifact=GetImageArtifact(image,"gradient:extent"); image 589 magick/paint.c gradient->radii.x=(double) (MagickMax(image->columns,image->rows))/ image 595 magick/paint.c gradient->radii.x=(double) (sqrt((double) image->columns* image 596 magick/paint.c image->columns+image->rows*image->rows))/2.0; image 601 magick/paint.c gradient->radii.x=(double) image->columns/2.0; image 602 magick/paint.c gradient->radii.y=(double) image->rows/2.0; image 606 magick/paint.c gradient->radii.x=(double) MagickMax(image->columns,image->rows)/2.0; image 611 magick/paint.c gradient->radii.x=(double) MagickMin(image->columns,image->rows)/2.0; image 615 magick/paint.c artifact=GetImageArtifact(image,"gradient:radii"); image 629 magick/paint.c image->filename); image 633 magick/paint.c GetMagickPixelPacket(image,&gradient->stops[i].color); image 634 magick/paint.c SetMagickPixelPacket(image,start_color,(IndexPacket *) NULL, image 637 magick/paint.c SetMagickPixelPacket(image,stop_color,(IndexPacket *) NULL, image 643 magick/paint.c status=DrawGradientImage(image,draw_info); image 716 magick/paint.c MagickExport Image *OilPaintImage(const Image *image,const double radius, image 746 magick/paint.c assert(image != (const Image *) NULL); image 747 magick/paint.c assert(image->signature == MagickSignature); image 748 magick/paint.c if (image->debug != MagickFalse) image 749 magick/paint.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 753 magick/paint.c linear_image=CloneImage(image,0,0,MagickTrue,exception); image 754 magick/paint.c paint_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 866 magick/paint.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 874 magick/paint.c proceed=SetImageProgress(image,OilPaintImageTag,progress++,image->rows); image 931 magick/paint.c MagickExport MagickBooleanType OpaquePaintImage(Image *image, image 935 magick/paint.c return(OpaquePaintImageChannel(image,CompositeChannels,target,fill,invert)); image 938 magick/paint.c MagickExport MagickBooleanType OpaquePaintImageChannel(Image *image, image 964 magick/paint.c assert(image != (Image *) NULL); image 965 magick/paint.c assert(image->signature == MagickSignature); image 968 magick/paint.c if (image->debug != MagickFalse) image 969 magick/paint.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 970 magick/paint.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 972 magick/paint.c exception=(&image->exception); image 973 magick/paint.c ConformMagickPixelPacket(image,fill,&conform_fill,exception); image 974 magick/paint.c ConformMagickPixelPacket(image,target,&conform_target,exception); image 980 magick/paint.c GetMagickPixelPacket(image,&zero); image 981 magick/paint.c image_view=AcquireAuthenticCacheView(image,exception); image 986 magick/paint.c for (y=0; y < (ssize_t) image->rows; y++) image 1002 magick/paint.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1010 magick/paint.c for (x=0; x < (ssize_t) image->columns; x++) image 1012 magick/paint.c SetMagickPixelPacket(image,q,indexes+x,&pixel); image 1024 magick/paint.c (image->colorspace == CMYKColorspace)) image 1031 magick/paint.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1039 magick/paint.c proceed=SetImageProgress(image,OpaquePaintImageTag,progress++, image 1040 magick/paint.c image->rows); image 1086 magick/paint.c MagickExport MagickBooleanType TransparentPaintImage(Image *image, image 1110 magick/paint.c assert(image != (Image *) NULL); image 1111 magick/paint.c assert(image->signature == MagickSignature); image 1113 magick/paint.c if (image->debug != MagickFalse) image 1114 magick/paint.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1115 magick/paint.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1117 magick/paint.c if (image->matte == MagickFalse) image 1118 magick/paint.c (void) SetImageAlphaChannel(image,OpaqueAlphaChannel); image 1124 magick/paint.c exception=(&image->exception); image 1125 magick/paint.c GetMagickPixelPacket(image,&zero); image 1126 magick/paint.c image_view=AcquireAuthenticCacheView(image,exception); image 1131 magick/paint.c for (y=0; y < (ssize_t) image->rows; y++) image 1147 magick/paint.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1155 magick/paint.c for (x=0; x < (ssize_t) image->columns; x++) image 1157 magick/paint.c SetMagickPixelPacket(image,q,indexes+x,&pixel); image 1164 magick/paint.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1172 magick/paint.c proceed=SetImageProgress(image,TransparentPaintImageTag,progress++, image 1173 magick/paint.c image->rows); image 1222 magick/paint.c MagickExport MagickBooleanType TransparentPaintImageChroma(Image *image, image 1243 magick/paint.c assert(image != (Image *) NULL); image 1244 magick/paint.c assert(image->signature == MagickSignature); image 1247 magick/paint.c if (image->debug != MagickFalse) image 1248 magick/paint.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1249 magick/paint.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1251 magick/paint.c if (image->matte == MagickFalse) image 1252 magick/paint.c (void) SetImageAlphaChannel(image,ResetAlphaChannel); image 1258 magick/paint.c exception=(&image->exception); image 1259 magick/paint.c image_view=AcquireAuthenticCacheView(image,exception); image 1264 magick/paint.c for (y=0; y < (ssize_t) image->rows; y++) image 1283 magick/paint.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1290 magick/paint.c GetMagickPixelPacket(image,&pixel); image 1291 magick/paint.c for (x=0; x < (ssize_t) image->columns; x++) image 1293 magick/paint.c SetMagickPixelPacket(image,q,indexes+x,&pixel); image 1303 magick/paint.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1311 magick/paint.c proceed=SetImageProgress(image,TransparentPaintImageTag,progress++, image 1312 magick/paint.c image->rows); image 138 magick/pixel-accessor.h static inline MagickRealType GetPixelLuma(const Image *magick_restrict image, image 150 magick/pixel-accessor.h const Image *magick_restrict image,const PixelPacket *magick_restrict pixel) image 155 magick/pixel-accessor.h if (image->colorspace != sRGBColorspace) image 228 magick/pixel-accessor.h static inline void SetPixelViaMagickPixel(const Image *magick_restrict image, image 235 magick/pixel-accessor.h if (image->matte != MagickFalse) image 78 magick/pixel-private.h static inline void SetMagickPixelPacket(const Image *image, image 85 magick/pixel-private.h if ((image->colorspace == CMYKColorspace) && image 90 magick/pixel-private.h static inline void SetMagickPixelPacketBias(const Image *image, image 96 magick/pixel-private.h pixel->red=image->bias; image 97 magick/pixel-private.h pixel->green=image->bias; image 98 magick/pixel-private.h pixel->blue=image->bias; image 99 magick/pixel-private.h pixel->opacity=image->bias; image 100 magick/pixel-private.h pixel->index=image->bias; image 103 magick/pixel-private.h static inline void SetPixelPacket(const Image *image, image 110 magick/pixel-private.h if ((image->colorspace == CMYKColorspace) || image 111 magick/pixel-private.h (image->storage_class == PseudoClass)) image 138 magick/pixel.c MagickExport void ConformMagickPixelPacket(Image *image, image 142 magick/pixel.c assert(image != (Image *) NULL); image 143 magick/pixel.c assert(image->signature == MagickSignature); image 149 magick/pixel.c if (image->colorspace == CMYKColorspace) image 157 magick/pixel.c if (IssRGBCompatibleColorspace(image->colorspace)) image 161 magick/pixel.c if ((IsGrayColorspace(image->colorspace) != MagickFalse) && image 166 magick/pixel.c if ((IsGrayColorspace(image->colorspace) != MagickFalse) && image 168 magick/pixel.c (void) TransformImageColorspace(image,sRGBColorspace); image 170 magick/pixel.c if ((destination->matte != MagickFalse) && (image->matte == MagickFalse)) image 171 magick/pixel.c (void) SetImageOpacity(image,OpaqueOpacity); image 414 magick/pixel.c static void ExportCharPixel(Image *image,const RectangleInfo *roi, image 441 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 458 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 476 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 494 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 499 magick/pixel.c *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelIntensity(image,p))); image 509 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 526 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 544 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 561 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 564 magick/pixel.c indexes=GetVirtualIndexQueue(image); image 605 magick/pixel.c if (image->colorspace == CMYKColorspace) image 611 magick/pixel.c *q=ScaleQuantumToChar(ClampToQuantum(GetPixelIntensity(image,p))); image 624 magick/pixel.c static void ExportDoublePixel(Image *image,const RectangleInfo *roi, image 651 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 668 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 687 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 705 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 710 magick/pixel.c *q++=(double) (QuantumScale*GetPixelIntensity(image,p)); image 720 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 737 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 756 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 773 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 776 magick/pixel.c indexes=GetVirtualIndexQueue(image); image 818 magick/pixel.c if (image->colorspace == CMYKColorspace) image 824 magick/pixel.c *q=(double) (QuantumScale*GetPixelIntensity(image,p)); image 837 magick/pixel.c static void ExportFloatPixel(Image *image,const RectangleInfo *roi, image 864 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 881 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 899 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 917 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 922 magick/pixel.c *q++=(float) (QuantumScale*GetPixelIntensity(image,p)); image 932 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 949 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 967 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 984 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 987 magick/pixel.c indexes=GetVirtualIndexQueue(image); image 1028 magick/pixel.c if (image->colorspace == CMYKColorspace) image 1034 magick/pixel.c *q=(float) (QuantumScale*GetPixelIntensity(image,p)); image 1047 magick/pixel.c static void ExportIntegerPixel(Image *image,const RectangleInfo *roi, image 1074 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1091 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1110 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1128 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1134 magick/pixel.c GetPixelIntensity(image,p))); image 1144 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1161 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1179 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1196 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1199 magick/pixel.c indexes=GetVirtualIndexQueue(image); image 1241 magick/pixel.c if (image->colorspace == CMYKColorspace) image 1248 magick/pixel.c GetPixelIntensity(image,p))); image 1261 magick/pixel.c static void ExportLongPixel(Image *image,const RectangleInfo *roi, image 1288 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1305 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1323 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1341 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1346 magick/pixel.c *q++=ScaleQuantumToLong(ClampToQuantum(GetPixelIntensity(image,p))); image 1356 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1373 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1391 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1408 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1411 magick/pixel.c indexes=GetVirtualIndexQueue(image); image 1452 magick/pixel.c if (image->colorspace == CMYKColorspace) image 1458 magick/pixel.c *q=ScaleQuantumToLong(ClampToQuantum(GetPixelIntensity(image,p))); image 1471 magick/pixel.c static void ExportQuantumPixel(Image *image,const RectangleInfo *roi, image 1498 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1515 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1533 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1551 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1556 magick/pixel.c *q++=ClampToQuantum(GetPixelIntensity(image,p)); image 1566 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1583 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1601 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1618 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1621 magick/pixel.c indexes=GetVirtualIndexQueue(image); image 1662 magick/pixel.c if (image->colorspace == CMYKColorspace) image 1668 magick/pixel.c *q=(ClampToQuantum(GetPixelIntensity(image,p))); image 1684 magick/pixel.c static void ExportShortPixel(Image *image,const RectangleInfo *roi, image 1711 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1728 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1746 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1764 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1769 magick/pixel.c *q++=ScaleQuantumToShort(ClampToQuantum(GetPixelIntensity(image,p))); image 1779 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1796 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1814 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1831 magick/pixel.c p=GetVirtualPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 1834 magick/pixel.c indexes=GetVirtualIndexQueue(image); image 1875 magick/pixel.c if (image->colorspace == CMYKColorspace) image 1881 magick/pixel.c *q=ScaleQuantumToShort(ClampToQuantum(GetPixelIntensity(image,p))); image 1894 magick/pixel.c MagickExport MagickBooleanType ExportImagePixels(const Image *image, image 1910 magick/pixel.c assert(image != (Image *) NULL); image 1911 magick/pixel.c assert(image->signature == MagickSignature); image 1912 magick/pixel.c if (image->debug != MagickFalse) image 1913 magick/pixel.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1919 magick/pixel.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 1942 magick/pixel.c if (image->colorspace == CMYKColorspace) image 1965 magick/pixel.c if (image->colorspace == CMYKColorspace) image 1976 magick/pixel.c if (image->colorspace == CMYKColorspace) image 2005 magick/pixel.c if (image->colorspace == CMYKColorspace) image 2029 magick/pixel.c ExportCharPixel((Image *) image,&roi,map,quantum_map,pixels,exception); image 2034 magick/pixel.c ExportDoublePixel((Image *) image,&roi,map,quantum_map,pixels,exception); image 2039 magick/pixel.c ExportFloatPixel((Image *) image,&roi,map,quantum_map,pixels,exception); image 2044 magick/pixel.c ExportIntegerPixel((Image *) image,&roi,map,quantum_map,pixels,exception); image 2049 magick/pixel.c ExportLongPixel((Image *) image,&roi,map,quantum_map,pixels,exception); image 2054 magick/pixel.c ExportQuantumPixel((Image *) image,&roi,map,quantum_map,pixels,exception); image 2059 magick/pixel.c ExportShortPixel((Image *) image,&roi,map,quantum_map,pixels,exception); image 2111 magick/pixel.c MagickExport MagickRealType GetMagickPixelIntensity(const Image *image, image 2123 magick/pixel.c switch (image->intensity) image 2226 magick/pixel.c MagickExport void GetMagickPixelPacket(const Image *image, image 2239 magick/pixel.c if (image == (const Image *) NULL) image 2241 magick/pixel.c pixel->storage_class=image->storage_class; image 2242 magick/pixel.c pixel->colorspace=image->colorspace; image 2243 magick/pixel.c pixel->matte=image->matte; image 2244 magick/pixel.c pixel->depth=image->depth; image 2245 magick/pixel.c pixel->fuzz=image->fuzz; image 2285 magick/pixel.c MagickExport MagickRealType GetPixelIntensity(const Image *image, image 2297 magick/pixel.c switch (image->intensity) image 2323 magick/pixel.c if (image->colorspace == RGBColorspace) image 2334 magick/pixel.c if (image->colorspace == sRGBColorspace) image 2346 magick/pixel.c if (image->colorspace == RGBColorspace) image 2357 magick/pixel.c if (image->colorspace == sRGBColorspace) image 2429 magick/pixel.c static void ImportCharPixel(Image *image,const RectangleInfo *roi, image 2456 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2466 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2475 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2486 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2495 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2506 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2515 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2526 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2535 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2545 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2554 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2564 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2573 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2584 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2593 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2604 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2613 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2624 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2632 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2635 magick/pixel.c indexes=GetAuthenticIndexQueue(image); image 2692 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2697 magick/pixel.c static void ImportDoublePixel(Image *image,const RectangleInfo *roi, image 2724 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2737 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2746 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2762 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2771 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2785 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2794 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2805 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2814 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2827 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2836 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2851 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2860 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2873 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2881 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2884 magick/pixel.c indexes=GetAuthenticIndexQueue(image); image 2947 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 2952 magick/pixel.c static void ImportFloatPixel(Image *image,const RectangleInfo *roi, image 2979 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 2992 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3001 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3016 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3025 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3039 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3048 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3059 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3068 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3081 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3090 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3105 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3114 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3127 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3135 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3138 magick/pixel.c indexes=GetAuthenticIndexQueue(image); image 3197 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3202 magick/pixel.c static void ImportIntegerPixel(Image *image,const RectangleInfo *roi, image 3229 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3239 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3248 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3259 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3268 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3279 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3288 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3298 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3307 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3317 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3326 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3337 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3346 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3357 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3365 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3368 magick/pixel.c indexes=GetAuthenticIndexQueue(image); image 3425 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3430 magick/pixel.c static void ImportLongPixel(Image *image,const RectangleInfo *roi, image 3457 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3467 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3476 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3487 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3496 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3507 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3516 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3526 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3535 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3545 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3554 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3565 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3574 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3585 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3593 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3596 magick/pixel.c indexes=GetAuthenticIndexQueue(image); image 3653 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3658 magick/pixel.c static void ImportQuantumPixel(Image *image,const RectangleInfo *roi, image 3685 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3695 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3704 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3715 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3724 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3735 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3744 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3754 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3763 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3773 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3782 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3793 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3802 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3813 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3821 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3824 magick/pixel.c indexes=GetAuthenticIndexQueue(image); image 3881 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3886 magick/pixel.c static void ImportShortPixel(Image *image,const RectangleInfo *roi, image 3913 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3923 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3932 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3943 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3952 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3963 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3972 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 3982 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 3991 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 4001 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 4010 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 4021 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 4030 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 4041 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 4049 magick/pixel.c q=GetAuthenticPixels(image,roi->x,roi->y+y,roi->width,1,exception); image 4052 magick/pixel.c indexes=GetAuthenticIndexQueue(image); image 4109 magick/pixel.c if (SyncAuthenticPixels(image,exception) == MagickFalse) image 4114 magick/pixel.c MagickExport MagickBooleanType ImportImagePixels(Image *image,const ssize_t x, image 4136 magick/pixel.c assert(image != (Image *) NULL); image 4137 magick/pixel.c assert(image->signature == MagickSignature); image 4138 magick/pixel.c if (image->debug != MagickFalse) image 4139 magick/pixel.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4144 magick/pixel.c image->filename); image 4153 magick/pixel.c image->matte=MagickTrue; image 4166 magick/pixel.c (void) SetImageColorspace(image,CMYKColorspace); image 4179 magick/pixel.c (void) SetImageColorspace(image,CMYKColorspace); image 4186 magick/pixel.c (void) SetImageColorspace(image,GRAYColorspace); image 4193 magick/pixel.c (void) SetImageColorspace(image,CMYKColorspace); image 4200 magick/pixel.c image->matte=MagickTrue; image 4219 magick/pixel.c (void) SetImageColorspace(image,CMYKColorspace); image 4225 magick/pixel.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 4231 magick/pixel.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 4236 magick/pixel.c exception=(&image->exception); image 4245 magick/pixel.c ImportCharPixel(image,&roi,map,quantum_map,pixels,exception); image 4250 magick/pixel.c ImportDoublePixel(image,&roi,map,quantum_map,pixels,exception); image 4255 magick/pixel.c ImportFloatPixel(image,&roi,map,quantum_map,pixels,exception); image 4260 magick/pixel.c ImportIntegerPixel(image,&roi,map,quantum_map,pixels,exception); image 4265 magick/pixel.c ImportLongPixel(image,&roi,map,quantum_map,pixels,exception); image 4270 magick/pixel.c ImportQuantumPixel(image,&roi,map,quantum_map,pixels,exception); image 4275 magick/pixel.c ImportShortPixel(image,&roi,map,quantum_map,pixels,exception); image 4281 magick/pixel.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 4334 magick/pixel.c static inline void AlphaBlendMagickPixelPacket(const Image *image, image 4338 magick/pixel.c if (image->matte == MagickFalse) image 4346 magick/pixel.c if (((image->colorspace == CMYKColorspace) || image 4347 magick/pixel.c (image->storage_class == PseudoClass)) && image 4358 magick/pixel.c if (((image->colorspace == CMYKColorspace) || image 4359 magick/pixel.c (image->storage_class == PseudoClass)) && image 4421 magick/pixel.c MagickExport MagickBooleanType InterpolateMagickPixelPacket(const Image *image, image 4454 magick/pixel.c assert(image != (Image *) NULL); image 4455 magick/pixel.c assert(image->signature == MagickSignature); image 4462 magick/pixel.c interpolate=image->interpolate; image 4500 magick/pixel.c GetMagickPixelPacket(image,pixels); image 4503 magick/pixel.c AlphaBlendMagickPixelPacket(image,p+i,indexes+i,pixels,alpha); image 4525 magick/pixel.c SetMagickPixelPacket(image,&image->background_color,&index,pixel); image 4544 magick/pixel.c GetMagickPixelPacket(image,pixels+i); image 4545 magick/pixel.c AlphaBlendMagickPixelPacket(image,p+i,indexes+i,pixels+i,alpha+i); image 4562 magick/pixel.c if (image->colorspace == CMYKColorspace) image 4584 magick/pixel.c GetMagickPixelPacket(image,pixels+i); image 4585 magick/pixel.c AlphaBlendMagickPixelPacket(image,p+i,indexes+i,pixels+i,alpha+i); image 4649 magick/pixel.c GetMagickPixelPacket(image,pixels+i); image 4650 magick/pixel.c AlphaBlendMagickPixelPacket(image,p+i,indexes+i,pixels+i,alpha+i); image 4702 magick/pixel.c excerpt_image=ExcerptImage(image,&geometry,exception); image 4708 magick/pixel.c filter_image=ResizeImage(excerpt_image,1,1,image->filter,image->blur, image 4718 magick/pixel.c SetMagickPixelPacket(image,p,indexes,pixel); image 4733 magick/pixel.c SetMagickPixelPacket(image,p,indexes,pixel); image 4752 magick/pixel.c GetMagickPixelPacket(image,pixels+i); image 4753 magick/pixel.c AlphaBlendMagickPixelPacket(image,p+i,indexes+i,pixels+i,alpha+i); image 4778 magick/pixel.c if (image->colorspace == CMYKColorspace) image 4799 magick/pixel.c if (image->colorspace == CMYKColorspace) image 4825 magick/pixel.c if (image->colorspace == CMYKColorspace) image 4847 magick/pixel.c if (image->colorspace == CMYKColorspace) image 4867 magick/pixel.c SetMagickPixelPacket(image,p,indexes,pixel); image 4886 magick/pixel.c GetMagickPixelPacket(image,pixels+i); image 4887 magick/pixel.c AlphaBlendMagickPixelPacket(image,p+i,indexes+i,pixels+i,alpha+i); image 181 magick/pixel.h GetMagickPixelIntensity(const Image *image, image 183 magick/pixel.h GetPixelIntensity(const Image *image,const PixelPacket *magick_restrict) image 83 magick/prepress.c MagickExport double GetImageTotalInkDensity(Image *image) image 100 magick/prepress.c assert(image != (Image *) NULL); image 101 magick/prepress.c if (image->debug != MagickFalse) image 103 magick/prepress.c assert(image->signature == MagickSignature); image 104 magick/prepress.c if (image->colorspace != CMYKColorspace) image 106 magick/prepress.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 107 magick/prepress.c ImageError,"ColorSeparatedImageRequired","`%s'",image->filename); image 112 magick/prepress.c exception=(&image->exception); image 113 magick/prepress.c image_view=AcquireVirtualCacheView(image,exception); image 118 magick/prepress.c for (y=0; y < (ssize_t) image->rows; y++) image 132 magick/prepress.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 139 magick/prepress.c for (x=0; x < (ssize_t) image->columns; x++) image 26 magick/prepress.h GetImageTotalInkDensity(Image *image); image 112 magick/profile.c MagickExport MagickBooleanType CloneImageProfiles(Image *image, image 115 magick/profile.c assert(image != (Image *) NULL); image 116 magick/profile.c assert(image->signature == MagickSignature); image 117 magick/profile.c if (image->debug != MagickFalse) image 118 magick/profile.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 121 magick/profile.c image->color_profile.length=clone_image->color_profile.length; image 122 magick/profile.c image->color_profile.info=clone_image->color_profile.info; image 123 magick/profile.c image->iptc_profile.length=clone_image->iptc_profile.length; image 124 magick/profile.c image->iptc_profile.info=clone_image->iptc_profile.info; image 127 magick/profile.c if (image->profiles != (void *) NULL) image 128 magick/profile.c DestroyImageProfiles(image); image 129 magick/profile.c image->profiles=CloneSplayTree((SplayTreeInfo *) clone_image->profiles, image 159 magick/profile.c MagickExport MagickBooleanType DeleteImageProfile(Image *image,const char *name) image 161 magick/profile.c assert(image != (Image *) NULL); image 162 magick/profile.c assert(image->signature == MagickSignature); image 163 magick/profile.c if (image->debug != MagickFalse) image 164 magick/profile.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 165 magick/profile.c if (image->profiles == (SplayTreeInfo *) NULL) image 172 magick/profile.c image->color_profile.length=0; image 173 magick/profile.c image->color_profile.info=(unsigned char *) NULL; image 180 magick/profile.c image->iptc_profile.length=0; image 181 magick/profile.c image->iptc_profile.info=(unsigned char *) NULL; image 183 magick/profile.c WriteTo8BimProfile(image,name,(StringInfo *) NULL); image 184 magick/profile.c return(DeleteNodeFromSplayTree((SplayTreeInfo *) image->profiles,name)); image 209 magick/profile.c MagickExport void DestroyImageProfiles(Image *image) image 211 magick/profile.c if (image->profiles != (SplayTreeInfo *) NULL) image 212 magick/profile.c image->profiles=DestroySplayTree((SplayTreeInfo *) image->profiles); image 239 magick/profile.c MagickExport const StringInfo *GetImageProfile(const Image *image, image 245 magick/profile.c assert(image != (Image *) NULL); image 246 magick/profile.c assert(image->signature == MagickSignature); image 247 magick/profile.c if (image->debug != MagickFalse) image 248 magick/profile.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 249 magick/profile.c if (image->profiles == (SplayTreeInfo *) NULL) image 252 magick/profile.c image->profiles,name); image 278 magick/profile.c MagickExport char *GetNextImageProfile(const Image *image) image 280 magick/profile.c assert(image != (Image *) NULL); image 281 magick/profile.c assert(image->signature == MagickSignature); image 282 magick/profile.c if (image->debug != MagickFalse) image 283 magick/profile.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 284 magick/profile.c if (image->profiles == (SplayTreeInfo *) NULL) image 286 magick/profile.c return((char *) GetNextKeyInSplayTree((SplayTreeInfo *) image->profiles)); image 386 magick/profile.c static cmsHTRANSFORM *AcquireTransformThreadSet(Image *image, image 408 magick/profile.c transform[i]=cmsCreateTransformTHR((cmsContext) image,source_profile, image 422 magick/profile.c *image; image 426 magick/profile.c image=(Image *) context; image 427 magick/profile.c if (image != (Image *) NULL) image 428 magick/profile.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 429 magick/profile.c ImageWarning,"UnableToTransformColorspace","`%s'",image->filename); image 434 magick/profile.c static MagickBooleanType SetsRGBImageProfile(Image *image) image 715 magick/profile.c assert(image != (Image *) NULL); image 716 magick/profile.c assert(image->signature == MagickSignature); image 717 magick/profile.c if (GetImageProfile(image,"icc") != (const StringInfo *) NULL) image 721 magick/profile.c status=SetImageProfile(image,"icc",profile); image 726 magick/profile.c MagickExport MagickBooleanType ProfileImage(Image *image,const char *name, image 748 magick/profile.c assert(image != (Image *) NULL); image 749 magick/profile.c assert(image->signature == MagickSignature); image 750 magick/profile.c if (image->debug != MagickFalse) image 751 magick/profile.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 761 magick/profile.c ResetImageProfileIterator(image); image 762 magick/profile.c for (next=GetNextImageProfile(image); next != (const char *) NULL; ) image 766 magick/profile.c (void) DeleteImageProfile(image,next); image 767 magick/profile.c ResetImageProfileIterator(image); image 769 magick/profile.c next=GetNextImageProfile(image); image 780 magick/profile.c status=SetImageProfile(image,name,profile); image 786 magick/profile.c icc_profile=GetImageProfile(image,"icc"); image 793 magick/profile.c value=GetImageProperty(image,"exif:ColorSpace"); image 796 magick/profile.c (void) SetsRGBImageProfile(image); image 797 magick/profile.c value=GetImageProperty(image,"exif:InteroperabilityIndex"); image 799 magick/profile.c (void) SetsRGBImageProfile(image); image 805 magick/profile.c icc_profile=GetImageProfile(image,"icc"); image 814 magick/profile.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 816 magick/profile.c image->filename); image 826 magick/profile.c source_profile=cmsOpenProfileFromMemTHR((cmsContext) image, image 834 magick/profile.c status=SetImageProfile(image,name,profile); image 881 magick/profile.c exception=(&image->exception); image 886 magick/profile.c source_profile=cmsOpenProfileFromMemTHR((cmsContext) image, image 1019 magick/profile.c (SetImageGray(image,exception) == MagickFalse)) image 1023 magick/profile.c (image->colorspace != CMYKColorspace)) image 1027 magick/profile.c (image->colorspace != XYZColorspace)) image 1031 magick/profile.c (image->colorspace != YCbCrColorspace)) image 1039 magick/profile.c (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse)) image 1042 magick/profile.c switch (image->rendering_intent) image 1052 magick/profile.c if (image->black_point_compensation != MagickFalse) image 1055 magick/profile.c transform=AcquireTransformThreadSet(image,source_profile, image 1063 magick/profile.c source_pixels=AcquirePixelThreadSet(image->columns,source_channels); image 1064 magick/profile.c target_pixels=AcquirePixelThreadSet(image->columns,target_channels); image 1070 magick/profile.c "MemoryAllocationFailed",image->filename); image 1072 magick/profile.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1084 magick/profile.c (void) SetImageColorspace(image,target_colorspace); image 1087 magick/profile.c image_view=AcquireAuthenticCacheView(image,exception); image 1092 magick/profile.c for (y=0; y < (ssize_t) image->rows; y++) image 1114 magick/profile.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 1123 magick/profile.c for (x=0; x < (ssize_t) image->columns; x++) image 1136 magick/profile.c (unsigned int) image->columns); image 1138 magick/profile.c q-=image->columns; image 1139 magick/profile.c for (x=0; x < (ssize_t) image->columns; x++) image 1162 magick/profile.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1170 magick/profile.c proceed=SetImageProgress(image,ProfileImageTag,progress++, image 1171 magick/profile.c image->rows); image 1177 magick/profile.c (void) SetImageColorspace(image,target_colorspace); image 1182 magick/profile.c image->type=image->matte == MagickFalse ? TrueColorType : image 1188 magick/profile.c image->type=image->matte == MagickFalse ? ColorSeparationType : image 1194 magick/profile.c image->type=image->matte == MagickFalse ? GrayscaleType : image 1205 magick/profile.c status=SetImageProfile(image,name,profile); image 1242 magick/profile.c MagickExport StringInfo *RemoveImageProfile(Image *image,const char *name) image 1247 magick/profile.c assert(image != (Image *) NULL); image 1248 magick/profile.c assert(image->signature == MagickSignature); image 1249 magick/profile.c if (image->debug != MagickFalse) image 1250 magick/profile.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1251 magick/profile.c if (image->profiles == (SplayTreeInfo *) NULL) image 1258 magick/profile.c image->color_profile.length=0; image 1259 magick/profile.c image->color_profile.info=(unsigned char *) NULL; image 1266 magick/profile.c image->iptc_profile.length=0; image 1267 magick/profile.c image->iptc_profile.info=(unsigned char *) NULL; image 1269 magick/profile.c WriteTo8BimProfile(image,name,(StringInfo *) NULL); image 1271 magick/profile.c image->profiles,name); image 1299 magick/profile.c MagickExport void ResetImageProfileIterator(const Image *image) image 1301 magick/profile.c assert(image != (Image *) NULL); image 1302 magick/profile.c assert(image->signature == MagickSignature); image 1303 magick/profile.c if (image->debug != MagickFalse) image 1304 magick/profile.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1305 magick/profile.c if (image->profiles == (SplayTreeInfo *) NULL) image 1307 magick/profile.c ResetSplayTreeIterator((SplayTreeInfo *) image->profiles); image 1384 magick/profile.c static void WriteTo8BimProfile(Image *image,const char *name, image 1425 magick/profile.c image->profiles,"8bim"); image 1486 magick/profile.c (void) AddValueToSplayTree((SplayTreeInfo *) image->profiles, image 1494 magick/profile.c static void GetProfilesFromResourceBlock(Image *image, image 1554 magick/profile.c image->x_resolution=((double) resolution)/65536.0; image 1557 magick/profile.c image->y_resolution=((double) resolution)/65536.0; image 1562 magick/profile.c image->units=PixelsPerInchResolution; image 1565 magick/profile.c image->units=PixelsPerCentimeterResolution; image 1566 magick/profile.c image->x_resolution/=2.54; image 1567 magick/profile.c image->y_resolution/=2.54; image 1578 magick/profile.c (void) SetImageProfileInternal(image,"iptc",profile,MagickTrue); image 1598 magick/profile.c (void) SetImageProfileInternal(image,"icc",profile,MagickTrue); image 1610 magick/profile.c (void) SetImageProfileInternal(image,"exif",profile,MagickTrue); image 1622 magick/profile.c (void) SetImageProfileInternal(image,"xmp",profile,MagickTrue); image 1638 magick/profile.c static MagickBooleanType SetImageProfileInternal(Image *image,const char *name, image 1648 magick/profile.c assert(image != (Image *) NULL); image 1649 magick/profile.c assert(image->signature == MagickSignature); image 1650 magick/profile.c if (image->debug != MagickFalse) image 1651 magick/profile.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1652 magick/profile.c if (image->profiles == (SplayTreeInfo *) NULL) image 1653 magick/profile.c image->profiles=NewSplayTree(CompareSplayTreeString,RelinquishMagickMemory, image 1657 magick/profile.c status=AddValueToSplayTree((SplayTreeInfo *) image->profiles, image 1668 magick/profile.c icc_profile=GetImageProfile(image,name); image 1671 magick/profile.c image->color_profile.length=GetStringInfoLength(icc_profile); image 1672 magick/profile.c image->color_profile.info=GetStringInfoDatum(icc_profile); image 1684 magick/profile.c iptc_profile=GetImageProfile(image,name); image 1687 magick/profile.c image->iptc_profile.length=GetStringInfoLength(iptc_profile); image 1688 magick/profile.c image->iptc_profile.info=GetStringInfoDatum(iptc_profile); image 1694 magick/profile.c GetProfilesFromResourceBlock(image,profile); image 1696 magick/profile.c WriteTo8BimProfile(image,name,profile); image 1702 magick/profile.c (void) GetImageProperty(image,property); image 1706 magick/profile.c MagickExport MagickBooleanType SetImageProfile(Image *image,const char *name, image 1709 magick/profile.c return(SetImageProfileInternal(image,name,profile,MagickFalse)); image 1848 magick/profile.c static MagickBooleanType Sync8BimProfile(Image *image,StringInfo *profile) image 1888 magick/profile.c if (image->units == PixelsPerCentimeterResolution) image 1889 magick/profile.c WriteProfileLong(MSBEndian, (unsigned int) (image->x_resolution*2.54* image 1892 magick/profile.c WriteProfileLong(MSBEndian, (unsigned int) (image->x_resolution* image 1894 magick/profile.c WriteProfileShort(MSBEndian,(unsigned short) image->units,p+4); image 1895 magick/profile.c if (image->units == PixelsPerCentimeterResolution) image 1896 magick/profile.c WriteProfileLong(MSBEndian, (unsigned int) (image->y_resolution*2.54* image 1899 magick/profile.c WriteProfileLong(MSBEndian, (unsigned int) (image->y_resolution* image 1901 magick/profile.c WriteProfileShort(MSBEndian,(unsigned short) image->units,p+12); image 1909 magick/profile.c static MagickBooleanType SyncExifProfile(Image *image, StringInfo *profile) image 2064 magick/profile.c (void) WriteProfileLong(endian,(size_t) (image->x_resolution+0.5),p); image 2070 magick/profile.c (void) WriteProfileLong(endian,(size_t) (image->y_resolution+0.5),p); image 2078 magick/profile.c (void) WriteProfileLong(endian,(size_t) image->orientation,p); image 2081 magick/profile.c (void) WriteProfileShort(endian,(unsigned short) image->orientation, image 2089 magick/profile.c (void) WriteProfileLong(endian,(size_t) (image->units+1),p); image 2092 magick/profile.c (void) WriteProfileShort(endian,(unsigned short) (image->units+1),p); image 2133 magick/profile.c MagickExport MagickBooleanType SyncImageProfiles(Image *image) image 2142 magick/profile.c profile=(StringInfo *) GetImageProfile(image,"8BIM"); image 2144 magick/profile.c if (Sync8BimProfile(image,profile) == MagickFalse) image 2146 magick/profile.c profile=(StringInfo *) GetImageProfile(image,"EXIF"); image 2148 magick/profile.c if (SyncExifProfile(image,profile) == MagickFalse) image 129 magick/property.c MagickExport MagickBooleanType CloneImageProperties(Image *image, image 132 magick/property.c assert(image != (Image *) NULL); image 133 magick/property.c assert(image->signature == MagickSignature); image 134 magick/property.c if (image->debug != MagickFalse) image 135 magick/property.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 141 magick/property.c (void) CopyMagickString(image->filename,clone_image->filename,MaxTextExtent); image 142 magick/property.c (void) CopyMagickString(image->magick_filename,clone_image->magick_filename, image 144 magick/property.c image->compression=clone_image->compression; image 145 magick/property.c image->quality=clone_image->quality; image 146 magick/property.c image->depth=clone_image->depth; image 147 magick/property.c image->background_color=clone_image->background_color; image 148 magick/property.c image->border_color=clone_image->border_color; image 149 magick/property.c image->matte_color=clone_image->matte_color; image 150 magick/property.c image->transparent_color=clone_image->transparent_color; image 151 magick/property.c image->gamma=clone_image->gamma; image 152 magick/property.c image->chromaticity=clone_image->chromaticity; image 153 magick/property.c image->rendering_intent=clone_image->rendering_intent; image 154 magick/property.c image->black_point_compensation=clone_image->black_point_compensation; image 155 magick/property.c image->units=clone_image->units; image 156 magick/property.c image->montage=(char *) NULL; image 157 magick/property.c image->directory=(char *) NULL; image 158 magick/property.c (void) CloneString(&image->geometry,clone_image->geometry); image 159 magick/property.c image->offset=clone_image->offset; image 160 magick/property.c image->x_resolution=clone_image->x_resolution; image 161 magick/property.c image->y_resolution=clone_image->y_resolution; image 162 magick/property.c image->page=clone_image->page; image 163 magick/property.c image->tile_offset=clone_image->tile_offset; image 164 magick/property.c image->extract_info=clone_image->extract_info; image 165 magick/property.c image->bias=clone_image->bias; image 166 magick/property.c image->filter=clone_image->filter; image 167 magick/property.c image->blur=clone_image->blur; image 168 magick/property.c image->fuzz=clone_image->fuzz; image 169 magick/property.c image->intensity=clone_image->intensity; image 170 magick/property.c image->interlace=clone_image->interlace; image 171 magick/property.c image->interpolate=clone_image->interpolate; image 172 magick/property.c image->endian=clone_image->endian; image 173 magick/property.c image->gravity=clone_image->gravity; image 174 magick/property.c image->compose=clone_image->compose; image 175 magick/property.c image->orientation=clone_image->orientation; image 176 magick/property.c image->scene=clone_image->scene; image 177 magick/property.c image->dispose=clone_image->dispose; image 178 magick/property.c image->delay=clone_image->delay; image 179 magick/property.c image->ticks_per_second=clone_image->ticks_per_second; image 180 magick/property.c image->iterations=clone_image->iterations; image 181 magick/property.c image->total_colors=clone_image->total_colors; image 182 magick/property.c image->taint=clone_image->taint; image 183 magick/property.c image->progress_monitor=clone_image->progress_monitor; image 184 magick/property.c image->client_data=clone_image->client_data; image 185 magick/property.c image->start_loop=clone_image->start_loop; image 186 magick/property.c image->error=clone_image->error; image 187 magick/property.c image->signature=clone_image->signature; image 190 magick/property.c if (image->properties != (void *) NULL) image 191 magick/property.c DestroyImageProperties(image); image 192 magick/property.c image->properties=CloneSplayTree((SplayTreeInfo *) clone_image->properties, image 223 magick/property.c MagickExport MagickBooleanType DefineImageProperty(Image *image, image 233 magick/property.c assert(image != (Image *) NULL); image 243 magick/property.c return(SetImageProperty(image,key,value)); image 270 magick/property.c MagickExport MagickBooleanType DeleteImageProperty(Image *image, image 273 magick/property.c assert(image != (Image *) NULL); image 274 magick/property.c assert(image->signature == MagickSignature); image 275 magick/property.c if (image->debug != MagickFalse) image 277 magick/property.c image->filename); image 278 magick/property.c if (image->properties == (void *) NULL) image 280 magick/property.c return(DeleteNodeFromSplayTree((SplayTreeInfo *) image->properties,property)); image 306 magick/property.c MagickExport void DestroyImageProperties(Image *image) image 308 magick/property.c assert(image != (Image *) NULL); image 309 magick/property.c assert(image->signature == MagickSignature); image 310 magick/property.c if (image->debug != MagickFalse) image 312 magick/property.c image->filename); image 313 magick/property.c if (image->properties != (void *) NULL) image 314 magick/property.c image->properties=(void *) DestroySplayTree((SplayTreeInfo *) image 315 magick/property.c image->properties); image 347 magick/property.c MagickExport MagickBooleanType FormatImageProperty(Image *image, image 363 magick/property.c return(SetImageProperty(image,property,value)); image 397 magick/property.c static MagickBooleanType GetIPTCProperty(const Image *image,const char *key) image 417 magick/property.c profile=GetImageProfile(image,"iptc"); image 419 magick/property.c profile=GetImageProfile(image,"8bim"); image 457 magick/property.c (void) SetImageProperty((Image *) image,key,(const char *) attribute); image 531 magick/property.c static MagickBooleanType Get8BIMProperty(const Image *image,const char *key) image 566 magick/property.c profile=GetImageProfile(image,"8bim"); image 653 magick/property.c (void) SetImageProperty((Image *) image,key,(const char *) image 662 magick/property.c image->columns,image->rows); image 665 magick/property.c image->columns,image->rows); image 666 magick/property.c (void) SetImageProperty((Image *) image,key,(const char *) path); image 711 magick/property.c static MagickBooleanType GetEXIFProperty(const Image *image, image 1124 magick/property.c profile=GetImageProfile(image,"exif"); image 1467 magick/property.c if (image->properties != (void *) NULL) image 1469 magick/property.c image->properties,key); image 1471 magick/property.c (void) SetImageProperty((Image *) image,key,value); image 1521 magick/property.c static MagickBooleanType GetICCProperty(const Image *image,const char *property) image 1528 magick/property.c profile=GetImageProfile(image,"icc"); image 1530 magick/property.c profile=GetImageProfile(image,"icm"); image 1550 magick/property.c (void) SetImageProperty((Image *) image,"icc:name",name); image 1557 magick/property.c (void) SetImageProperty((Image *) image,"icc:description",info); image 1560 magick/property.c (void) SetImageProperty((Image *) image,"icc:manufacturer",info); image 1563 magick/property.c (void) SetImageProperty((Image *) image,"icc:model",info); image 1566 magick/property.c (void) SetImageProperty((Image *) image,"icc:copyright",info); image 1588 magick/property.c static MagickBooleanType GetXMPProperty(const Image *image,const char *property) image 1615 magick/property.c profile=GetImageProfile(image,"xmp"); image 1636 magick/property.c if (image->properties == (void *) NULL) image 1637 magick/property.c ((Image *) image)->properties=NewSplayTree(CompareSplayTreeString, image 1649 magick/property.c (void) AddValueToSplayTree((SplayTreeInfo *) image->properties, image 1655 magick/property.c (void) AddValueToSplayTree((SplayTreeInfo *) image->properties, image 2048 magick/property.c MagickExport const char *GetImageProperty(const Image *image, image 2066 magick/property.c assert(image != (Image *) NULL); image 2067 magick/property.c assert(image->signature == MagickSignature); image 2068 magick/property.c if (image->debug != MagickFalse) image 2069 magick/property.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2071 magick/property.c if (image->properties != (void *) NULL) image 2075 magick/property.c ResetSplayTreeIterator((SplayTreeInfo *) image->properties); image 2077 magick/property.c image->properties); image 2083 magick/property.c image->properties,property); image 2091 magick/property.c exception=(&((Image *) image)->exception); image 2098 magick/property.c (void) Get8BIMProperty(image,property); image 2108 magick/property.c (void) GetEXIFProperty(image,property); image 2118 magick/property.c fx_info=AcquireFxInfo(image,property+3); image 2129 magick/property.c (void) SetImageProperty((Image *) image,property,value); image 2141 magick/property.c (void) GetICCProperty(image,property); image 2146 magick/property.c (void) GetIPTCProperty(image,property); image 2159 magick/property.c GetMagickPixelPacket(image,&pixel); image 2160 magick/property.c fx_info=AcquireFxInfo(image,property+6); image 2173 magick/property.c if (image->colorspace == CMYKColorspace) image 2185 magick/property.c (void) QueryMagickColorname(image,&pixel,SVGCompliance,name, image 2187 magick/property.c (void) SetImageProperty((Image *) image,property,name); image 2198 magick/property.c (void) GetXMPProperty(image,property); image 2206 magick/property.c if (image->properties != (void *) NULL) image 2209 magick/property.c image->properties,property); image 2301 magick/property.c Image *image,const char letter) image 2309 magick/property.c assert(image != (Image *) NULL); image 2310 magick/property.c assert(image->signature == MagickSignature); image 2311 magick/property.c if (image->debug != MagickFalse) image 2312 magick/property.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2322 magick/property.c (void) FormatMagickSize(image->extent,MagickFalse,value); image 2330 magick/property.c string=GetImageProperty(image,"comment"); image 2340 magick/property.c GetPathComponent(image->magick_filename,HeadPath,value); image 2348 magick/property.c GetPathComponent(image->magick_filename,ExtensionPath,value); image 2356 magick/property.c GetPathComponent(image->magick_filename,TailPath,value); image 2365 magick/property.c (double) image->page.width,(double) image->page.height, image 2366 magick/property.c (double) image->page.x,(double) image->page.y); image 2375 magick/property.c (image->rows != 0 ? image->rows : image->magick_rows)); image 2383 magick/property.c string=image->filename; image 2392 magick/property.c GetNumberColors(image,(FILE *) NULL,&image->exception)); image 2400 magick/property.c string=GetImageProperty(image,"label"); image 2410 magick/property.c string=image->magick; image 2419 magick/property.c GetImageListLength(image)); image 2436 magick/property.c GetImageIndexInList(image)); image 2456 magick/property.c colorspace=image->colorspace; image 2457 magick/property.c if (SetImageGray(image,&image->exception) != MagickFalse) image 2461 magick/property.c image->storage_class),CommandOptionToMnemonic(MagickColorspaceOptions, image 2462 magick/property.c (ssize_t) colorspace),image->matte != MagickFalse ? "Matte" : "" ); image 2475 magick/property.c image->scene); image 2483 magick/property.c GetPathComponent(image->magick_filename,BasePath,value); image 2500 magick/property.c (image->columns != 0 ? image->columns : image->magick_columns)); image 2509 magick/property.c fabs(image->x_resolution) > MagickEpsilon ? image->x_resolution : 72.0); image 2518 magick/property.c fabs(image->y_resolution) > MagickEpsilon ? image->y_resolution : 72.0); image 2527 magick/property.c image->depth); image 2536 magick/property.c CommandOptionToMnemonic(MagickBooleanOptions,(ssize_t) image->matte)); image 2546 magick/property.c image->compression)); image 2555 magick/property.c CommandOptionToMnemonic(MagickDisposeOptions,(ssize_t) image->dispose)); image 2564 magick/property.c image->magick_columns,(double) image->magick_rows); image 2573 magick/property.c image->page.height); image 2581 magick/property.c string=image->magick_filename; image 2590 magick/property.c image->page.x,(long) image->page.y); image 2599 magick/property.c image->page.width,(double) image->page.height); image 2608 magick/property.c (image->quality == 0 ? 92 : image->quality)); image 2629 magick/property.c image->delay); image 2639 magick/property.c image->units)); image 2648 magick/property.c image->page.width); image 2657 magick/property.c image->page.x); image 2666 magick/property.c image->page.y); image 2685 magick/property.c page=GetImageBoundingBox(image,&image->exception); image 2696 magick/property.c (void) SignatureImage(image); image 2697 magick/property.c string=GetImageProperty(image,"signature"); image 2713 magick/property.c (void) SetImageArtifact(image,"get-property",string); image 2714 magick/property.c return(GetImageArtifact(image,"get-property")); image 2720 magick/property.c Image *image,const char *property) image 2730 magick/property.c return(GetMagickPropertyLetter(image_info,image,*property)); image 2740 magick/property.c GetPathComponent(image->magick_filename,BasePath,value); image 2746 magick/property.c GetImageDepth(image, &image->exception)); image 2760 magick/property.c image->colorspace)); image 2762 magick/property.c if (image->matte != MagickFalse) image 2772 magick/property.c image->colorspace); image 2787 magick/property.c image->depth); image 2792 magick/property.c GetPathComponent(image->magick_filename,HeadPath,value); image 2804 magick/property.c (void) GetImageChannelEntropy(image,image_info->channel,&entropy, image 2805 magick/property.c &image->exception); image 2812 magick/property.c GetPathComponent(image->magick_filename,ExtensionPath,value); image 2822 magick/property.c GetMagickPrecision(),image->gamma); image 2839 magick/property.c image->magick_rows != 0 ? (double) image->magick_rows : 256.0); image 2848 magick/property.c string=image->filename; image 2861 magick/property.c (void) GetImageChannelKurtosis(image,image_info->channel,&kurtosis, image 2862 magick/property.c &skewness,&image->exception); image 2873 magick/property.c string=image->magick; image 2883 magick/property.c (void) GetImageChannelRange(image,image_info->channel,&minimum, image 2884 magick/property.c &maximum,&image->exception); image 2895 magick/property.c (void) GetImageChannelMean(image,image_info->channel,&mean, image 2896 magick/property.c &standard_deviation,&image->exception); image 2908 magick/property.c (void) GetImageChannelRange(image,image_info->channel,&minimum, image 2909 magick/property.c &maximum,&image->exception); image 2923 magick/property.c opaque=IsOpaqueImage(image,&image->exception); image 2931 magick/property.c image->orientation); image 2947 magick/property.c GetImageIndexInList(image)+1); image 2964 magick/property.c profile=GetImageProfile(image,property+8); image 2987 magick/property.c ResetImageProfileIterator(image); image 2988 magick/property.c name=GetNextImageProfile(image); image 2992 magick/property.c name=GetNextImageProfile(image); image 2997 magick/property.c name=GetNextImageProfile(image); image 3009 magick/property.c image->x_resolution); image 3015 magick/property.c image->y_resolution); image 3030 magick/property.c image->scene); image 3036 magick/property.c GetImageListLength(image)); image 3041 magick/property.c (void) FormatMagickSize(GetBlobSize(image),MagickFalse,value); image 3050 magick/property.c (void) GetImageChannelKurtosis(image,image_info->channel,&kurtosis, image 3051 magick/property.c &skewness,&image->exception); image 3063 magick/property.c (void) GetImageChannelMean(image,image_info->channel,&mean, image 3064 magick/property.c &standard_deviation,&image->exception); image 3076 magick/property.c IdentifyImageType(image,&image->exception)); image 3095 magick/property.c image->units); image 3114 magick/property.c (image->magick_columns != 0 ? image->magick_columns : 256)); image 3125 magick/property.c image->x_resolution); image 3136 magick/property.c image->y_resolution); image 3156 magick/property.c (void) SetImageArtifact(image,"get-property", string); image 3157 magick/property.c return(GetImageArtifact(image,"get-property")); image 3184 magick/property.c MagickExport char *GetNextImageProperty(const Image *image) image 3186 magick/property.c assert(image != (Image *) NULL); image 3187 magick/property.c assert(image->signature == MagickSignature); image 3188 magick/property.c if (image->debug != MagickFalse) image 3190 magick/property.c image->filename); image 3191 magick/property.c if (image->properties == (void *) NULL) image 3193 magick/property.c return((char *) GetNextKeyInSplayTree((SplayTreeInfo *) image->properties)); image 3297 magick/property.c Image *image,const char *embed_text) image 3314 magick/property.c assert(image != (Image *) NULL); image 3315 magick/property.c assert(image->signature == MagickSignature); image 3316 magick/property.c if (image->debug != MagickFalse) image 3317 magick/property.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3329 magick/property.c interpret_text=FileToString(p+1,~0UL,&image->exception); image 3415 magick/property.c value=GetMagickPropertyLetter(image_info,image,*p); image 3420 magick/property.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 3446 magick/property.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 3475 magick/property.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 3513 magick/property.c ResetImageArtifactIterator(image); image 3514 magick/property.c while ((key=GetNextImageArtifact(image)) != (const char *) NULL) image 3517 magick/property.c value=GetImageArtifact(image,key); image 3524 magick/property.c value=GetImageArtifact(image,pattern+9); image 3534 magick/property.c value=GetImageProperty(image,pattern); image 3546 magick/property.c ResetImagePropertyIterator(image); image 3547 magick/property.c while ((key=GetNextImageProperty(image)) != (const char *) NULL) image 3550 magick/property.c value=GetImageProperty(image,key); image 3562 magick/property.c value=GetMagickProperty(image_info,image,pattern); image 3571 magick/property.c value=GetImageArtifact(image,pattern); image 3597 magick/property.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 3635 magick/property.c MagickExport char *RemoveImageProperty(Image *image, image 3641 magick/property.c assert(image != (Image *) NULL); image 3642 magick/property.c assert(image->signature == MagickSignature); image 3643 magick/property.c if (image->debug != MagickFalse) image 3645 magick/property.c image->filename); image 3646 magick/property.c if (image->properties == (void *) NULL) image 3648 magick/property.c value=(char *) RemoveNodeFromSplayTree((SplayTreeInfo *) image->properties, image 3677 magick/property.c MagickExport void ResetImagePropertyIterator(const Image *image) image 3679 magick/property.c assert(image != (Image *) NULL); image 3680 magick/property.c assert(image->signature == MagickSignature); image 3681 magick/property.c if (image->debug != MagickFalse) image 3683 magick/property.c image->filename); image 3684 magick/property.c if (image->properties == (void *) NULL) image 3686 magick/property.c ResetSplayTreeIterator((SplayTreeInfo *) image->properties); image 3717 magick/property.c MagickExport MagickBooleanType SetImageProperty(Image *image, image 3729 magick/property.c assert(image != (Image *) NULL); image 3730 magick/property.c assert(image->signature == MagickSignature); image 3731 magick/property.c if (image->debug != MagickFalse) image 3733 magick/property.c image->filename); image 3734 magick/property.c if (image->properties == (void *) NULL) image 3735 magick/property.c image->properties=NewSplayTree(CompareSplayTreeString, image 3738 magick/property.c return(DeleteImageProperty(image,property)); /* delete if NULL */ image 3747 magick/property.c exception=(&image->exception); image 3755 magick/property.c (void) QueryColorDatabase(value,&image->background_color,exception); image 3760 magick/property.c image->bias=StringToDoubleInterval(value,(double) QuantumRange+1.0); image 3763 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 3779 magick/property.c status=SetImageColorspace(image,(ColorspaceType) colorspace); image 3790 magick/property.c image->compose=(CompositeOperator) compose; image 3802 magick/property.c image->compression=(CompressionType) compression; image 3805 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 3820 magick/property.c if (image->delay > (size_t) floor(geometry_info.rho+0.5)) image 3821 magick/property.c image->delay=(size_t) floor(geometry_info.rho+0.5); image 3826 magick/property.c if (image->delay < (size_t) floor(geometry_info.rho+0.5)) image 3827 magick/property.c image->ticks_per_second=(ssize_t) image 3831 magick/property.c image->delay=(size_t) floor(geometry_info.rho+0.5); image 3833 magick/property.c image->ticks_per_second=(ssize_t) floor(geometry_info.sigma+0.5); image 3842 magick/property.c image->x_resolution=geometry_info.rho; image 3843 magick/property.c image->y_resolution=geometry_info.sigma; image 3845 magick/property.c image->y_resolution=image->x_resolution; image 3849 magick/property.c image->depth=StringToUnsignedLong(value); image 3860 magick/property.c image->dispose=(DisposeType) dispose; image 3863 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 3872 magick/property.c image->gamma=StringToDouble(value,(char **) NULL); image 3883 magick/property.c image->gravity=(GravityType) gravity; image 3886 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 3902 magick/property.c image->intensity=(PixelIntensityMethod) intensity; image 3914 magick/property.c image->rendering_intent=(RenderingIntent) rendering_intent; image 3926 magick/property.c image->interpolate=(InterpolatePixelMethod) interpolate; image 3929 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 3938 magick/property.c image->iterations=StringToUnsignedLong(value); image 3941 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 3954 magick/property.c flags=ParseAbsoluteGeometry(geometry,&image->page); image 3971 magick/property.c status=SetImageProfile(image,image_info->magick,profile); image 3975 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 3991 magick/property.c image->rendering_intent=(RenderingIntent) rendering_intent; image 3994 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 4007 magick/property.c flags=ParseAbsoluteGeometry(geometry,&image->tile_offset); image 4011 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 4026 magick/property.c image->units=(ResolutionType) units; image 4029 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 4035 magick/property.c status=AddValueToSplayTree((SplayTreeInfo *) image->properties, image 463 magick/quantize.c static inline MagickBooleanType IsSameColor(const Image *image, image 470 magick/quantize.c if ((image->matte != MagickFalse) && image 476 magick/quantize.c static MagickBooleanType AssignImageColors(Image *image,CubeInfo *cube_info) image 488 magick/quantize.c (void) TransformImageColorspace(image,cube_info->quantize_info->colorspace); image 490 magick/quantize.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 491 magick/quantize.c (void) TransformImageColorspace(image,sRGBColorspace); image 492 magick/quantize.c if (AcquireImageColormap(image,cube_info->colors) == MagickFalse) image 494 magick/quantize.c image->filename); image 495 magick/quantize.c image->colors=0; image 498 magick/quantize.c (void) DefineImageColormap(image,cube_info,cube_info->root); image 504 magick/quantize.c (void) DitherImage(image,cube_info); image 517 magick/quantize.c exception=(&image->exception); image 518 magick/quantize.c image_view=AcquireAuthenticCacheView(image,exception); image 523 magick/quantize.c for (y=0; y < (ssize_t) image->rows; y++) image 542 magick/quantize.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 551 magick/quantize.c for (x=0; x < (ssize_t) image->columns; x+=count) image 569 magick/quantize.c for (count=1; (x+count) < (ssize_t) image->columns; count++) image 570 magick/quantize.c if (IsSameColor(image,q,q+count) == MagickFalse) image 587 magick/quantize.c ClosestColor(image,&cube,node_info->parent); image 591 magick/quantize.c if (image->storage_class == PseudoClass) image 595 magick/quantize.c SetPixelRgb(q,image->colormap+index); image 597 magick/quantize.c SetPixelOpacity(q,image->colormap[index].opacity); image 604 magick/quantize.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 612 magick/quantize.c proceed=SetImageProgress(image,AssignImageTag,(MagickOffsetType) y, image 613 magick/quantize.c image->rows); image 621 magick/quantize.c (void) GetImageQuantizeError(image); image 632 magick/quantize.c if (GetPixelLuma(image,image->colormap+0) > image 633 magick/quantize.c GetPixelLuma(image,image->colormap+1)) image 635 magick/quantize.c image->colormap[0].red=intensity; image 636 magick/quantize.c image->colormap[0].green=intensity; image 637 magick/quantize.c image->colormap[0].blue=intensity; image 638 magick/quantize.c image->colormap[1].red=(double) QuantumRange-intensity; image 639 magick/quantize.c image->colormap[1].green=(double) QuantumRange-intensity; image 640 magick/quantize.c image->colormap[1].blue=(double) QuantumRange-intensity; image 642 magick/quantize.c (void) SyncImage(image); image 645 magick/quantize.c (void) TransformImageColorspace((Image *) image,sRGBColorspace); image 710 magick/quantize.c static inline void SetAssociatedAlpha(const Image *image,CubeInfo *cube_info) image 715 magick/quantize.c associate_alpha=image->matte; image 723 magick/quantize.c const Image *image,ExceptionInfo *exception) image 757 magick/quantize.c SetAssociatedAlpha(image,cube_info); image 760 magick/quantize.c (void) TransformImageColorspace((Image *) image, image 763 magick/quantize.c if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse) image 764 magick/quantize.c (void) TransformImageColorspace((Image *) image,sRGBColorspace); image 770 magick/quantize.c image_view=AcquireVirtualCacheView(image,exception); image 771 magick/quantize.c for (y=0; y < (ssize_t) image->rows; y++) image 779 magick/quantize.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 790 magick/quantize.c for (x=0; x < (ssize_t) image->columns; x+=(ssize_t) count) image 795 magick/quantize.c for (count=1; (x+(ssize_t) count) < (ssize_t) image->columns; count++) image 796 magick/quantize.c if (IsSameColor(image,p,p+count) == MagickFalse) image 824 magick/quantize.c image->filename); image 867 magick/quantize.c proceed=SetImageProgress(image,ClassifyImageTag,(MagickOffsetType) y, image 868 magick/quantize.c image->rows); image 872 magick/quantize.c for (y++; y < (ssize_t) image->rows; y++) image 880 magick/quantize.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 891 magick/quantize.c for (x=0; x < (ssize_t) image->columns; x+=(ssize_t) count) image 896 magick/quantize.c for (count=1; (x+(ssize_t) count) < (ssize_t) image->columns; count++) image 897 magick/quantize.c if (IsSameColor(image,p,p+count) == MagickFalse) image 925 magick/quantize.c image->filename); image 963 magick/quantize.c proceed=SetImageProgress(image,ClassifyImageTag,(MagickOffsetType) y, image 964 magick/quantize.c image->rows); image 971 magick/quantize.c (void) TransformImageColorspace((Image *) image,sRGBColorspace); image 972 magick/quantize.c return(y < (ssize_t) image->rows ? MagickFalse : MagickTrue); image 1050 magick/quantize.c static void ClosestColor(const Image *image,CubeInfo *cube_info, image 1065 magick/quantize.c ClosestColor(image,cube_info,node_info->child[i]); image 1085 magick/quantize.c p=image->colormap+node_info->color_number; image 1145 magick/quantize.c MagickExport MagickBooleanType CompressImageColormap(Image *image) image 1150 magick/quantize.c assert(image != (Image *) NULL); image 1151 magick/quantize.c assert(image->signature == MagickSignature); image 1152 magick/quantize.c if (image->debug != MagickFalse) image 1153 magick/quantize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1154 magick/quantize.c if (IsPaletteImage(image,&image->exception) == MagickFalse) image 1157 magick/quantize.c quantize_info.number_colors=image->colors; image 1159 magick/quantize.c return(QuantizeImage(&quantize_info,image)); image 1193 magick/quantize.c static size_t DefineImageColormap(Image *image,CubeInfo *cube_info, image 1208 magick/quantize.c (void) DefineImageColormap(image,cube_info,node_info->child[i]); image 1220 magick/quantize.c q=image->colormap+image->colors; image 1266 magick/quantize.c cube_info->transparent_index=(ssize_t) image->colors; image 1270 magick/quantize.c node_info->color_number=image->colors++; image 1272 magick/quantize.c return(image->colors); image 1440 magick/quantize.c static MagickBooleanType FloydSteinbergDither(Image *image,CubeInfo *cube_info) image 1462 magick/quantize.c pixels=AcquirePixelThreadSet(image->columns); image 1465 magick/quantize.c exception=(&image->exception); image 1467 magick/quantize.c image_view=AcquireAuthenticCacheView(image,exception); image 1468 magick/quantize.c for (y=0; y < (ssize_t) image->rows; y++) image 1497 magick/quantize.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1505 magick/quantize.c current=pixels[id]+(y & 0x01)*image->columns; image 1506 magick/quantize.c previous=pixels[id]+((y+1) & 0x01)*image->columns; image 1508 magick/quantize.c for (x=0; x < (ssize_t) image->columns; x++) image 1520 magick/quantize.c u=(y & 0x01) ? (ssize_t) image->columns-1-x : x; image 1532 magick/quantize.c if (x < (ssize_t) (image->columns-1)) image 1585 magick/quantize.c ClosestColor(image,&cube,node_info->parent); image 1592 magick/quantize.c if (image->storage_class == PseudoClass) image 1596 magick/quantize.c SetPixelRgb(q+u,image->colormap+index); image 1598 magick/quantize.c SetPixelOpacity(q+u,image->colormap[index].opacity); image 1605 magick/quantize.c AssociateAlphaPixel(&cube,image->colormap+index,&color); image 1611 magick/quantize.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1616 magick/quantize.c proceed=SetImageProgress(image,DitherImageTag,(MagickOffsetType) y, image 1617 magick/quantize.c image->rows); image 1631 magick/quantize.c static void Riemersma(Image *image,CacheView *image_view,CubeInfo *cube_info, image 1639 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,EastGravity); image 1640 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,SouthGravity); image 1641 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,WestGravity); image 1646 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,WestGravity); image 1647 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,NorthGravity); image 1648 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,EastGravity); image 1653 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,SouthGravity); image 1654 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,EastGravity); image 1655 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,NorthGravity); image 1660 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,NorthGravity); image 1661 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,WestGravity); image 1662 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,SouthGravity); image 1673 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,NorthGravity); image 1674 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,EastGravity); image 1675 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,WestGravity); image 1676 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,SouthGravity); image 1677 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,WestGravity); image 1678 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,WestGravity); image 1679 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,SouthGravity); image 1684 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,SouthGravity); image 1685 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,WestGravity); image 1686 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,EastGravity); image 1687 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,NorthGravity); image 1688 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,EastGravity); image 1689 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,EastGravity); image 1690 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,NorthGravity); image 1695 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,WestGravity); image 1696 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,SouthGravity); image 1697 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,NorthGravity); image 1698 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,EastGravity); image 1699 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,NorthGravity); image 1700 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,NorthGravity); image 1701 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,EastGravity); image 1706 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,EastGravity); image 1707 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,NorthGravity); image 1708 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,SouthGravity); image 1709 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,WestGravity); image 1710 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,SouthGravity); image 1711 magick/quantize.c (void) RiemersmaDither(image,image_view,cube_info,SouthGravity); image 1712 magick/quantize.c Riemersma(image,image_view,cube_info,level-1,WestGravity); image 1720 magick/quantize.c static MagickBooleanType RiemersmaDither(Image *image,CacheView *image_view, image 1739 magick/quantize.c if ((p->x >= 0) && (p->x < (ssize_t) image->columns) && image 1740 magick/quantize.c (p->y >= 0) && (p->y < (ssize_t) image->rows)) image 1757 magick/quantize.c exception=(&image->exception); image 1802 magick/quantize.c ClosestColor(image,p,node_info->parent); image 1809 magick/quantize.c if (image->storage_class == PseudoClass) image 1813 magick/quantize.c SetPixelRgb(q,image->colormap+index); image 1815 magick/quantize.c SetPixelOpacity(q,image->colormap[index].opacity); image 1824 magick/quantize.c AssociateAlphaPixel(cube_info,image->colormap+index,&color); image 1830 magick/quantize.c proceed=SetImageProgress(image,DitherImageTag,p->offset,p->span); image 1845 magick/quantize.c static MagickBooleanType DitherImage(Image *image,CubeInfo *cube_info) image 1860 magick/quantize.c return(FloydSteinbergDither(image,cube_info)); image 1868 magick/quantize.c i=MagickMax((ssize_t) image->columns,(ssize_t) image->rows); image 1871 magick/quantize.c if ((ssize_t) (1L << depth) < MagickMax((ssize_t) image->columns,(ssize_t) image->rows)) image 1874 magick/quantize.c cube_info->span=(MagickSizeType) image->columns*image->rows; image 1875 magick/quantize.c image_view=AcquireAuthenticCacheView(image,&image->exception); image 1877 magick/quantize.c Riemersma(image,image_view,cube_info,depth-1,NorthGravity); image 1878 magick/quantize.c status=RiemersmaDither(image,image_view,cube_info,ForgetGravity); image 2097 magick/quantize.c MagickExport MagickBooleanType GetImageQuantizeError(Image *image) image 2123 magick/quantize.c assert(image != (Image *) NULL); image 2124 magick/quantize.c assert(image->signature == MagickSignature); image 2125 magick/quantize.c if (image->debug != MagickFalse) image 2126 magick/quantize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2127 magick/quantize.c image->total_colors=GetNumberColors(image,(FILE *) NULL,&image->exception); image 2128 magick/quantize.c (void) ResetMagickMemory(&image->error,0,sizeof(image->error)); image 2129 magick/quantize.c if (image->storage_class == DirectClass) image 2133 magick/quantize.c area=3.0*image->columns*image->rows; image 2137 magick/quantize.c exception=(&image->exception); image 2138 magick/quantize.c image_view=AcquireVirtualCacheView(image,exception); image 2139 magick/quantize.c for (y=0; y < (ssize_t) image->rows; y++) image 2147 magick/quantize.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 2151 magick/quantize.c for (x=0; x < (ssize_t) image->columns; x++) image 2154 magick/quantize.c if (image->matte != MagickFalse) image 2158 magick/quantize.c image->colormap[index].opacity)); image 2161 magick/quantize.c image->colormap[index].red)); image 2167 magick/quantize.c image->colormap[index].green)); image 2173 magick/quantize.c image->colormap[index].blue)); image 2182 magick/quantize.c image->error.mean_error_per_pixel=(double) mean_error_per_pixel/area; image 2183 magick/quantize.c image->error.normalized_mean_error=(double) QuantumScale*QuantumScale* image 2185 magick/quantize.c image->error.normalized_maximum_error=(double) QuantumScale*maximum_error; image 2268 magick/quantize.c MagickExport MagickBooleanType PosterizeImage(Image *image,const size_t levels, image 2274 magick/quantize.c status=PosterizeImageChannel(image,DefaultChannels,levels,dither); image 2278 magick/quantize.c MagickExport MagickBooleanType PosterizeImageChannel(Image *image, image 2306 magick/quantize.c assert(image != (Image *) NULL); image 2307 magick/quantize.c assert(image->signature == MagickSignature); image 2308 magick/quantize.c if (image->debug != MagickFalse) image 2309 magick/quantize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2310 magick/quantize.c if (image->storage_class == PseudoClass) image 2315 magick/quantize.c for (i=0; i < (ssize_t) image->colors; i++) image 2321 magick/quantize.c image->colormap[i].red=PosterizePixel(image->colormap[i].red); image 2323 magick/quantize.c image->colormap[i].green=PosterizePixel(image->colormap[i].green); image 2325 magick/quantize.c image->colormap[i].blue=PosterizePixel(image->colormap[i].blue); image 2327 magick/quantize.c image->colormap[i].opacity=PosterizePixel(image->colormap[i].opacity); image 2334 magick/quantize.c exception=(&image->exception); image 2335 magick/quantize.c image_view=AcquireAuthenticCacheView(image,exception); image 2340 magick/quantize.c for (y=0; y < (ssize_t) image->rows; y++) image 2353 magick/quantize.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2360 magick/quantize.c for (x=0; x < (ssize_t) image->columns; x++) image 2369 magick/quantize.c (image->matte != MagickFalse)) image 2372 magick/quantize.c (image->colorspace == CMYKColorspace)) image 2378 magick/quantize.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2386 magick/quantize.c proceed=SetImageProgress(image,PosterizeImageTag,progress++, image 2387 magick/quantize.c image->rows); image 2398 magick/quantize.c status=QuantizeImage(quantize_info,image); image 2577 magick/quantize.c static MagickBooleanType DirectToColormapImage(Image *image, image 2596 magick/quantize.c number_colors=(size_t) (image->columns*image->rows); image 2597 magick/quantize.c if (AcquireImageColormap(image,number_colors) == MagickFalse) image 2599 magick/quantize.c image->filename); image 2600 magick/quantize.c if (image->colors != number_colors) image 2603 magick/quantize.c image_view=AcquireAuthenticCacheView(image,exception); image 2604 magick/quantize.c for (y=0; y < (ssize_t) image->rows; y++) image 2618 magick/quantize.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2622 magick/quantize.c for (x=0; x < (ssize_t) image->columns; x++) image 2624 magick/quantize.c image->colormap[i].red=GetPixelRed(q); image 2625 magick/quantize.c image->colormap[i].green=GetPixelGreen(q); image 2626 magick/quantize.c image->colormap[i].blue=GetPixelBlue(q); image 2627 magick/quantize.c image->colormap[i].opacity=GetPixelOpacity(q); image 2634 magick/quantize.c proceed=SetImageProgress(image,AssignImageTag,(MagickOffsetType) y, image 2635 magick/quantize.c image->rows); image 2644 magick/quantize.c Image *image) image 2658 magick/quantize.c assert(image != (Image *) NULL); image 2659 magick/quantize.c assert(image->signature == MagickSignature); image 2660 magick/quantize.c if (image->debug != MagickFalse) image 2661 magick/quantize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2667 magick/quantize.c if (image->matte == MagickFalse) image 2669 magick/quantize.c if ((image->columns*image->rows) <= maximum_colors) image 2670 magick/quantize.c (void) DirectToColormapImage(image,&image->exception); image 2671 magick/quantize.c if (SetImageGray(image,&image->exception) != MagickFalse) image 2672 magick/quantize.c (void) SetGrayscaleImage(image); image 2674 magick/quantize.c if ((image->storage_class == PseudoClass) && image 2675 magick/quantize.c (image->colors <= maximum_colors)) image 2679 magick/quantize.c (void) TransformImageColorspace(image,quantize_info->colorspace); image 2696 magick/quantize.c if ((image->matte != MagickFalse) && (depth > 5)) image 2698 magick/quantize.c if (SetImageGray(image,&image->exception) != MagickFalse) image 2707 magick/quantize.c image->filename); image 2708 magick/quantize.c status=ClassifyImageColors(cube_info,image,&image->exception); image 2716 magick/quantize.c ReduceImageColors(image,cube_info); image 2719 magick/quantize.c status=AssignImageColors(image,cube_info); image 2760 magick/quantize.c *image; image 2823 magick/quantize.c image=images; image 2824 magick/quantize.c for (i=0; image != (Image *) NULL; i++) image 2826 magick/quantize.c progress_monitor=SetImageProgressMonitor(image,(MagickProgressMonitor) NULL, image 2827 magick/quantize.c image->client_data); image 2828 magick/quantize.c status=ClassifyImageColors(cube_info,image,&image->exception); image 2831 magick/quantize.c (void) SetImageProgressMonitor(image,progress_monitor,image->client_data); image 2832 magick/quantize.c proceed=SetImageProgress(image,AssignImageTag,(MagickOffsetType) i, image 2836 magick/quantize.c image=GetNextImageInList(image); image 2844 magick/quantize.c image=images; image 2845 magick/quantize.c for (i=0; image != (Image *) NULL; i++) image 2847 magick/quantize.c progress_monitor=SetImageProgressMonitor(image,(MagickProgressMonitor) image 2848 magick/quantize.c NULL,image->client_data); image 2849 magick/quantize.c status=AssignImageColors(image,cube_info); image 2852 magick/quantize.c (void) SetImageProgressMonitor(image,progress_monitor, image 2853 magick/quantize.c image->client_data); image 2854 magick/quantize.c proceed=SetImageProgress(image,AssignImageTag,(MagickOffsetType) i, image 2858 magick/quantize.c image=GetNextImageInList(image); image 3045 magick/quantize.c static void ReduceImageColors(const Image *image,CubeInfo *cube_info) image 3089 magick/quantize.c proceed=SetImageProgress(image,ReduceImageTag,offset,span- image 3125 magick/quantize.c Image *image,const Image *remap_image) image 3136 magick/quantize.c assert(image != (Image *) NULL); image 3137 magick/quantize.c assert(image->signature == MagickSignature); image 3138 magick/quantize.c if (image->debug != MagickFalse) image 3139 magick/quantize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3146 magick/quantize.c image->filename); image 3147 magick/quantize.c status=ClassifyImageColors(cube_info,remap_image,&image->exception); image 3154 magick/quantize.c status=AssignImageColors(image,cube_info); image 3195 magick/quantize.c *image; image 3204 magick/quantize.c image=images; image 3220 magick/quantize.c image->filename); image 3221 magick/quantize.c status=ClassifyImageColors(cube_info,remap_image,&image->exception); image 3228 magick/quantize.c image=images; image 3229 magick/quantize.c for ( ; image != (Image *) NULL; image=GetNextImageInList(image)) image 3231 magick/quantize.c status=AssignImageColors(image,cube_info); image 3286 magick/quantize.c static MagickBooleanType SetGrayscaleImage(Image *image) image 3308 magick/quantize.c assert(image != (Image *) NULL); image 3309 magick/quantize.c assert(image->signature == MagickSignature); image 3310 magick/quantize.c if (image->type != GrayscaleType) image 3311 magick/quantize.c (void) TransformImageColorspace(image,GRAYColorspace); image 3316 magick/quantize.c image->filename); image 3317 magick/quantize.c if (image->storage_class != PseudoClass) image 3324 magick/quantize.c if (AcquireImageColormap(image,MaxColormapSize) == MagickFalse) image 3326 magick/quantize.c image->filename); image 3327 magick/quantize.c image->colors=0; image 3329 magick/quantize.c exception=(&image->exception); image 3330 magick/quantize.c image_view=AcquireAuthenticCacheView(image,exception); image 3335 magick/quantize.c for (y=0; y < (ssize_t) image->rows; y++) image 3348 magick/quantize.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 3356 magick/quantize.c for (x=0; x < (ssize_t) image->columns; x++) image 3369 magick/quantize.c colormap_index[intensity]=(ssize_t) image->colors; image 3370 magick/quantize.c image->colormap[image->colors].red=GetPixelRed(q); image 3371 magick/quantize.c image->colormap[image->colors].green=GetPixelGreen(q); image 3372 magick/quantize.c image->colormap[image->colors].blue=GetPixelBlue(q); image 3373 magick/quantize.c image->colors++; image 3384 magick/quantize.c for (i=0; i < (ssize_t) image->colors; i++) image 3385 magick/quantize.c image->colormap[i].opacity=(unsigned short) i; image 3386 magick/quantize.c qsort((void *) image->colormap,image->colors,sizeof(PixelPacket), image 3388 magick/quantize.c colormap=(PixelPacket *) AcquireQuantumMemory(image->colors, image 3392 magick/quantize.c image->filename); image 3394 magick/quantize.c colormap[j]=image->colormap[0]; image 3395 magick/quantize.c for (i=0; i < (ssize_t) image->colors; i++) image 3397 magick/quantize.c if (IsSameColor(image,&colormap[j],&image->colormap[i]) == MagickFalse) image 3400 magick/quantize.c colormap[j]=image->colormap[i]; image 3402 magick/quantize.c colormap_index[(ssize_t) image->colormap[i].opacity]=j; image 3404 magick/quantize.c image->colors=(size_t) (j+1); image 3405 magick/quantize.c image->colormap=(PixelPacket *) RelinquishMagickMemory(image->colormap); image 3406 magick/quantize.c image->colormap=colormap; image 3408 magick/quantize.c exception=(&image->exception); image 3409 magick/quantize.c image_view=AcquireAuthenticCacheView(image,exception); image 3414 magick/quantize.c for (y=0; y < (ssize_t) image->rows; y++) image 3427 magick/quantize.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 3434 magick/quantize.c for (x=0; x < (ssize_t) image->columns; x++) image 3442 magick/quantize.c image->type=GrayscaleType; image 3443 magick/quantize.c if (SetImageMonochrome(image,&image->exception) != MagickFalse) image 3444 magick/quantize.c image->type=BilevelType; image 1118 magick/quantum-export.c static void ExportBlackQuantum(const Image *image,QuantumInfo *quantum_info, image 1126 magick/quantum-export.c if (image->colorspace != CMYKColorspace) image 1129 magick/quantum-export.c "ColorSeparatedImageRequired","`%s'",image->filename); image 1451 magick/quantum-export.c static void ExportCMYKQuantum(const Image *image,QuantumInfo *quantum_info, image 1462 magick/quantum-export.c if (image->colorspace != CMYKColorspace) image 1465 magick/quantum-export.c "ColorSeparatedImageRequired","`%s'",image->filename); image 1598 magick/quantum-export.c static void ExportCMYKAQuantum(const Image *image,QuantumInfo *quantum_info, image 1609 magick/quantum-export.c if (image->colorspace != CMYKColorspace) image 1612 magick/quantum-export.c "ColorSeparatedImageRequired","`%s'",image->filename); image 1765 magick/quantum-export.c static void ExportCMYKOQuantum(const Image *image,QuantumInfo *quantum_info, image 1776 magick/quantum-export.c if (image->colorspace != CMYKColorspace) image 1779 magick/quantum-export.c "ColorSeparatedImageRequired","`%s'",image->filename); image 1932 magick/quantum-export.c static void ExportGrayQuantum(const Image *image,QuantumInfo *quantum_info, image 1967 magick/quantum-export.c *q|=(GetPixelLuma(image,p) < threshold ? black : white) << 7; image 1969 magick/quantum-export.c *q|=(GetPixelLuma(image,p) < threshold ? black : white) << 6; image 1971 magick/quantum-export.c *q|=(GetPixelLuma(image,p) < threshold ? black : white) << 5; image 1973 magick/quantum-export.c *q|=(GetPixelLuma(image,p) < threshold ? black : white) << 4; image 1975 magick/quantum-export.c *q|=(GetPixelLuma(image,p) < threshold ? black : white) << 3; image 1977 magick/quantum-export.c *q|=(GetPixelLuma(image,p) < threshold ? black : white) << 2; image 1979 magick/quantum-export.c *q|=(GetPixelLuma(image,p) < threshold ? black : white) << 1; image 1981 magick/quantum-export.c *q|=(GetPixelLuma(image,p) < threshold ? black : white) << 0; image 1990 magick/quantum-export.c *q|=(GetPixelLuma(image,p) < threshold ? black : white) << bit; image 2004 magick/quantum-export.c pixel=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); image 2007 magick/quantum-export.c pixel=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); image 2014 magick/quantum-export.c pixel=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); image 2028 magick/quantum-export.c pixel=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); image 2046 magick/quantum-export.c ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image,p+2)),range) << 22 | image 2047 magick/quantum-export.c ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image,p+1)),range) << 12 | image 2048 magick/quantum-export.c ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image,p+0)),range) << 2); image 2057 magick/quantum-export.c pixel|=ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image, image 2060 magick/quantum-export.c pixel|=ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image, image 2069 magick/quantum-export.c GetPixelLuma(image,p)),range),q); image 2085 magick/quantum-export.c pixel=ScaleQuantumToShort(ClampToQuantum(GetPixelLuma(image,p))); image 2095 magick/quantum-export.c GetPixelLuma(image,p)),range),q); image 2110 magick/quantum-export.c pixel=SinglePrecisionToHalf(QuantumScale*GetPixelLuma(image,p)); image 2119 magick/quantum-export.c pixel=ScaleQuantumToShort(ClampToQuantum(GetPixelLuma(image,p))); image 2138 magick/quantum-export.c pixel=(float) GetPixelLuma(image,p); image 2147 magick/quantum-export.c pixel=ScaleQuantumToLong(ClampToQuantum(GetPixelLuma(image,p))); image 2163 magick/quantum-export.c pixel=(double) GetPixelLuma(image,p); image 2177 magick/quantum-export.c ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image,p)),range),q); image 2186 magick/quantum-export.c static void ExportGrayAlphaQuantum(const Image *image,QuantumInfo *quantum_info, image 2222 magick/quantum-export.c *q|=(GetPixelLuma(image,p) > threshold ? black : white) << 7; image 2227 magick/quantum-export.c *q|=(GetPixelLuma(image,p) > threshold ? black : white) << 5; image 2232 magick/quantum-export.c *q|=(GetPixelLuma(image,p) > threshold ? black : white) << 3; image 2237 magick/quantum-export.c *q|=(GetPixelLuma(image,p) > threshold ? black : white) << 1; image 2249 magick/quantum-export.c *q|=(GetPixelLuma(image,p) > threshold ? black : white) << image 2267 magick/quantum-export.c pixel=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); image 2284 magick/quantum-export.c pixel=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); image 2302 magick/quantum-export.c pixel=SinglePrecisionToHalf(QuantumScale*GetPixelLuma(image,p)); image 2313 magick/quantum-export.c pixel=ScaleQuantumToShort(ClampToQuantum(GetPixelLuma(image,p))); image 2334 magick/quantum-export.c pixel=(float) GetPixelLuma(image,p); image 2345 magick/quantum-export.c pixel=ScaleQuantumToLong(ClampToQuantum(GetPixelLuma(image,p))); image 2363 magick/quantum-export.c pixel=(double) GetPixelLuma(image,p); image 2379 magick/quantum-export.c ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image,p)),range),q); image 2493 magick/quantum-export.c static void ExportIndexQuantum(const Image *image,QuantumInfo *quantum_info, image 2504 magick/quantum-export.c if (image->storage_class != PseudoClass) image 2507 magick/quantum-export.c "ColormappedImageRequired","`%s'",image->filename); image 2645 magick/quantum-export.c static void ExportIndexAlphaQuantum(const Image *image, image 2657 magick/quantum-export.c if (image->storage_class != PseudoClass) image 2660 magick/quantum-export.c "ColormappedImageRequired","`%s'",image->filename); image 3813 magick/quantum-export.c MagickExport size_t ExportQuantumPixels(const Image *image, image 3839 magick/quantum-export.c assert(image != (Image *) NULL); image 3840 magick/quantum-export.c assert(image->signature == MagickSignature); image 3841 magick/quantum-export.c if (image->debug != MagickFalse) image 3842 magick/quantum-export.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3849 magick/quantum-export.c number_pixels=GetImageExtent(image); image 3850 magick/quantum-export.c p=GetVirtualPixelQueue(image); image 3851 magick/quantum-export.c indexes=GetVirtualIndexQueue(image); image 3867 magick/quantum-export.c q=GetAuthenticPixelQueue(image); image 3870 magick/quantum-export.c for (x=0; x < (ssize_t) image->columns; x++) image 3887 magick/quantum-export.c q=GetAuthenticPixelQueue(image); image 3889 magick/quantum-export.c q=GetAuthenticPixelQueue(image); image 3901 magick/quantum-export.c extent=GetQuantumExtent(image,quantum_info,quantum_type); image 3926 magick/quantum-export.c ExportBlackQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p, image 3943 magick/quantum-export.c ExportCMYKQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p, image 3949 magick/quantum-export.c ExportCMYKAQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p, image 3955 magick/quantum-export.c ExportCMYKOQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p, image 3961 magick/quantum-export.c ExportGrayQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p,q); image 3966 magick/quantum-export.c ExportGrayAlphaQuantum(image,(QuantumInfo *) quantum_info,number_pixels, image 3978 magick/quantum-export.c ExportIndexQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p, image 3984 magick/quantum-export.c ExportIndexAlphaQuantum(image,(QuantumInfo *) quantum_info,number_pixels, image 4027 magick/quantum-export.c q=GetAuthenticPixelQueue(image); image 113 magick/quantum-import.c static inline IndexPacket PushColormapIndex(const Image *image, image 116 magick/quantum-import.c if (index < image->colors) image 1136 magick/quantum-import.c static void ImportBlackQuantum(const Image *image,QuantumInfo *quantum_info, image 1147 magick/quantum-import.c if (image->colorspace != CMYKColorspace) image 1150 magick/quantum-import.c "ColorSeparatedImageRequired","`%s'",image->filename); image 1370 magick/quantum-import.c static void ImportCbYCrYQuantum(const Image *image,QuantumInfo *quantum_info, image 1448 magick/quantum-import.c range=GetQuantumRange(image->depth); image 1462 magick/quantum-import.c static void ImportCMYKQuantum(const Image *image,QuantumInfo *quantum_info, image 1476 magick/quantum-import.c if (image->colorspace != CMYKColorspace) image 1479 magick/quantum-import.c "ColorSeparatedImageRequired","`%s'",image->filename); image 1629 magick/quantum-import.c static void ImportCMYKAQuantum(const Image *image,QuantumInfo *quantum_info, image 1643 magick/quantum-import.c if (image->colorspace != CMYKColorspace) image 1646 magick/quantum-import.c "ColorSeparatedImageRequired","`%s'",image->filename); image 1791 magick/quantum-import.c range=GetQuantumRange(image->depth); image 1811 magick/quantum-import.c static void ImportCMYKOQuantum(const Image *image,QuantumInfo *quantum_info, image 1825 magick/quantum-import.c if (image->colorspace != CMYKColorspace) image 1828 magick/quantum-import.c "ColorSeparatedImageRequired","`%s'",image->filename); image 1973 magick/quantum-import.c range=GetQuantumRange(image->depth); image 1993 magick/quantum-import.c static void ImportGrayQuantum(const Image *image,QuantumInfo *quantum_info, image 2112 magick/quantum-import.c if (image->endian == LSBEndian) image 2702 magick/quantum-import.c static void ImportIndexQuantum(const Image *image,QuantumInfo *quantum_info, image 2719 magick/quantum-import.c if (image->storage_class != PseudoClass) image 2722 magick/quantum-import.c "ColormappedImageRequired","`%s'",image->filename); image 2741 magick/quantum-import.c SetPixelIndex(indexes+x+bit,PushColormapIndex(image,pixel, image 2743 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex( image 2755 magick/quantum-import.c SetPixelIndex(indexes+x+bit,PushColormapIndex(image,pixel, image 2757 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x+bit)); image 2770 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 2772 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 2775 magick/quantum-import.c SetPixelIndex(indexes+x+1,PushColormapIndex(image,pixel, image 2777 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x+1)); image 2784 magick/quantum-import.c SetPixelIndex(indexes+x+bit,PushColormapIndex(image,pixel, image 2786 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x+bit)); image 2799 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 2801 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 2817 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,ClampToQuantum( image 2820 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 2829 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 2831 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 2850 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image, image 2852 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 2861 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 2863 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 2879 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image, image 2881 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 2893 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 2895 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 2904 magick/quantum-import.c "InvalidColormapIndex","`%s'",image->filename); image 2907 magick/quantum-import.c static void ImportIndexAlphaQuantum(const Image *image, image 2927 magick/quantum-import.c if (image->storage_class != PseudoClass) image 2930 magick/quantum-import.c "ColormappedImageRequired","`%s'",image->filename); image 2984 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 2986 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 3002 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 3004 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 3022 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image, image 3025 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 3037 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 3039 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 3060 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image, image 3062 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 3073 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 3075 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 3093 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image, image 3095 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 3110 magick/quantum-import.c SetPixelIndex(indexes+x,PushColormapIndex(image,pixel, image 3112 magick/quantum-import.c SetPixelRGBO(q,image->colormap+(ssize_t) GetPixelIndex(indexes+x)); image 3123 magick/quantum-import.c "InvalidColormapIndex","`%s'",image->filename); image 4007 magick/quantum-import.c MagickExport size_t ImportQuantumPixels(Image *image,CacheView *image_view, image 4029 magick/quantum-import.c assert(image != (Image *) NULL); image 4030 magick/quantum-import.c assert(image->signature == MagickSignature); image 4031 magick/quantum-import.c if (image->debug != MagickFalse) image 4032 magick/quantum-import.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 4041 magick/quantum-import.c number_pixels=GetImageExtent(image); image 4042 magick/quantum-import.c q=GetAuthenticPixelQueue(image); image 4043 magick/quantum-import.c indexes=GetAuthenticIndexQueue(image); image 4052 magick/quantum-import.c extent=GetQuantumExtent(image,quantum_info,quantum_type); image 4077 magick/quantum-import.c ImportBlackQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p,q, image 4089 magick/quantum-import.c ImportCbYCrYQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p, image 4095 magick/quantum-import.c ImportCMYKQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p,q, image 4101 magick/quantum-import.c ImportCMYKAQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p,q, image 4107 magick/quantum-import.c ImportCMYKOQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p,q, image 4113 magick/quantum-import.c ImportGrayQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p,q); image 4129 magick/quantum-import.c ImportIndexQuantum(image,(QuantumInfo *) quantum_info,number_pixels,p,q, image 4135 magick/quantum-import.c ImportIndexAlphaQuantum(image,(QuantumInfo *) quantum_info,number_pixels, image 4173 magick/quantum-import.c q=GetAuthenticPixelQueue(image); image 4195 magick/quantum-import.c q=GetAuthenticPixelQueue(image); image 4198 magick/quantum-import.c indexes=GetAuthenticIndexQueue(image); image 4206 magick/quantum-import.c if (image->colorspace == CMYKColorspace) image 110 magick/quantum.c Image *image) image 123 magick/quantum.c if (image == (const Image *) NULL) image 125 magick/quantum.c status=SetQuantumDepth(image,quantum_info,image->depth); image 126 magick/quantum.c quantum_info->endian=image->endian; image 303 magick/quantum.c MagickExport size_t GetQuantumExtent(const Image *image, image 326 magick/quantum.c return((size_t) (packet_size*image->columns*((quantum_info->depth+7)/8))); image 327 magick/quantum.c return((size_t) ((packet_size*image->columns*quantum_info->depth+7)/8)); image 515 magick/quantum.c MagickExport QuantumType GetQuantumType(Image *image,ExceptionInfo *exception) image 520 magick/quantum.c assert(image != (Image *) NULL); image 521 magick/quantum.c assert(image->signature == MagickSignature); image 522 magick/quantum.c if (image->debug != MagickFalse) image 523 magick/quantum.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 526 magick/quantum.c if (image->matte != MagickFalse) image 528 magick/quantum.c if (image->colorspace == CMYKColorspace) image 531 magick/quantum.c if (image->matte != MagickFalse) image 534 magick/quantum.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 537 magick/quantum.c if (image->matte != MagickFalse) image 540 magick/quantum.c if (image->storage_class == PseudoClass) image 543 magick/quantum.c if (image->matte != MagickFalse) image 654 magick/quantum.c MagickExport MagickBooleanType SetQuantumDepth(const Image *image, image 664 magick/quantum.c assert(image != (Image *) NULL); image 665 magick/quantum.c assert(image->signature == MagickSignature); image 666 magick/quantum.c if (image->debug != MagickFalse) image 667 magick/quantum.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 684 magick/quantum.c extent=image->columns*quantum; image 685 magick/quantum.c if (quantum != (extent/image->columns)) image 717 magick/quantum.c MagickExport MagickBooleanType SetQuantumEndian(const Image *image, image 720 magick/quantum.c assert(image != (Image *) NULL); image 721 magick/quantum.c assert(image->signature == MagickSignature); image 722 magick/quantum.c if (image->debug != MagickFalse) image 723 magick/quantum.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 727 magick/quantum.c return(SetQuantumDepth(image,quantum_info,quantum_info->depth)); image 757 magick/quantum.c MagickExport MagickBooleanType SetQuantumFormat(const Image *image, image 760 magick/quantum.c assert(image != (Image *) NULL); image 761 magick/quantum.c assert(image->signature == MagickSignature); image 762 magick/quantum.c if (image->debug != MagickFalse) image 763 magick/quantum.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 767 magick/quantum.c return(SetQuantumDepth(image,quantum_info,quantum_info->depth)); image 796 magick/quantum.c MagickExport void SetQuantumImageType(Image *image, image 799 magick/quantum.c assert(image != (Image *) NULL); image 800 magick/quantum.c assert(image->signature == MagickSignature); image 801 magick/quantum.c if (image->debug != MagickFalse) image 802 magick/quantum.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 808 magick/quantum.c image->type=PaletteType; image 814 magick/quantum.c image->type=GrayscaleType; image 815 magick/quantum.c if (image->depth == 1) image 816 magick/quantum.c image->type=BilevelType; image 826 magick/quantum.c image->type=ColorSeparationType; image 831 magick/quantum.c image->type=TrueColorType; image 898 magick/quantum.c MagickExport MagickBooleanType SetQuantumPad(const Image *image, image 901 magick/quantum.c assert(image != (Image *) NULL); image 902 magick/quantum.c assert(image->signature == MagickSignature); image 903 magick/quantum.c if (image->debug != MagickFalse) image 904 magick/quantum.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 908 magick/quantum.c return(SetQuantumDepth(image,quantum_info,quantum_info->depth)); image 486 magick/registry.c *image; image 488 magick/registry.c image=(const Image *) value; image 489 magick/registry.c if (image->signature != MagickSignature) image 495 magick/registry.c clone_value=(void *) CloneImageList(image,exception); image 42 magick/resample-private.h const Image *image,const VirtualPixelMethod method, image 62 magick/resample-private.h filter[i]=AcquireResampleFilter(image,exception); image 97 magick/resample.c *image; image 206 magick/resample.c MagickExport ResampleFilter *AcquireResampleFilter(const Image *image, image 212 magick/resample.c assert(image != (Image *) NULL); image 213 magick/resample.c assert(image->signature == MagickSignature); image 214 magick/resample.c if (image->debug != MagickFalse) image 215 magick/resample.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 226 magick/resample.c resample_filter->image=ReferenceImage((Image *) image); image 227 magick/resample.c resample_filter->view=AcquireVirtualCacheView(resample_filter->image,exception); image 232 magick/resample.c resample_filter->image_area=(ssize_t) (image->columns*image->rows); image 236 magick/resample.c SetResampleFilter(resample_filter, image->filter, image->blur); image 238 magick/resample.c image->interpolate); image 240 magick/resample.c GetImageVirtualPixelMethod(image)); image 274 magick/resample.c assert(resample_filter->image != (Image *) NULL); image 277 magick/resample.c resample_filter->image->filename); image 279 magick/resample.c resample_filter->image=DestroyImage(resample_filter->image); image 339 magick/resample.c status=InterpolateMagickPixelPacket(resample_filter->image, image 369 magick/resample.c || u0 - resample_filter->Ulimit > (double) resample_filter->image->columns-1.0 image 371 magick/resample.c || v0 - resample_filter->Vlimit > (double) resample_filter->image->rows-1.0 image 380 magick/resample.c && v0 - resample_filter->Vlimit > (double) resample_filter->image->rows-1.0 ) image 381 magick/resample.c || ( u0 - resample_filter->Ulimit > (double) resample_filter->image->columns-1.0 image 383 magick/resample.c || ( u0 - resample_filter->Ulimit > (double) resample_filter->image->columns-1.0 image 384 magick/resample.c && v0 - resample_filter->Vlimit > (double) resample_filter->image->rows-1.0 ) image 390 magick/resample.c || v0 - resample_filter->Vlimit > (double) resample_filter->image->rows-1.0 image 396 magick/resample.c || u0 - resample_filter->Ulimit > (double) resample_filter->image->columns-1.0 image 403 magick/resample.c && v0 - resample_filter->Vlimit > (double) resample_filter->image->rows+31.0 ) image 404 magick/resample.c || ( u0 - resample_filter->Ulimit > (double) resample_filter->image->columns+31.0 image 406 magick/resample.c || ( u0 - resample_filter->Ulimit > (double) resample_filter->image->columns+31.0 image 407 magick/resample.c && v0 - resample_filter->Vlimit > (double) resample_filter->image->rows+31.0 ) image 426 magick/resample.c status=InterpolateMagickPixelPacket(resample_filter->image, image 456 magick/resample.c status=InterpolateMagickPixelPacket(resample_filter->image, image 463 magick/resample.c status=InterpolateMagickPixelPacket(resample_filter->image, image 480 magick/resample.c GetMagickPixelPacket(resample_filter->image,(MagickPixelPacket *) image 485 magick/resample.c average_image=ResizeImage(resample_filter->image,1,1,BoxFilter,1.0, image 503 magick/resample.c SetMagickPixelPacket(resample_filter->image,pixels,indexes, image 523 magick/resample.c resample_filter->image->background_color.opacity)); image 525 magick/resample.c weight*resample_filter->image->background_color.red; image 527 magick/resample.c weight*resample_filter->image->background_color.green; image 529 magick/resample.c weight*resample_filter->image->background_color.blue; image 531 magick/resample.c resample_filter->image->background_color.opacity; image 669 magick/resample.c status=InterpolateMagickPixelPacket(resample_filter->image, image 1276 magick/resample.c resize_filter = AcquireResizeFilter(resample_filter->image, image 1350 magick/resample.c if (IsMagickTrue(GetImageArtifact(resample_filter->image, image 1423 magick/resample.c assert(resample_filter->image != (Image *) NULL); image 1426 magick/resample.c resample_filter->image->filename); image 1462 magick/resample.c assert(resample_filter->image != (Image *) NULL); image 1465 magick/resample.c resample_filter->image->filename); image 728 magick/resize.c MagickExport ResizeFilter *AcquireResizeFilter(const Image *image, image 899 magick/resize.c assert(image != (const Image *) NULL); image 900 magick/resize.c assert(image->signature == MagickSignature); image 901 magick/resize.c if (image->debug != MagickFalse) image 902 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 923 magick/resize.c artifact=GetImageArtifact(image,"filter:filter"); image 936 magick/resize.c artifact=GetImageArtifact(image,"filter:window"); image 947 magick/resize.c artifact=GetImageArtifact(image,"filter:window"); image 1015 magick/resize.c artifact=GetImageArtifact(image,"filter:sigma"); image 1031 magick/resize.c artifact=GetImageArtifact(image,"filter:alpha"); /* FUTURE: depreciate */ image 1034 magick/resize.c artifact=GetImageArtifact(image,"filter:kaiser-beta"); image 1037 magick/resize.c artifact=GetImageArtifact(image,"filter:kaiser-alpha"); image 1046 magick/resize.c artifact=GetImageArtifact(image,"filter:lobes"); image 1073 magick/resize.c artifact=GetImageArtifact(image,"filter:blur"); image 1080 magick/resize.c artifact=GetImageArtifact(image,"filter:support"); image 1089 magick/resize.c artifact=GetImageArtifact(image,"filter:win-support"); image 1113 magick/resize.c artifact=GetImageArtifact(image,"filter:b"); image 1118 magick/resize.c artifact=GetImageArtifact(image,"filter:c"); /* user C override */ image 1124 magick/resize.c artifact=GetImageArtifact(image,"filter:c"); image 1151 magick/resize.c artifact=GetImageArtifact(image,"filter:verbose"); image 1214 magick/resize.c (void) DeleteImageArtifact((Image *) image,"filter:verbose"); image 1255 magick/resize.c MagickExport Image *AdaptiveResizeImage(const Image *image, image 1258 magick/resize.c return(InterpolativeResizeImage(image,columns,rows,MeshInterpolatePixel, image 1670 magick/resize.c MagickExport Image *InterpolativeResizeImage(const Image *image, image 1698 magick/resize.c assert(image != (const Image *) NULL); image 1699 magick/resize.c assert(image->signature == MagickSignature); image 1700 magick/resize.c if (image->debug != MagickFalse) image 1701 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1706 magick/resize.c if ((columns == image->columns) && (rows == image->rows)) image 1707 magick/resize.c return(CloneImage(image,0,0,MagickTrue,exception)); image 1708 magick/resize.c resize_image=CloneImage(image,columns,rows,MagickTrue,exception); image 1719 magick/resize.c image_view=AcquireVirtualCacheView(image,exception); image 1721 magick/resize.c scale.x=(double) image->columns/resize_image->columns; image 1722 magick/resize.c scale.y=(double) image->rows/resize_image->rows; image 1751 magick/resize.c GetMagickPixelPacket(image,&pixel); image 1756 magick/resize.c (void) InterpolateMagickPixelPacket(image,image_view,method,offset.x, image 1763 magick/resize.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1771 magick/resize.c proceed=SetImageProgress(image,InterpolativeResizeImageTag,progress++, image 1772 magick/resize.c image->rows); image 1819 magick/resize.c MagickExport Image *LiquidRescaleImage(const Image *image,const size_t columns, image 1862 magick/resize.c assert(image != (const Image *) NULL); image 1863 magick/resize.c assert(image->signature == MagickSignature); image 1864 magick/resize.c if (image->debug != MagickFalse) image 1865 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1870 magick/resize.c if ((columns == image->columns) && (rows == image->rows)) image 1871 magick/resize.c return(CloneImage(image,0,0,MagickTrue,exception)); image 1873 magick/resize.c return(ResizeImage(image,columns,rows,image->filter,image->blur,exception)); image 1875 magick/resize.c if (image->matte != MagickFalse) image 1877 magick/resize.c if (image->colorspace == CMYKColorspace) image 1880 magick/resize.c if (image->matte != MagickFalse) image 1883 magick/resize.c pixel_info=AcquireVirtualMemory(image->columns,image->rows*strlen(map)* image 1888 magick/resize.c status=ExportImagePixels(image,0,0,image->columns,image->rows,map,CharPixel, image 1895 magick/resize.c carver=lqr_carver_new(pixels,(int) image->columns,(int) image->rows, image 1906 magick/resize.c rescale_image=CloneImage(image,lqr_carver_get_width(carver), image 1937 magick/resize.c if (image->colorspace != CMYKColorspace) image 1939 magick/resize.c if (image->matte != MagickFalse) image 1945 magick/resize.c if (image->matte != MagickFalse) image 1961 magick/resize.c MagickExport Image *LiquidRescaleImage(const Image *image, image 1966 magick/resize.c assert(image != (const Image *) NULL); image 1967 magick/resize.c assert(image->signature == MagickSignature); image 1968 magick/resize.c if (image->debug != MagickFalse) image 1969 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1973 magick/resize.c "DelegateLibrarySupportNotBuiltIn","`%s' (LQR)",image->filename); image 2003 magick/resize.c MagickExport Image *MagnifyImage(const Image *image,ExceptionInfo *exception) image 2026 magick/resize.c assert(image != (const Image *) NULL); image 2027 magick/resize.c assert(image->signature == MagickSignature); image 2028 magick/resize.c if (image->debug != MagickFalse) image 2029 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2032 magick/resize.c magnify_image=CloneImage(image,2*image->columns,2*image->rows,MagickTrue, image 2041 magick/resize.c image_view=AcquireVirtualCacheView(image,exception); image 2047 magick/resize.c for (y=0; y < (ssize_t) image->rows; y++) image 2068 magick/resize.c for (x=0; x < (ssize_t) image->columns; x++) image 2096 magick/resize.c intensity[i]=GetPixelIntensity(image,p+i); image 2191 magick/resize.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2199 magick/resize.c proceed=SetImageProgress(image,MagnifyImageTag,progress++,image->rows); image 2236 magick/resize.c MagickExport Image *MinifyImage(const Image *image,ExceptionInfo *exception) image 2241 magick/resize.c assert(image != (Image *) NULL); image 2242 magick/resize.c assert(image->signature == MagickSignature); image 2243 magick/resize.c if (image->debug != MagickFalse) image 2244 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2247 magick/resize.c minify_image=ResizeImage(image,image->columns/2,image->rows/2,SplineFilter, image 2286 magick/resize.c MagickExport Image *ResampleImage(const Image *image,const double x_resolution, image 2302 magick/resize.c assert(image != (const Image *) NULL); image 2303 magick/resize.c assert(image->signature == MagickSignature); image 2304 magick/resize.c if (image->debug != MagickFalse) image 2305 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2308 magick/resize.c width=(size_t) (x_resolution*image->columns/(image->x_resolution == 0.0 ? image 2309 magick/resize.c 72.0 : image->x_resolution)+0.5); image 2310 magick/resize.c height=(size_t) (y_resolution*image->rows/(image->y_resolution == 0.0 ? image 2311 magick/resize.c 72.0 : image->y_resolution)+0.5); image 2312 magick/resize.c resample_image=ResizeImage(image,width,height,filter,blur,exception); image 2416 magick/resize.c const Image *image,Image *resize_image,const MagickRealType x_factor, image 2449 magick/resize.c storage_class=support > 0.5 ? DirectClass : image->storage_class; image 2468 magick/resize.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 2474 magick/resize.c image_view=AcquireVirtualCacheView(image,exception); image 2516 magick/resize.c stop=(ssize_t) MagickMin(bisect+support+0.5,(double) image->columns); image 2541 magick/resize.c (contribution[n-1].pixel-contribution[0].pixel+1),image->rows,exception); image 2566 magick/resize.c if (image->matte == MagickFalse) image 2582 magick/resize.c if ((image->colorspace == CMYKColorspace) && image 2617 magick/resize.c if ((image->colorspace == CMYKColorspace) && image 2631 magick/resize.c (image->storage_class == PseudoClass)) image 2643 magick/resize.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2651 magick/resize.c proceed=SetImageProgress(image,ResizeImageTag,(*offset)++,span); image 2663 magick/resize.c const Image *image,Image *resize_image,const MagickRealType y_factor, image 2694 magick/resize.c storage_class=support > 0.5 ? DirectClass : image->storage_class; image 2713 magick/resize.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 2719 magick/resize.c image_view=AcquireVirtualCacheView(image,exception); image 2761 magick/resize.c stop=(ssize_t) MagickMin(bisect+support+0.5,(double) image->rows); image 2786 magick/resize.c image->columns,(size_t) (contribution[n-1].pixel-contribution[0].pixel+1), image 2812 magick/resize.c if (image->matte == MagickFalse) image 2817 magick/resize.c image->columns+x); image 2828 magick/resize.c if ((image->colorspace == CMYKColorspace) && image 2834 magick/resize.c image->columns+x); image 2850 magick/resize.c image->columns+x); image 2863 magick/resize.c if ((image->colorspace == CMYKColorspace) && image 2869 magick/resize.c image->columns+x); image 2877 magick/resize.c (image->storage_class == PseudoClass)) image 2882 magick/resize.c image->columns+x); image 2889 magick/resize.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2897 magick/resize.c proceed=SetImageProgress(image,ResizeImageTag,(*offset)++,span); image 2908 magick/resize.c MagickExport Image *ResizeImage(const Image *image,const size_t columns, image 2938 magick/resize.c assert(image != (Image *) NULL); image 2939 magick/resize.c assert(image->signature == MagickSignature); image 2940 magick/resize.c if (image->debug != MagickFalse) image 2941 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2946 magick/resize.c if ((columns == image->columns) && (rows == image->rows) && image 2948 magick/resize.c return(CloneImage(image,0,0,MagickTrue,exception)); image 2953 magick/resize.c x_factor=(MagickRealType) columns/(MagickRealType) image->columns; image 2954 magick/resize.c y_factor=(MagickRealType) rows/(MagickRealType) image->rows; image 2963 magick/resize.c if ((image->storage_class == PseudoClass) || image 2964 magick/resize.c (image->matte != MagickFalse) || ((x_factor*y_factor) > 1.0)) image 2966 magick/resize.c resize_filter=AcquireResizeFilter(image,filter_type,blur,MagickFalse,exception); image 2968 magick/resize.c resize_image = AccelerateResizeImage(image,columns,rows,resize_filter,exception); image 2975 magick/resize.c resize_image=CloneImage(image,columns,rows,MagickTrue,exception); image 2983 magick/resize.c filter_image=CloneImage(image,columns,image->rows,MagickTrue,exception); image 2985 magick/resize.c filter_image=CloneImage(image,image->columns,rows,MagickTrue,exception); image 2999 magick/resize.c status=HorizontalFilter(resize_filter,image,filter_image,x_factor,span, image 3007 magick/resize.c status=VerticalFilter(resize_filter,image,filter_image,y_factor,span, image 3022 magick/resize.c resize_image->type=image->type; image 3057 magick/resize.c MagickExport Image *SampleImage(const Image *image,const size_t columns, image 3088 magick/resize.c assert(image != (const Image *) NULL); image 3089 magick/resize.c assert(image->signature == MagickSignature); image 3090 magick/resize.c if (image->debug != MagickFalse) image 3091 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3096 magick/resize.c if ((columns == image->columns) && (rows == image->rows)) image 3097 magick/resize.c return(CloneImage(image,0,0,MagickTrue,exception)); image 3098 magick/resize.c sample_image=CloneImage(image,columns,rows,MagickTrue,exception); image 3110 magick/resize.c value=GetImageArtifact(image,"sample:offset"); image 3136 magick/resize.c x_offset[x]=(ssize_t) ((((double) x+sample_offset.x)*image->columns)/ image 3143 magick/resize.c image_view=AcquireVirtualCacheView(image,exception); image 3171 magick/resize.c y_offset=(ssize_t) ((((double) y+sample_offset.y)*image->rows)/ image 3173 magick/resize.c p=GetCacheViewVirtualPixels(image_view,0,y_offset,image->columns,1, image 3189 magick/resize.c if ((image->storage_class == PseudoClass) || image 3190 magick/resize.c (image->colorspace == CMYKColorspace)) image 3195 magick/resize.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3203 magick/resize.c proceed=SetImageProgress(image,SampleImageTag,progress++,image->rows); image 3211 magick/resize.c sample_image->type=image->type; image 3246 magick/resize.c MagickExport Image *ScaleImage(const Image *image,const size_t columns, image 3289 magick/resize.c assert(image != (const Image *) NULL); image 3290 magick/resize.c assert(image->signature == MagickSignature); image 3291 magick/resize.c if (image->debug != MagickFalse) image 3292 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3297 magick/resize.c if ((columns == image->columns) && (rows == image->rows)) image 3298 magick/resize.c return(CloneImage(image,0,0,MagickTrue,exception)); image 3299 magick/resize.c scale_image=CloneImage(image,columns,rows,MagickTrue,exception); image 3311 magick/resize.c x_vector=(MagickPixelPacket *) AcquireQuantumMemory((size_t) image->columns, image 3314 magick/resize.c if (image->rows != scale_image->rows) image 3315 magick/resize.c scanline=(MagickPixelPacket *) AcquireQuantumMemory((size_t) image->columns, image 3319 magick/resize.c y_vector=(MagickPixelPacket *) AcquireQuantumMemory((size_t) image->columns, image 3335 magick/resize.c scale.y=(double) scale_image->rows/(double) image->rows; image 3336 magick/resize.c (void) ResetMagickMemory(y_vector,0,(size_t) image->columns* image 3338 magick/resize.c GetMagickPixelPacket(image,&pixel); image 3342 magick/resize.c image_view=AcquireVirtualCacheView(image,exception); image 3376 magick/resize.c if (scale_image->rows == image->rows) image 3381 magick/resize.c p=GetCacheViewVirtualPixels(image_view,0,i++,image->columns,1, image 3389 magick/resize.c for (x=0; x < (ssize_t) image->columns; x++) image 3391 magick/resize.c if (image->matte != MagickFalse) image 3396 magick/resize.c if (image->matte != MagickFalse) image 3411 magick/resize.c (number_rows < (ssize_t) image->rows)) image 3416 magick/resize.c p=GetCacheViewVirtualPixels(image_view,0,i++,image->columns,1, image 3424 magick/resize.c for (x=0; x < (ssize_t) image->columns; x++) image 3426 magick/resize.c if (image->matte != MagickFalse) image 3431 magick/resize.c if (image->matte != MagickFalse) image 3440 magick/resize.c for (x=0; x < (ssize_t) image->columns; x++) image 3451 magick/resize.c scale.y=(double) scale_image->rows/(double) image->rows; image 3454 magick/resize.c if ((next_row != MagickFalse) && (number_rows < (ssize_t) image->rows)) image 3459 magick/resize.c p=GetCacheViewVirtualPixels(image_view,0,i++,image->columns,1, image 3467 magick/resize.c for (x=0; x < (ssize_t) image->columns; x++) image 3469 magick/resize.c if (image->matte != MagickFalse) image 3474 magick/resize.c if (image->matte != MagickFalse) image 3485 magick/resize.c for (x=0; x < (ssize_t) image->columns; x++) image 3490 magick/resize.c if (image->matte != MagickFalse) image 3507 magick/resize.c scale.y=(double) scale_image->rows/(double) image->rows; image 3512 magick/resize.c if (scale_image->columns == image->columns) image 3544 magick/resize.c for (x=0; x < (ssize_t) image->columns; x++) image 3546 magick/resize.c scale.x=(double) scale_image->columns/(double) image->columns; image 3557 magick/resize.c if (image->matte != MagickFalse) image 3638 magick/resize.c proceed=SetImageProgress(image,ScaleImageTag,(MagickOffsetType) y, image 3639 magick/resize.c image->rows); image 3653 magick/resize.c if (scale_image->rows != image->rows) image 3656 magick/resize.c scale_image->type=image->type; image 3693 magick/resize.c MagickExport Image *ThumbnailImage(const Image *image,const size_t columns, image 3717 magick/resize.c assert(image != (Image *) NULL); image 3718 magick/resize.c assert(image->signature == MagickSignature); image 3719 magick/resize.c if (image->debug != MagickFalse) image 3720 magick/resize.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3723 magick/resize.c x_factor=(MagickRealType) columns/(MagickRealType) image->columns; image 3724 magick/resize.c y_factor=(MagickRealType) rows/(MagickRealType) image->rows; image 3726 magick/resize.c thumbnail_image=ResizeImage(image,columns,rows,image->filter,image->blur, image 3730 magick/resize.c thumbnail_image=ResizeImage(image,columns,rows,image->filter, image 3731 magick/resize.c image->blur,exception); image 3737 magick/resize.c sample_image=SampleImage(image,SampleFactor*columns,SampleFactor*rows, image 3741 magick/resize.c thumbnail_image=ResizeImage(sample_image,columns,rows,image->filter, image 3742 magick/resize.c image->blur,exception); image 3766 magick/resize.c (void) CopyMagickString(value,image->magick_filename,MaxTextExtent); image 3767 magick/resize.c if (strstr(image->magick_filename,"//") == (char *) NULL) image 3769 magick/resize.c image->magick_filename); image 3771 magick/resize.c (void) CopyMagickString(value,image->magick_filename,MaxTextExtent); image 3772 magick/resize.c if (GetPathAttributes(image->filename,&attributes) != MagickFalse) image 3780 magick/resize.c (void) FormatMagickSize(GetBlobSize(image),MagickFalse,value); image 3783 magick/resize.c (void) FormatLocaleString(value,MaxTextExtent,"image/%s",image->magick); image 3789 magick/resize.c image->magick_columns); image 3792 magick/resize.c image->magick_rows); image 3795 magick/resize.c GetImageListLength(image)); image 242 magick/segment.c static MagickBooleanType Classify(Image *image,short **extrema, image 319 magick/segment.c image->filename); image 339 magick/segment.c image->filename); image 356 magick/segment.c exception=(&image->exception); image 357 magick/segment.c image_view=AcquireVirtualCacheView(image,exception); image 358 magick/segment.c for (y=0; y < (ssize_t) image->rows; y++) image 366 magick/segment.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 369 magick/segment.c for (x=0; x < (ssize_t) image->columns; x++) image 398 magick/segment.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 406 magick/segment.c proceed=SetImageProgress(image,SegmentImageTag,progress++, image 407 magick/segment.c 2*image->rows); image 500 magick/segment.c ThrowBinaryException(ImageError,"TooManyClusters",image->filename); image 507 magick/segment.c image->filename); image 514 magick/segment.c if (AcquireImageColormap(image,number_clusters) == MagickFalse) image 516 magick/segment.c image->filename); image 520 magick/segment.c image->colormap[i].red=ScaleCharToQuantum((unsigned char) image 522 magick/segment.c image->colormap[i].green=ScaleCharToQuantum((unsigned char) image 524 magick/segment.c image->colormap[i].blue=ScaleCharToQuantum((unsigned char) image 531 magick/segment.c exception=(&image->exception); image 532 magick/segment.c image_view=AcquireAuthenticCacheView(image,exception); image 537 magick/segment.c for (y=0; y < (ssize_t) image->rows; y++) image 556 magick/segment.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 563 magick/segment.c for (x=0; x < (ssize_t) image->columns; x++) image 605 magick/segment.c for (j=0; j < (ssize_t) image->colors; j++) image 608 magick/segment.c p=image->colormap+j; image 616 magick/segment.c for (k=0; k < (ssize_t) image->colors; k++) image 618 magick/segment.c p=image->colormap+k; image 642 magick/segment.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 650 magick/segment.c proceed=SetImageProgress(image,SegmentImageTag,progress++, image 651 magick/segment.c 2*image->rows); image 657 magick/segment.c status&=SyncImage(image); image 929 magick/segment.c MagickExport MagickBooleanType GetImageDynamicThreshold(const Image *image, image 970 magick/segment.c assert(image != (Image *) NULL); image 971 magick/segment.c assert(image->signature == MagickSignature); image 972 magick/segment.c if (image->debug != MagickFalse) image 973 magick/segment.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 974 magick/segment.c GetMagickPixelPacket(image,pixel); image 987 magick/segment.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 994 magick/segment.c InitializeHistogram(image,histogram,exception); image 1035 magick/segment.c image->filename); image 1058 magick/segment.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 1075 magick/segment.c for (y=0; y < (ssize_t) image->rows; y++) image 1077 magick/segment.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 1080 magick/segment.c for (x=0; x < (ssize_t) image->columns; x++) image 1111 magick/segment.c proceed=SetImageProgress(image,SegmentImageTag,(MagickOffsetType) y, image 1112 magick/segment.c 2*image->rows); image 1221 magick/segment.c static void InitializeHistogram(const Image *image,ssize_t **histogram, image 1243 magick/segment.c for (y=0; y < (ssize_t) image->rows; y++) image 1245 magick/segment.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 1248 magick/segment.c for (x=0; x < (ssize_t) image->columns; x++) image 1773 magick/segment.c MagickExport MagickBooleanType SegmentImage(Image *image, image 1795 magick/segment.c assert(image != (Image *) NULL); image 1796 magick/segment.c assert(image->signature == MagickSignature); image 1797 magick/segment.c if (image->debug != MagickFalse) image 1798 magick/segment.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1811 magick/segment.c image->filename) image 1817 magick/segment.c previous_colorspace=image->colorspace; image 1818 magick/segment.c (void) TransformImageColorspace(image,colorspace); image 1819 magick/segment.c InitializeHistogram(image,histogram,&image->exception); image 1829 magick/segment.c status=Classify(image,extrema,cluster_threshold,WeightingExponent,verbose); image 1830 magick/segment.c (void) TransformImageColorspace(image,previous_colorspace); image 114 magick/shear.c static MagickBooleanType CropToFitImage(Image **image, image 151 magick/shear.c extent[i].x+=(double) (*image)->columns/2.0; image 152 magick/shear.c extent[i].y+=(double) (*image)->rows/2.0; image 171 magick/shear.c page=(*image)->page; image 172 magick/shear.c (void) ParseAbsoluteGeometry("0x0+0+0",&(*image)->page); image 173 magick/shear.c crop_image=CropImage(*image,&geometry,exception); image 177 magick/shear.c *image=DestroyImage(*image); image 178 magick/shear.c *image=crop_image; image 221 magick/shear.c static void RadonProjection(const Image *image,MatrixInfo *source_matrix, image 330 magick/shear.c static MagickBooleanType RadonTransform(const Image *image, image 359 magick/shear.c for (width=1; width < ((image->columns+7)/8); width<<=1) ; image 360 magick/shear.c source_matrix=AcquireMatrixInfo(width,image->rows,sizeof(unsigned short), image 362 magick/shear.c destination_matrix=AcquireMatrixInfo(width,image->rows,sizeof(unsigned short), image 387 magick/shear.c image_view=AcquireVirtualCacheView(image,exception); image 392 magick/shear.c for (y=0; y < (ssize_t) image->rows; y++) image 410 magick/shear.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 418 magick/shear.c i=(ssize_t) (image->columns+7)/8; image 419 magick/shear.c for (x=0; x < (ssize_t) image->columns; x++) image 443 magick/shear.c RadonProjection(image,source_matrix,destination_matrix,-1,projection); image 449 magick/shear.c for (y=0; y < (ssize_t) image->rows; y++) image 467 magick/shear.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 476 magick/shear.c for (x=0; x < (ssize_t) image->columns; x++) image 500 magick/shear.c RadonProjection(image,source_matrix,destination_matrix,1,projection); image 507 magick/shear.c static void GetImageBackgroundColor(Image *image,const ssize_t offset, image 527 magick/shear.c GetMagickPixelPacket(image,&background); image 529 magick/shear.c image_view=AcquireVirtualCacheView(image,exception); image 530 magick/shear.c for (y=0; y < (ssize_t) image->rows; y++) image 538 magick/shear.c if ((y >= offset) && (y < ((ssize_t) image->rows-offset))) image 540 magick/shear.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 543 magick/shear.c for (x=0; x < (ssize_t) image->columns; x++) image 545 magick/shear.c if ((x >= offset) && (x < ((ssize_t) image->columns-offset))) image 556 magick/shear.c image->background_color.red=ClampToQuantum((MagickRealType) QuantumRange* image 558 magick/shear.c image->background_color.green=ClampToQuantum((MagickRealType) QuantumRange* image 560 magick/shear.c image->background_color.blue=ClampToQuantum((MagickRealType) QuantumRange* image 562 magick/shear.c image->background_color.opacity=ClampToQuantum((MagickRealType) QuantumRange* image 566 magick/shear.c MagickExport Image *DeskewImage(const Image *image,const double threshold, image 604 magick/shear.c for (width=1; width < ((image->columns+7)/8); width<<=1) ; image 609 magick/shear.c status=RadonTransform(image,threshold,projection,exception); image 627 magick/shear.c if (image->debug != MagickFalse) image 633 magick/shear.c clone_image=CloneImage(image,0,0,MagickTrue,exception); image 650 magick/shear.c artifact=GetImageArtifact(image,"deskew:auto-crop"); image 674 magick/shear.c if (image->debug != MagickFalse) image 710 magick/shear.c MagickExport Image *IntegralRotateImage(const Image *image,size_t rotations, image 737 magick/shear.c assert(image != (Image *) NULL); image 738 magick/shear.c page=image->page; image 741 magick/shear.c return(CloneImage(image,0,0,MagickTrue,exception)); image 743 magick/shear.c rotate_image=CloneImage(image,image->rows,image->columns,MagickTrue, image 746 magick/shear.c rotate_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 755 magick/shear.c image_view=AcquireVirtualCacheView(image,exception); image 771 magick/shear.c GetPixelCacheTileSize(image,&tile_width,&tile_height); image 772 magick/shear.c tile_width=image->columns; image 777 magick/shear.c for (tile_y=0; tile_y < (ssize_t) image->rows; tile_y+=(ssize_t) tile_height) image 784 magick/shear.c for (tile_x=0; tile_x < (ssize_t) image->columns; tile_x+=(ssize_t) tile_width) image 809 magick/shear.c if ((tile_x+(ssize_t) tile_width) > (ssize_t) image->columns) image 810 magick/shear.c width=(size_t) (tile_width-(tile_x+tile_width-image->columns)); image 812 magick/shear.c if ((tile_y+(ssize_t) tile_height) > (ssize_t) image->rows) image 813 magick/shear.c height=(size_t) (tile_height-(tile_y+tile_height-image->rows)); image 865 magick/shear.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 873 magick/shear.c proceed=SetImageProgress(image,RotateImageTag,progress+=tile_height, image 874 magick/shear.c image->rows); image 879 magick/shear.c (void) SetImageProgress(image,RotateImageTag,(MagickOffsetType) image 880 magick/shear.c image->rows-1,image->rows); image 896 magick/shear.c for (y=0; y < (ssize_t) image->rows; y++) image 918 magick/shear.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1, image 920 magick/shear.c q=QueueCacheViewAuthenticPixels(rotate_view,0,(ssize_t) (image->rows-y- image 921 magick/shear.c 1),image->columns,1,exception); image 929 magick/shear.c q+=image->columns; image 930 magick/shear.c for (x=0; x < (ssize_t) image->columns; x++) image 934 magick/shear.c for (x=0; x < (ssize_t) image->columns; x++) image 935 magick/shear.c SetPixelIndex(rotate_indexes+image->columns-x-1, image 940 magick/shear.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 948 magick/shear.c proceed=SetImageProgress(image,RotateImageTag,progress++, image 949 magick/shear.c image->rows); image 972 magick/shear.c GetPixelCacheTileSize(image,&tile_width,&tile_height); image 973 magick/shear.c tile_width=image->columns; image 978 magick/shear.c for (tile_y=0; tile_y < (ssize_t) image->rows; tile_y+=(ssize_t) tile_height) image 985 magick/shear.c for (tile_x=0; tile_x < (ssize_t) image->columns; tile_x+=(ssize_t) tile_width) image 1010 magick/shear.c if ((tile_x+(ssize_t) tile_width) > (ssize_t) image->columns) image 1011 magick/shear.c width=(size_t) (tile_width-(tile_x+tile_width-image->columns)); image 1013 magick/shear.c if ((tile_y+(ssize_t) tile_height) > (ssize_t) image->rows) image 1014 magick/shear.c height=(size_t) (tile_height-(tile_y+tile_height-image->rows)); image 1065 magick/shear.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1073 magick/shear.c proceed=SetImageProgress(image,RotateImageTag,progress+=tile_height, image 1074 magick/shear.c image->rows); image 1079 magick/shear.c (void) SetImageProgress(image,RotateImageTag,(MagickOffsetType) image 1080 magick/shear.c image->rows-1,image->rows); image 1092 magick/shear.c rotate_image->type=image->type; image 1135 magick/shear.c static MagickBooleanType XShearImage(Image *image,const MagickRealType degrees, image 1162 magick/shear.c assert(image != (Image *) NULL); image 1163 magick/shear.c assert(image->signature == MagickSignature); image 1164 magick/shear.c if (image->debug != MagickFalse) image 1165 magick/shear.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1166 magick/shear.c GetMagickPixelPacket(image,&background); image 1167 magick/shear.c SetMagickPixelPacket(image,&image->background_color,(IndexPacket *) NULL, image 1169 magick/shear.c if (image->colorspace == CMYKColorspace) image 1176 magick/shear.c image_view=AcquireAuthenticCacheView(image,exception); image 1211 magick/shear.c p=GetCacheViewAuthenticPixels(image_view,0,y_offset+y,image->columns,1, image 1235 magick/shear.c GetMagickPixelPacket(image,&source); image 1236 magick/shear.c GetMagickPixelPacket(image,&destination); image 1252 magick/shear.c SetMagickPixelPacket(image,++p,++indexes,&pixel); image 1257 magick/shear.c SetMagickPixelPacket(image,p,indexes,&source); image 1260 magick/shear.c SetPixelPacket(image,&destination,q++,shear_indexes++); image 1261 magick/shear.c SetMagickPixelPacket(image,p++,indexes++,&pixel); image 1265 magick/shear.c SetPixelPacket(image,&destination,q++,shear_indexes++); image 1267 magick/shear.c SetPixelPacket(image,&background,q++,shear_indexes++); image 1285 magick/shear.c if ((size_t) (x_offset+width+step-i) > image->columns) image 1287 magick/shear.c SetMagickPixelPacket(image,p,indexes,&source); image 1290 magick/shear.c SetPixelPacket(image,&destination,q,shear_indexes); image 1291 magick/shear.c SetMagickPixelPacket(image,p,indexes,&pixel); image 1295 magick/shear.c SetPixelPacket(image,&destination,--q,--shear_indexes); image 1297 magick/shear.c SetPixelPacket(image,&background,--q,--shear_indexes); image 1303 magick/shear.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1311 magick/shear.c proceed=SetImageProgress(image,XShearImageTag,progress++,height); image 1356 magick/shear.c static MagickBooleanType YShearImage(Image *image,const MagickRealType degrees, image 1383 magick/shear.c assert(image != (Image *) NULL); image 1384 magick/shear.c assert(image->signature == MagickSignature); image 1385 magick/shear.c if (image->debug != MagickFalse) image 1386 magick/shear.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1387 magick/shear.c GetMagickPixelPacket(image,&background); image 1388 magick/shear.c SetMagickPixelPacket(image,&image->background_color,(IndexPacket *) NULL, image 1390 magick/shear.c if (image->colorspace == CMYKColorspace) image 1397 magick/shear.c image_view=AcquireAuthenticCacheView(image,exception); image 1432 magick/shear.c p=GetCacheViewAuthenticPixels(image_view,x_offset+x,0,1,image->rows, image 1456 magick/shear.c GetMagickPixelPacket(image,&source); image 1457 magick/shear.c GetMagickPixelPacket(image,&destination); image 1473 magick/shear.c SetMagickPixelPacket(image,++p,++indexes,&pixel); image 1478 magick/shear.c SetMagickPixelPacket(image,p,indexes,&source); image 1481 magick/shear.c SetPixelPacket(image,&destination,q++,shear_indexes++); image 1482 magick/shear.c SetMagickPixelPacket(image,p++,indexes++,&pixel); image 1486 magick/shear.c SetPixelPacket(image,&destination,q++,shear_indexes++); image 1488 magick/shear.c SetPixelPacket(image,&background,q++,shear_indexes++); image 1506 magick/shear.c if ((size_t) (y_offset+height+step-i) > image->rows) image 1508 magick/shear.c SetMagickPixelPacket(image,p,indexes,&source); image 1511 magick/shear.c SetPixelPacket(image,&destination,q,shear_indexes); image 1512 magick/shear.c SetMagickPixelPacket(image,p,indexes,&pixel); image 1516 magick/shear.c SetPixelPacket(image,&destination,--q,--shear_indexes); image 1518 magick/shear.c SetPixelPacket(image,&background,--q,--shear_indexes); image 1524 magick/shear.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1532 magick/shear.c proceed=SetImageProgress(image,YShearImageTag,progress++,image->rows); image 1580 magick/shear.c MagickExport Image *ShearImage(const Image *image,const double x_shear, image 1597 magick/shear.c assert(image != (Image *) NULL); image 1598 magick/shear.c assert(image->signature == MagickSignature); image 1599 magick/shear.c if (image->debug != MagickFalse) image 1600 magick/shear.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1610 magick/shear.c integral_image=CloneImage(image,0,0,MagickTrue,exception); image 1628 magick/shear.c bounds.width=image->columns+(ssize_t) floor(fabs(shear.x)*image->rows+0.5); image 1629 magick/shear.c bounds.x=(ssize_t) ceil((double) image->columns+((fabs(shear.x)*image->rows)- image 1630 magick/shear.c image->columns)/2.0-0.5); image 1631 magick/shear.c bounds.y=(ssize_t) ceil((double) image->rows+((fabs(shear.y)*bounds.width)- image 1632 magick/shear.c image->rows)/2.0-0.5); image 1649 magick/shear.c status=XShearImage(shear_image,shear.x,image->columns,image->rows,bounds.x, image 1650 magick/shear.c (ssize_t) (shear_image->rows-image->rows)/2,exception); image 1656 magick/shear.c status=YShearImage(shear_image,shear.y,bounds.width,image->rows,(ssize_t) image 1664 magick/shear.c image->columns,(MagickRealType) image->rows,MagickFalse,exception); image 1665 magick/shear.c shear_image->matte=image->matte; image 1666 magick/shear.c shear_image->compose=image->compose; image 1713 magick/shear.c MagickExport Image *ShearRotateImage(const Image *image,const double degrees, image 1742 magick/shear.c assert(image != (Image *) NULL); image 1743 magick/shear.c assert(image->signature == MagickSignature); image 1744 magick/shear.c if (image->debug != MagickFalse) image 1745 magick/shear.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1757 magick/shear.c integral_image=IntegralRotateImage(image,rotations,exception); image 1822 magick/shear.c rotate_image->matte=image->matte; image 1823 magick/shear.c rotate_image->compose=image->compose; image 462 magick/signature.c MagickExport MagickBooleanType SignatureImage(Image *image) image 500 magick/signature.c assert(image != (Image *) NULL); image 501 magick/signature.c assert(image->signature == MagickSignature); image 502 magick/signature.c if (image->debug != MagickFalse) image 503 magick/signature.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 504 magick/signature.c quantum_info=AcquireQuantumInfo((const ImageInfo *) NULL,image); image 507 magick/signature.c image->filename); image 509 magick/signature.c if (image->matte != MagickFalse) image 511 magick/signature.c if (image->colorspace == CMYKColorspace) image 514 magick/signature.c if (image->matte != MagickFalse) image 520 magick/signature.c exception=(&image->exception); image 521 magick/signature.c image_view=AcquireVirtualCacheView(image,exception); image 522 magick/signature.c for (y=0; y < (ssize_t) image->rows; y++) image 524 magick/signature.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 527 magick/signature.c length=ExportQuantumPixels(image,image_view,quantum_info,quantum_type, image 528 magick/signature.c pixels,&image->exception); image 537 magick/signature.c (void) DeleteImageProperty(image,"signature"); image 538 magick/signature.c (void) SetImageProperty(image,"signature",hex_signature); image 86 magick/static.c Image **image,const int argc,const char **argv,ExceptionInfo *exception) image 91 magick/static.c assert(image != (Image **) NULL); image 92 magick/static.c assert((*image)->signature == MagickSignature); image 93 magick/static.c if ((*image)->debug != MagickFalse) image 94 magick/static.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",(*image)->filename); image 127 magick/static.c if ((*image)->debug != MagickFalse) image 130 magick/static.c signature=image_filter(image,argc,argv,exception); image 131 magick/static.c if ((*image)->debug != MagickFalse) image 152 magick/statistic.c static MagickPixelPacket **AcquirePixelThreadSet(const Image *image, image 174 magick/statistic.c length=image->columns; image 182 magick/statistic.c GetMagickPixelPacket(image,&pixels[i][j]); image 415 magick/statistic.c MagickExport MagickBooleanType EvaluateImage(Image *image, image 421 magick/statistic.c status=EvaluateImageChannel(image,CompositeChannels,op,value,exception); image 434 magick/statistic.c *image; image 466 magick/statistic.c image=CloneImage(images,images->columns,images->rows,MagickTrue,exception); image 467 magick/statistic.c if (image == (Image *) NULL) image 469 magick/statistic.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 471 magick/statistic.c InheritException(exception,&image->exception); image 472 magick/statistic.c image=DestroyImage(image); image 479 magick/statistic.c image=DestroyImage(image); image 491 magick/statistic.c evaluate_view=AcquireAuthenticCacheView(image,exception); image 499 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 525 magick/statistic.c image->columns,1,exception); image 533 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 565 magick/statistic.c if (image->colorspace == CMYKColorspace) image 577 magick/statistic.c if (image->colorspace == CMYKColorspace) image 593 magick/statistic.c image->rows); image 606 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 633 magick/statistic.c image->columns,1,exception); image 641 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 674 magick/statistic.c if (image->colorspace == CMYKColorspace) image 684 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 693 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 707 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 721 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 727 magick/statistic.c if (image->colorspace == CMYKColorspace) image 743 magick/statistic.c image->rows); image 753 magick/statistic.c image=DestroyImage(image); image 754 magick/statistic.c return(image); image 757 magick/statistic.c MagickExport MagickBooleanType EvaluateImageChannel(Image *image, image 781 magick/statistic.c assert(image != (Image *) NULL); image 782 magick/statistic.c assert(image->signature == MagickSignature); image 783 magick/statistic.c if (image->debug != MagickFalse) image 784 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 787 magick/statistic.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 789 magick/statistic.c InheritException(exception,&image->exception); image 795 magick/statistic.c image_view=AcquireAuthenticCacheView(image,exception); image 801 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 817 magick/statistic.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 824 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 854 magick/statistic.c if (image->matte == MagickFalse) image 883 magick/statistic.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 891 magick/statistic.c proceed=SetImageProgress(image,EvaluateImageTag,progress++,image->rows); image 1023 magick/statistic.c MagickExport MagickBooleanType FunctionImage(Image *image, image 1030 magick/statistic.c status=FunctionImageChannel(image,CompositeChannels,function, image 1035 magick/statistic.c MagickExport MagickBooleanType FunctionImageChannel(Image *image, image 1054 magick/statistic.c assert(image != (Image *) NULL); image 1055 magick/statistic.c assert(image->signature == MagickSignature); image 1056 magick/statistic.c if (image->debug != MagickFalse) image 1057 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1060 magick/statistic.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1062 magick/statistic.c InheritException(exception,&image->exception); image 1065 magick/statistic.c status=AccelerateFunctionImage(image,channel,function,number_parameters, image 1071 magick/statistic.c image_view=AcquireAuthenticCacheView(image,exception); image 1076 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 1089 magick/statistic.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1096 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 1109 magick/statistic.c if (image->matte == MagickFalse) image 1123 magick/statistic.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1131 magick/statistic.c proceed=SetImageProgress(image,FunctionImageTag,progress++,image->rows); image 1170 magick/statistic.c MagickExport MagickBooleanType GetImageEntropy(const Image *image, image 1176 magick/statistic.c status=GetImageChannelEntropy(image,CompositeChannels,entropy,exception); image 1180 magick/statistic.c MagickExport MagickBooleanType GetImageChannelEntropy(const Image *image, image 1189 magick/statistic.c assert(image != (Image *) NULL); image 1190 magick/statistic.c assert(image->signature == MagickSignature); image 1191 magick/statistic.c if (image->debug != MagickFalse) image 1192 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1193 magick/statistic.c channel_statistics=GetImageChannelStatistics(image,exception); image 1217 magick/statistic.c (image->matte != MagickFalse)) image 1224 magick/statistic.c (image->colorspace == CMYKColorspace)) image 1270 magick/statistic.c MagickExport MagickBooleanType GetImageExtrema(const Image *image, image 1276 magick/statistic.c status=GetImageChannelExtrema(image,CompositeChannels,minima,maxima, image 1281 magick/statistic.c MagickExport MagickBooleanType GetImageChannelExtrema(const Image *image, image 1292 magick/statistic.c assert(image != (Image *) NULL); image 1293 magick/statistic.c assert(image->signature == MagickSignature); image 1294 magick/statistic.c if (image->debug != MagickFalse) image 1295 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1296 magick/statistic.c status=GetImageChannelRange(image,channel,&min,&max,exception); image 1336 magick/statistic.c MagickExport MagickBooleanType GetImageKurtosis(const Image *image, image 1342 magick/statistic.c status=GetImageChannelKurtosis(image,CompositeChannels,kurtosis,skewness, image 1347 magick/statistic.c MagickExport MagickBooleanType GetImageChannelKurtosis(const Image *image, image 1362 magick/statistic.c assert(image != (Image *) NULL); image 1363 magick/statistic.c assert(image->signature == MagickSignature); image 1364 magick/statistic.c if (image->debug != MagickFalse) image 1365 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1374 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 1385 magick/statistic.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 1388 magick/statistic.c indexes=GetVirtualIndexQueue(image); image 1389 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 1430 magick/statistic.c (image->colorspace == CMYKColorspace)) image 1445 magick/statistic.c if (y < (ssize_t) image->rows) image 1465 magick/statistic.c return(y == (ssize_t) image->rows ? MagickTrue : MagickFalse); image 1502 magick/statistic.c MagickExport MagickBooleanType GetImageMean(const Image *image,double *mean, image 1508 magick/statistic.c status=GetImageChannelMean(image,CompositeChannels,mean,standard_deviation, image 1513 magick/statistic.c MagickExport MagickBooleanType GetImageChannelMean(const Image *image, image 1523 magick/statistic.c assert(image != (Image *) NULL); image 1524 magick/statistic.c assert(image->signature == MagickSignature); image 1525 magick/statistic.c if (image->debug != MagickFalse) image 1526 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1527 magick/statistic.c channel_statistics=GetImageChannelStatistics(image,exception); image 1564 magick/statistic.c (image->matte != MagickFalse)) image 1575 magick/statistic.c (image->colorspace == CMYKColorspace)) image 1621 magick/statistic.c MagickExport ChannelMoments *GetImageChannelMoments(const Image *image, image 1656 magick/statistic.c assert(image != (Image *) NULL); image 1657 magick/statistic.c assert(image->signature == MagickSignature); image 1658 magick/statistic.c if (image->debug != MagickFalse) image 1659 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1678 magick/statistic.c GetMagickPixelPacket(image,&pixel); image 1679 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 1693 magick/statistic.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 1696 magick/statistic.c indexes=GetVirtualIndexQueue(image); image 1697 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 1699 magick/statistic.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 1709 magick/statistic.c if (image->matte != MagickFalse) image 1715 magick/statistic.c if (image->colorspace == CMYKColorspace) image 1732 magick/statistic.c centroid[channel].x=(double) image->columns/2.0; image 1733 magick/statistic.c centroid[channel].y=(double) image->rows/2.0; image 1740 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 1754 magick/statistic.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 1757 magick/statistic.c indexes=GetVirtualIndexQueue(image); image 1758 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 1760 magick/statistic.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 1824 magick/statistic.c if (image->matte != MagickFalse) image 1848 magick/statistic.c if (image->colorspace == CMYKColorspace) image 1887 magick/statistic.c if (image->matte != MagickFalse) image 1902 magick/statistic.c if (image->colorspace == CMYKColorspace) image 2003 magick/statistic.c if (y < (ssize_t) image->rows) image 2045 magick/statistic.c const Image *image,ExceptionInfo *exception) image 2068 magick/statistic.c hash_image=BlurImage(image,0.0,1.0,exception); image 2090 magick/statistic.c hash_image=BlurImage(image,0.0,1.0,exception); image 2153 magick/statistic.c MagickExport MagickBooleanType GetImageRange(const Image *image, image 2156 magick/statistic.c return(GetImageChannelRange(image,CompositeChannels,minima,maxima,exception)); image 2159 magick/statistic.c MagickExport MagickBooleanType GetImageChannelRange(const Image *image, image 2169 magick/statistic.c assert(image != (Image *) NULL); image 2170 magick/statistic.c assert(image->signature == MagickSignature); image 2171 magick/statistic.c if (image->debug != MagickFalse) image 2172 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2175 magick/statistic.c GetMagickPixelPacket(image,&pixel); image 2176 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 2187 magick/statistic.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 2190 magick/statistic.c indexes=GetVirtualIndexQueue(image); image 2191 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 2193 magick/statistic.c SetMagickPixelPacket(image,p,indexes+x,&pixel); image 2216 magick/statistic.c (image->matte != MagickFalse)) image 2224 magick/statistic.c (image->colorspace == CMYKColorspace)) image 2234 magick/statistic.c return(y == (ssize_t) image->rows ? MagickTrue : MagickFalse); image 2270 magick/statistic.c MagickExport ChannelStatistics *GetImageChannelStatistics(const Image *image, image 2297 magick/statistic.c assert(image != (Image *) NULL); image 2298 magick/statistic.c assert(image->signature == MagickSignature); image 2299 magick/statistic.c if (image->debug != MagickFalse) image 2300 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2326 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 2337 magick/statistic.c p=GetVirtualPixels(image,0,y,image->columns,1,exception); image 2340 magick/statistic.c indexes=GetVirtualIndexQueue(image); image 2341 magick/statistic.c for (x=0; x < (ssize_t) image->columns; ) image 2373 magick/statistic.c if (image->matte != MagickFalse) image 2386 magick/statistic.c if (image->colorspace == CMYKColorspace) image 2435 magick/statistic.c if (image->matte != MagickFalse) image 2453 magick/statistic.c if (image->colorspace == CMYKColorspace) image 2476 magick/statistic.c area=(double) image->columns*image->rows; image 2500 magick/statistic.c if ((image->matte != MagickFalse) && (histogram[i].red > 0.0)) image 2502 magick/statistic.c if ((image->colorspace == CMYKColorspace) && (histogram[i].red > 0.0)) image 2516 magick/statistic.c if (image->matte != MagickFalse) image 2523 magick/statistic.c if (image->colorspace == CMYKColorspace) image 2560 magick/statistic.c if (image->matte != MagickFalse) image 2562 magick/statistic.c if (image->colorspace == CMYKColorspace) image 2596 magick/statistic.c if (y < (ssize_t) image->rows) image 2661 magick/statistic.c *image; image 2685 magick/statistic.c image=CloneImage(images,images->columns,images->rows,MagickTrue,exception); image 2686 magick/statistic.c if (image == (Image *) NULL) image 2688 magick/statistic.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2690 magick/statistic.c InheritException(exception,&image->exception); image 2691 magick/statistic.c image=DestroyImage(image); image 2698 magick/statistic.c image=DestroyImage(image); image 2709 magick/statistic.c polynomial_view=AcquireAuthenticCacheView(image,exception); image 2714 magick/statistic.c for (y=0; y < (ssize_t) image->rows; y++) image 2740 magick/statistic.c q=QueueCacheViewAuthenticPixels(polynomial_view,0,y,image->columns,1, image 2749 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 2763 magick/statistic.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 2770 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 2790 magick/statistic.c (image->colorspace == CMYKColorspace)) image 2798 magick/statistic.c for (x=0; x < (ssize_t) image->columns; x++) image 2803 magick/statistic.c if (image->matte == MagickFalse) image 2809 magick/statistic.c if (image->colorspace == CMYKColorspace) image 2825 magick/statistic.c image->rows); image 2833 magick/statistic.c image=DestroyImage(image); image 2834 magick/statistic.c return(image); image 3414 magick/statistic.c static inline void InsertPixelList(const Image *image,const PixelPacket *pixel, image 3447 magick/statistic.c if (image->colorspace == CMYKColorspace) image 3484 magick/statistic.c MagickExport Image *StatisticImage(const Image *image,const StatisticType type, image 3490 magick/statistic.c statistic_image=StatisticImageChannel(image,DefaultChannels,type,width, image 3495 magick/statistic.c MagickExport Image *StatisticImageChannel(const Image *image, image 3527 magick/statistic.c assert(image != (Image *) NULL); image 3528 magick/statistic.c assert(image->signature == MagickSignature); image 3529 magick/statistic.c if (image->debug != MagickFalse) image 3530 magick/statistic.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 3533 magick/statistic.c statistic_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 3558 magick/statistic.c image_view=AcquireVirtualCacheView(image,exception); image 3587 magick/statistic.c (ssize_t) (neighbor_height/2L),image->columns+neighbor_width, image 3618 magick/statistic.c InsertPixelList(image,r+u,s+u,pixel_list[id]); image 3619 magick/statistic.c r+=image->columns+neighbor_width; image 3620 magick/statistic.c s+=image->columns+neighbor_width; image 3622 magick/statistic.c GetMagickPixelPacket(image,&pixel); image 3623 magick/statistic.c SetMagickPixelPacket(image,p+neighbor_width*neighbor_height/2,indexes+x+ image 3641 magick/statistic.c if (image->colorspace == CMYKColorspace) image 3696 magick/statistic.c (image->colorspace == CMYKColorspace)) image 3703 magick/statistic.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 3711 magick/statistic.c proceed=SetImageProgress(image,StatisticImageTag,progress++, image 3712 magick/statistic.c image->rows); image 73 magick/stream.c *image; image 207 magick/stream.c static void DestroyPixelStream(Image *image) image 215 magick/stream.c assert(image != (Image *) NULL); image 216 magick/stream.c assert(image->signature == MagickSignature); image 217 magick/stream.c if (image->debug != MagickFalse) image 218 magick/stream.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 219 magick/stream.c cache_info=(CacheInfo *) image->cache; image 308 magick/stream.c static IndexPacket *GetAuthenticIndexesFromStream(const Image *image) image 313 magick/stream.c assert(image != (Image *) NULL); image 314 magick/stream.c assert(image->signature == MagickSignature); image 315 magick/stream.c if (image->debug != MagickFalse) image 316 magick/stream.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 317 magick/stream.c cache_info=(CacheInfo *) image->cache; image 354 magick/stream.c static PixelPacket *GetAuthenticPixelsStream(Image *image,const ssize_t x, image 361 magick/stream.c assert(image != (Image *) NULL); image 362 magick/stream.c assert(image->signature == MagickSignature); image 363 magick/stream.c if (image->debug != MagickFalse) image 364 magick/stream.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 365 magick/stream.c pixels=QueueAuthenticPixelsStream(image,x,y,columns,rows,exception); image 392 magick/stream.c static PixelPacket *GetAuthenticPixelsFromStream(const Image *image) image 397 magick/stream.c assert(image != (Image *) NULL); image 398 magick/stream.c assert(image->signature == MagickSignature); image 399 magick/stream.c if (image->debug != MagickFalse) image 400 magick/stream.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 401 magick/stream.c cache_info=(CacheInfo *) image->cache; image 437 magick/stream.c static MagickBooleanType GetOneAuthenticPixelFromStream(Image *image, image 443 magick/stream.c assert(image != (Image *) NULL); image 444 magick/stream.c assert(image->signature == MagickSignature); image 445 magick/stream.c *pixel=image->background_color; image 446 magick/stream.c pixels=GetAuthenticPixelsStream(image,x,y,1,1,exception); image 486 magick/stream.c static MagickBooleanType GetOneVirtualPixelFromStream(const Image *image, image 493 magick/stream.c assert(image != (Image *) NULL); image 494 magick/stream.c assert(image->signature == MagickSignature); image 495 magick/stream.c *pixel=image->background_color; image 496 magick/stream.c pixels=GetVirtualPixelStream(image,virtual_pixel_method,x,y,1,1,exception); image 558 magick/stream.c static const PixelPacket *GetVirtualPixelsStream(const Image *image) image 563 magick/stream.c assert(image != (Image *) NULL); image 564 magick/stream.c assert(image->signature == MagickSignature); image 565 magick/stream.c if (image->debug != MagickFalse) image 566 magick/stream.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 567 magick/stream.c cache_info=(CacheInfo *) image->cache; image 595 magick/stream.c static const IndexPacket *GetVirtualIndexesFromStream(const Image *image) image 600 magick/stream.c assert(image != (Image *) NULL); image 601 magick/stream.c assert(image->signature == MagickSignature); image 602 magick/stream.c if (image->debug != MagickFalse) image 603 magick/stream.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 604 magick/stream.c cache_info=(CacheInfo *) image->cache; image 669 magick/stream.c static const PixelPacket *GetVirtualPixelStream(const Image *image, image 691 magick/stream.c assert(image != (const Image *) NULL); image 692 magick/stream.c assert(image->signature == MagickSignature); image 693 magick/stream.c if (image->debug != MagickFalse) image 694 magick/stream.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 696 magick/stream.c ((x+(ssize_t) columns) > (ssize_t) image->columns) || image 697 magick/stream.c ((y+(ssize_t) rows) > (ssize_t) image->rows) || image 701 magick/stream.c "ImageDoesNotContainTheStreamGeometry","`%s'",image->filename); image 704 magick/stream.c cache_info=(CacheInfo *) image->cache; image 709 magick/stream.c cache_info->active_index_channel=((image->storage_class == PseudoClass) || image 710 magick/stream.c (image->colorspace == CMYKColorspace)) ? MagickTrue : MagickFalse; image 814 magick/stream.c static PixelPacket *QueueAuthenticPixelsStream(Image *image,const ssize_t x, image 836 magick/stream.c assert(image != (Image *) NULL); image 838 magick/stream.c ((x+(ssize_t) columns) > (ssize_t) image->columns) || image 839 magick/stream.c ((y+(ssize_t) rows) > (ssize_t) image->rows) || image 843 magick/stream.c "ImageDoesNotContainTheStreamGeometry","`%s'",image->filename); image 846 magick/stream.c stream_handler=GetBlobStreamHandler(image); image 850 magick/stream.c "NoStreamHandlerIsDefined","`%s'",image->filename); image 853 magick/stream.c cache_info=(CacheInfo *) image->cache; image 855 magick/stream.c if ((image->storage_class != GetPixelCacheStorageClass(image->cache)) || image 856 magick/stream.c (image->colorspace != GetPixelCacheColorspace(image->cache))) image 858 magick/stream.c if (GetPixelCacheStorageClass(image->cache) == UndefinedClass) image 859 magick/stream.c (void) stream_handler(image,(const void *) NULL,(size_t) image 861 magick/stream.c cache_info->storage_class=image->storage_class; image 862 magick/stream.c cache_info->colorspace=image->colorspace; image 863 magick/stream.c cache_info->columns=image->columns; image 864 magick/stream.c cache_info->rows=image->rows; image 865 magick/stream.c image->cache=cache_info; image 870 magick/stream.c cache_info->active_index_channel=((image->storage_class == PseudoClass) || image 871 magick/stream.c (image->colorspace == CMYKColorspace)) ? MagickTrue : MagickFalse; image 941 magick/stream.c *image; image 974 magick/stream.c image=ReadImage(read_info,exception); image 976 magick/stream.c return(image); image 1109 magick/stream.c static size_t WriteStreamImage(const Image *image,const void *pixels, image 1129 magick/stream.c stream_info=(StreamInfo *) image->client_data; image 1141 magick/stream.c cache_info=(CacheInfo *) image->cache; image 1145 magick/stream.c if (image != stream_info->image) image 1159 magick/stream.c stream_info->image=image; image 1174 magick/stream.c (void) StreamImagePixels(stream_info,image,stream_info->exception); image 1188 magick/stream.c (void) StreamImagePixels(stream_info,image,stream_info->exception); image 1204 magick/stream.c *image; image 1222 magick/stream.c image=ReadStream(read_info,&WriteStreamImage,exception); image 1225 magick/stream.c stream_info->quantum_info=AcquireQuantumInfo(image_info,image); image 1227 magick/stream.c image=DestroyImage(image); image 1228 magick/stream.c return(image); image 1261 magick/stream.c const Image *image,ExceptionInfo *exception) image 1284 magick/stream.c assert(image != (Image *) NULL); image 1285 magick/stream.c assert(image->signature == MagickSignature); image 1286 magick/stream.c if (image->debug != MagickFalse) image 1287 magick/stream.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1293 magick/stream.c ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename); image 1316 magick/stream.c if (image->colorspace == CMYKColorspace) image 1339 magick/stream.c if (image->colorspace == CMYKColorspace) image 1350 magick/stream.c if (image->colorspace == CMYKColorspace) image 1379 magick/stream.c if (image->colorspace == CMYKColorspace) image 1406 magick/stream.c p=GetAuthenticPixelQueue(image); image 1409 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1420 magick/stream.c p=GetAuthenticPixelQueue(image); image 1423 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1435 magick/stream.c p=GetAuthenticPixelQueue(image); image 1438 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1450 magick/stream.c p=GetAuthenticPixelQueue(image); image 1453 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1455 magick/stream.c *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelIntensity(image,p))); image 1462 magick/stream.c p=GetAuthenticPixelQueue(image); image 1465 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1476 magick/stream.c p=GetAuthenticPixelQueue(image); image 1479 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1491 magick/stream.c p=GetAuthenticPixelQueue(image); image 1494 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1504 magick/stream.c p=GetAuthenticPixelQueue(image); image 1507 magick/stream.c indexes=GetVirtualIndexQueue(image); image 1508 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1545 magick/stream.c if (image->colorspace == CMYKColorspace) image 1551 magick/stream.c *q=ScaleQuantumToChar(ClampToQuantum(GetPixelIntensity(image,p))); image 1571 magick/stream.c p=GetAuthenticPixelQueue(image); image 1574 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1588 magick/stream.c p=GetAuthenticPixelQueue(image); image 1591 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1607 magick/stream.c p=GetAuthenticPixelQueue(image); image 1610 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1625 magick/stream.c p=GetAuthenticPixelQueue(image); image 1628 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1630 magick/stream.c *q++=(double) ((QuantumScale*GetPixelIntensity(image,p))* image 1638 magick/stream.c p=GetAuthenticPixelQueue(image); image 1641 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1655 magick/stream.c p=GetAuthenticPixelQueue(image); image 1658 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1674 magick/stream.c p=GetAuthenticPixelQueue(image); image 1677 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1690 magick/stream.c p=GetAuthenticPixelQueue(image); image 1693 magick/stream.c indexes=GetVirtualIndexQueue(image); image 1694 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1736 magick/stream.c if (image->colorspace == CMYKColorspace) image 1743 magick/stream.c *q=(double) ((QuantumScale*GetPixelIntensity(image,p))* image 1764 magick/stream.c p=GetAuthenticPixelQueue(image); image 1767 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1781 magick/stream.c p=GetAuthenticPixelQueue(image); image 1784 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1800 magick/stream.c p=GetAuthenticPixelQueue(image); image 1803 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1818 magick/stream.c p=GetAuthenticPixelQueue(image); image 1821 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1823 magick/stream.c *q++=(float) ((QuantumScale*GetPixelIntensity(image,p))* image 1831 magick/stream.c p=GetAuthenticPixelQueue(image); image 1834 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1848 magick/stream.c p=GetAuthenticPixelQueue(image); image 1851 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1867 magick/stream.c p=GetAuthenticPixelQueue(image); image 1870 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1883 magick/stream.c p=GetAuthenticPixelQueue(image); image 1886 magick/stream.c indexes=GetVirtualIndexQueue(image); image 1887 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1929 magick/stream.c if (image->colorspace == CMYKColorspace) image 1936 magick/stream.c *q=(float) ((QuantumScale*GetPixelIntensity(image,p))* image 1957 magick/stream.c p=GetAuthenticPixelQueue(image); image 1960 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1971 magick/stream.c p=GetAuthenticPixelQueue(image); image 1974 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 1987 magick/stream.c p=GetAuthenticPixelQueue(image); image 1990 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2002 magick/stream.c p=GetAuthenticPixelQueue(image); image 2005 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2008 magick/stream.c GetPixelIntensity(image,p))); image 2015 magick/stream.c p=GetAuthenticPixelQueue(image); image 2018 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2029 magick/stream.c p=GetAuthenticPixelQueue(image); image 2032 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2045 magick/stream.c p=GetAuthenticPixelQueue(image); image 2048 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2058 magick/stream.c p=GetAuthenticPixelQueue(image); image 2061 magick/stream.c indexes=GetVirtualIndexQueue(image); image 2062 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2100 magick/stream.c if (image->colorspace == CMYKColorspace) image 2108 magick/stream.c GetPixelIntensity(image,p))); image 2128 magick/stream.c p=GetAuthenticPixelQueue(image); image 2131 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2142 magick/stream.c p=GetAuthenticPixelQueue(image); image 2145 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2157 magick/stream.c p=GetAuthenticPixelQueue(image); image 2160 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2172 magick/stream.c p=GetAuthenticPixelQueue(image); image 2175 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2177 magick/stream.c *q++=ScaleQuantumToLong(ClampToQuantum(GetPixelIntensity(image,p))); image 2184 magick/stream.c p=GetAuthenticPixelQueue(image); image 2187 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2198 magick/stream.c p=GetAuthenticPixelQueue(image); image 2201 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2213 magick/stream.c p=GetAuthenticPixelQueue(image); image 2216 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2226 magick/stream.c p=GetAuthenticPixelQueue(image); image 2229 magick/stream.c indexes=GetVirtualIndexQueue(image); image 2230 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2267 magick/stream.c if (image->colorspace == CMYKColorspace) image 2273 magick/stream.c *q=ScaleQuantumToLong(ClampToQuantum(GetPixelIntensity(image,p))); image 2293 magick/stream.c p=GetAuthenticPixelQueue(image); image 2296 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2307 magick/stream.c p=GetAuthenticPixelQueue(image); image 2310 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2322 magick/stream.c p=GetAuthenticPixelQueue(image); image 2325 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2337 magick/stream.c p=GetAuthenticPixelQueue(image); image 2340 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2342 magick/stream.c *q++=ClampToQuantum(GetPixelIntensity(image,p)); image 2349 magick/stream.c p=GetAuthenticPixelQueue(image); image 2352 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2363 magick/stream.c p=GetAuthenticPixelQueue(image); image 2366 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2378 magick/stream.c p=GetAuthenticPixelQueue(image); image 2381 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2391 magick/stream.c p=GetAuthenticPixelQueue(image); image 2394 magick/stream.c indexes=GetVirtualIndexQueue(image); image 2395 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2432 magick/stream.c if (image->colorspace == CMYKColorspace) image 2438 magick/stream.c *q=ClampToQuantum(GetPixelIntensity(image,p)); image 2458 magick/stream.c p=GetAuthenticPixelQueue(image); image 2461 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2472 magick/stream.c p=GetAuthenticPixelQueue(image); image 2475 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2487 magick/stream.c p=GetAuthenticPixelQueue(image); image 2490 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2502 magick/stream.c p=GetAuthenticPixelQueue(image); image 2505 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2507 magick/stream.c *q++=ScaleQuantumToShort(ClampToQuantum(GetPixelIntensity(image, image 2515 magick/stream.c p=GetAuthenticPixelQueue(image); image 2518 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2529 magick/stream.c p=GetAuthenticPixelQueue(image); image 2532 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2544 magick/stream.c p=GetAuthenticPixelQueue(image); image 2547 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2557 magick/stream.c p=GetAuthenticPixelQueue(image); image 2560 magick/stream.c indexes=GetVirtualIndexQueue(image); image 2561 magick/stream.c for (x=0; x < (ssize_t) GetImageExtent(image); x++) image 2598 magick/stream.c if (image->colorspace == CMYKColorspace) image 2604 magick/stream.c *q=ScaleQuantumToShort(ClampToQuantum(GetPixelIntensity(image, image 2655 magick/stream.c static MagickBooleanType SyncAuthenticPixelsStream(Image *image, image 2667 magick/stream.c assert(image != (Image *) NULL); image 2668 magick/stream.c assert(image->signature == MagickSignature); image 2669 magick/stream.c if (image->debug != MagickFalse) image 2670 magick/stream.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2671 magick/stream.c cache_info=(CacheInfo *) image->cache; image 2673 magick/stream.c stream_handler=GetBlobStreamHandler(image); image 2677 magick/stream.c "NoStreamHandlerIsDefined","`%s'",image->filename); image 2680 magick/stream.c length=stream_handler(image,cache_info->pixels,(size_t) cache_info->columns); image 2711 magick/stream.c Image *image,StreamHandler stream) image 2724 magick/stream.c assert(image != (Image *) NULL); image 2725 magick/stream.c assert(image->signature == MagickSignature); image 2729 magick/stream.c status=WriteImage(write_info,image); image 168 magick/threshold.c MagickExport Image *AdaptiveThresholdImage(const Image *image, image 196 magick/threshold.c assert(image != (const Image *) NULL); image 197 magick/threshold.c assert(image->signature == MagickSignature); image 198 magick/threshold.c if (image->debug != MagickFalse) image 199 magick/threshold.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 202 magick/threshold.c threshold_image=CloneImage(image,0,0,MagickTrue,exception); image 216 magick/threshold.c GetMagickPixelPacket(image,&zero); image 218 magick/threshold.c image_view=AcquireVirtualCacheView(image,exception); image 224 magick/threshold.c for (y=0; y < (ssize_t) image->rows; y++) image 256 magick/threshold.c height/2L,image->columns+width,height,exception); image 279 magick/threshold.c if (image->colorspace == CMYKColorspace) image 287 magick/threshold.c if (image->colorspace == CMYKColorspace) image 290 magick/threshold.c r+=image->columns+width; image 292 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 311 magick/threshold.c if (image->colorspace == CMYKColorspace) image 317 magick/threshold.c if (image->colorspace == CMYKColorspace) image 320 magick/threshold.c r+=image->columns+width; image 326 magick/threshold.c if (image->colorspace == CMYKColorspace) image 336 magick/threshold.c if (image->colorspace == CMYKColorspace) image 345 magick/threshold.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 353 magick/threshold.c proceed=SetImageProgress(image,ThresholdImageTag,progress++, image 354 magick/threshold.c image->rows); image 409 magick/threshold.c MagickExport MagickBooleanType BilevelImage(Image *image,const double threshold) image 414 magick/threshold.c status=BilevelImageChannel(image,DefaultChannels,threshold); image 418 magick/threshold.c MagickExport MagickBooleanType BilevelImageChannel(Image *image, image 438 magick/threshold.c assert(image != (Image *) NULL); image 439 magick/threshold.c assert(image->signature == MagickSignature); image 440 magick/threshold.c if (image->debug != MagickFalse) image 441 magick/threshold.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 442 magick/threshold.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 444 magick/threshold.c if (IsGrayColorspace(image->colorspace) != MagickFalse) image 445 magick/threshold.c (void) SetImageColorspace(image,sRGBColorspace); image 451 magick/threshold.c exception=(&image->exception); image 452 magick/threshold.c image_view=AcquireAuthenticCacheView(image,exception); image 457 magick/threshold.c for (y=0; y < (ssize_t) image->rows; y++) image 470 magick/threshold.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 479 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 481 magick/threshold.c SetPixelRed(q,GetPixelIntensity(image,q) <= threshold ? 0 : image 489 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 502 magick/threshold.c if (image->matte == MagickFalse) image 510 magick/threshold.c (image->colorspace == CMYKColorspace)) image 517 magick/threshold.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 525 magick/threshold.c proceed=SetImageProgress(image,ThresholdImageTag,progress++, image 526 magick/threshold.c image->rows); image 568 magick/threshold.c MagickExport MagickBooleanType BlackThresholdImage(Image *image, image 574 magick/threshold.c status=BlackThresholdImageChannel(image,DefaultChannels,threshold, image 575 magick/threshold.c &image->exception); image 579 magick/threshold.c MagickExport MagickBooleanType BlackThresholdImageChannel(Image *image, image 605 magick/threshold.c assert(image != (Image *) NULL); image 606 magick/threshold.c assert(image->signature == MagickSignature); image 607 magick/threshold.c if (image->debug != MagickFalse) image 608 magick/threshold.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 611 magick/threshold.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 613 magick/threshold.c GetMagickPixelPacket(image,&threshold); image 637 magick/threshold.c (IsGrayColorspace(image->colorspace) != MagickFalse)) image 638 magick/threshold.c (void) SetImageColorspace(image,sRGBColorspace); image 644 magick/threshold.c image_view=AcquireAuthenticCacheView(image,exception); image 649 magick/threshold.c for (y=0; y < (ssize_t) image->rows; y++) image 662 magick/threshold.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 669 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 684 magick/threshold.c (image->colorspace == CMYKColorspace) && image 691 magick/threshold.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 699 magick/threshold.c proceed=SetImageProgress(image,ThresholdImageTag,progress++, image 700 magick/threshold.c image->rows); image 738 magick/threshold.c MagickExport MagickBooleanType ClampImage(Image *image) image 743 magick/threshold.c status=ClampImageChannel(image,DefaultChannels); image 747 magick/threshold.c MagickExport MagickBooleanType ClampImageChannel(Image *image, image 767 magick/threshold.c assert(image != (Image *) NULL); image 768 magick/threshold.c assert(image->signature == MagickSignature); image 769 magick/threshold.c if (image->debug != MagickFalse) image 770 magick/threshold.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 771 magick/threshold.c if (image->storage_class == PseudoClass) image 779 magick/threshold.c q=image->colormap; image 780 magick/threshold.c for (i=0; i < (ssize_t) image->colors; i++) image 788 magick/threshold.c return(SyncImage(image)); image 795 magick/threshold.c exception=(&image->exception); image 796 magick/threshold.c image_view=AcquireAuthenticCacheView(image,exception); image 801 magick/threshold.c for (y=0; y < (ssize_t) image->rows; y++) image 814 magick/threshold.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 821 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 832 magick/threshold.c (image->colorspace == CMYKColorspace)) image 838 magick/threshold.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 846 magick/threshold.c proceed=SetImageProgress(image,ClampImageTag,progress++,image->rows); image 1339 magick/threshold.c MagickExport MagickBooleanType OrderedDitherImage(Image *image) image 1344 magick/threshold.c status=OrderedDitherImageChannel(image,DefaultChannels,&image->exception); image 1348 magick/threshold.c MagickExport MagickBooleanType OrderedDitherImageChannel(Image *image, image 1357 magick/threshold.c status=OrderedPosterizeImageChannel(image,channel,"o8x8",exception); image 1413 magick/threshold.c MagickExport MagickBooleanType OrderedPosterizeImage(Image *image, image 1419 magick/threshold.c status=OrderedPosterizeImageChannel(image,DefaultChannels,threshold_map, image 1424 magick/threshold.c MagickExport MagickBooleanType OrderedPosterizeImageChannel(Image *image, image 1447 magick/threshold.c assert(image != (Image *) NULL); image 1448 magick/threshold.c assert(image->signature == MagickSignature); image 1449 magick/threshold.c if (image->debug != MagickFalse) image 1450 magick/threshold.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1500 magick/threshold.c && (image->colorspace == CMYKColorspace)) ? levels.index : 0; image 1512 magick/threshold.c if ((channel & IndexChannel) != 0 && image->colorspace == CMYKColorspace) image 1550 magick/threshold.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 1552 magick/threshold.c InheritException(exception,&image->exception); image 1557 magick/threshold.c image_view=AcquireAuthenticCacheView(image,exception); image 1562 magick/threshold.c for (y=0; y < (ssize_t) image->rows; y++) image 1575 magick/threshold.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1582 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 1645 magick/threshold.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1653 magick/threshold.c proceed=SetImageProgress(image,DitherImageTag,progress++,image->rows); image 1707 magick/threshold.c MagickExport MagickBooleanType PerceptibleImage(Image *image, image 1713 magick/threshold.c status=PerceptibleImageChannel(image,DefaultChannels,epsilon); image 1717 magick/threshold.c MagickExport MagickBooleanType PerceptibleImageChannel(Image *image, image 1737 magick/threshold.c assert(image != (Image *) NULL); image 1738 magick/threshold.c assert(image->signature == MagickSignature); image 1739 magick/threshold.c if (image->debug != MagickFalse) image 1740 magick/threshold.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1741 magick/threshold.c if (image->storage_class == PseudoClass) image 1749 magick/threshold.c q=image->colormap; image 1750 magick/threshold.c for (i=0; i < (ssize_t) image->colors; i++) image 1758 magick/threshold.c return(SyncImage(image)); image 1765 magick/threshold.c exception=(&image->exception); image 1766 magick/threshold.c image_view=AcquireAuthenticCacheView(image,exception); image 1771 magick/threshold.c for (y=0; y < (ssize_t) image->rows; y++) image 1784 magick/threshold.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 1791 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 1802 magick/threshold.c (image->colorspace == CMYKColorspace)) image 1809 magick/threshold.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1817 magick/threshold.c proceed=SetImageProgress(image,PerceptibleImageTag,progress++,image->rows); image 1863 magick/threshold.c MagickExport MagickBooleanType RandomThresholdImage(Image *image, image 1869 magick/threshold.c status=RandomThresholdImageChannel(image,DefaultChannels,thresholds, image 1874 magick/threshold.c MagickExport MagickBooleanType RandomThresholdImageChannel(Image *image, image 1912 magick/threshold.c assert(image != (Image *) NULL); image 1913 magick/threshold.c assert(image->signature == MagickSignature); image 1914 magick/threshold.c if (image->debug != MagickFalse) image 1915 magick/threshold.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1920 magick/threshold.c GetMagickPixelPacket(image,&threshold); image 1940 magick/threshold.c status=OrderedPosterizeImageChannel(image,channel,thresholds,exception); image 1950 magick/threshold.c if (AcquireImageColormap(image,2) == MagickFalse) image 1952 magick/threshold.c image->filename); image 1954 magick/threshold.c image_view=AcquireAuthenticCacheView(image,exception); image 1960 magick/threshold.c for (y=0; y < (ssize_t) image->rows; y++) image 1979 magick/threshold.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1, image 1987 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 1995 magick/threshold.c intensity=GetPixelIntensity(image,q); image 2005 magick/threshold.c SetPixelRGBO(q,image->colormap+(ssize_t) index); image 2011 magick/threshold.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2019 magick/threshold.c proceed=SetImageProgress(image,ThresholdImageTag,progress++, image 2020 magick/threshold.c image->rows); image 2029 magick/threshold.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2031 magick/threshold.c InheritException(exception,&image->exception); image 2035 magick/threshold.c image_view=AcquireAuthenticCacheView(image,exception); image 2041 magick/threshold.c for (y=0; y < (ssize_t) image->rows; y++) image 2057 magick/threshold.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2064 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 2111 magick/threshold.c (image->colorspace == CMYKColorspace)) image 2135 magick/threshold.c (image->colorspace == CMYKColorspace)) image 2142 magick/threshold.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2150 magick/threshold.c proceed=SetImageProgress(image,ThresholdImageTag,progress++, image 2151 magick/threshold.c image->rows); image 2194 magick/threshold.c MagickExport MagickBooleanType WhiteThresholdImage(Image *image, image 2200 magick/threshold.c status=WhiteThresholdImageChannel(image,DefaultChannels,threshold, image 2201 magick/threshold.c &image->exception); image 2205 magick/threshold.c MagickExport MagickBooleanType WhiteThresholdImageChannel(Image *image, image 2231 magick/threshold.c assert(image != (Image *) NULL); image 2232 magick/threshold.c assert(image->signature == MagickSignature); image 2233 magick/threshold.c if (image->debug != MagickFalse) image 2234 magick/threshold.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2237 magick/threshold.c if (SetImageStorageClass(image,DirectClass) == MagickFalse) image 2240 magick/threshold.c GetMagickPixelPacket(image,&threshold); image 2263 magick/threshold.c (IsGrayColorspace(image->colorspace) != MagickFalse)) image 2264 magick/threshold.c (void) SetImageColorspace(image,sRGBColorspace); image 2270 magick/threshold.c image_view=AcquireAuthenticCacheView(image,exception); image 2275 magick/threshold.c for (y=0; y < (ssize_t) image->rows; y++) image 2288 magick/threshold.c q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); image 2295 magick/threshold.c for (x=0; x < (ssize_t) image->columns; x++) image 2310 magick/threshold.c (image->colorspace == CMYKColorspace) && image 2317 magick/threshold.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2325 magick/threshold.c proceed=SetImageProgress(image,ThresholdImageTag,progress++, image 2326 magick/threshold.c image->rows); image 98 magick/transform.c MagickExport Image *AutoOrientImage(const Image *image, image 104 magick/transform.c assert(image != (const Image *) NULL); image 105 magick/transform.c assert(image->signature == MagickSignature); image 115 magick/transform.c orient_image=CloneImage(image,0,0,MagickTrue,exception); image 120 magick/transform.c orient_image=FlopImage(image,exception); image 125 magick/transform.c orient_image=RotateImage(image,180.0,exception); image 130 magick/transform.c orient_image=FlipImage(image,exception); image 135 magick/transform.c orient_image=TransposeImage(image,exception); image 140 magick/transform.c orient_image=RotateImage(image,90.0,exception); image 145 magick/transform.c orient_image=TransverseImage(image,exception); image 150 magick/transform.c orient_image=RotateImage(image,270.0,exception); image 187 magick/transform.c MagickExport Image *ChopImage(const Image *image,const RectangleInfo *chop_info, image 214 magick/transform.c assert(image != (const Image *) NULL); image 215 magick/transform.c assert(image->signature == MagickSignature); image 216 magick/transform.c if (image->debug != MagickFalse) image 217 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 223 magick/transform.c (chop_info->x > (ssize_t) image->columns) || image 224 magick/transform.c (chop_info->y > (ssize_t) image->rows)) image 227 magick/transform.c if ((extent.x+(ssize_t) extent.width) > (ssize_t) image->columns) image 228 magick/transform.c extent.width=(size_t) ((ssize_t) image->columns-extent.x); image 229 magick/transform.c if ((extent.y+(ssize_t) extent.height) > (ssize_t) image->rows) image 230 magick/transform.c extent.height=(size_t) ((ssize_t) image->rows-extent.y); image 241 magick/transform.c chop_image=CloneImage(image,image->columns-extent.width,image->rows- image 250 magick/transform.c image_view=AcquireVirtualCacheView(image,exception); image 273 magick/transform.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 283 magick/transform.c for (x=0; x < (ssize_t) image->columns; x++) image 299 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 307 magick/transform.c proceed=SetImageProgress(image,ChopImageTag,progress++,image->rows); image 319 magick/transform.c for (y=0; y < (ssize_t) (image->rows-(extent.y+extent.height)); y++) image 337 magick/transform.c image->columns,1,exception); image 347 magick/transform.c for (x=0; x < (ssize_t) image->columns; x++) image 363 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 371 magick/transform.c proceed=SetImageProgress(image,ChopImageTag,progress++,image->rows); image 378 magick/transform.c chop_image->type=image->type; image 612 magick/transform.c MagickExport Image *CropImage(const Image *image,const RectangleInfo *geometry, image 640 magick/transform.c assert(image != (const Image *) NULL); image 641 magick/transform.c assert(image->signature == MagickSignature); image 642 magick/transform.c if (image->debug != MagickFalse) image 643 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 647 magick/transform.c bounding_box=image->page; image 650 magick/transform.c bounding_box.width=image->columns; image 651 magick/transform.c bounding_box.height=image->rows; image 660 magick/transform.c ((page.x-bounding_box.x) > (ssize_t) image->columns) || image 661 magick/transform.c ((page.y-bounding_box.y) > (ssize_t) image->rows)) image 667 magick/transform.c "GeometryDoesNotContainImage","`%s'",image->filename); image 668 magick/transform.c crop_image=CloneImage(image,1,1,MagickTrue,exception); image 704 magick/transform.c if ((page.x+(ssize_t) page.width) > (ssize_t) image->columns) image 705 magick/transform.c page.width=image->columns-page.x; image 708 magick/transform.c if ((page.y+(ssize_t) page.height) > (ssize_t) image->rows) image 709 magick/transform.c page.height=image->rows-page.y; image 717 magick/transform.c "GeometryDoesNotContainImage","`%s'",image->filename); image 723 magick/transform.c crop_image=CloneImage(image,page.width,page.height,MagickTrue,exception); image 726 magick/transform.c crop_image->page.width=image->page.width; image 727 magick/transform.c crop_image->page.height=image->page.height; image 728 magick/transform.c if (((ssize_t) (bounding_box.x+bounding_box.width) > (ssize_t) image->page.width) || image 729 magick/transform.c ((ssize_t) (bounding_box.y+bounding_box.height) > (ssize_t) image->page.height)) image 741 magick/transform.c image_view=AcquireVirtualCacheView(image,exception); image 781 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 789 magick/transform.c proceed=SetImageProgress(image,CropImageTag,progress++,image->rows); image 796 magick/transform.c crop_image->type=image->type; image 840 magick/transform.c MagickExport Image *CropImageToTiles(const Image *image, image 853 magick/transform.c assert(image != (Image *) NULL); image 854 magick/transform.c assert(image->signature == MagickSignature); image 855 magick/transform.c if (image->debug != MagickFalse) image 856 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 859 magick/transform.c flags=ParseGravityGeometry(image,crop_geometry,&geometry,exception); image 876 magick/transform.c width=image->columns; image 877 magick/transform.c height=image->rows; image 917 magick/transform.c crop.y+=image->page.y; image 937 magick/transform.c crop.x+=image->page.x; image 938 magick/transform.c next=CropImage(image,&crop,exception); image 952 magick/transform.c crop_image=CropImage(image,&geometry,exception); image 962 magick/transform.c if ((image->columns > geometry.width) || (image->rows > geometry.height)) image 978 magick/transform.c page=image->page; image 980 magick/transform.c page.width=image->columns; image 982 magick/transform.c page.height=image->rows; image 998 magick/transform.c next=CropImage(image,&geometry,exception); image 1008 magick/transform.c return(CloneImage(image,0,0,MagickTrue,exception)); image 1039 magick/transform.c MagickExport Image *ExcerptImage(const Image *image, image 1063 magick/transform.c assert(image != (const Image *) NULL); image 1064 magick/transform.c assert(image->signature == MagickSignature); image 1065 magick/transform.c if (image->debug != MagickFalse) image 1066 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1070 magick/transform.c excerpt_image=CloneImage(image,geometry->width,geometry->height,MagickTrue, image 1079 magick/transform.c image_view=AcquireVirtualCacheView(image,exception); image 1119 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1127 magick/transform.c proceed=SetImageProgress(image,ExcerptImageTag,progress++,image->rows); image 1134 magick/transform.c excerpt_image->type=image->type; image 1170 magick/transform.c MagickExport Image *ExtentImage(const Image *image, image 1179 magick/transform.c assert(image != (const Image *) NULL); image 1180 magick/transform.c assert(image->signature == MagickSignature); image 1181 magick/transform.c if (image->debug != MagickFalse) image 1182 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1186 magick/transform.c if ((image->columns == geometry->width) && image 1187 magick/transform.c (image->rows == geometry->height) && image 1189 magick/transform.c return(CloneImage(image,0,0,MagickTrue,exception)); image 1190 magick/transform.c extent_image=CloneImage(image,geometry->width,geometry->height,MagickTrue, image 1195 magick/transform.c (void) CompositeImage(extent_image,image->compose,image,-geometry->x, image 1225 magick/transform.c MagickExport Image *FlipImage(const Image *image,ExceptionInfo *exception) image 1248 magick/transform.c assert(image != (const Image *) NULL); image 1249 magick/transform.c assert(image->signature == MagickSignature); image 1250 magick/transform.c if (image->debug != MagickFalse) image 1251 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1254 magick/transform.c flip_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 1262 magick/transform.c page=image->page; image 1263 magick/transform.c image_view=AcquireVirtualCacheView(image,exception); image 1285 magick/transform.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1293 magick/transform.c (void) CopyMagickMemory(q,p,(size_t) image->columns*sizeof(*q)); image 1299 magick/transform.c (void) CopyMagickMemory(flip_indexes,indexes,(size_t) image->columns* image 1304 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1312 magick/transform.c proceed=SetImageProgress(image,FlipImageTag,progress++,image->rows); image 1319 magick/transform.c flip_image->type=image->type; image 1353 magick/transform.c MagickExport Image *FlopImage(const Image *image,ExceptionInfo *exception) image 1376 magick/transform.c assert(image != (const Image *) NULL); image 1377 magick/transform.c assert(image->signature == MagickSignature); image 1378 magick/transform.c if (image->debug != MagickFalse) image 1379 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1382 magick/transform.c flop_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 1390 magick/transform.c page=image->page; image 1391 magick/transform.c image_view=AcquireVirtualCacheView(image,exception); image 1416 magick/transform.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 1437 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1445 magick/transform.c proceed=SetImageProgress(image,FlopImageTag,progress++,image->rows); image 1452 magick/transform.c flop_image->type=image->type; image 1560 magick/transform.c MagickExport Image *RollImage(const Image *image,const ssize_t x_offset, image 1577 magick/transform.c assert(image != (const Image *) NULL); image 1578 magick/transform.c assert(image->signature == MagickSignature); image 1579 magick/transform.c if (image->debug != MagickFalse) image 1580 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1583 magick/transform.c roll_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception); image 1589 magick/transform.c offset.x+=(ssize_t) image->columns; image 1590 magick/transform.c while (offset.x >= (ssize_t) image->columns) image 1591 magick/transform.c offset.x-=(ssize_t) image->columns; image 1593 magick/transform.c offset.y+=(ssize_t) image->rows; image 1594 magick/transform.c while (offset.y >= (ssize_t) image->rows) image 1595 magick/transform.c offset.y-=(ssize_t) image->rows; image 1599 magick/transform.c status=CopyImageRegion(roll_image,image,(size_t) offset.x, image 1600 magick/transform.c (size_t) offset.y,(ssize_t) image->columns-offset.x,(ssize_t) image->rows- image 1602 magick/transform.c (void) SetImageProgress(image,RollImageTag,0,3); image 1603 magick/transform.c status&=CopyImageRegion(roll_image,image,image->columns-offset.x, image 1604 magick/transform.c (size_t) offset.y,0,(ssize_t) image->rows-offset.y,offset.x,0, image 1606 magick/transform.c (void) SetImageProgress(image,RollImageTag,1,3); image 1607 magick/transform.c status&=CopyImageRegion(roll_image,image,(size_t) offset.x,image->rows- image 1608 magick/transform.c offset.y,(ssize_t) image->columns-offset.x,0,0,offset.y,exception); image 1609 magick/transform.c (void) SetImageProgress(image,RollImageTag,2,3); image 1610 magick/transform.c status&=CopyImageRegion(roll_image,image,image->columns-offset.x,image->rows- image 1612 magick/transform.c (void) SetImageProgress(image,RollImageTag,3,3); image 1613 magick/transform.c roll_image->type=image->type; image 1653 magick/transform.c MagickExport Image *ShaveImage(const Image *image, image 1662 magick/transform.c assert(image != (const Image *) NULL); image 1663 magick/transform.c assert(image->signature == MagickSignature); image 1664 magick/transform.c if (image->debug != MagickFalse) image 1665 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1666 magick/transform.c if (((2*shave_info->width) >= image->columns) || image 1667 magick/transform.c ((2*shave_info->height) >= image->rows)) image 1669 magick/transform.c SetGeometry(image,&geometry); image 1672 magick/transform.c geometry.x=(ssize_t) shave_info->width+image->page.x; image 1673 magick/transform.c geometry.y=(ssize_t) shave_info->height+image->page.y; image 1674 magick/transform.c shave_image=CropImage(image,&geometry,exception); image 1713 magick/transform.c MagickExport Image *SpliceImage(const Image *image, image 1741 magick/transform.c assert(image != (const Image *) NULL); image 1742 magick/transform.c assert(image->signature == MagickSignature); image 1743 magick/transform.c if (image->debug != MagickFalse) image 1744 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1749 magick/transform.c splice_image=CloneImage(image,image->columns+splice_geometry.width, image 1750 magick/transform.c image->rows+splice_geometry.height,MagickTrue,exception); image 1763 magick/transform.c switch (image->gravity) image 1821 magick/transform.c image_view=AcquireVirtualCacheView(image,exception); image 1861 magick/transform.c if (image->matte != MagickFalse) image 1863 magick/transform.c if (image->colorspace == CMYKColorspace) image 1877 magick/transform.c if (image->matte != MagickFalse) image 1879 magick/transform.c if (image->colorspace == CMYKColorspace) image 1887 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1895 magick/transform.c proceed=SetImageProgress(image,SpliceImageTag,progress++, image 1942 magick/transform.c if (image->matte != MagickFalse) image 1944 magick/transform.c if (image->colorspace == CMYKColorspace) image 1958 magick/transform.c if (image->matte != MagickFalse) image 1960 magick/transform.c if (image->colorspace == CMYKColorspace) image 1968 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 1976 magick/transform.c proceed=SetImageProgress(image,SpliceImageTag,progress++, image 2036 magick/transform.c MagickExport MagickBooleanType TransformImage(Image **image, image 2049 magick/transform.c assert(image != (Image **) NULL); image 2050 magick/transform.c assert((*image)->signature == MagickSignature); image 2051 magick/transform.c if ((*image)->debug != MagickFalse) image 2052 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",(*image)->filename); image 2053 magick/transform.c transform_image=(*image); image 2062 magick/transform.c crop_image=CropImageToTiles(*image,crop_geometry,&(*image)->exception); image 2064 magick/transform.c transform_image=CloneImage(*image,0,0,MagickTrue,&(*image)->exception); image 2070 magick/transform.c *image=transform_image; image 2079 magick/transform.c &(*image)->exception); image 2085 magick/transform.c transform_image->filter,transform_image->blur,&(*image)->exception); image 2090 magick/transform.c *image=transform_image; image 2127 magick/transform.c *image, image 2149 magick/transform.c image=image_list[i]; image 2150 magick/transform.c status&=TransformImage(&image,crop_geometry,image_geometry); image 2151 magick/transform.c AppendImageToList(&transform_images,image); image 2183 magick/transform.c MagickExport Image *TransposeImage(const Image *image,ExceptionInfo *exception) image 2206 magick/transform.c assert(image != (const Image *) NULL); image 2207 magick/transform.c assert(image->signature == MagickSignature); image 2208 magick/transform.c if (image->debug != MagickFalse) image 2209 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2212 magick/transform.c transpose_image=CloneImage(image,image->rows,image->columns,MagickTrue, image 2221 magick/transform.c image_view=AcquireVirtualCacheView(image,exception); image 2227 magick/transform.c for (y=0; y < (ssize_t) image->rows; y++) image 2241 magick/transform.c p=GetCacheViewVirtualPixels(image_view,0,(ssize_t) image->rows-y-1, image 2242 magick/transform.c image->columns,1,exception); image 2243 magick/transform.c q=QueueCacheViewAuthenticPixels(transpose_view,(ssize_t) (image->rows-y-1), image 2250 magick/transform.c (void) CopyMagickMemory(q,p,(size_t) image->columns*sizeof(*q)); image 2257 magick/transform.c image->columns*sizeof(*transpose_indexes)); image 2261 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2269 magick/transform.c proceed=SetImageProgress(image,TransposeImageTag,progress++, image 2270 magick/transform.c image->rows); image 2277 magick/transform.c transpose_image->type=image->type; image 2312 magick/transform.c MagickExport Image *TransverseImage(const Image *image,ExceptionInfo *exception) image 2335 magick/transform.c assert(image != (const Image *) NULL); image 2336 magick/transform.c assert(image->signature == MagickSignature); image 2337 magick/transform.c if (image->debug != MagickFalse) image 2338 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2341 magick/transform.c transverse_image=CloneImage(image,image->rows,image->columns,MagickTrue, image 2350 magick/transform.c image_view=AcquireVirtualCacheView(image,exception); image 2356 magick/transform.c for (y=0; y < (ssize_t) image->rows; y++) image 2376 magick/transform.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 2377 magick/transform.c q=QueueCacheViewAuthenticPixels(transverse_view,(ssize_t) (image->rows-y- image 2384 magick/transform.c q+=image->columns; image 2385 magick/transform.c for (x=0; x < (ssize_t) image->columns; x++) image 2392 magick/transform.c for (x=0; x < (ssize_t) image->columns; x++) image 2393 magick/transform.c SetPixelIndex(transverse_indexes+image->columns-x-1, image 2399 magick/transform.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 2407 magick/transform.c proceed=SetImageProgress(image,TransverseImageTag,progress++, image 2408 magick/transform.c image->rows); image 2415 magick/transform.c transverse_image->type=image->type; image 2455 magick/transform.c MagickExport Image *TrimImage(const Image *image,ExceptionInfo *exception) image 2460 magick/transform.c assert(image != (const Image *) NULL); image 2461 magick/transform.c assert(image->signature == MagickSignature); image 2462 magick/transform.c if (image->debug != MagickFalse) image 2463 magick/transform.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 2464 magick/transform.c geometry=GetImageBoundingBox(image,exception); image 2470 magick/transform.c crop_image=CloneImage(image,1,1,MagickTrue,exception); image 2475 magick/transform.c crop_image->page=image->page; image 2480 magick/transform.c geometry.x+=image->page.x; image 2481 magick/transform.c geometry.y+=image->page.y; image 2482 magick/transform.c return(CropImage(image,&geometry,exception)); image 141 magick/vision.c MagickExport Image *ConnectedComponentsImage(const Image *image, image 190 magick/vision.c assert(image != (Image *) NULL); image 191 magick/vision.c assert(image->signature == MagickSignature); image 192 magick/vision.c if (image->debug != MagickFalse) image 193 magick/vision.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 196 magick/vision.c component_image=CloneImage(image,image->columns,image->rows,MagickTrue, image 209 magick/vision.c size=image->columns*image->rows; image 210 magick/vision.c if (image->columns != (size/image->rows)) image 221 magick/vision.c for (n=0; n < (ssize_t) (image->columns*image->rows); n++) image 234 magick/vision.c object[i].bounding_box.x=(ssize_t) image->columns; image 235 magick/vision.c object[i].bounding_box.y=(ssize_t) image->rows; image 236 magick/vision.c GetMagickPixelPacket(image,&object[i].color); image 243 magick/vision.c image_view=AcquireVirtualCacheView(image,exception); image 256 magick/vision.c for (y=0; y < (ssize_t) image->rows; y++) image 266 magick/vision.c p=GetCacheViewVirtualPixels(image_view,0,y-1,image->columns,3,exception); image 272 magick/vision.c p+=image->columns; image 273 magick/vision.c for (x=0; x < (ssize_t) image->columns; x++) image 286 magick/vision.c neighbor_offset=dy*image->columns+dx; image 287 magick/vision.c if (((x+dx) < 0) || ((x+dx) >= (ssize_t) image->columns) || image 288 magick/vision.c ((y+dy) < 0) || ((y+dy) >= (ssize_t) image->rows) || image 289 magick/vision.c (IsColorSimilar(image,p,p+neighbor_offset) == MagickFalse)) image 297 magick/vision.c offset=y*image->columns+x; image 336 magick/vision.c status=SetMatrixElement(equivalences,y*image->columns+x,0,&root); image 346 magick/vision.c image_view=AcquireVirtualCacheView(image,exception); image 367 magick/vision.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 384 magick/vision.c offset=y*image->columns+x; image 409 magick/vision.c if (image->matte != MagickFalse) image 411 magick/vision.c if (image->colorspace == CMYKColorspace) image 424 magick/vision.c if (image->progress_monitor != (MagickProgressMonitor) NULL) image 429 magick/vision.c proceed=SetImageProgress(image,ConnectedComponentsImageTag,progress++, image 430 magick/vision.c image->rows); image 452 magick/vision.c if (image->matte != MagickFalse) image 454 magick/vision.c if (image->colorspace == CMYKColorspace) image 459 magick/vision.c artifact=GetImageArtifact(image,"connected-components:area-threshold"); image 559 magick/vision.c artifact=GetImageArtifact(image,"connected-components:mean-color"); image 575 magick/vision.c artifact=GetImageArtifact(image,"connected-components:keep"); image 610 magick/vision.c artifact=GetImageArtifact(image,"connected-components:remove"); image 640 magick/vision.c artifact=GetImageArtifact(image,"connected-components:verbose"); image 75 magick/vms.c if (image->debug != MagickFalse) image 1350 magick/widget.c if (event->xexpose.window == windows->image.id) image 1352 magick/widget.c XRefreshWindow(display,&windows->image,event); image 1375 magick/widget.c if (event->xfocus.window == windows->image.id) image 1376 magick/widget.c (void) XSetInputFocus(display,windows->image.id,RevertToNone, image 7750 magick/widget.c (void) XCheckDefineCursor(display,windows->image.id,cursor); image 8884 magick/widget.c while (XCheckTypedWindowEvent(display,windows->image.id,Expose,&event)) image 8885 magick/widget.c XRefreshWindow(display,&windows->image,&event); image 429 magick/xwindow-private.h *image; image 469 magick/xwindow-private.h image, image 257 magick/xwindow.c magick_windows[number_windows++]=(&windows->image); image 317 magick/xwindow.c if (magick_windows[i]->image != (Image *) NULL) image 319 magick/xwindow.c magick_windows[i]->image=DestroyImage(magick_windows[i]->image); image 320 magick/xwindow.c magick_windows[i]->image=NewImageList(); image 451 magick/xwindow.c const XPixelInfo *pixel,XAnnotateInfo *annotate_info,Image *image) image 496 magick/xwindow.c assert(image != (Image *) NULL); image 542 magick/xwindow.c width=(unsigned int) image->columns; image 543 magick/xwindow.c height=(unsigned int) image->rows; image 547 magick/xwindow.c (void) GetOneVirtualPixel(image,(ssize_t) x,(ssize_t) y, image 548 magick/xwindow.c &annotate_image->background_color,&image->exception); image 551 magick/xwindow.c exception=(&image->exception); image 630 magick/xwindow.c RotateImage(annotate_image,annotate_info->degrees,&image->exception); image 680 magick/xwindow.c matte=image->matte; image 681 magick/xwindow.c (void) CompositeImage(image,annotate_image->matte != MagickFalse ? image 683 magick/xwindow.c image->matte=matte; image 876 magick/xwindow.c Image *image) image 904 magick/xwindow.c assert(image != (Image *) NULL); image 921 magick/xwindow.c "MemoryAllocationFailed",image->filename); image 932 magick/xwindow.c width=(unsigned int) image->columns; image 933 magick/xwindow.c height=(unsigned int) image->rows; image 1467 magick/xwindow.c id=windows->image.id; image 1469 magick/xwindow.c XRefreshWindow(display,&windows->image,&event); image 1474 magick/xwindow.c id=windows->image.id; image 1476 magick/xwindow.c XRefreshWindow(display,&windows->image,&event); image 1650 magick/xwindow.c XResourceInfo *resource_info,XWindows *windows,Image *image) image 1660 magick/xwindow.c XMakeStandardColormap(display,windows->visual_info,resource_info,image, image 1663 magick/xwindow.c (void) XSetWindowColormap(display,windows->image.id,colormap); image 1671 magick/xwindow.c XClientMessage(display,windows->image.id,windows->im_protocols, image 1899 magick/xwindow.c Image *image) image 1930 magick/xwindow.c assert(image != (Image *) NULL); image 1931 magick/xwindow.c if (image->debug) image 1932 magick/xwindow.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 1950 magick/xwindow.c XVisualClassName((int) windows->image.storage_class)); image 1951 magick/xwindow.c (void) FormatLocaleFile(file," depth: %d\n",windows->image.ximage->depth); image 1960 magick/xwindow.c windows->image.ximage->width,windows->image.ximage->height); image 1961 magick/xwindow.c if (windows->image.crop_geometry != (char *) NULL) image 1963 magick/xwindow.c windows->image.crop_geometry); image 1964 magick/xwindow.c if (windows->image.pixmap == (Pixmap) NULL) image 1968 magick/xwindow.c if (windows->image.shape != MagickFalse) image 1972 magick/xwindow.c if (windows->image.shared_memory != MagickFalse) image 1999 magick/xwindow.c (void) IdentifyImage(image,file,MagickTrue); image 2001 magick/xwindow.c text=FileToString(filename,~0UL,&image->exception); image 2020 magick/xwindow.c image->filename); image 2058 magick/xwindow.c static void XDitherImage(Image *image,XImage *ximage) image 2125 magick/xwindow.c "MemoryAllocationFailed",image->filename); image 2161 magick/xwindow.c image_view=AcquireVirtualCacheView(image,&image->exception); image 2162 magick/xwindow.c for (y=0; y < (int) image->rows; y++) image 2164 magick/xwindow.c p=GetCacheViewVirtualPixels(image_view,0,(ssize_t) y,image->columns,1, image 2165 magick/xwindow.c &image->exception); image 2168 magick/xwindow.c for (x=0; x < (int) image->columns; x++) image 2233 magick/xwindow.c const XPixelInfo *pixel,XDrawInfo *draw_info,Image *image) image 2277 magick/xwindow.c assert(image != (Image *) NULL); image 2278 magick/xwindow.c if (image->debug != MagickFalse) image 2407 magick/xwindow.c width=(unsigned int) image->columns; image 2408 magick/xwindow.c height=(unsigned int) image->rows; image 2412 magick/xwindow.c (void) GetOneVirtualPixel(image,(ssize_t) x,(ssize_t) y, image 2413 magick/xwindow.c &draw_image->background_color,&image->exception); image 2417 magick/xwindow.c exception=(&image->exception); image 2491 magick/xwindow.c rotate_image=RotateImage(draw_image,draw_info->degrees,&image->exception); image 2565 magick/xwindow.c (void) CompositeImage(image,CopyOpacityCompositeOp,draw_image,(ssize_t) x, image 2569 magick/xwindow.c matte=image->matte; image 2570 magick/xwindow.c (void) CompositeImage(image,OverCompositeOp,draw_image,(ssize_t) x, image 2572 magick/xwindow.c image->matte=matte; image 2961 magick/xwindow.c const XResourceInfo *resource_info,Image *image,XPixelInfo *pixel) image 3001 magick/xwindow.c if (image != (Image *) NULL) image 3002 magick/xwindow.c if (image->storage_class == PseudoClass) image 3003 magick/xwindow.c pixel->colors=(ssize_t) image->colors; image 3012 magick/xwindow.c image->filename); image 3135 magick/xwindow.c if (image != (Image *) NULL) image 3138 magick/xwindow.c (image->gamma != 0.0)) image 3157 magick/xwindow.c red_gamma*=image->gamma; image 3158 magick/xwindow.c green_gamma*=image->gamma; image 3159 magick/xwindow.c blue_gamma*=image->gamma; image 3161 magick/xwindow.c if (image->storage_class == PseudoClass) image 3166 magick/xwindow.c for (i=0; i < (ssize_t) image->colors; i++) image 3167 magick/xwindow.c pixel->pixels[i]=XGammaPixel(map_info,image->colormap+i); image 3169 magick/xwindow.c pixel->pixels[image->colors+i]=pixel->pen_colors[i].pixel; image 3861 magick/xwindow.c (void) QueryColorname(windows->image.image,&pixel,X11Compliance,name, image 3862 magick/xwindow.c &windows->image.image->exception); image 4105 magick/xwindow.c *image; image 4135 magick/xwindow.c image=NewImageList(); image 4424 magick/xwindow.c if (image == (Image *) NULL) image 4426 magick/xwindow.c image=composite_image; image 4440 magick/xwindow.c (void) CompositeImage(image,CopyCompositeOp,composite_image,(ssize_t) image 4462 magick/xwindow.c return(image); image 4801 magick/xwindow.c *image; image 4978 magick/xwindow.c image=XGetWindowImage(display,target,ximage_info->borders, image 4981 magick/xwindow.c if (image == (Image *) NULL) image 4986 magick/xwindow.c (void) CopyMagickString(image->filename,image_info->filename, image 4997 magick/xwindow.c clone_image=CloneImage(image,0,0,MagickTrue,&image->exception); image 5000 magick/xwindow.c crop_image=CropImage(clone_image,&crop_info,&image->exception); image 5003 magick/xwindow.c image=DestroyImage(image); image 5004 magick/xwindow.c image=crop_image; image 5012 magick/xwindow.c (void) CopyMagickString(image->filename,(char *) window_name.value, image 5026 magick/xwindow.c return(image); image 5345 magick/xwindow.c const XResourceInfo *resource_info,XWindowInfo *window,Image *image, image 5377 magick/xwindow.c window->image=DestroyImage(window->image); image 5378 magick/xwindow.c window->image=image; image 5380 magick/xwindow.c if (window->image != (Image *) NULL) image 5393 magick/xwindow.c window->image->page.x=0; image 5394 magick/xwindow.c window->image->page.y=0; image 5395 magick/xwindow.c (void) ParsePageGeometry(window->image,window->crop_geometry, image 5396 magick/xwindow.c &crop_info,&image->exception); image 5397 magick/xwindow.c crop_image=CropImage(window->image,&crop_info,&image->exception); image 5400 magick/xwindow.c if (window->image != image) image 5401 magick/xwindow.c window->image=DestroyImage(window->image); image 5402 magick/xwindow.c window->image=crop_image; image 5406 magick/xwindow.c if ((width != (unsigned int) window->image->columns) || image 5407 magick/xwindow.c (height != (unsigned int) window->image->rows)) image 5417 magick/xwindow.c (window->image->rows > (unsigned long) XDisplayHeight(display,window->screen)) && image 5418 magick/xwindow.c (window->image->columns > (unsigned long) XDisplayWidth(display,window->screen))) image 5419 magick/xwindow.c resize_image=ResizeImage(window->image,width,height, image 5420 magick/xwindow.c image->filter,image->blur,&image->exception); image 5423 magick/xwindow.c if (window->image->storage_class == PseudoClass) image 5424 magick/xwindow.c resize_image=SampleImage(window->image,width,height, image 5425 magick/xwindow.c &image->exception); image 5427 magick/xwindow.c resize_image=ThumbnailImage(window->image,width,height, image 5428 magick/xwindow.c &image->exception); image 5432 magick/xwindow.c if (window->image != image) image 5433 magick/xwindow.c window->image=DestroyImage(window->image); image 5434 magick/xwindow.c window->image=resize_image; image 5438 magick/xwindow.c width=(unsigned int) window->image->columns; image 5439 magick/xwindow.c assert((size_t) width == window->image->columns); image 5440 magick/xwindow.c height=(unsigned int) window->image->rows; image 5441 magick/xwindow.c assert((size_t) height == window->image->rows); image 5630 magick/xwindow.c if ((window->shape != MagickFalse) && (window->image != (Image *) NULL)) image 5631 magick/xwindow.c if ((window->image->matte != MagickFalse) && image 5686 magick/xwindow.c if (window->image != (Image *) NULL) image 5690 magick/xwindow.c XMakeImageLSBFirst(resource_info,window,window->image,ximage, image 5693 magick/xwindow.c XMakeImageMSBFirst(resource_info,window,window->image,ximage, image 5772 magick/xwindow.c const XWindowInfo *window,Image *image,XImage *ximage,XImage *matte_image) image 5811 magick/xwindow.c assert(image != (Image *) NULL); image 5812 magick/xwindow.c if (image->debug != MagickFalse) image 5813 magick/xwindow.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 5814 magick/xwindow.c canvas=image; image 5816 magick/xwindow.c (image->storage_class == DirectClass) && (image->matte != MagickFalse)) image 5833 magick/xwindow.c image->columns,(double) image->rows); image 5835 magick/xwindow.c pattern=ReadImage(image_info,&image->exception); image 5839 magick/xwindow.c canvas=CloneImage(image,0,0,MagickTrue,&image->exception); image 5870 magick/xwindow.c polarity=(unsigned short) ((GetPixelIntensity(image, image 6339 magick/xwindow.c if (canvas != image) image 6380 magick/xwindow.c const XWindowInfo *window,Image *image,XImage *ximage,XImage *matte_image) image 6419 magick/xwindow.c assert(image != (Image *) NULL); image 6420 magick/xwindow.c if (image->debug != MagickFalse) image 6421 magick/xwindow.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 6422 magick/xwindow.c canvas=image; image 6424 magick/xwindow.c (image->storage_class == DirectClass) && (image->matte != MagickFalse)) image 6441 magick/xwindow.c image->columns,(double) image->rows); image 6443 magick/xwindow.c pattern=ReadImage(image_info,&image->exception); image 6447 magick/xwindow.c canvas=CloneImage(image,0,0,MagickTrue,&image->exception); image 6478 magick/xwindow.c polarity=(unsigned short) ((GetPixelIntensity(image, image 6952 magick/xwindow.c if (canvas != image) image 7032 magick/xwindow.c while ((magnify*windows->image.ximage->width) < windows->magnify.width) image 7034 magick/xwindow.c while ((magnify*windows->image.ximage->height) < windows->magnify.height) image 7067 magick/xwindow.c ximage=windows->image.ximage; image 7071 magick/xwindow.c (windows->magnify.x >= windows->image.ximage->width)) image 7072 magick/xwindow.c windows->magnify.x=windows->image.ximage->width >> 1; image 7080 magick/xwindow.c (windows->magnify.y >= windows->image.ximage->height)) image 7081 magick/xwindow.c windows->magnify.y=windows->image.ximage->height >> 1; image 7374 magick/xwindow.c (void) GetOneVirtualMagickPixel(windows->image.image,(ssize_t) image 7376 magick/xwindow.c &windows->image.image->exception); image 7406 magick/xwindow.c (void) QueryMagickColorname(windows->image.image,&pixel,SVGCompliance,tuple, image 7407 magick/xwindow.c &windows->image.image->exception); image 7605 magick/xwindow.c XVisualInfo *visual_info,XResourceInfo *resource_info,Image *image, image 7641 magick/xwindow.c exception=(&image->exception); image 7647 magick/xwindow.c XGetPixelPacket(display,visual_info,map_info,resource_info,image, image 7652 magick/xwindow.c if ((image->matte == MagickFalse) && image 7669 magick/xwindow.c "UnableToDitherImage",image->filename); image 7698 magick/xwindow.c (void) RemapImage(resource_info->quantize_info,image, image 7701 magick/xwindow.c XGetPixelPacket(display,visual_info,map_info,resource_info,image, image 7703 magick/xwindow.c (void) SetImageStorageClass(image,DirectClass); image 7723 magick/xwindow.c if ((image->storage_class == DirectClass) || image 7724 magick/xwindow.c ((int) image->colors > visual_info->colormap_size)) image 7734 magick/xwindow.c (void) QuantizeImage(&quantize_info,image); image 7747 magick/xwindow.c image->filename); image 7752 magick/xwindow.c XGetPixelPacket(display,visual_info,map_info,resource_info,image,pixel); image 7764 magick/xwindow.c number_colors=image->colors; image 7769 magick/xwindow.c "UnableToCreateColormap",image->filename); image 7772 magick/xwindow.c for (i=0; i < (ssize_t) image->colors; i++) image 7774 magick/xwindow.c color.red=ScaleQuantumToShort(XRedGamma(image->colormap[i].red)); image 7775 magick/xwindow.c color.green=ScaleQuantumToShort(XGreenGamma(image->colormap[i].green)); image 7776 magick/xwindow.c color.blue=ScaleQuantumToShort(XBlueGamma(image->colormap[i].blue)); image 7804 magick/xwindow.c number_colors=image->colors; image 7809 magick/xwindow.c "UnableToCreateColormap",image->filename); image 7828 magick/xwindow.c NULL,0,pixel->pixels,(unsigned int) image->colors); image 7854 magick/xwindow.c diversity=(DiversityPacket *) AcquireQuantumMemory(image->colors, image 7858 magick/xwindow.c "UnableToCreateColormap",image->filename); image 7859 magick/xwindow.c for (i=0; i < (ssize_t) image->colors; i++) image 7861 magick/xwindow.c diversity[i].red=image->colormap[i].red; image 7862 magick/xwindow.c diversity[i].green=image->colormap[i].green; image 7863 magick/xwindow.c diversity[i].blue=image->colormap[i].blue; image 7867 magick/xwindow.c image_view=AcquireAuthenticCacheView(image,exception); image 7868 magick/xwindow.c for (y=0; y < (int) image->rows; y++) image 7877 magick/xwindow.c image->columns,1,exception); image 7881 magick/xwindow.c for (x=(int) image->columns-1; x >= 0; x--) image 7888 magick/xwindow.c qsort((void *) diversity,image->colors,sizeof(*diversity), image 7890 magick/xwindow.c for (i=0; i < (ssize_t) image->colors; ) image 7893 magick/xwindow.c i+=MagickMax((int) (image->colors >> 4),2); image 7895 magick/xwindow.c diversity[image->colors-1].count<<=4; image 7896 magick/xwindow.c qsort((void *) diversity,image->colors,sizeof(*diversity), image 7903 magick/xwindow.c for (i=0; i < (ssize_t) image->colors; i++) image 7907 magick/xwindow.c ScaleQuantumToShort(XRedGamma(image->colormap[index].red)); image 7909 magick/xwindow.c ScaleQuantumToShort(XGreenGamma(image->colormap[index].green)); image 7911 magick/xwindow.c ScaleQuantumToShort(XBlueGamma(image->colormap[index].blue)); image 7932 magick/xwindow.c "UnableToCreateColormap",image->filename); image 7940 magick/xwindow.c for (; i < (ssize_t) image->colors; i++) image 7944 magick/xwindow.c ScaleQuantumToShort(XRedGamma(image->colormap[index].red)); image 7946 magick/xwindow.c ScaleQuantumToShort(XGreenGamma(image->colormap[index].green)); image 7948 magick/xwindow.c ScaleQuantumToShort(XBlueGamma(image->colormap[index].blue)); image 7961 magick/xwindow.c if ((int) image->colors < visual_info->colormap_size) image 7967 magick/xwindow.c (visual_info->colormap_size-image->colors),256); image 7989 magick/xwindow.c "UnableToCreateColormap",image->filename); image 7991 magick/xwindow.c if ((int) image->colors < visual_info->colormap_size) image 7998 magick/xwindow.c (visual_info->colormap_size-image->colors),256); image 7999 magick/xwindow.c p=colors+image->colors; image 8007 magick/xwindow.c colors+image->colors,(int) retain_colors); image 8014 magick/xwindow.c p=colors+image->colors; image 8020 magick/xwindow.c (void) XStoreColors(display,colormap,colors+image->colors, image 8026 magick/xwindow.c image->colors); image 8033 magick/xwindow.c for (i=0; i < (ssize_t) image->colors; i++) image 8035 magick/xwindow.c color.red=ScaleQuantumToShort(XRedGamma(image->colormap[i].red)); image 8036 magick/xwindow.c color.green=ScaleQuantumToShort(XGreenGamma(image->colormap[i].green)); image 8037 magick/xwindow.c color.blue=ScaleQuantumToShort(XBlueGamma(image->colormap[i].blue)); image 8048 magick/xwindow.c (void) XStoreColors(display,colormap,colors,(int) image->colors); image 8077 magick/xwindow.c "UnableToCreateColormap",image->filename); image 8162 magick/xwindow.c pixel->pixels[image->colors+i]=pixel->pen_colors[i].pixel; image 8164 magick/xwindow.c pixel->colors=(ssize_t) (image->colors+MaxNumberPens); image 8435 magick/xwindow.c window_info->image=NewImageList(); image 8862 magick/xwindow.c MagickPrivate MagickBooleanType XRenderImage(Image *image, image 8935 magick/xwindow.c image->filename); image 8946 magick/xwindow.c ThrowXWindowException(XServerError,"UnableToGetVisual",image->filename); image 8990 magick/xwindow.c if (image->debug != MagickFalse) image 9036 magick/xwindow.c status=XAnnotateImage(display,&pixel,&annotate_info,image); image 9040 magick/xwindow.c image->filename); image 9310 magick/xwindow.c (void) XCheckDefineCursor(display,windows->image.id, image 9311 magick/xwindow.c windows->image.busy_cursor); image 9321 magick/xwindow.c (void) XCheckDefineCursor(display,windows->image.id, image 9322 magick/xwindow.c windows->image.cursor); image 9846 magick/xwindow.c MagickPrivate MagickBooleanType XRenderImage(Image *image, image 9852 magick/xwindow.c (void) ThrowMagickException(&image->exception,GetMagickModule(), image 9854 magick/xwindow.c image->filename); image 273 wand/animate.c *image; image 397 wand/animate.c if (image != (Image *) NULL) image 452 wand/animate.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 559 wand/animate.c clone_images=image; image 561 wand/animate.c clone_images=image_stack[k-1].image; image 1420 wand/animate.c if (image == (Image *) NULL) image 1422 wand/animate.c FinalizeImageSettings(image_info,image,MagickTrue); image 1423 wand/animate.c if (image == (Image *) NULL) image 1427 wand/animate.c XAnimateBackgroundImage(display,&resource_info,image); image 1438 wand/animate.c animate_image=XAnimateImages(display,&resource_info,argv,argc,image); image 1441 wand/animate.c image=animate_image; image 1442 wand/animate.c animate_image=XAnimateImages(display,&resource_info,argv,argc,image); image 1443 wand/animate.c if (animate_image != image) image 1444 wand/animate.c image=DestroyImageList(image); image 227 wand/compare.c *image, image 347 wand/compare.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 956 wand/compare.c if ((image == (Image *) NULL) || (GetImageListLength(image) < 2)) image 958 wand/compare.c FinalizeImageSettings(image_info,image,MagickTrue); image 959 wand/compare.c if ((image == (Image *) NULL) || (GetImageListLength(image) < 2)) image 961 wand/compare.c image=GetImageFromList(image,0); image 962 wand/compare.c reconstruct_image=GetImageFromList(image,1); image 972 wand/compare.c (void) SetImageArtifact(image,"compare:similarity-threshold",artifact); image 973 wand/compare.c similarity_image=SimilarityMetricImage(image,reconstruct_image,metric, image 976 wand/compare.c ThrowCompareException(ImageError,"ImagesTooDissimilar",image->filename); image 978 wand/compare.c if ((reconstruct_image->columns == image->columns) && image 979 wand/compare.c (reconstruct_image->rows == image->rows)) image 980 wand/compare.c difference_image=CompareImageChannels(image,reconstruct_image,channels, image 986 wand/compare.c difference_image=CompareImageChannels(image,reconstruct_image, image 990 wand/compare.c image->filename); image 1000 wand/compare.c composite_image=CloneImage(image,0,0,MagickTrue,exception); image 1002 wand/compare.c difference_image=CompareImageChannels(image,reconstruct_image, image 1014 wand/compare.c difference_image=CompareImageChannels(image,composite_image, image 1026 wand/compare.c distort_image=CropImage(image,&page,exception); image 1050 wand/compare.c (void) IsImagesEqual(image,reconstruct_image); image 1052 wand/compare.c (void) CopyMagickString(difference_image->magick,image->magick, image 1079 wand/compare.c image->error.normalized_mean_error, image 1080 wand/compare.c image->error.normalized_maximum_error); image 1095 wand/compare.c channel_distortion=GetImageChannelDistortions(image,reconstruct_image, image 1096 wand/compare.c metric,&image->exception); image 1097 wand/compare.c (void) FormatLocaleFile(stderr,"Image: %s\n",image->filename); image 1098 wand/compare.c if ((reconstruct_image->columns != image->columns) || image 1099 wand/compare.c (reconstruct_image->rows != image->rows)) image 1112 wand/compare.c switch (image->colorspace) image 1126 wand/compare.c if (image->matte != MagickFalse) image 1146 wand/compare.c if (image->matte != MagickFalse) image 1157 wand/compare.c if (image->matte != MagickFalse) image 1174 wand/compare.c switch (image->colorspace) image 1185 wand/compare.c if (image->matte != MagickFalse) image 1200 wand/compare.c if (image->matte != MagickFalse) image 1209 wand/compare.c if (image->matte != MagickFalse) image 1223 wand/compare.c image->error.normalized_mean_error, image 1224 wand/compare.c image->error.normalized_maximum_error); image 1243 wand/compare.c InheritException(exception,&image->exception); image 110 wand/composite.c static MagickBooleanType CompositeImageList(ImageInfo *image_info,Image **image, image 119 wand/composite.c assert(image != (Image **) NULL); image 120 wand/composite.c assert((*image)->signature == MagickSignature); image 121 wand/composite.c if ((*image)->debug != MagickFalse) image 122 wand/composite.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",(*image)->filename); image 154 wand/composite.c (*image)->offset=composite_options->stegano-1; image 155 wand/composite.c stegano_image=SteganoImage(*image,composite_image,exception); image 158 wand/composite.c *image=DestroyImageList(*image); image 159 wand/composite.c *image=stegano_image; image 168 wand/composite.c stereo_image=StereoAnaglyphImage(*image,composite_image, image 173 wand/composite.c *image=DestroyImageList(*image); image 174 wand/composite.c *image=stereo_image; image 193 wand/composite.c for (y=0; y < (ssize_t) (*image)->rows; y+=(ssize_t) composite_image->rows) image 194 wand/composite.c for (x=0; x < (ssize_t) (*image)->columns; x+=(ssize_t) columns) image 195 wand/composite.c status&=CompositeImageChannel(*image, image 198 wand/composite.c GetImageException(*image,exception); image 208 wand/composite.c SetGeometry(*image,&geometry); image 213 wand/composite.c GravityAdjustGeometry((*image)->columns,(*image)->rows, image 215 wand/composite.c (*image)->gravity=(GravityType) composite_options->gravity; image 219 wand/composite.c status&=CompositeImageChannel(*image,composite_options->channel, image 222 wand/composite.c GetImageException(*image,exception); image 426 wand/composite.c *image, image 482 wand/composite.c image=NewImageList(); image 531 wand/composite.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 1615 wand/composite.c if ((image == (Image *) NULL) || (GetImageListLength(image) < 2)) image 1617 wand/composite.c FinalizeImageSettings(image_info,image,MagickTrue); image 1618 wand/composite.c if ((image == (Image *) NULL) || (GetImageListLength(image) < 2)) image 1662 wand/composite.c InheritException(exception,&image->exception); image 135 wand/conjure.c image=DestroyImageList(image); \ image 159 wand/conjure.c *image; image 182 wand/conjure.c image=NewImageList(); image 294 wand/conjure.c image=ReadImages(image_info,exception); image 296 wand/conjure.c if (image != (Image *) NULL) image 297 wand/conjure.c image=DestroyImageList(image); image 298 wand/conjure.c status=image != (Image *) NULL ? MagickTrue : MagickFalse; image 305 wand/conjure.c if (image != (Image *) NULL) image 306 wand/conjure.c image=DestroyImageList(image); image 530 wand/convert.c *image; image 634 wand/convert.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 968 wand/convert.c clone_list=CloneImageList(image,exception); image 970 wand/convert.c clone_list=CloneImageList(image_stack[k-1].image,exception); image 3239 wand/convert.c FinalizeImageSettings(image_info,image,MagickTrue); image 3240 wand/convert.c if (image == (Image *) NULL) image 3246 wand/convert.c status&=WriteImages(image_info,image,argv[argc-1],exception); image 3252 wand/convert.c text=InterpretImageProperties(image_info,image,format); image 3253 wand/convert.c InheritException(exception,&image->exception); image 117 wand/deprecate.c WandExport DrawingWand *DrawAllocateWand(const DrawInfo *draw_info,Image *image) image 119 wand/deprecate.c return(AcquireDrawingWand(draw_info,image)); image 311 wand/display.c *image; image 460 wand/display.c if (image != (Image *) NULL) image 512 wand/display.c FinalizeImageSettings(image_info,image,MagickFalse); image 515 wand/display.c iterations=image->iterations; image 516 wand/display.c image_list=CloneImageList(image,exception); image 665 wand/display.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 100 wand/drawing-wand.c *image; image 294 wand/drawing-wand.c GetMagickPixelPacket(wand->image,&pixel); image 374 wand/drawing-wand.c Image *image) image 385 wand/drawing-wand.c if (image != (Image *) NULL) image 387 wand/drawing-wand.c wand->image=DestroyImage(wand->image); image 390 wand/drawing-wand.c wand->image=image; image 430 wand/drawing-wand.c if ((wand->destroy != MagickFalse) && (wand->image != (Image *) NULL)) image 431 wand/drawing-wand.c wand->image=DestroyImage(wand->image); image 433 wand/drawing-wand.c wand->image=(Image *) NULL; image 458 wand/drawing-wand.c wand->image=AcquireImage((const ImageInfo *) NULL); image 528 wand/drawing-wand.c clone_wand->image=wand->image; image 529 wand/drawing-wand.c if (wand->image != (Image *) NULL) image 530 wand/drawing-wand.c clone_wand->image=CloneImage(wand->image,0,0,MagickTrue, image 578 wand/drawing-wand.c if ((wand->destroy != MagickFalse) && (wand->image != (Image *) NULL)) image 579 wand/drawing-wand.c wand->image=DestroyImage(wand->image); image 580 wand/drawing-wand.c wand->image=(Image *) NULL; image 890 wand/drawing-wand.c *image; image 910 wand/drawing-wand.c image=GetImageFromMagickWand(magick_wand); image 911 wand/drawing-wand.c if (image == (Image *) NULL) image 913 wand/drawing-wand.c clone_image=CloneImage(image,0,0,MagickTrue,wand->exception); image 940 wand/drawing-wand.c media_type=MagickToMime(image->magick); image 2378 wand/drawing-wand.c static inline void SetMagickPixelPacket(const Image *image, image 2384 wand/drawing-wand.c if (image->matte != MagickFalse) image 2386 wand/drawing-wand.c if (((image->colorspace == CMYKColorspace) || image 2387 wand/drawing-wand.c (image->storage_class == PseudoClass)) && image 2416 wand/drawing-wand.c GetMagickPixelPacket(wand->image,&pixel); image 2445 wand/drawing-wand.c SetMagickPixelPacket(wand->image,&CurrentContext->fill, image 2512 wand/drawing-wand.c SetMagickPixelPacket(wand->image,&CurrentContext->stroke, image 2606 wand/drawing-wand.c SetMagickPixelPacket(wand->image,&CurrentContext->undercolor, image 4041 wand/drawing-wand.c if (wand->image == (Image *) NULL) image 4050 wand/drawing-wand.c (void) SetImageArtifact(wand->image,key,wand->mvg+wand->pattern_offset); image 4054 wand/drawing-wand.c (void) SetImageArtifact(wand->image,key,geometry); image 4280 wand/drawing-wand.c if (wand->image == (Image *) NULL) image 4282 wand/drawing-wand.c status=DrawImage(wand->image,CurrentContext); image 4283 wand/drawing-wand.c InheritException(wand->exception,&wand->image->exception); image 4548 wand/drawing-wand.c if (wand->image == (Image *) NULL) image 4550 wand/drawing-wand.c (void) DrawClipPath(wand->image,CurrentContext,CurrentContext->clip_mask); image 4910 wand/drawing-wand.c if (wand->image == (Image *) NULL) image 4919 wand/drawing-wand.c if (GetImageArtifact(wand->image,pattern) == (const char *) NULL) image 4926 wand/drawing-wand.c DrawPatternPath(wand->image,CurrentContext,pattern_spec, image 5353 wand/drawing-wand.c if (wand->image == (Image *) NULL) image 5359 wand/drawing-wand.c if (GetImageArtifact(wand->image,pattern) == (const char *) NULL) image 5366 wand/drawing-wand.c DrawPatternPath(wand->image,CurrentContext,pattern_spec, image 6745 wand/drawing-wand.c wand->image=AcquireImage((const ImageInfo *) NULL); image 6831 wand/drawing-wand.c if (wand->image == (Image *) NULL) image 6836 wand/drawing-wand.c (void) SetImageClipMask(wand->image,(Image *) NULL); image 220 wand/identify.c *image; image 333 wand/identify.c FinalizeImageSettings(image_info,image,MagickFalse); image 335 wand/identify.c for ( ; image != (Image *) NULL; image=GetNextImageInList(image)) image 337 wand/identify.c if (image->scene == 0) image 338 wand/identify.c image->scene=count++; image 341 wand/identify.c (void) IdentifyImage(image,stdout,image_info->verbose); image 349 wand/identify.c text=InterpretImageProperties(image_info,image,format); image 350 wand/identify.c InheritException(exception,&image->exception); image 361 wand/identify.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 258 wand/import.c *image; image 470 wand/import.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 1286 wand/import.c if (image == (Image *) NULL) image 1288 wand/import.c FinalizeImageSettings(image_info,image,MagickTrue); image 1289 wand/import.c status&=WriteImages(image_info,image,filename,exception); image 2727 wand/magick-image.c WandExport Image *MagickDestroyImage(Image *image) image 2729 wand/magick-image.c return(DestroyImage(image)); image 2761 wand/magick-image.c *image; image 2772 wand/magick-image.c image=CloneImage(wand->images,0,0,MagickTrue,wand->exception); image 2773 wand/magick-image.c if (image == (Image *) NULL) image 2776 wand/magick-image.c status=DisplayImages(wand->image_info,image); image 2778 wand/magick-image.c InheritException(wand->exception,&image->exception); image 2779 wand/magick-image.c image=DestroyImage(image); image 4040 wand/magick-image.c *image; image 4052 wand/magick-image.c image=CloneImage(wand->images,0,0,MagickTrue,wand->exception); image 4053 wand/magick-image.c if (image == (Image *) NULL) image 4055 wand/magick-image.c return(CloneMagickWandFromImages(wand,image)); image 4118 wand/magick-image.c *image; image 4130 wand/magick-image.c image=GetImageClipMask(wand->images,wand->exception); image 4131 wand/magick-image.c if (image == (Image *) NULL) image 4133 wand/magick-image.c return(CloneMagickWandFromImages(wand,image)); image 13151 wand/magick-image.c *image; image 13167 wand/magick-image.c image=CloneImage(wand->images,0,0,MagickTrue,wand->exception); image 13168 wand/magick-image.c if (image == (Image *) NULL) image 13172 wand/magick-image.c status=WriteImage(write_info,image); image 13174 wand/magick-image.c InheritException(wand->exception,&image->exception); image 13175 wand/magick-image.c image=DestroyImage(image); image 13207 wand/magick-image.c *image; image 13222 wand/magick-image.c image=CloneImage(wand->images,0,0,MagickTrue,wand->exception); image 13223 wand/magick-image.c if (image == (Image *) NULL) image 13228 wand/magick-image.c status=WriteImage(write_info,image); image 13231 wand/magick-image.c InheritException(wand->exception,&image->exception); image 13232 wand/magick-image.c image=DestroyImage(image); image 929 wand/magick-wand.c *image; image 937 wand/magick-wand.c image=GetImageFromList(wand->images,index); image 938 wand/magick-wand.c if (image == (Image *) NULL) image 943 wand/magick-wand.c wand->images=image; image 1115 wand/magick-wand.c WandExport MagickWand *NewMagickWandFromImage(const Image *image) image 1121 wand/magick-wand.c wand->images=CloneImage(image,0,0,MagickTrue,wand->exception); image 28 wand/mogrify-private.h AppendImageToList(&image_stack[k].image,images); \ image 29 wand/mogrify-private.h image=image_stack[k].image; \ image 35 wand/mogrify-private.h image_stack[k].image=DestroyImageList(image_stack[k].image); \ image 39 wand/mogrify-private.h #define FinalizeImageSettings(image_info,image,advance) \ image 42 wand/mogrify-private.h if (image != (Image *) NULL) \ image 44 wand/mogrify-private.h InheritException(exception,&(image)->exception); \ image 45 wand/mogrify-private.h (void) SyncImagesSettings(image_info,image); \ image 52 wand/mogrify-private.h if (image_stack[k].image == (Image *) NULL) \ image 59 wand/mogrify-private.h (i-j+1),(const char **) (argv+j),&image_stack[k].image, \ image 61 wand/mogrify-private.h image=image_stack[k].image; \ image 73 wand/mogrify-private.h image_stack[0].image=NewImageList(); \ image 75 wand/mogrify-private.h image=image_stack[0].image; \ image 81 wand/mogrify-private.h image_stack[k].image=NewImageList(); \ image 83 wand/mogrify-private.h image=image_stack[k].image; \ image 93 wand/mogrify-private.h AppendImageToList(&image_stack[k-1].image,image_stack[k].image); \ image 96 wand/mogrify-private.h image=image_stack[k].image; \ image 103 wand/mogrify-private.h images=RemoveFirstImageFromList(&image_stack[k].image); \ image 104 wand/mogrify-private.h image=image_stack[k].image; \ image 108 wand/mogrify-private.h if (image_stack[k].image != (Image *) NULL) \ image 109 wand/mogrify-private.h image_stack[k].image=DestroyImageList(image_stack[k].image); \ image 111 wand/mogrify-private.h #define SetImageStack(image) \ image 113 wand/mogrify-private.h image_stack[k].image=(image); \ image 122 wand/mogrify-private.h *image; image 347 wand/mogrify.c *image; image 358 wand/mogrify.c image=(Image *) GetImageRegistry(ImageRegistryType,key,sans_exception); image 360 wand/mogrify.c if (image != (Image *) NULL) image 361 wand/mogrify.c return(image); image 364 wand/mogrify.c image=ReadImage(read_info,exception); image 366 wand/mogrify.c if (image != (Image *) NULL) image 367 wand/mogrify.c (void) SetImageRegistry(ImageRegistryType,key,image,exception); image 368 wand/mogrify.c return(image); image 422 wand/mogrify.c static Image *SparseColorOption(const Image *image,const ChannelType channel, image 461 wand/mogrify.c assert(image != (Image *) NULL); image 462 wand/mogrify.c assert(image->signature == MagickSignature); image 463 wand/mogrify.c if (image->debug != MagickFalse) image 464 wand/mogrify.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); image 471 wand/mogrify.c if (image->colorspace != CMYKColorspace) image 473 wand/mogrify.c if (image->matte == MagickFalse) image 639 wand/mogrify.c sparse_image=SparseColorImage(image,channels,method,number_arguments, image 646 wand/mogrify.c const char **argv,Image **image,ExceptionInfo *exception) image 691 wand/mogrify.c assert(image != (Image **) NULL); image 692 wand/mogrify.c assert((*image)->signature == MagickSignature); image 693 wand/mogrify.c if ((*image)->debug != MagickFalse) image 694 wand/mogrify.c (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",(*image)->filename); image 701 wand/mogrify.c GetMagickPixelPacket(*image,&fill); image 702 wand/mogrify.c SetMagickPixelPacket(*image,&(*image)->background_color,(IndexPacket *) NULL, image 706 wand/mogrify.c SetGeometry(*image,®ion_geometry); image 737 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 741 wand/mogrify.c mogrify_image=AdaptiveBlurImageChannel(*image,channel, image 750 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 751 wand/mogrify.c (void) ParseRegionGeometry(*image,argv[i+1],&geometry,exception); image 752 wand/mogrify.c mogrify_image=AdaptiveResizeImage(*image,geometry.width, image 761 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 765 wand/mogrify.c mogrify_image=AdaptiveSharpenImageChannel(*image,channel, image 787 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 790 wand/mogrify.c (void) SetImageAlphaChannel(*image,alpha_type); image 791 wand/mogrify.c InheritException(exception,&(*image)->exception); image 803 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 808 wand/mogrify.c text=InterpretImageProperties(mogrify_info,*image,argv[i+2]); image 809 wand/mogrify.c InheritException(exception,&(*image)->exception); image 825 wand/mogrify.c (void) AnnotateImage(*image,draw_info); image 826 wand/mogrify.c InheritException(exception,&(*image)->exception); image 842 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 843 wand/mogrify.c (void) AutoGammaImageChannel(*image,channel); image 851 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 852 wand/mogrify.c (void) AutoLevelImageChannel(*image,channel); image 857 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 858 wand/mogrify.c mogrify_image=AutoOrientImage(*image,(*image)->orientation, image 871 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 872 wand/mogrify.c (void) BlackThresholdImageChannel(*image,channel,argv[i+1], image 874 wand/mogrify.c InheritException(exception,&(*image)->exception); image 882 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 886 wand/mogrify.c mogrify_image=BlueShiftImage(*image,geometry_info.rho,exception); image 894 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 898 wand/mogrify.c mogrify_image=BlurImageChannel(*image,channel,geometry_info.rho, image 907 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 908 wand/mogrify.c flags=ParsePageGeometry(*image,argv[i+1],&geometry,exception); image 909 wand/mogrify.c mogrify_image=BorderImage(*image,&geometry,exception); image 945 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 951 wand/mogrify.c (void) BrightnessContrastImageChannel(*image,channel,brightness, image 953 wand/mogrify.c InheritException(exception,&(*image)->exception); image 965 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 978 wand/mogrify.c mogrify_image=CannyEdgeImage(*image,geometry_info.rho, image 990 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 994 wand/mogrify.c (void) ColorDecisionListImage(*image,color_correction_collection); image 995 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1011 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1015 wand/mogrify.c mogrify_image=CharcoalImage(*image,geometry_info.rho, image 1024 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1025 wand/mogrify.c (void) ParseGravityGeometry(*image,argv[i+1],&geometry,exception); image 1026 wand/mogrify.c mogrify_image=ChopImage(*image,&geometry,exception); image 1034 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1035 wand/mogrify.c (void) ClampImageChannel(*image,channel); image 1036 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1041 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1044 wand/mogrify.c (void) SetImageClipMask(*image,(Image *) NULL); image 1045 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1048 wand/mogrify.c (void) ClipImage(*image); image 1049 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1069 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1075 wand/mogrify.c (void) SetImageMask(*image,(Image *) NULL); image 1076 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1110 wand/mogrify.c (void) SetImageClipMask(*image,mask_image); image 1112 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1117 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1118 wand/mogrify.c (void) ClipImagePath(*image,argv[i+1],*option == '-' ? MagickTrue : image 1120 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1128 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1129 wand/mogrify.c mogrify_image=ColorizeImage(*image,argv[i+1],draw_info->fill, image 1138 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1142 wand/mogrify.c mogrify_image=ColorMatrixImage(*image,kernel,exception); image 1151 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1155 wand/mogrify.c if (((*image)->storage_class == DirectClass) || image 1156 wand/mogrify.c (*image)->colors > quantize_info->number_colors) image 1157 wand/mogrify.c (void) QuantizeImage(quantize_info,*image); image 1159 wand/mogrify.c (void) CompressImageColormap(*image); image 1160 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1168 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1171 wand/mogrify.c (void) TransformImageColorspace(*image,sRGBColorspace); image 1172 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1177 wand/mogrify.c (void) TransformImageColorspace(*image,colorspace); image 1178 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1183 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1184 wand/mogrify.c mogrify_image=ConnectedComponentsImage(*image, image 1190 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1191 wand/mogrify.c (void) ContrastImage(*image,(*option == '-') ? MagickTrue : image 1193 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1208 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1215 wand/mogrify.c black_point*=(double) (*image)->columns*(*image)->rows/100.0; image 1216 wand/mogrify.c white_point*=(double) (*image)->columns*(*image)->rows/100.0; image 1218 wand/mogrify.c white_point=(MagickRealType) (*image)->columns*(*image)->rows- image 1220 wand/mogrify.c (void) ContrastStretchImageChannel(*image,channel,black_point, image 1222 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1239 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1250 wand/mogrify.c mogrify_image=MorphologyImage(*image,CorrelateMorphology,1, image 1260 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1262 wand/mogrify.c flags=ParseGravityGeometry(*image,argv[i+1],&geometry,exception); image 1268 wand/mogrify.c mogrify_image=CloneImage(*image,0,0,MagickTrue,&(*image)->exception); image 1273 wand/mogrify.c mogrify_image=CropImageToTiles(*image,argv[i+1],exception); image 1282 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1283 wand/mogrify.c (void) CycleColormapImage(*image,(ssize_t) StringToLong(argv[i+1])); image 1284 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1299 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1303 wand/mogrify.c (void) PasskeyDecipherImage(*image,passkey,exception); image 1318 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1321 wand/mogrify.c (void) SetImageDepth(*image,MAGICKCORE_QUANTUM_DEPTH); image 1324 wand/mogrify.c (void) SetImageDepth(*image,StringToUnsignedLong(argv[i+1])); image 1335 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1341 wand/mogrify.c mogrify_image=DeskewImage(*image,threshold,exception); image 1349 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1350 wand/mogrify.c mogrify_image=DespeckleImage(*image,exception); image 1382 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1393 wand/mogrify.c (void) ParseRegionGeometry(*image,argv[i+2],&geometry, image 1397 wand/mogrify.c mogrify_image=DistortImage(*image,method,(size_t) 2, image 1401 wand/mogrify.c args=InterpretImageProperties(mogrify_info,*image,argv[i+2]); image 1402 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1417 wand/mogrify.c "MemoryAllocationFailed",(*image)->filename); image 1429 wand/mogrify.c mogrify_image=DistortImage(*image,method,number_arguments,arguments, image 1453 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1455 wand/mogrify.c (void) DrawImage(*image,draw_info); image 1456 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1468 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1472 wand/mogrify.c mogrify_image=EdgeImage(*image,geometry_info.rho,exception); image 1480 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1484 wand/mogrify.c mogrify_image=EmbossImage(*image,geometry_info.rho, image 1496 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1500 wand/mogrify.c (void) PasskeyEncipherImage(*image,passkey,exception); image 1515 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1516 wand/mogrify.c mogrify_image=EnhanceImage(*image,exception); image 1524 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1525 wand/mogrify.c (void) EqualizeImageChannel(*image,channel); image 1526 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1537 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1542 wand/mogrify.c (void) EvaluateImageChannel(*image,channel,op,constant,exception); image 1550 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1551 wand/mogrify.c flags=ParseGravityGeometry(*image,argv[i+1],&geometry,exception); image 1553 wand/mogrify.c geometry.width=(*image)->columns; image 1555 wand/mogrify.c geometry.height=(*image)->rows; image 1556 wand/mogrify.c mogrify_image=ExtentImage(*image,&geometry,exception); image 1578 wand/mogrify.c (void) DeleteImageArtifact(*image,"identify:features"); image 1581 wand/mogrify.c (void) SetImageArtifact(*image,"identify:features",argv[i+1]); image 1582 wand/mogrify.c (void) SetImageArtifact(*image,"verbose","true"); image 1590 wand/mogrify.c GetMagickPixelPacket(*image,&fill); image 1613 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1614 wand/mogrify.c mogrify_image=FlipImage(*image,exception); image 1625 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1626 wand/mogrify.c (void) ParsePageGeometry(*image,argv[i+1],&geometry,exception); image 1628 wand/mogrify.c (void) FloodfillPaintImage(*image,channel,draw_info,&target, image 1630 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1638 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1639 wand/mogrify.c mogrify_image=FlopImage(*image,exception); image 1666 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1667 wand/mogrify.c flags=ParsePageGeometry(*image,argv[i+1],&geometry,exception); image 1674 wand/mogrify.c frame_info.width=(*image)->columns+2*frame_info.width; image 1675 wand/mogrify.c frame_info.height=(*image)->rows+2*frame_info.height; image 1676 wand/mogrify.c mogrify_image=FrameImage(*image,&frame_info,exception); image 1703 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1706 wand/mogrify.c arguments=InterpretImageProperties(mogrify_info,*image,argv[i+2]); image 1707 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1722 wand/mogrify.c "MemoryAllocationFailed",(*image)->filename); image 1734 wand/mogrify.c (void) FunctionImageChannel(*image,channel,function, image 1748 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1750 wand/mogrify.c (*image)->gamma=StringToDouble(argv[i+1],(char **) NULL); image 1754 wand/mogrify.c (void) GammaImage(*image,argv[i+1]); image 1756 wand/mogrify.c (void) GammaImageChannel(*image,channel, image 1758 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1768 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1772 wand/mogrify.c mogrify_image=GaussianBlurImageChannel(*image,channel, image 1781 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1784 wand/mogrify.c if ((*image)->geometry != (char *) NULL) image 1785 wand/mogrify.c (*image)->geometry=DestroyString((*image)->geometry); image 1788 wand/mogrify.c flags=ParseRegionGeometry(*image,argv[i+1],&geometry,exception); image 1790 wand/mogrify.c (void) CloneString(&(*image)->geometry,argv[i+1]); image 1792 wand/mogrify.c mogrify_image=ResizeImage(*image,geometry.width,geometry.height, image 1793 wand/mogrify.c (*image)->filter,(*image)->blur,exception); image 1812 wand/mogrify.c (void) SyncImagesSettings(mogrify_info,*image); image 1815 wand/mogrify.c (void) GrayscaleImage(*image,method); image 1816 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1825 wand/mogrify.c (void) SetImageArtifact(*image,option+1,argv[i+1]); image 1833 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1839 wand/mogrify.c mogrify_image=HoughLineImage(*image,(size_t) geometry_info.rho, image 1852 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1855 wand/mogrify.c (void) IdentifyImage(*image,stdout,mogrify_info->verbose); image 1856 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1859 wand/mogrify.c text=InterpretImageProperties(mogrify_info,*image,format); image 1860 wand/mogrify.c InheritException(exception,&(*image)->exception); image 1872 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1874 wand/mogrify.c mogrify_image=ImplodeImage(*image,geometry_info.rho,exception); image 1900 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1901 wand/mogrify.c (void) ParseRegionGeometry(*image,argv[i+1],&geometry,exception); image 1902 wand/mogrify.c mogrify_image=InterpolativeResizeImage(*image,geometry.width, image 1903 wand/mogrify.c geometry.height,(*image)->interpolate,exception); image 1924 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1928 wand/mogrify.c mogrify_image=KuwaharaImageChannel(*image,channel,geometry_info.rho, image 1941 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1947 wand/mogrify.c mogrify_image=AdaptiveThresholdImage(*image,(size_t) image 1965 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 1982 wand/mogrify.c (void) LevelizeImageChannel(*image,channel,black_point, image 1985 wand/mogrify.c (void) LevelImageChannel(*image,channel,black_point,white_point, image 1987 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2021 wand/mogrify.c (void) LevelColorsImageChannel(*image,channel,&black_point, image 2034 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2037 wand/mogrify.c white_point=(MagickRealType) (*image)->columns*(*image)->rows; image 2042 wand/mogrify.c black_point*=(double) (*image)->columns*(*image)->rows/100.0; image 2043 wand/mogrify.c white_point*=(double) (*image)->columns*(*image)->rows/100.0; image 2046 wand/mogrify.c white_point=(MagickRealType) (*image)->columns*(*image)->rows- image 2048 wand/mogrify.c (void) LinearStretchImage(*image,black_point,white_point); image 2049 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2062 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2063 wand/mogrify.c flags=ParseRegionGeometry(*image,argv[i+1],&geometry,exception); image 2068 wand/mogrify.c mogrify_image=LiquidRescaleImage(*image,geometry.width, image 2077 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2084 wand/mogrify.c geometry_info.rho*=MagickMax((*image)->columns,(*image)->rows)/ image 2086 wand/mogrify.c mogrify_image=LocalContrastImage(*image,geometry_info.rho, image 2092 wand/mogrify.c (void) SetImageArtifact(*image,option+1,argv[i+1]); image 2104 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2105 wand/mogrify.c mogrify_image=MagnifyImage(*image,exception); image 2116 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2122 wand/mogrify.c (void) RemapImage(quantize_info,*image,remap_image); image 2123 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2132 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2138 wand/mogrify.c (void) SetImageMask(*image,(Image *) NULL); image 2139 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2148 wand/mogrify.c (void) SetImageMask(*image,mask); image 2150 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2155 wand/mogrify.c (void) SetImageAlphaChannel(*image,(*option == '-') ? image 2157 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2165 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2173 wand/mogrify.c mogrify_image=MeanShiftImage(*image,(size_t) geometry_info.rho, image 2182 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2184 wand/mogrify.c mogrify_image=StatisticImageChannel(*image,channel,MedianStatistic, image 2193 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2195 wand/mogrify.c mogrify_image=StatisticImageChannel(*image,channel,ModeStatistic, image 2201 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2202 wand/mogrify.c (void) ModulateImage(*image,argv[i+1]); image 2203 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2210 wand/mogrify.c (void) DeleteImageArtifact(*image,"identify:moments"); image 2213 wand/mogrify.c (void) SetImageArtifact(*image,"identify:moments",argv[i+1]); image 2214 wand/mogrify.c (void) SetImageArtifact(*image,"verbose","true"); image 2221 wand/mogrify.c (void) SetImageProgressMonitor(*image, image 2225 wand/mogrify.c (void) SetImageProgressMonitor(*image,MonitorProgress, image 2231 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2232 wand/mogrify.c (void) SetImageType(*image,BilevelType); image 2233 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2256 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2275 wand/mogrify.c mogrify_image=MorphologyImageChannel(*image,channel,method, image 2285 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2289 wand/mogrify.c mogrify_image=MotionBlurImageChannel(*image,channel, image 2299 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2300 wand/mogrify.c (void) NegateImageChannel(*image,channel,*option == '+' ? image 2302 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2307 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2313 wand/mogrify.c mogrify_image=StatisticImageChannel(*image,channel, image 2324 wand/mogrify.c mogrify_image=AddNoiseImageChannel(*image,channel,noise, image 2331 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2332 wand/mogrify.c (void) NormalizeImageChannel(*image,channel); image 2333 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2345 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2347 wand/mogrify.c (void) OpaquePaintImageChannel(*image,channel,&target,&fill, image 2353 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2354 wand/mogrify.c (void) OrderedPosterizeImageChannel(*image,channel,argv[i+1], image 2364 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2366 wand/mogrify.c mogrify_image=OilPaintImage(*image,geometry_info.rho,exception); image 2384 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2385 wand/mogrify.c (void) PerceptibleImageChannel(*image,channel,StringToDouble( image 2387 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2410 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2420 wand/mogrify.c mogrify_image=PolaroidImage(*image,draw_info,angle,exception); image 2428 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2429 wand/mogrify.c (void) PosterizeImage(*image,StringToUnsignedLong(argv[i+1]), image 2431 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2442 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2448 wand/mogrify.c mogrify_image=PreviewImage(*image,preview_type,exception); image 2465 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2471 wand/mogrify.c (void) ProfileImage(*image,argv[i+1],(const unsigned char *) image 2473 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2480 wand/mogrify.c profile=GetImageProfile(*image,"iptc"); image 2496 wand/mogrify.c (void) ProfileImage(*image,profile_info->magick, image 2510 wand/mogrify.c (void) ProfileImage(*image,name,GetStringInfoDatum(profile), image 2542 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2543 wand/mogrify.c mogrify_image=RotationalBlurImageChannel(*image,channel, image 2552 wand/mogrify.c flags=ParsePageGeometry(*image,argv[i+1],&geometry,exception); image 2553 wand/mogrify.c (void) RaiseImage(*image,&geometry,*option == '-' ? MagickTrue : image 2555 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2563 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2564 wand/mogrify.c (void) RandomThresholdImageChannel(*image,channel,argv[i+1], image 2573 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2577 wand/mogrify.c mogrify_image=ColorMatrixImage(*image,kernel,exception); image 2583 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2590 wand/mogrify.c MagickFalse ? CopyCompositeOp : OverCompositeOp,*image, image 2593 wand/mogrify.c *image=DestroyImage(*image); image 2594 wand/mogrify.c *image=region_image; image 2602 wand/mogrify.c (void) ParseGravityGeometry(*image,argv[i+1],®ion_geometry, image 2604 wand/mogrify.c mogrify_image=CropImage(*image,®ion_geometry,exception); image 2607 wand/mogrify.c region_image=(*image); image 2608 wand/mogrify.c *image=mogrify_image; image 2614 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2626 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2632 wand/mogrify.c (void) RemapImage(quantize_info,*image,remap_image); image 2633 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2641 wand/mogrify.c (void) ParseAbsoluteGeometry("0x0+0+0",&(*image)->page); image 2644 wand/mogrify.c (void) ResetImagePage(*image,argv[i+1]); image 2645 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2653 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2657 wand/mogrify.c mogrify_image=ResampleImage(*image,geometry_info.rho, image 2658 wand/mogrify.c geometry_info.sigma,(*image)->filter,(*image)->blur,exception); image 2666 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2667 wand/mogrify.c (void) ParseRegionGeometry(*image,argv[i+1],&geometry,exception); image 2668 wand/mogrify.c mogrify_image=ResizeImage(*image,geometry.width,geometry.height, image 2669 wand/mogrify.c (*image)->filter,(*image)->blur,exception); image 2677 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2678 wand/mogrify.c (void) ParsePageGeometry(*image,argv[i+1],&geometry,exception); image 2679 wand/mogrify.c mogrify_image=RollImage(*image,geometry.x,geometry.y,exception); image 2690 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2692 wand/mogrify.c if ((*image)->columns <= (*image)->rows) image 2695 wand/mogrify.c if ((*image)->columns >= (*image)->rows) image 2705 wand/mogrify.c mogrify_image=RotateImage(*image,geometry_info.rho,exception); image 2717 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2718 wand/mogrify.c (void) ParseRegionGeometry(*image,argv[i+1],&geometry,exception); image 2719 wand/mogrify.c mogrify_image=SampleImage(*image,geometry.width,geometry.height, image 2728 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2729 wand/mogrify.c (void) ParseRegionGeometry(*image,argv[i+1],&geometry,exception); image 2730 wand/mogrify.c mogrify_image=ScaleImage(*image,geometry.width,geometry.height, image 2739 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2743 wand/mogrify.c mogrify_image=SelectiveBlurImageChannel(*image,channel, image 2753 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2754 wand/mogrify.c mogrify_image=SeparateImages(*image,channel,exception); image 2765 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2768 wand/mogrify.c mogrify_image=SepiaToneImage(*image,threshold,exception); image 2776 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2780 wand/mogrify.c (void) SegmentImage(*image,(*image)->colorspace, image 2782 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2801 wand/mogrify.c (void) DeleteImageArtifact(*image,argv[i+1]+7); image 2804 wand/mogrify.c (void) DeleteImageProperty(*image,argv[i+1]); image 2807 wand/mogrify.c value=InterpretImageProperties(mogrify_info,*image,argv[i+2]); image 2808 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2819 wand/mogrify.c (void) SetImageArtifact(*image,argv[i+1]+7,value); image 2822 wand/mogrify.c (void) SetImageProperty(*image,argv[i+1],value); image 2831 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2835 wand/mogrify.c mogrify_image=ShadeImage(*image,(*option == '-') ? MagickTrue : image 2844 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2852 wand/mogrify.c mogrify_image=ShadowImage(*image,geometry_info.rho, image 2862 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2866 wand/mogrify.c mogrify_image=SharpenImageChannel(*image,channel,geometry_info.rho, image 2875 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2876 wand/mogrify.c flags=ParsePageGeometry(*image,argv[i+1],&geometry,exception); image 2877 wand/mogrify.c mogrify_image=ShaveImage(*image,&geometry,exception); image 2885 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2889 wand/mogrify.c mogrify_image=ShearImage(*image,geometry_info.rho, image 2898 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2905 wand/mogrify.c (void) SigmoidalContrastImageChannel(*image,channel, image 2908 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2916 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2920 wand/mogrify.c mogrify_image=SketchImage(*image,geometry_info.rho, image 2929 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2932 wand/mogrify.c (void) SolarizeImageChannel(*image,channel,threshold,exception); image 2946 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2949 wand/mogrify.c arguments=InterpretImageProperties(mogrify_info,*image,argv[i+2]); image 2950 wand/mogrify.c InheritException(exception,&(*image)->exception); image 2953 wand/mogrify.c mogrify_image=SparseColorOption(*image,channel,method,arguments, image 2963 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2964 wand/mogrify.c (void) ParseGravityGeometry(*image,argv[i+1],&geometry,exception); image 2965 wand/mogrify.c mogrify_image=SpliceImage(*image,&geometry,exception); image 2973 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2975 wand/mogrify.c mogrify_image=SpreadImage(*image,geometry_info.rho,exception); image 2983 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 2987 wand/mogrify.c mogrify_image=StatisticImageChannel(*image,channel,type,(size_t) image 3007 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3008 wand/mogrify.c (void) StripImage(*image); image 3009 wand/mogrify.c InheritException(exception,&(*image)->exception); image 3054 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3056 wand/mogrify.c mogrify_image=SwirlImage(*image,geometry_info.rho,exception); image 3071 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3077 wand/mogrify.c (void) BilevelImageChannel(*image,channel,threshold); image 3078 wand/mogrify.c InheritException(exception,&(*image)->exception); image 3086 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3087 wand/mogrify.c (void) ParseRegionGeometry(*image,argv[i+1],&geometry,exception); image 3088 wand/mogrify.c mogrify_image=ThumbnailImage(*image,geometry.width,geometry.height, image 3109 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3110 wand/mogrify.c mogrify_image=TintImage(*image,argv[i+1],draw_info->fill,exception); image 3118 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3119 wand/mogrify.c mogrify_image=AffineTransformImage(*image,&draw_info->affine, image 3128 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3130 wand/mogrify.c (void) TransparentPaintImage(*image,&target,(Quantum) image 3132 wand/mogrify.c InheritException(exception,&(*image)->exception); image 3140 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3141 wand/mogrify.c mogrify_image=TransposeImage(*image,exception); image 3149 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3150 wand/mogrify.c mogrify_image=TransverseImage(*image,exception); image 3163 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3164 wand/mogrify.c mogrify_image=TrimImage(*image,exception); image 3172 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3178 wand/mogrify.c (*image)->type=UndefinedType; image 3179 wand/mogrify.c (void) SetImageType(*image,type); image 3180 wand/mogrify.c InheritException(exception,&(*image)->exception); image 3197 wand/mogrify.c (void) DeleteImageArtifact(*image,"identify:unique-colors"); image 3200 wand/mogrify.c (void) SetImageArtifact(*image,"identify:unique-colors","true"); image 3201 wand/mogrify.c (void) SetImageArtifact(*image,"verbose","true"); image 3209 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3210 wand/mogrify.c mogrify_image=UniqueImageColors(*image,exception); image 3218 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3226 wand/mogrify.c mogrify_image=UnsharpMaskImageChannel(*image,channel, image 3237 wand/mogrify.c (void) SetImageArtifact(*image,option+1, image 3246 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3251 wand/mogrify.c geometry_info.xi=0.1*(*image)->columns; image 3253 wand/mogrify.c geometry_info.psi=0.1*(*image)->rows; image 3256 wand/mogrify.c geometry_info.xi*=(double) (*image)->columns/100.0; image 3257 wand/mogrify.c geometry_info.psi*=(double) (*image)->rows/100.0; image 3259 wand/mogrify.c mogrify_image=VignetteImage(*image,geometry_info.rho, image 3268 wand/mogrify.c (void) SetImageVirtualPixelMethod(*image, image 3272 wand/mogrify.c (void) SetImageVirtualPixelMethod(*image,(VirtualPixelMethod) image 3286 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3290 wand/mogrify.c mogrify_image=WaveImage(*image,geometry_info.rho, image 3311 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3312 wand/mogrify.c (void) WhiteThresholdImageChannel(*image,channel,argv[i+1], image 3314 wand/mogrify.c InheritException(exception,&(*image)->exception); image 3326 wand/mogrify.c ReplaceImageInListReturnLast(image,mogrify_image); image 3334 wand/mogrify.c (void) SyncImageSettings(mogrify_info,*image); image 3336 wand/mogrify.c CopyCompositeOp : OverCompositeOp,*image,region_geometry.x, image 3339 wand/mogrify.c *image=DestroyImage(*image); image 3340 wand/mogrify.c *image=region_image; image 3786 wand/mogrify.c *image; image 3904 wand/mogrify.c FinalizeImageSettings(image_info,image,MagickFalse); image 3915 wand/mogrify.c if ((LocaleCompare(image->filename,"-") != 0) && image 3916 wand/mogrify.c (IsPathWritable(image->filename) != MagickFalse)) image 3924 wand/mogrify.c (void) CopyMagickString(backup_filename,image->filename, image 3933 wand/mogrify.c (rename_utf8(image->filename,backup_filename) != 0)) image 3940 wand/mogrify.c status&=WriteImages(image_info,image,image->filename,exception); image 3946 wand/mogrify.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 7793 wand/mogrify.c *image; image 7796 wand/mogrify.c image=RemoveFirstImageFromList(images); image 7803 wand/mogrify.c (void) ClutImageChannel(image,channel,clut_image); image 7805 wand/mogrify.c InheritException(exception,&image->exception); image 7807 wand/mogrify.c *images=image; image 7852 wand/mogrify.c *image, image 7863 wand/mogrify.c image=RemoveFirstImageFromList(images); image 7875 wand/mogrify.c difference_image=CompareImageChannels(image,reconstruct_image, image 7910 wand/mogrify.c *image; image 7916 wand/mogrify.c image=RemoveFirstImageFromList(images); image 7927 wand/mogrify.c GravityAdjustGeometry(image->columns,image->rows,image->gravity, image 7932 wand/mogrify.c if ((image->compose == DisplaceCompositeOp) || image 7933 wand/mogrify.c (image->compose == DistortCompositeOp)) image 7947 wand/mogrify.c if (image->mask != (Image *) NULL) image 7948 wand/mogrify.c image->mask=DestroyImage(image->mask); image 7949 wand/mogrify.c image->mask=mask_image; image 7950 wand/mogrify.c (void) NegateImage(image->mask,MagickFalse); image 7953 wand/mogrify.c (void) CompositeImageChannel(image,channel,image->compose, image 7957 wand/mogrify.c image->mask=DestroyImage(image->mask); image 7958 wand/mogrify.c mask_image=image->mask; image 7961 wand/mogrify.c InheritException(exception,&image->exception); image 7963 wand/mogrify.c *images=image; image 8144 wand/mogrify.c *image; image 8147 wand/mogrify.c image=RemoveFirstImageFromList(images); image 8154 wand/mogrify.c (void) HaldClutImageChannel(image,channel,hald_image); image 8156 wand/mogrify.c InheritException(exception,&image->exception); image 8159 wand/mogrify.c *images=image; image 299 wand/montage.c *image, image 435 wand/montage.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 628 wand/montage.c clone_list=CloneImageList(image,exception); image 630 wand/montage.c clone_list=CloneImageList(image_stack[k-1].image,exception); image 1789 wand/montage.c if (image == (Image *) NULL) image 1791 wand/montage.c FinalizeImageSettings(image_info,image,MagickTrue); image 1792 wand/montage.c if (image == (Image *) NULL) image 1795 wand/montage.c montage_image=MontageImageList(image_info,montage_info,image,exception); image 1808 wand/montage.c (void) CopyMagickString(montage_image->magick,image->magick, image 296 wand/pixel-iterator.c *image; image 312 wand/pixel-iterator.c image=GetImageFromMagickWand(wand); image 313 wand/pixel-iterator.c if (image == (Image *) NULL) image 316 wand/pixel-iterator.c view=AcquireVirtualCacheView(image,exception); image 329 wand/pixel-iterator.c SetGeometry(image,&iterator->region); image 330 wand/pixel-iterator.c iterator->region.width=image->columns; image 331 wand/pixel-iterator.c iterator->region.height=image->rows; image 416 wand/pixel-iterator.c *image; image 431 wand/pixel-iterator.c image=GetImageFromMagickWand(wand); image 432 wand/pixel-iterator.c if (image == (Image *) NULL) image 435 wand/pixel-iterator.c view=AcquireVirtualCacheView(image,exception); image 448 wand/pixel-iterator.c SetGeometry(image,&iterator->region); image 195 wand/stream.c *image; image 303 wand/stream.c pend=image != (Image *) NULL ? MagickTrue : MagickFalse; image 754 wand/stream.c if (image == (Image *) NULL) image 756 wand/stream.c FinalizeImageSettings(image_info,image,MagickTrue); image 757 wand/stream.c if (image == (Image *) NULL) image 109 www/source/analyze.c *image; image 116 www/source/analyze.c image=(*images); image 117 www/source/analyze.c for ( ; image != (Image *) NULL; image=GetNextImageInList(image)) image 146 www/source/analyze.c image_view=AcquireCacheView(image); image 150 www/source/analyze.c for (y=0; y < (ssize_t) image->rows; y++) image 160 www/source/analyze.c p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception); image 166 www/source/analyze.c for (x=0; x < (ssize_t) image->columns; x++) image 189 www/source/analyze.c (void) SetImageProperty(image,"filter:brightness:mean",text); image 194 www/source/analyze.c (void) SetImageProperty(image,"filter:brightness:standard-deviation",text); image 203 www/source/analyze.c (void) SetImageProperty(image,"filter:brightness:kurtosis",text); image 210 www/source/analyze.c (void) SetImageProperty(image,"filter:brightness:skewness",text); image 213 www/source/analyze.c (void) SetImageProperty(image,"filter:saturation:mean",text); image 218 www/source/analyze.c (void) SetImageProperty(image,"filter:saturation:standard-deviation",text); image 227 www/source/analyze.c (void) SetImageProperty(image,"filter:saturation:kurtosis",text); image 234 www/source/analyze.c (void) SetImageProperty(image,"filter:saturation:skewness",text); image 13 www/source/core.c *image, image 42 www/source/core.c while ((image=RemoveFirstImageFromList(&images)) != (Image *) NULL) image 44 www/source/core.c resize_image=ResizeImage(image,106,80,LanczosFilter,1.0,exception); image 48 www/source/core.c DestroyImage(image); image 43 www/source/core/sigmoidal-contrast.c #define ThrowImageException(image) \