Sponsored Content
Full Discussion: perl Image::size function
Top Forums Shell Programming and Scripting perl Image::size function Post 302556528 by guidely on Monday 19th of September 2011 03:43:01 AM
Old 09-19-2011
Code:
Can't locate Image/Size.pm in @INC (@INC contains: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at test.pl line 3.

BEGIN failed--compilation aborted at test.pl line 3.

yes I have install the extention

Last edited by pludi; 09-19-2011 at 06:02 AM..
 

9 More Discussions You Might Find Interesting

1. Solaris

database image size

hi , we are using Veritas netbackup 5 to backup all databases at our site. i noticed lately that a specific filesystem on the netbackup servers in running critically out of space , after some investigations i found that there are images that are increasing in size everytime a backup is taken .... (6 Replies)
Discussion started by: ppass
6 Replies

2. Programming

Will exe file size decrease while using inline function

using namespace std; void g(); class A { public : A() { g();g();g(); cout << "Constructor of A"<< endl ;} }; inline void g(){ cout << "vijay" <<endl; } int main() { A a; } when i use inline i get size 303488 Aug 31 12:05 a.out* when not using inline i get size 303572 Aug 31... (1 Reply)
Discussion started by: vijaysabari
1 Replies

3. UNIX for Dummies Questions & Answers

Add Image Size (W-H) to a UNIX statement

I am using a counter on Comcast and I have it working OK. What I need to do is to add the width and height of 'counter.gif'. Below is the statement I am using: &richportal is the counter name on the Comcast Server. EX: w=10px h=10px <img src="/cgi-bin/counter.gif?&richportal"> Thanks: Barry (0 Replies)
Discussion started by: barrie
0 Replies

4. Shell Programming and Scripting

Function SUM SIZE

Dear Friends, I wrote a script that get the size of specific files in a specific space directory. To get the total size I wrote a function in that script. So far I am not convinced that function is working correctly. Do you mind tell if there is anything wrong. I am on SOLARIS (KSH)... (4 Replies)
Discussion started by: Aswex
4 Replies

5. Shell Programming and Scripting

Identify function image magick problem - perl

Hi, I got some error when I try to write content from file store into array then for each word that separate by space use identify function to display image information.here is my code #!/usr/bin/perl -w open(FILE,'transfer_file_perl.txt') or die "$!"; my $line = <FILE>;#because it is one... (2 Replies)
Discussion started by: guidely
2 Replies

6. Shell Programming and Scripting

[Perl + Gtk2] Image disappears after scrolling / minimizing window

Hello everyone I don't know if it's the right place to ask, but I will try. I want to use Gtk2 in my Perl chart-drawing script, I found a sample code that could be very useful for me somewhere, but I noticed there is one problem with that - when I draw something, and then scroll the window or... (0 Replies)
Discussion started by: xqwzts
0 Replies

7. Shell Programming and Scripting

Perl script to extract text from image file

Hi Folks, Could you please share your ideas on extracting text from image file(jpg,png and gif formats). Regards, J (1 Reply)
Discussion started by: scriptscript
1 Replies

8. Shell Programming and Scripting

Perl CGI charts, actual plots and not image files

Does anyone know how to generate CGI charts which are not images , the one I am using generates image files e.g $mygraph3->set( 'x_labels_vertical' => 1 ); $mygraph3->set_legend_font(GD::gdMediumBoldFont); $mygraph3->set_legend('Test Plot'); my $myimage3 = $mygraph3->plot(\@data3)->png;... (4 Replies)
Discussion started by: priyophan
4 Replies

9. Programming

[xlib] Image has just 1/4 size

Hello, i'm trying to show the Image of an monochrome webcam in an xlib-Window. initializing of the window: if (NULL == ((*XWindow)->display = XOpenDisplay(NULL))) APPLICATION_Set_Error(V4LCamera->Application, XWINDOW, "failed to open display", 123, -1, APPLICATION_ERROR_MESSAGE); ... (1 Reply)
Discussion started by: mirrowwinger
1 Replies
Gtk2::Image(3pm)					User Contributed Perl Documentation					  Gtk2::Image(3pm)

NAME
Gtk2::Image - wrapper for GtkImage HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Misc +----Gtk2::Image INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gtk2::Image->new widget = Gtk2::Image->new_from_animation ($animation) o $animation (Gtk2::Gdk::PixbufAnimation) widget = Gtk2::Image->new_from_file ($filename) o $filename (localized file name or undef) widget = Gtk2::Image->new_from_icon_name ($icon_name, $size) o $icon_name (string) o $size (Gtk2::IconSize) Since: gtk+ 2.6 widget = Gtk2::Image->new_from_icon_set ($icon_set, $size) o $icon_set (Gtk2::IconSet) o $size (Gtk2::IconSize) widget = Gtk2::Image->new_from_image ($image, $mask) o $image (Gtk2::Gdk::Image or undef) o $mask (Gtk2::Gdk::Bitmap or undef) widget = Gtk2::Image->new_from_pixbuf ($pixbuf) o $pixbuf (Gtk2::Gdk::Pixbuf or undef) widget = Gtk2::Image->new_from_pixmap ($pixmap, $mask) o $pixmap (Gtk2::Gdk::Pixmap or undef) o $mask (Gtk2::Gdk::Bitmap or undef) widget = Gtk2::Image->new_from_stock ($stock_id, $size) o $stock_id (string) o $size (Gtk2::IconSize) pixbufanimation = $image->get_animation $image->clear Since: gtk+ 2.8 $image->set_from_animation ($animation) o $animation (Gtk2::Gdk::PixbufAnimation) $image->set_from_file ($filename) o $filename (localized file name or undef) $image->set_from_icon_name ($icon_name, $size) o $icon_name (string) o $size (Gtk2::IconSize) Since: gtk+ 2.6 $image->set_from_icon_set ($icon_set, $size) o $icon_set (Gtk2::IconSet) o $size (Gtk2::IconSize) $image->set_from_image ($gdk_image, $mask) o $gdk_image (Gtk2::Gdk::Image or undef) o $mask (Gtk2::Gdk::Bitmap or undef) $image->set_from_pixbuf ($pixbuf) o $pixbuf (Gtk2::Gdk::Pixbuf or undef) $image->set_from_pixmap ($pixmap, $mask) o $pixmap (Gtk2::Gdk::Pixmap or undef) o $mask (Gtk2::Gdk::Bitmap or undef) $image->set_from_stock ($stock_id, $size) o $stock_id (string) o $size (Gtk2::IconSize) list = $image->get_icon_name Since: gtk+ 2.6 list = $image->get_icon_set list = $image->get_image pixbuf = $image->get_pixbuf integer = $image->get_pixel_size Since: gtk+ 2.6 $image->set_pixel_size ($pixel_size) o $pixel_size (integer) Since: gtk+ 2.6 list = $image->get_pixmap (stock_id, icon_size) = $image->get_stock imagetype = $image->get_storage_type PROPERTIES
'file' (string : default undef : readable / writable / private) Filename to load and display 'gicon' (Glib::Object::_Unregistered::GIcon : default undef : readable / writable / private) The GIcon being displayed 'icon-name' (string : default undef : readable / writable / private) The name of the icon from the icon theme 'icon-set' (Gtk2::IconSet : default undef : readable / writable / private) Icon set to display 'icon-size' (integer : default 4 : readable / writable / private) Symbolic size to use for stock icon, icon set or named icon 'image' (Gtk2::Gdk::Image : default undef : readable / writable / private) A GdkImage to display 'mask' (Gtk2::Gdk::Pixmap : default undef : readable / writable / private) Mask bitmap to use with GdkImage or GdkPixmap 'pixbuf' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private) A GdkPixbuf to display 'pixbuf-animation' (Gtk2::Gdk::PixbufAnimation : default undef : readable / writable / private) GdkPixbufAnimation to display 'pixel-size' (integer : default -1 : readable / writable / private) Pixel size to use for named icon 'pixmap' (Gtk2::Gdk::Pixmap : default undef : readable / writable / private) A GdkPixmap to display 'stock' (string : default undef : readable / writable / private) Stock ID for a stock image to display 'storage-type' (Gtk2::ImageType : default "empty" : readable / private) The representation being used for image data ENUMS AND FLAGS
enum Gtk2::IconSize o 'invalid' / 'GTK_ICON_SIZE_INVALID' o 'menu' / 'GTK_ICON_SIZE_MENU' o 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR' o 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR' o 'button' / 'GTK_ICON_SIZE_BUTTON' o 'dnd' / 'GTK_ICON_SIZE_DND' o 'dialog' / 'GTK_ICON_SIZE_DIALOG' enum Gtk2::ImageType o 'empty' / 'GTK_IMAGE_EMPTY' o 'pixmap' / 'GTK_IMAGE_PIXMAP' o 'image' / 'GTK_IMAGE_IMAGE' o 'pixbuf' / 'GTK_IMAGE_PIXBUF' o 'stock' / 'GTK_IMAGE_STOCK' o 'icon-set' / 'GTK_IMAGE_ICON_SET' o 'animation' / 'GTK_IMAGE_ANIMATION' o 'icon-name' / 'GTK_IMAGE_ICON_NAME' o 'gicon' / 'GTK_IMAGE_GICON' SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Misc COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Image(3pm)
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy