C# Class Bloom.ImageProcessing.LowResImageCache

Gecko struggles with hi-res images intented for printing. Gecko chews up memory, makes for slow drawing, or even gives up on displaying the image altogether (worse on slow machines). This cache takes requests for images and returns lo-res versions of them.
Inheritance: IDisposable
Afficher le fichier Open project: BloomBooks/BloomDesktop Class Usage Examples

Méthodes publiques

Свойство Type Description
TargetDimension int

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetPathToResizedImage ( string originalPath ) : string
LowResImageCache ( BookRenamedEvent bookRenamedEvent ) : System

Private Methods

Méthode Description
GetModifiedDateTime ( string path ) : System.DateTime
OnBookRenamed ( string>.KeyValuePair fromPathAndToPath ) : void
TryToDeleteCachedImages ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetPathToResizedImage() public méthode

public GetPathToResizedImage ( string originalPath ) : string
originalPath string
Résultat string

LowResImageCache() public méthode

public LowResImageCache ( BookRenamedEvent bookRenamedEvent ) : System
bookRenamedEvent BookRenamedEvent
Résultat System

Property Details

TargetDimension public_oe property

public int TargetDimension
Résultat int