* Headers/Additions/GNUstepGUI/GSImageMagickImageRep.h:

* Source/GNUmakefile:
* Source/NSImageRep.m:
* Source/GSImageMagickImageRep.m:
* configure.ac: New ImageMagick-based NSBitmapImageRep subclass


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33399 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2011-06-29 03:35:25 +00:00
parent 87c05a3ba1
commit 7f4e569c47
8 changed files with 570 additions and 5 deletions

View file

@ -45,6 +45,7 @@
#import "AppKit/NSColor.h"
#import "AppKit/DPSOperators.h"
#import "GNUstepGUI/GSGhostscriptImageRep.h"
#import "GNUstepGUI/GSImageMagickImageRep.h"
static NSMutableArray *imageReps = nil;
static Class NSImageRep_class = NULL;
@ -58,9 +59,12 @@ static Class NSImageRep_class = NULL;
if (self == [NSImageRep class])
{
NSImageRep_class = self;
imageReps = [[NSMutableArray alloc] initWithCapacity: 2];
imageReps = [[NSMutableArray alloc] initWithCapacity: 4];
[imageReps addObject: [NSBitmapImageRep class]];
[imageReps addObject: [GSGhostscriptImageRep class]];
#if HAVE_IMAGEMAGICK
[imageReps addObject: [GSImageMagickImageRep class]];
#endif
}
}