catalyst2 community forums  

Go Back   catalyst2 community forums > Support > Scripting Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 28-04-2006, 11:21 AM   #1 (permalink)
Test Supervisor
 
Phil's Avatar
 
Join Date: May 2004
Location: Ashopton
Posts: 212
Read and save image using ASP

I need to read in an image file and save it elsewhere using ASP. I have written some code to read the image in as a binary stream but for the life of me I can't figure out how to save the binary stream as an image file either locally on my pc or remotely on the website I'm running the script from. Any help much appreciated!
Phil is offline   Reply With Quote
Old 28-04-2006, 11:23 AM   #2 (permalink)
Administrator
 
Jacob's Avatar
 
Join Date: May 2003
Posts: 1,299
Have you tried using ASPJpeg?
Jacob is offline   Reply With Quote
Old 28-04-2006, 11:30 AM   #3 (permalink)
CAT5082
 
aMike's Avatar
 
Join Date: Jul 2004
Location: England, North Wales
Posts: 91
System.Drawing.Image / streaming / saveJPG with compression c#.NET example
__________________
Server 2003 sp1, AMD 64 3000+, Aopen, 1GB 400DDR RAM, GF4 ti 4400, Audigy 2, 2x160gig sata HD.
cat2 webserver: strawberry
isp: demon internet
ip: 80.177.1.17

www.idreams3d.net

www.walesdates.co.uk
aMike is offline   Reply With Quote
Old 28-04-2006, 01:04 PM   #4 (permalink)
Test Supervisor
 
Phil's Avatar
 
Join Date: May 2004
Location: Ashopton
Posts: 212
Quote:
Originally Posted by Jacob
Have you tried using ASPJpeg?
I had a look at ASPJpeg but my problem is that I can't use ASPJpeg to read the file in the first place (it's on a different server so I've had to read it as a binary stream). Can I write a binary stream of data using ASPJpeg?
Phil is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:19 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.