Sponsored Content
Top Forums Shell Programming and Scripting Embed image to the html script Post 303012085 by ATWC on Monday 29th of January 2018 02:53:48 PM
Old 01-29-2018
after changing the double quote(") to single it did work out.
But the image is not getting displayed and only X is coming. i am using outlook to view the email.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to embed shell script in a awk code

I have written a code to extract comma seperated values from a file and assign them to a variable inside awk code.i want to use one of these variable to be used in wget function i.e to pass the siteurl.How i can implement the shell command wget inside the awk for loop.code snippet is shown below. ... (8 Replies)
Discussion started by: rajbal
8 Replies

2. UNIX for Dummies Questions & Answers

How To Embed Image In output file

hello everyone, i am not well-versed with unix programming, but could you help me on how to embed an image(maybe a bitmap) to the output file? how about animations(avi, etc)? can this also be embeded to the output? thanks (0 Replies)
Discussion started by: minut
0 Replies

3. Shell Programming and Scripting

Why can't embed commands like fg or bg in a shell script ?

Hi Can someone explain in an easy way that why can't embed commands like fg or bg in a shell script ? (4 Replies)
Discussion started by: qiulang
4 Replies

4. Shell Programming and Scripting

background image not loading in newly thrown html page by shell script

I m trying to throw back html page when a file is found.While throwing back html page, the background image is not coming. I am using Apache server.Please suggest how to resolve... #!/bin/ksh echo -e "Content-type: text/html\n\n" echo "<html><head></head><body background=\"/asc/ppp.jpg\">"... (10 Replies)
Discussion started by: ravi18s
10 Replies

5. Shell Programming and Scripting

Send mail with rich text / HTML with image

Hi, Is it possible to send mail from my HP-Ux system with images, rich text? I would like to program in such a way that I have my company's logo(.jpg) image attached in the mail geeting triggered. I would like to send a rich text/HTML email instead of plain text mail to the recipients. Is it... (2 Replies)
Discussion started by: rythym05
2 Replies

6. Shell Programming and Scripting

How to embed a html file in a mail sending from Linux box with uuencode or mailx?

How to embed a html file as subject in a mail sending from Linux box with uuencode or mailx or any other way? we do not want the file as attachment, it should be embedded in the mail subject. (2 Replies)
Discussion started by: johnveslin
2 Replies

7. Programming

Looking For the Best Way to Rotate an Image: JavaScript, PHP, HTML etc

Hey All, What I'm looking for is a way to rotate an image by non 90 degree angles (ie 90, 180, 270, 360). I am able to do it in PHP, but there are errors in the image, some pixels end up colored incorrectly and the image ends up resized and I lose transparency. I've done my share of searching on... (1 Reply)
Discussion started by: pmd006
1 Replies

8. UNIX for Advanced & Expert Users

Embed tcl in ksh93 script

Hello everyone, I am trying to embed some tcl code inside a ksh93 script but I am not having any success. I even tried the simplest of code, something like this: . . jk=$(echo $(tcl << | write_file junkme "test"' | )) just to see if a file gets written. When I run there are no errors, but ... (3 Replies)
Discussion started by: gio001
3 Replies

9. Shell Programming and Scripting

Download dynamic generated image from HTML page

I've an HTML page where the pie chart is generated with google java code with the required input values in UNIX. The HMTL page is generated in UNIX and then when it loads in browser, the code is interpreted thought internet and the pie chart is generated. This is done by the java code in the... (4 Replies)
Discussion started by: Amutha
4 Replies

10. Shell Programming and Scripting

Insert an image in HTML mail sent from Shell script

Hi Shell Experts I am trying to insert an image into HTML email through shell script send mail, I have the email text file which included body and the images included in it in html format. Through my Shell script, I am calling the text file and send it through email so it it sends the email with... (21 Replies)
Discussion started by: anji009
21 Replies
VWRAYS(1)						      General Commands Manual							 VWRAYS(1)

NAME
vwrays - compute rays for a given picture or view SYNOPSIS
vwrays [ -i -u -f{a|f|d} | -d ] { view opts .. | picture [zbuf] } DESCRIPTION
Vwrays takes a picture or view specification and computes the ray origin and direction corresponding to each pixel in the image. This information may then be passed to rtrace(1) to perform other calculations. If a given pixel has no corresponding ray (because it is out- side the legal view boundaries), then six zero values are sent instead. The -i option may be used to specify desired pixel positions on the standard input rather than generating all the pixels for a given view. If the -u option is also given, output will be unbuffered. The -f option may be used to set the record format to something other than the default ASCII. Using raw float or double records for exam- ple can reduce the time requirements of transferring and interpreting information in rtrace. View options may be any combination of standard view parameters described in the rpict(1) manual page, including input from a view file with the -vf option. Additionally, the target X and Y dimensions may be specified with -x and -y options, and the pixel aspect ratio may be given with -pa. The default dimensions are 512x512, with a pixel aspect ratio of 1.0. Just as in rpict, the X or the Y dimension will be reduced if necessary to best match the specified pixel aspect ratio, unless this ratio is set to zero. The -pj option may be used to jitter samples. The default value of 0 turns off ray jittering. If the -d option is given, then vwrays just prints the computed image dimensions, which are based on the view aspect and the pixel aspect ratio just described. The -ld switch will also be printed, with -ld+ if the view file has an aft clipping plane, and -ld- otherwise. This is useful for passing options to the rtrace command line. (See below.) If the view contains an aft clipping plane (-va option), then the magnitudes of the ray directions will equal the maximum distance for each pixel, which will be interpreted correctly by rtrace with the -ld+ option. Note that this option should not be given unless there is an aft clipping plane, since the ray direction vectors will be normalized otherwise, which would produce a uniform clipping distance of 1. If a picture is given on the command line rather than a set of view options, then the view and image dimensions are taken from the picture file, and the reported ray origins and directions will match the center of each pixel in the picture (plus optional jitter). If a depth buffer file is given as well, then vwrays computes the intersection point of each pixel ray (equal to the ray origin plus the depth times the ray direction), and reports this instead of the ray origin. The reported ray direction will also be reversed. The inter- pretation of this data is an image of origins and directions for light rays leaving the scene surfaces to strike each pixel. EXAMPLES
To compute the ray intersection points and returned directions corresponding to a picture and its depth buffer: vwrays scene_v2.hdr scene_v2.zbf > scene_v2.pts To determine what the dimensions of a given view would be: vwrays -d -vf myview.vf -x 2048 -y 2048 To generate a RADIANCE picture using rtrace instead of rpict: vwrays -ff -vf view1.vf -x 1024 -y 1024 | rtrace `vwrays -d -vf view1.vf -x 1024 -y 1024` -ffc scene.oct > view1.hdr AUTHOR
Greg Ward Larson ACKNOWLEDGMENT
This work was supported by Silicon Graphics, Inc. BUGS
Although vwrays can reproduce any pixel ordering (i.e., any image orientation) when given a rendered picture, it will only produce standard scanline-ordered rays when given a set of view parameters. SEE ALSO
rcalc(1), rpict(1), rtcontrib(1), rtrace(1) RADIANCE
1/15/99 VWRAYS(1)
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy