Class | PDF::Writer::Graphics::ImageInfo |
In: |
lib/pdf/writer/graphics/imageinfo.rb
|
Parent: | Object |
This is based on ImageSize, by Keisuke Minami <keisuke@rccn.com>. It can be found at www.rubycgi.org/tools/index.en.htm
This has been integrated into PDF::Writer because as yet there has been no response to emails asking for my extensions to be integrated and a RubyGem package to be made available.
Type | = | Formats |
JPEG_SOF_BLOCKS | = | %W(\xc0 \xc1 \xc2 \xc3 \xc5 \xc6 \xc7 \xc9 \xca \xcb \xcd \xce \xcf) |
JPEG_APP_BLOCKS | = | %W(\xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef) |
XBM_DIMENSIONS_RE | = | %r{^\#define\s*\S*\s*(\d+)\s*\n\#define\s*\S*\s*(\d+)}mi |
XPM_DIMENSIONS_RE | = | %r<"\s*(\d+)\s+(\d+)(\s+\d+\s+\d+){1,2}\s*">m |
formats | -> | type_list |
format | -> | get_type |
height | -> | get_height |
width | -> | get_width |
bits | [R] | |
channels | [R] | |
format | [R] | |
height | [R] | |
info | [R] | |
width | [R] |