10 More Discussions You Might Find Interesting
1. Web Development
I want to show a page with an image between 2 any paragraphs.
I tried the following script.
But the image is not centered.
SUSE Paste
<!DOCTYPE html>
<html>
<head>
<style>
center.center_1 {
margin: auto;
width: 60%;
... (3 Replies)
Discussion started by: jcdole
3 Replies
2. 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
3. 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
4. UNIX for Dummies Questions & Answers
I am a newbie Oracle DBA. All our oracle servers are hosted in AIX and Solaris Environment. I have no knowledge about this Unix O/S. So, it will be great if anyone here can suggest me any good book which will teach me the basics.
Any inputs/suggestions will be great for me. (1 Reply)
Discussion started by: sandip250382
1 Replies
5. Shell Programming and Scripting
Hi All,
Is it possible to creation a word document (.doc) in unix solaris which includes an attachment (i.e similar to insert -> object add attachment in windows)
Requirement is to add files into .doc and the files is present in unix servers.
Is it possible to do this within unix instead... (5 Replies)
Discussion started by: ajay547
5 Replies
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
How can I redirect text data to an image (png, jpg, gif... etc) file using perl on unix solaris environment??
Please suggest.
Pooja (1 Reply)
Discussion started by: wadhwa.pooja
1 Replies
8. Shell Programming and Scripting
What would be the best way to replace all instances of...
09/26/2005
with
20050926
There are no spaces between the the date and the preceeding and following data. example lines looks like...
snp01|NAME/OF/A/GROUP|09/26/2005081343|502
the 081343 is the time without colons.
Thank... (6 Replies)
Discussion started by: cubs0729
6 Replies
9. 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
10. UNIX for Advanced & Expert Users
Hi all
Is there any program which can convert PDF to word processor file ? If the PDF has smart quotes, bullet icons, copyright and trademark symbols, etc. what happens to them intext format? So ideally would like to conver into rtf or doc.
Thanks
SS (1 Reply)
Discussion started by: saurya_s
1 Replies
URI::data(3) User Contributed Perl Documentation URI::data(3)
NAME
URI::data - URI that contains immediate data
SYNOPSIS
use URI;
$u = URI->new("data:");
$u->media_type("image/gif");
$u->data(scalar(`cat camel.gif`));
print "$u
";
open(XV, "|xv -") and print XV $u->data;
DESCRIPTION
The "URI::data" class supports "URI" objects belonging to the data URI scheme. The data URI scheme is specified in RFC 2397. It allows
inclusion of small data items as "immediate" data, as if it had been included externally. Examples:
data:,Perl%20is%20good
data:image/gif;base64,R0lGODdhIAAgAIAAAAAAAPj8+CwAAAAAI
AAgAAAClYyPqcu9AJyCjtIKc5w5xP14xgeO2tlY3nWcajmZZdeJcG
Kxrmimms1KMTa1Wg8UROx4MNUq1HrycMjHT9b6xKxaFLM6VRKzI+p
KS9XtXpcbdun6uWVxJXA8pNPkdkkxhxc21LZHFOgD2KMoQXa2KMWI
JtnE2KizVUkYJVZZ1nczBxXlFopZBtoJ2diXGdNUymmJdFMAADs=
"URI" objects belonging to the data scheme support the common methods (described in URI) and the following two scheme-specific methods:
$uri->media_type( [$new_media_type] )
Can be used to get or set the media type specified in the URI. If no media type is specified, then the default
"text/plain;charset=US-ASCII" is returned.
$uri->data( [$new_data] )
Can be used to get or set the data contained in the URI. The data is passed unescaped (in binary form). The decision about whether to
base64 encode the data in the URI is taken automatically, based on the encoding that produces the shorter URI string.
SEE ALSO
URI
COPYRIGHT
Copyright 1995-1998 Gisle Aas.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.16.2 2012-02-11 URI::data(3)