Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP changes Big JPG -> Small JPG

Reply
Thread Tools

ASP changes Big JPG -> Small JPG

 
 
Yannick
Guest
Posts: n/a
 
      02-02-2004
Hey everybody,

Do you know if ASP can change a JPG file in a smaller defined size JPG.
Do you have an exemple of it.
Imagine the JPG is on the C: drive of my server and called PIC.JPG.

Thanks in advance.

Yannick


 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      02-02-2004
You can just set the width and height values of your img tag to what you
want the size to be, as one option. If you want to physically manipulate
the file on the server, you'll need to use a third party component or do
this using asp.net. I believe that asp.net has some image manipulation
built into it.

Ray at work

"Yannick" <(E-Mail Removed)> wrote in message
news:401e9d9a$0$318$(E-Mail Removed)4all.nl...
> Hey everybody,
>
> Do you know if ASP can change a JPG file in a smaller defined size JPG.
> Do you have an exemple of it.
> Imagine the JPG is on the C: drive of my server and called PIC.JPG.
>
> Thanks in advance.
>
> Yannick
>
>



 
Reply With Quote
 
 
 
 
Yannick
Guest
Posts: n/a
 
      02-02-2004
Thanks Ray for the info, but I need to manipulate the photo. Resizing can
look good but the time to download the page will be the same.

Any other idea to resize the JPG from ASP ?

Thanks

Yannick



"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:u$(E-Mail Removed)...
> You can just set the width and height values of your img tag to what you
> want the size to be, as one option. If you want to physically manipulate
> the file on the server, you'll need to use a third party component or do
> this using asp.net. I believe that asp.net has some image manipulation
> built into it.
>
> Ray at work
>
> "Yannick" <(E-Mail Removed)> wrote in message
> news:401e9d9a$0$318$(E-Mail Removed)4all.nl...
> > Hey everybody,
> >
> > Do you know if ASP can change a JPG file in a smaller defined size JPG.
> > Do you have an exemple of it.
> > Imagine the JPG is on the C: drive of my server and called PIC.JPG.
> >
> > Thanks in advance.
> >
> > Yannick
> >
> >

>
>



 
Reply With Quote
 
Ray at
Guest
Posts: n/a
 
      02-02-2004
>> If you want to physically manipulate
> > the file on the server, you'll need to use a third party component or do
> > this using asp.net.


Search aspfaq.com for image component solutions, i.e.
http://www.aspfaq.com/search.asp?q=H...mages+from+ASP

Ray at work

"Yannick" <(E-Mail Removed)> wrote in message
news:401eb3ce$0$322$(E-Mail Removed)4all.nl...
> Thanks Ray for the info, but I need to manipulate the photo. Resizing can
> look good but the time to download the page will be the same.
>
> Any other idea to resize the JPG from ASP ?
>
> Thanks
>
> Yannick
>
>
>
> "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
> message news:u$(E-Mail Removed)...
> > You can just set the width and height values of your img tag to what you
> > want the size to be, as one option. If you want to physically

manipulate
> > the file on the server, you'll need to use a third party component or do
> > this using asp.net. I believe that asp.net has some image manipulation
> > built into it.
> >
> > Ray at work
> >
> > "Yannick" <(E-Mail Removed)> wrote in message
> > news:401e9d9a$0$318$(E-Mail Removed)4all.nl...
> > > Hey everybody,
> > >
> > > Do you know if ASP can change a JPG file in a smaller defined size

JPG.
> > > Do you have an exemple of it.
> > > Imagine the JPG is on the C: drive of my server and called PIC.JPG.
> > >
> > > Thanks in advance.
> > >
> > > Yannick
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Kris Eiben
Guest
Posts: n/a
 
      02-02-2004
We use a component from LeadTools for image manipulation. It's probably
got more features than you need, with a corresponding cost, but it works
well for us.

Kris

"Yannick" <(E-Mail Removed)> wrote in message
news:401eb3ce$0$322$(E-Mail Removed)4all.nl...
> Thanks Ray for the info, but I need to manipulate the photo. Resizing

can
> look good but the time to download the page will be the same.
> Any other idea to resize the JPG from ASP ?
> "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
> message news:u$(E-Mail Removed)...
> > You can just set the width and height values of your img tag to what

you
> > want the size to be, as one option. If you want to physically

manipulate
> > the file on the server, you'll need to use a third party component

or do
> > this using asp.net. I believe that asp.net has some image

manipulation
> > built into it.
> >
> > Ray at work
> >
> > "Yannick" <(E-Mail Removed)> wrote in message
> > news:401e9d9a$0$318$(E-Mail Removed)4all.nl...
> > > Hey everybody,
> > >
> > > Do you know if ASP can change a JPG file in a smaller defined size

JPG.
> > > Do you have an exemple of it.
> > > Imagine the JPG is on the C: drive of my server and called

PIC.JPG.
> > > Thanks in advance.
> > > Yannick



 
Reply With Quote
 
Tom Kaminski [MVP]
Guest
Posts: n/a
 
      02-02-2004
"Yannick" <(E-Mail Removed)> wrote in message
news:401eb3ce$0$322$(E-Mail Removed)4all.nl...
> Thanks Ray for the info, but I need to manipulate the photo. Resizing can
> look good but the time to download the page will be the same.
>
> Any other idea to resize the JPG from ASP ?


There's no other idea - if you want to do it in ASP you need a third-party
component.

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/



 
Reply With Quote
 
Tim Williams
Guest
Posts: n/a
 
      02-03-2004
If on XP:

http://msdn.microsoft.com/library/de...us/wiaaut/wia/
wiax/overviews/startpagewiaaut.asp

Tim


"Yannick" <(E-Mail Removed)> wrote in message
news:401eb3ce$0$322$(E-Mail Removed)4all.nl...
> Thanks Ray for the info, but I need to manipulate the photo. Resizing can
> look good but the time to download the page will be the same.
>
> Any other idea to resize the JPG from ASP ?
>
> Thanks
>
> Yannick
>
>
>
> "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
> message news:u$(E-Mail Removed)...
> > You can just set the width and height values of your img tag to what you
> > want the size to be, as one option. If you want to physically

manipulate
> > the file on the server, you'll need to use a third party component or do
> > this using asp.net. I believe that asp.net has some image manipulation
> > built into it.
> >
> > Ray at work
> >
> > "Yannick" <(E-Mail Removed)> wrote in message
> > news:401e9d9a$0$318$(E-Mail Removed)4all.nl...
> > > Hey everybody,
> > >
> > > Do you know if ASP can change a JPG file in a smaller defined size

JPG.
> > > Do you have an exemple of it.
> > > Imagine the JPG is on the C: drive of my server and called PIC.JPG.
> > >
> > > Thanks in advance.
> > >
> > > Yannick
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GIDS 2009 .Net:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf ASP .Net 0 12-26-2008 09:29 AM
GIDS 2009 .Net:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf ASP .Net Web Controls 0 12-26-2008 06:11 AM
GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf Python 0 12-24-2008 07:35 AM
GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf Ruby 0 12-24-2008 05:07 AM
Re: Lucas's 5 big changes to Star Wars Clogar DVD Video 68 10-02-2004 09:41 AM



Advertisments