Image::Info::XBM(3)

πŸ’– Image::Info::XBM β€” XBM support for Image::Info πŸ’–

okay so this is the Image::Info::XBM manual page from the User Contributed Perl Documentation corner of the universe, and it is giving tiny module, big XBM energy. Let’s go, bestie πŸ¦‹

🌸 NAME 🌸

Image::Info::XBM β€” XBM support for Image::Info

πŸŽ€ SYNOPSIS πŸŽ€

copy-paste ritual time, no cap:

use Image::Info qw(image_info dim);

my $info = image_info("image.xbm");
if (my $error = $info->{error}) {
    die "Can't parse image info: $error\n";
}
my $color = $info->{color_type};

my($w, $h) = dim($info);

πŸ¦‹ DESCRIPTION πŸ¦‹

bestie, listen β€” this module supplies the standard key names except for Compression, Gamma, Interlace, and LastModificationTime. It also brings these extra keys to the group chat:

  • HotSpotX β€” the x-coord of the image’s hotspot. It’s set to -1 if there is no hotspot. literally that simple πŸ’…
  • HotSpotY β€” the y-coord of the image’s hotspot. Also set to -1 if there’s no hotspot. matching energy ✨
  • L1D_Histogram β€” a reference to an array representing a one dimensional luminance histogram. This key is only present if image_info is invoked as image_info($file, L1D_Histogram=>1). The range is from 0 to 1. iconic, but specific πŸŽ€

πŸ›  METHODS πŸ› 

process_file()

$info->process_file($source, $options);

This processes one file and sets the found info fields in the $info object. main character behavior, honestly πŸ‘‘

AUTHOR

okay so this heading is literally empty in the original β€” no cap, there’s nothing under it here. The actual author tea is lower down πŸ«–

πŸ“ FILES πŸ“

This module requires Image::Xbm 🧚

πŸ‘€ SEE ALSO πŸ‘€

  • Image::Info
  • Image::Xbm

πŸ“ NOTES πŸ“

For more information about XBM see <http://www.martinreddy.net/gfx/2d/XBM.txt> 🌈

AUTHOR

  • Jerrad Pierce <belg4mit@mit.edu>/<webmaster@pthbb.org>
  • Tels - (c) 2006
  • Current maintainer: Slaven Rezic <srezic@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


okay bye bestie πŸ’…βœ¨ β€” this page came from perl v5.42.0, dated 2024-03-08, and you just read Image::Info::XBM(3). mwah πŸ“

πŸ“¦ where this page comes from