C# 클래스 Bloom.ImageProcessing.RuntimeImageProcessor

Currently the only processing we're doing it to make PNGs with lots of whitespace look good against our colored background pages Previously, we also shrunk images to improve performance when we were handing out file paths. Now that we are giving images over http, gecko may do well enough without the shrinking.
상속: IDisposable
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TargetDimension int

공개 메소드들

메소드 설명
Dispose ( ) : void
GetPathToResizedImage ( string originalPath, bool getThumbnail = false ) : string
RuntimeImageProcessor ( BookRenamedEvent bookRenamedEvent ) : System

비공개 메소드들

메소드 설명
GenerateThumbnail ( string originalPath, string pathToProcessedImage, int newWidth ) : bool
MakePngBackgroundTransparent ( string originalPath, string pathToProcessedImage ) : bool
OnBookRenamed ( string>.KeyValuePair fromPathAndToPath ) : void
TryToDeleteCachedImages ( ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetPathToResizedImage() 공개 메소드

public GetPathToResizedImage ( string originalPath, bool getThumbnail = false ) : string
originalPath string
getThumbnail bool
리턴 string

RuntimeImageProcessor() 공개 메소드

public RuntimeImageProcessor ( BookRenamedEvent bookRenamedEvent ) : System
bookRenamedEvent BookRenamedEvent
리턴 System

프로퍼티 상세

TargetDimension 공개적으로 프로퍼티

public int TargetDimension
리턴 int