Prima::...yControl(3)

πŸ“¦
version 1.74000 Β· 5 versions
, in opensuse-leap 16.0

πŸ’– NAME πŸ’–

Prima::Image::TransparencyControl β€” standard dialog for selecting transparent color when saving an image to a file. This page is filed under User Contributed Perl Documentation, title Prima::...yControl(3), and it is lowkey iconic for such a specific job. πŸ’…

✨ DESCRIPTION ✨

okay so this module contains two classes β€” Prima::Image::BasicTransparencyDialog and Prima::Image::TransparencyControl. The former provides the dialog used by image codec-specific save options dialogs to select a transparent color index when saving an image to a file. The latter is the widget class that displays the image palette and allows color rather than index selection. periodt. 🌈

The way that it splits into two classes? highkey organized, bestie. πŸŽ€

πŸ’… Prima::Image::TransparencyControl πŸ’…

πŸŽ€ Properties πŸŽ€

  • index INTEGER β€” selects the palette index. simple, clean, slay.
  • image IMAGE β€” selects the image, reads its palette, and displays it in such a manner that only a color that is found in the palette can be selected by the user. iykyk: palette colors only, bestie.

πŸ¦‹ Events πŸ¦‹

  • Change β€” triggered when the user changes the index property. vibe check: user moves the index, this fires.

🌸 Prima::Image::BasicTransparencyDialog 🌸

✨ Methods ✨

  • transparent BOOLEAN β€” if 1, the transparent color widgets are enabled, and the user can select the transparent color index in the image palette. If 0, the widgets are disabled; the image file is saved with no transparent color index. The property can also be toggled interactively by a checkbox. fr fr, that checkbox is the interactive main character.

πŸ‘‘ AUTHOR πŸ‘‘

Dmitry Karasik, <dmitry@karasik.eu.org>.

🌈 SEE ALSO 🌈

Prima::Dialog::ImageDialog.


That's the whole page, bestie! Signing off with the footer deets: perl v5.42.0, dated 2024-08-20, and titled Prima::...yControl(3). πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from