02-09-2009
Redirect text to image file
How can I redirect text data to an image (png, jpg, gif... etc) file using perl on unix solaris environment??
Please suggest.
Pooja
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all, again, I have lots of questions I guess. This one should be easier though :) . I have a goal to be able to put some preformatted text into a template (which is now a tiff file, but can be changed) and then output it to a printer. Right now we're thinking PostScript might work or some... (0 Replies)
Discussion started by: pageld
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to develop one application that reads all my mails (in unix mail box), and write into one txt file, My server is AIX .My mails are in AIX mail box.
Any idea? (0 Replies)
Discussion started by: redlotus72
0 Replies
3. Shell Programming and Scripting
Hello friends,
I want a command to print the reult files from find command into a text file.:)
Iam looking from forum memebers. PLZ help me.ASAP
Thanks in Advance,
Siva Ranganath CH (5 Replies)
Discussion started by: sivaranga001
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
We have an app specific legacy environment running SCO Openserver 5.0.7. I need to be able to (1) scan a pre-existing “form” consisting of logo/boxes/lines/static text as an image , (2) lay a print file from the app "on top of the image" and (3) output the "merge" as a PDF file.
Scanning... (1 Reply)
Discussion started by: 65bit
1 Replies
5. Shell Programming and Scripting
I have a list of DNS servers I need to look up information on. Each of these servers has a master and a slave database. Essentially what I need to do is create two text files for each server. One with the Master view and one with the Slave view. There's 20 servers, in the end I should have 40 text... (4 Replies)
Discussion started by: spartan22
4 Replies
6. Shell Programming and Scripting
Dear Sir,
The problem description as follows
I have a folder named abc with files of different extensions such as:
bcsu.txt
hsdk.prot
ajia.sh
sai.hm
abcd_1213_saj.png
I am supposed to write a bash script which reads all the .png files
and read the 6th7th8th9th(word/numerals) here it is... (5 Replies)
Discussion started by: bal_nair
5 Replies
7. Shell Programming and Scripting
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
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
Discussion started by: spradha
4 Replies
9. Shell Programming and Scripting
I have a directory that is restricted and I cannot just copy the files need, but I can cat them and redirect them to a new directory. The files all have the date listed in them. If I perform a long listing and grep for the date (150620) I can redirect that output to a text file. Now I need to... (5 Replies)
Discussion started by: trigger467
5 Replies
10. Shell Programming and Scripting
Hi
Can someone help me writing a script to convert the texts in a text file into images for each token?
Thanks in advance.
:) (1 Reply)
Discussion started by: my_Perl
1 Replies
LEARN ABOUT DEBIAN
vipsthumbnail
VIPSTHUMBNAIL(1) General Commands Manual VIPSTHUMBNAIL(1)
NAME
vipsthumbnail - make thumbnails of image files
SYNOPSIS
vipsthumbnail [flags] imagefile1 imagefile2 ...
DESCRIPTION
vipsthumbnail(1) processes each imagefile in turn, shrinking each image to fit within a 128 by 128 pixel square. The shrunk image is writ-
ten to a new file named tn_imagefile.jpg. This program is typically faster and uses less memory than other image thumbnail programs.
For example:
$ vipsthumbnail fred.png jim.tif
will read image files fred.png and jim.tif and write thumbnails to the files tn_fred.jpg and tn_jim.jpg.
$ vipsthumbnail --size=64 -o thumbnails/%s.png fred.jpg
will read image file fred.jpg and write a 64 x 64 pixel thumbnail to the file thumbnails/fred.png.
On Unix machines, vips will create temporary files in "/tmp" by default. Use the environment variable TMPDIR to change this location. On
Windows, vips uses GetTempPath() to pick a location, see the MS documentation.
Use the --vips-disc-threshold command-line switch, or the IM_DISC_THRESHOLD environment variable, to make vipsthumbnail use memory rather
than temporary files.
OPTIONS
-s N, --size=N
Set the output thumbnail size to N x N pixels. The image is shrunk so that it just fits within this area, Images which are smaller
than this are expanded.
-o FORMAT, --output=FORMAT
Set the output format string. The input filename has any file type suffix removed, then that value is substitued into FORMAT replac-
ing %s. The default value is tn_%s.jpg meaning JPEG output, with tn_ prepended. You can add format options too, for example
tn_%s.jpg:20 will write JPEG images with Q set to 20.
-p I, --interpolator=I
Resample with interpolator I. Use vips --list classes to see a list of valid interpolators. The default is bilinear.
-n, --nosharpen
By default, vipsthumbnail(1) will sharpen thumbnails slightly to make them look more pleasing. This option disables this sharpening.
-e PROFILE, --eprofile=PROFILE
Export thumbnails with this ICC profile. Images are only colour-transformed if there is both an output and an input profile avail-
able. The input profile can either be embedded in the input image or supplied with the --iprofile option.
-i PROFILE, --iprofile=PROFILE
Import images with this ICC profile, if no profile is embdedded in the image. Images are only colour-transformed if there is both
an output and an input profile available. The output profile should be supplied with the --oprofile option.
-l, --nodelete
Don't delete the profile from the output image. Since all output images will generally have the same profile, vipsthumbnail(1) will
usually delete it. This option leaves the profile inside the image.
-v, --verbose
vipsthumbnail(1) normally runs silently, except for warning and error messages. This option makes it print a list of the operations
it performs on each image.
RETURN VALUE
returns 0 on success and non-zero on error.
SEE ALSO
header(1)
13 May 2010 VIPSTHUMBNAIL(1)