.. include:: headings.inc .. module:: lib.imagebrowser .. currentmodule:: lib.imagebrowser .. highlight:: python .. _lib.imagebrowser: ========================================================================================================================================== |phoenix_title| **imagebrowser** ========================================================================================================================================== | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for module **imagebrowser** .. raw:: html

Inheritance diagram of imagebrowser

| |function_summary| Functions Summary ==================================== ================================================================================ ================================================================================ :func:`~lib.imagebrowser.ConvertBMP` :func:`~lib.imagebrowser.GetCheckeredBitmap` Creates a square RGB checkered bitmap using the two specified colors. :func:`~lib.imagebrowser.GetNamedBitmap` ================================================================================ ================================================================================ | |class_summary| Classes Summary =============================== ================================================================================ ================================================================================ :ref:`lib.imagebrowser.FindFiles` :ref:`lib.imagebrowser.ImageDialog` :ref:`lib.imagebrowser.ImagePanel` :ref:`lib.imagebrowser.ImageView` ================================================================================ ================================================================================ | .. toctree:: :maxdepth: 1 :hidden: lib.imagebrowser.FindFiles lib.imagebrowser.ImageDialog lib.imagebrowser.ImagePanel lib.imagebrowser.ImageView Functions ------------ .. function:: ConvertBMP(file_nm) .. function:: GetCheckeredBitmap(blocksize=8,ntiles=4,rgb0='\xFF', rgb1='\xCC') Creates a square RGB checkered bitmap using the two specified colors. Inputs: - blocksize: the number of pixels in each solid color square - ntiles: the number of tiles along width and height. Each tile is 2x2 blocks. - rbg0, rgb1: the first and second colors, as 3-byte strings. If only 1 byte is provided, it is treated as a grey value. The bitmap returned will have width = height = blocksize*ntiles*2 .. function:: GetNamedBitmap(name)