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


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Add Image Size (W-H) to a UNIX statement
# 1  
Old 09-21-2005
MySQL 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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Convert Update statement into Insert statement in UNIX using awk, sed....

Hi folks, I have a scenario to convert the update statements into insert statements using shell script (awk, sed...) or in database using regex. I have a bunch of update statements with all columns in a file which I need to convert into insert statements. UPDATE TABLE_A SET COL1=1 WHERE... (0 Replies)
Discussion started by: dev123
0 Replies

2. 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

3. Shell Programming and Scripting

perl Image::size function

Hi, How to use Image::size function ? because I want to list all image thatare less than size pixels in horizontal resolution. so here is my code : #!/usr/bin/perl -w use Image::Size; use constant GIVEN_WIDTH = '100'; my @filtered_images = grep { my @d = imgsize( $_ ); $d < GIVEN_WIDTH }... (8 Replies)
Discussion started by: guidely
8 Replies

4. Shell Programming and Scripting

Add text to image files

Hi to all, Some help here please. I have a several image files (photos, jpg files), let say 100 photos, and a list of 100 different little comments in a text file, each comment for each image. Somebody knows if I can add (like a watermark in the bottom) this text comments and how in the... (3 Replies)
Discussion started by: cgkmal
3 Replies

5. UNIX for Advanced & Expert Users

System Image of Unix

Hi, Is there any inbuild tool or software through which we can take system image of any unix system? Please suggest. Regards, Ravi D (9 Replies)
Discussion started by: dwiravi
9 Replies

6. Shell Programming and Scripting

using if statement to check file size

Hi, Am trying to execute certain commands if the condition satisfied, but i feel i am making some mistakes in the usage of if statement here is the code #!/bin/ksh SIZE=$(ls -ltr /aemu/ws/DN.txt | tr -s ' ' | cut -d ' ' -f 5) filename=`TZ=CST+24 date +%Y%m%d` ZERO=0 if then cp... (5 Replies)
Discussion started by: aemunathan
5 Replies

7. Shell Programming and Scripting

::select statement return value with correct field size::

Hi Everyone, I am facing a problem regarding the select from sybase, the return with the incorrect size. For example, field is NAME(20). After i selected from sybase, the result is nicky. after i assign it to another declaration variable, it will be in actual name "nicky" , what i need... (10 Replies)
Discussion started by: ryanW
10 Replies

8. 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

9. UNIX for Dummies Questions & Answers

bitmap image in unix

On windows we can save the screen in a .bmp file format. I sit possible to do the same thing in Unix? (3 Replies)
Discussion started by: asutoshch
3 Replies
Login or Register to Ask a Question
MooseX::AttributeHelpers::Trait::Counter(3pm)		User Contributed Perl Documentation	     MooseX::AttributeHelpers::Trait::Counter(3pm)

NAME
MooseX::AttributeHelpers::Counter - simple counter attribute SYNOPSIS
package MyHomePage; use Moose; use MooseX::AttributeHelpers; has 'counter' => ( metaclass => 'Counter', is => 'ro', isa => 'Num', default => sub { 0 }, provides => { inc => 'inc_counter', dec => 'dec_counter', reset => 'reset_counter', } ); my $page = MyHomePage->new(); $page->inc_counter; # same as $page->counter($page->counter + 1); $page->dec_counter; # same as $page->counter($page->counter - 1); DESCRIPTION
This module provides a simple counter attribute, which can be incremented and decremeneted. If your attribute definition does not include any of is, isa, default or provides but does use the "Counter" metaclass, then this module applies defaults as in the "SYNOPSIS" above. This allows for a very basic counter definition: has 'foo' => (metaclass => 'Counter'); $obj->inc_foo; METHODS
meta method_provider has_method_provider helper_type process_options_for_provides Run before its superclass method. check_provides_values Run after its superclass method. PROVIDED METHODS
It is important to note that all those methods do in place modification of the value stored in the attribute. set Set the counter to the specified value. inc Increments the value stored in this slot by 1. Providing an argument will cause the counter to be increased by specified amount. dec Decrements the value stored in this slot by 1. Providing an argument will cause the counter to be increased by specified amount. reset Resets the value stored in this slot to it's default value. BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT. AUTHOR
Stevan Little <stevan@iinteractive.com> COPYRIGHT AND LICENSE
Copyright 2007-2009 by Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-01-02 MooseX::AttributeHelpers::Trait::Counter(3pm)