|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.svrCore.MIME.AbstractHandler
org.hd.d.pg2k.svrCore.MIME.AbstractImageHandler
org.hd.d.pg2k.svrCore.mediahandler.bmp
public final class bmp
Basic handler for BMP file (MIME type image/bmp). Mainly relies on JAI/IIO support for encode/decode.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.hd.d.pg2k.svrCore.MIME.Handler |
|---|
Handler.ThumbnailParams |
| Field Summary | |
|---|---|
private static Handler.ThumbnailParams |
thumbnailParams
Gather together thumbnail parameters. |
| Fields inherited from interface org.hd.d.pg2k.svrCore.MIME.Handler |
|---|
TAG_NAME_METADATA_TOP |
| Constructor Summary | |
|---|---|
bmp()
|
|
| Method Summary | |
|---|---|
protected int |
_reduceColoursQualityThreshold()
Guide colour-reduction to reduce quality and size of lossless image formats. |
boolean |
canMakeThumbnails()
Returns true if this can make thumbnail/sample exhibits for this type. |
ExhibitMIME.ExhibitTypeParameters |
getExhibitType()
Get internal type of ExhibitMIME type; never null. |
Handler.ThumbnailParams |
getThumbnailParams()
Get ThumbnailParameters for BMP handler. |
| Methods inherited from class org.hd.d.pg2k.svrCore.MIME.AbstractImageHandler |
|---|
_getEncoder, _trimMetadata, decodeImage, estimateWorkingMemoryToCreateThumbnails, extractSpecificImageMetaData, get2DImageDimensions, getMetadata, makeImageBinary, makeSizeConstrainedEncodedImage, makeThumbnailImage, makeThumbnails, makeThumbnails |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final Handler.ThumbnailParams thumbnailParams
| Constructor Detail |
|---|
public bmp()
| Method Detail |
|---|
public ExhibitMIME.ExhibitTypeParameters getExhibitType()
public boolean canMakeThumbnails()
canMakeThumbnails in interface HandlercanMakeThumbnails in class AbstractImageHandlerpublic Handler.ThumbnailParams getThumbnailParams()
getThumbnailParams in interface HandlergetThumbnailParams in class AbstractHandlerprotected int _reduceColoursQualityThreshold()
AbstractImageHandlerElse this is a positive value n, typically 8 or 24, which sets a quality level at/below which the number of colours in the image is reduced to (capped at) 2^n, and the image representation may be tweaked too (eg converted to a palette/indexed format) as a strong hint to the encoder.
_reduceColoursQualityThreshold in class AbstractImageHandler
|
DHD Multimedia Gallery V1.53.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||