Sponsored Content
Full Discussion: jpg image
Operating Systems AIX jpg image Post 83454 by pascalbout on Thursday 15th of September 2005 04:40:20 AM
Old 09-15-2005
jpg image

Hello

I would like to see an jpeg image with aix. It is possible ?
how can i do ?

thank you
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Create an Ignite image on tape from Online IgniteUX image

Hi, (HP-UX 11.11) I need to create a tape image of an igniteUX image created on our igniteUX server. That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies

2. Shell Programming and Scripting

how to send jpg as body

Hi, I ftp the .jpg file from windows to unix machine, now i need to send the jpg file as body to (not as attachment) outlook, can anyone send the sample code for this? (1 Reply)
Discussion started by: vasu.g
1 Replies

3. Shell Programming and Scripting

Rename all ".JPG" files to ".jpg" under all subfolders...

Hi, Dear all: One question ! ^_^ I'm using bash under Ubuntu 9.10. My question is not to rename all ".JPG" files to ".jpg" in a single folder, but to rename all ".JPG" files to ".jpg" in all subfolders. To rename all ".JPG" to ".jpg" in a single folder, for x in *.JPG; do mv "$x"... (7 Replies)
Discussion started by: jiapei100
7 Replies

4. UNIX for Dummies Questions & Answers

Deleting all but JPG files

I would like to delete all files but keep all the .JPG files. How can this be accomplished? Thanks in advance (8 Replies)
Discussion started by: Xterra
8 Replies

5. Shell Programming and Scripting

print metadata to jpg

Hi all, I would like to write a scipt that gets gps informatoin from a jpg and print 's it on the lower left corner, In order to get the gps data I have found a tool called jhead. In know that with the help of the imagemagick command convert it is possible to print text on the pictures. ... (11 Replies)
Discussion started by: flash80
11 Replies

6. UNIX for Dummies Questions & Answers

Converting EPS to JPG issue

I'm trying to convert a file with the following command: convert -verbose image.eps -resize 500x image.jpg The problem is that the output image loses it's quality and gets all blurred when resized. It shouldn't happen since I'm working with a vector. I'm pretty sure that I'm missing a... (0 Replies)
Discussion started by: rlopes
0 Replies

7. Shell Programming and Scripting

Grab all jpg's from flickr

Hi everyone, i'm trying to download all the jpg's that my school put on flickr and im trying to do this with wget via a bash script. The pictures that im trying to pull are on this site : and below is my script that doesn't appear to be working (1 Reply)
Discussion started by: binary-ninja
1 Replies

8. Shell Programming and Scripting

matching image files to create one image

Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies

9. UNIX for Dummies Questions & Answers

Wget JPG not working

Hi, I am new to Unix. Actually, I am using Terminal from MAC OSX Snow Leopard. I have installed XCode and wget 1.14 today. I just want to download all of the jpg files from a specific blog (from blogspot). But its not working. Here is the command I use: wget -r -nd -A jpg come-se All... (3 Replies)
Discussion started by: bruleke
3 Replies

10. Shell Programming and Scripting

Create pdf of a jpg image in shell script

Dear Team, Can any one please let me know, if there is any way to create pdf of a Jpg image file in shell script. I work on Solaris, Korn Shell. Currently we are using sunpcl2pdf.exe to create PDF from PCL(Printer Control Language) files. But we are searching for some different way to... (2 Replies)
Discussion started by: Uttam Maji
2 Replies
IMAGEJPEG(3)								 1							      IMAGEJPEG(3)

imagejpeg - Output image to browser or file

SYNOPSIS
bool imagejpeg (resource $image, [string $filename], [int $quality]) DESCRIPTION
imagejpeg(3) creates a JPEG file from the given $image. PARAMETERS
o $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $filename -The path to save the file to. If not set or NULL, the raw image stream will be outputted directly. To skip this argument in order to provide the $quality parameter, use NULL. o $quality -$quality is optional, and ranges from 0 (worst quality, smaller file) to 100 (best quality, biggest file). The default is the default IJG quality value (about 75). RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 Outputting a JPEG image <?php // Create a blank image and add some text $im = imagecreatetruecolor(120, 20); $text_color = imagecolorallocate($im, 233, 14, 91); imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color); // Set the content type header - in this case image/jpeg header('Content-Type: image/jpeg'); // Output the image imagejpeg($im); // Free up memory imagedestroy($im); ?> The above example will output something similar to:[NOT DISPLAYABLE MEDIA]Output of example : Outputting a JPEG image Example #2 Saving a JPEG image <?php // Create a blank image and add some text $im = imagecreatetruecolor(120, 20); $text_color = imagecolorallocate($im, 233, 14, 91); imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color); // Save the image as 'simpletext.jpg' imagejpeg($im, 'simpletext.jpg'); // Free up memory imagedestroy($im); ?> Example #3 Outputting the image at 75% quality <?php // Create a blank image and add some text $im = imagecreatetruecolor(120, 20); $text_color = imagecolorallocate($im, 233, 14, 91); imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color); // Set the content type header - in this case image/jpeg header('Content-Type: image/jpeg'); // Skip the filename parameter using NULL, then set the quality to 75% imagejpeg($im, NULL, 75); // Free up memory imagedestroy($im); ?> NOTES
Note JPEG support is only available if PHP was compiled against GD-1.8 or later. Note If you want to output Progressive JPEGs, you need to set interlacing on with imageinterlace(3). SEE ALSO
imagepng(3), imagegif(3), imagewbmp(3), imageinterlace(3), imagetypes(3). PHP Documentation Group IMAGEJPEG(3)
All times are GMT -4. The time now is 07:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy