1Prima::Image::TranspareUnsceyrCoCnotnrtorli(b3u)ted PerlPrDiomcau:m:eInmtaagtei:o:nTransparencyControl(3)
2
3
4
6 Prima::Image::TransparencyControl - standard dialog for transparent
7 color index selection.
8
10 The module contains two classes -
11 "Prima::Image::BasicTransparencyDialog" and
12 "Prima::Image::TransparencyControl". The former provides a dialog, used
13 by image codec-specific save options dialogs to select a transparent
14 color index when saving an image to a file.
15 "Prima::Image::TransparencyControl" is a widget class that displays the
16 image palette and allow color rather than index selection.
17
19 Properties
20 index INTEGER
21 Selects the palette index.
22
23 image IMAGE
24 Selects image which palette is displayed, and the color index can
25 be selected from.
26
27 Events
28 Change
29 Triggered when the user changes "index" property.
30
32 Methods
33 transparent BOOLEAN
34 If 1, the transparent selection widgets are enabled, and the user
35 can select the palette index. If 0, the widgets are disabled; the
36 image file is saved with no transparent color index.
37
38 The property can be toggled interactively by a checkbox.
39
41 Dmitry Karasik, <dmitry@karasik.eu.org>.
42
44 Prima::Dialog::ImageDialog.
45
46
47
48perl v5.38.0 2023-07-2P1rima::Image::TransparencyControl(3)