HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

capture image from screen
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> Images & Graphics
View previous topic :: View next topic  
Author Message
Hugh



Joined: 17 Nov 2008
Posts: 2

Posted: Mon Nov 17, 2008 9:00 pm     capture image from screen  

Hi All,

Great to be a part of this group. I do hope I'm posting to the right forum.

How can I get the image from another program (like paint) embedded into HTML. Specifically I wan to be able to get an image from an external source such as a scanner or camera. Paint has this ability. Without saving this image I want to get this image displayed in an HTML tag for subsequent posting to the server.

Hope I made sense.


Corey Bryant



Joined: 15 May 2004
Posts: 8428
Location: Castle Pines North, CO USA

Posted: Tue Nov 18, 2008 6:55 am      

I did move the post to the images and graphics zone instead of the Introduction zone.

You will have to save the image first to your computer. And then you will have to upload the image to a web server. Once that is done, the way to have the image show up on your HTML page would be something like
Code: <img src="images/filename.gif" alt="Alt info" />
You would change the path to point to your image.

Now if you are trying to prevent users from copying your images from your web site, check out the How can I protect my Images post.

_________________
Corey
Residential Office Solutions | Mile High Merchant Accounts | Expression Web Blog
Hugh



Joined: 17 Nov 2008
Posts: 2

Posted: Fri Nov 21, 2008 10:12 pm     Reply  

Thanks for your reply.

My intention is to scan an image at the client-side then save the image to the server using php.
Corey Bryant



Joined: 15 May 2004
Posts: 8428
Location: Castle Pines North, CO USA

Posted: Sat Nov 22, 2008 6:43 am      

Ah, I don't know PHP at all, I rely more on ASP / .NET in a Windows environment.

But it sounds like all you are wanting is a PHP Upload Script.

_________________
Corey
Toll Free Solutions | Mile High Merchant Accounts | Expression Web Blog
sticks464



Joined: 31 Dec 2006
Posts: 1283

Posted: Sat Nov 22, 2008 9:11 am      

It's fairly easy to upload an image from a camera card as these are considered external storage devices. You need a Php uploader as Cory mentioned to get the image to the server. If you scan an image it will have to be saved to your computer somewhere before editing or uploading.

What you must keep in mind is direct uploading does not let you resize or optimize the image for display. Depending on the size of the image and the weight (kb) no scripting either server side or client side will reduce the weight or actual size. This causes a problem for bandwidth as the larger the image, the longer it takes to display. The ideal way to display images is to use a graphic editor to resize, edit and optimize, save and then upload to the server.
 
 
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> Images & Graphics
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group