efl.ethumb Module

New in version 1.17.

Enumerations

Ethumb_Thumb_FDO_Size

efl.ethumb.ETHUMB_THUMB_NORMAL

128x128 as defined by FreeDesktop.Org standard

efl.ethumb.ETHUMB_THUMB_LARGE

256x256 as defined by FreeDesktop.Org standard

Ethumb_Thumb_Format

efl.ethumb.ETHUMB_THUMB_FDO

PNG as defined by FreeDesktop.Org standard.

efl.ethumb.ETHUMB_THUMB_JPEG

JPEGs are often smaller and faster to read/write.

efl.ethumb.ETHUMB_THUMB_EET

EFL’s own storage system, supports key parameter.

Ethumb_Thumb_Aspect

efl.ethumb.ETHUMB_THUMB_KEEP_ASPECT

Keep original proportion between width and height

efl.ethumb.ETHUMB_THUMB_IGNORE_ASPECT

Ignore aspect and foce it to match thumbnail’s width and height

efl.ethumb.ETHUMB_THUMB_CROP

keep aspect but crop (cut) the largest dimension

Ethumb_Thumb_Orientation

efl.ethumb.ETHUMB_THUMB_ORIENT_NONE

Keep orientation as pixel data is

efl.ethumb.ETHUMB_THUMB_ROTATE_90_CW

Rotate 90° clockwise

efl.ethumb.ETHUMB_THUMB_ROTATE_180

Rotate 180°

efl.ethumb.ETHUMB_THUMB_ROTATE_90_CCW

Rotate 90° counter-clockwise

efl.ethumb.ETHUMB_THUMB_FLIP_HORIZONTAL

Flip horizontally

efl.ethumb.ETHUMB_THUMB_FLIP_VERTICAL

Flip vertically

efl.ethumb.ETHUMB_THUMB_FLIP_TRANSPOSE

Transpose

efl.ethumb.ETHUMB_THUMB_FLIP_TRANSVERSE

Transverse

efl.ethumb.ETHUMB_THUMB_ORIENT_ORIGINAL

Use orientation from metadata (EXIF-only currently)

Module level functions

efl.ethumb.init()

Initialize the ethumb library.

Note

You never need to call this function, it is automatically called on module import.

efl.ethumb.shutdown()

Shutdown the ethumb library.

Note

You never need to call this function, it is automatically called at exit.