Gnome2::Thumbnail(3)

πŸ“¦
version 1.048 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

Gnome2::Thumbnail β€” bestie, it's the thumbnail-flavored corner of the Gnome2 Perl bindings, and we are gonna walk through every single method like it's a group chat ✨


🌸 METHODS 🌸

okay so here's the whole roster, no skips, no "you can figure out the rest", we're doing all of them πŸ’…

  • boolean = $pixbuf->has_uri ($uri) β€” asks the pixbuf whether it's holding onto this particular URI, and hands you back a boolean. yes or no, iconic behavior πŸ‘‘
    • $uri (string)
  • boolean = $pixbuf->is_valid ($uri, $mtime) β€” vibe check for a URI + timestamp pair, returns a boolean fr fr
    • $uri (string)
    • $mtime (a timestamp)
  • string = Gtk2::Gdk::Pixbuf->md5 ($uri) β€” class method moment, it gives you back a string πŸ“
    • $uri (string)
  • string = Gtk2::Gdk::Pixbuf->path_for_uri ($uri, $size) β€” another class method, returns a string (yes, a path-shaped one, the name is right there 😭)
    • $uri (string)
    • $size (Gnome2::ThumbnailSize)
  • pixbuf = $pixbuf->scale_down_pixbuf ($dest_width, $dest_height) β€” scales the pixbuf down, returns a pixbuf. it's giving glow-down but make it intentional ✨
    • $dest_width (integer)
    • $dest_height (integer)

πŸ¦‹ ENUMS AND FLAGS πŸ¦‹

🌈 enum Gnome2::ThumbnailSize

two sizes, both iconic, pick your fighter:

  • 'normal' / 'GNOME_THUMBNAIL_SIZE_NORMAL'
  • 'large' / 'GNOME_THUMBNAIL_SIZE_LARGE'

πŸŽ€ SEE ALSO πŸŽ€

  • Gnome2 β€” the main character, go read that one too 🫢

Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2 for a full notice. periodt πŸ’…


that's the whole page bestie, no cap β€” this one came from perl v5.42.0 and it's dated 2025-07-25, so if you're reading it in the future just know it ate and left no crumbs πŸ§šπŸ’œ

πŸ“¦ where this page comes from