Table Of Contents

Previous topic

IEHtmlWindow

Next topic

FindFiles

This Page

phoenix_title imagebrowser


class_hierarchy Inheritance Diagram

Inheritance diagram for module imagebrowser

Inheritance diagram of imagebrowser


function_summary Functions Summary

ConvertBMP  
GetCheckeredBitmap Creates a square RGB checkered bitmap using the two specified colors.
GetNamedBitmap  

class_summary Classes Summary

FindFiles  
ImageDialog  
ImagePanel  
ImageView  

Functions



ConvertBMP(file_nm)


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



GetNamedBitmap(name)