tclhpdf(2) 0.1.0 "tclhpdf Image Handler"
tclhpdf - tclhpdf Image Handler
TABLE OF CONTENTS
SYNOPSIS
DESCRIPTION
COMMANDS
REFERENCE
SEE ALSO
KEYWORDS
COPYRIGHT
The Image handler command have subcommands to control images.
- hpdfImageObj getSize
-
getSize gets the size of the image of an image object.
It returns tcl list {width height}.
- hpdfImageObj getSize2 sizeName
-
getSize2 gets the size of the image of an image object.
It doen't return value, but set the result to sizeName varible. The return value is same as getSize.
- hpdfImageObj getWidth
-
getWidth gets the width of the image of an image object.
- hpdfImageObj getHeight
-
getHeight gets the height of the image of an image object.
- hpdfImageObj getBitsPerComponent
-
getBitsPerComponent gets the number of bits used to describe each color component.
- hpdfImageObj getColorSpace
-
getColorSpace gets the name of the image's color space.
It returns a string "DeviceGray", "DeviceRGB", "DeviceCMYK" or "Indexed".
- hpdfImageObj setColorMask rmin rmax gmin gmax bmin bmax
-
setColorMask sets the transparent color of the image by the RGB range values.
The color within the range is displayed as a transparent color.
The Image must be RGB color space.
rmin is the lower limit of Red. It must be between 0 and 255.
rmax is the upper limit of Red. It must be between 0 and 255.
gmin is the lower limit of Green. It must be between 0 and 255.
gmax is the upper limit of Green. It must be between 0 and 255.
bmin is the lower limit of Blue. It must be between 0 and 255.
bmax is the upper limit of Blue. It must be between 0 and 255.
- hpdfImageObj setMaskImage hpdfImageObj
-
setMaskImage sets the mask image.
the arg image specify the handle of an image object which is used as image-mask. This image must be 1bit gray-scale color image.
tclhpdf, tclhpdfAnnotation, tclhpdfDescription, tclhpdfDoc, tclhpdfEncoder, tclhpdfExtGState, tclhpdfFont, tclhpdfImage, tclhpdfOutline, tclhpdfPage
pdf
Copyright © 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
Copyright © 2007 OHTSUKA, yoshio <ohtsuka.yoshio@gmail.com>