# GormImage

### Authors

Gregory John Casamento (`greg_casamento@yahoo.com`)

> This class is a placeholder for a real image.

Copyright: (C) 2001 Free Software Foundation, Inc.

### Contents -

1. Software documentation for the GormImage class
2. Software documentation for the NSImage(GormNSImageAddition) category

# Software documentation for the GormImage class

## GormImage : GormResource

> Declared in:
>   GormCore/GormImage.h

Description forthcoming.

Instance Variables
Method summary

- +imageForData:withFileName:inWrapper:
- +imageForPath:
- +imageForPath:inWrapper:
- -image
- -normalImage

### imageForData: withFileName: inWrapper:

+ (GormImage*) imageForData: (NSData*)aData withFileName: (NSString*)aName inWrapper: (BOOL)flag;
Initialize with image data. Mark it as in the wrapper depending on the value of flag.

### imageForPath:

+ (GormImage*) imageForPath: (NSString*)aPath;
Initialize with image data located at path.

### imageForPath: inWrapper:

+ (GormImage*) imageForPath: (NSString*)aPath inWrapper: (BOOL)flag;
Initialize with image data located at path. Mark it as in the wrapper depending on the value of flag.

### image

- (NSImage*) image;
A thumbnail of the image.

### normalImage

- (NSImage*) normalImage;
The full sized image.

## Instance Variables for GormImage Class

### image

@protected NSImage* image;
Description forthcoming.

### smallImage

@protected NSImage* smallImage;
Description forthcoming.

# Software documentation for the NSImage(GormNSImageAddition) category

## NSImage(GormNSImageAddition)

> Declared in:
>   GormCore/GormImage.h

Description forthcoming.
Method summary

- -archiveByName
- -setArchiveByName:

### archiveByName

- (BOOL) archiveByName;
Returns `YES`, if the image should be archived by name only, `NO` otherwise.

### setArchiveByName:

- (void) setArchiveByName: (BOOL)archiveByName;
Set to `YES`, if the image should be archived by name only, `NO` otherwise.