Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:37 AM
Yannick
Guest
 
Posts: n/a
Default ASP changes Big JPG -> Small JPG

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


  #2  
Old July 19th, 2005, 11:37 AM
Ray at
Guest
 
Posts: n/a
Default Re: ASP changes Big JPG -> Small JPG

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" <nyck@xs4all.nl> wrote in message
news:401e9d9a$0$318$e4fe514c@news.xs4all.nl...[color=blue]
> 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
>
>[/color]


  #3  
Old July 19th, 2005, 11:37 AM
Yannick
Guest
 
Posts: n/a
Default Re: ASP changes Big JPG -> Small JPG

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$jLo6b6DHA.2628@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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" <nyck@xs4all.nl> wrote in message
> news:401e9d9a$0$318$e4fe514c@news.xs4all.nl...[color=green]
> > 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
> >
> >[/color]
>
>[/color]


  #4  
Old July 19th, 2005, 11:37 AM
Ray at
Guest
 
Posts: n/a
Default Re: ASP changes Big JPG -> Small JPG

>> If you want to physically manipulate[color=blue][color=green]
> > the file on the server, you'll need to use a third party component or do
> > this using asp.net.[/color][/color]

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

Ray at work

"Yannick" <nyck@xs4all.nl> wrote in message
news:401eb3ce$0$322$e4fe514c@news.xs4all.nl...[color=blue]
> 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$jLo6b6DHA.2628@TK2MSFTNGP10.phx.gbl...[color=green]
> > 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[/color][/color]
manipulate[color=blue][color=green]
> > 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" <nyck@xs4all.nl> wrote in message
> > news:401e9d9a$0$318$e4fe514c@news.xs4all.nl...[color=darkred]
> > > Hey everybody,
> > >
> > > Do you know if ASP can change a JPG file in a smaller defined size[/color][/color][/color]
JPG.[color=blue][color=green][color=darkred]
> > > 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
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


  #5  
Old July 19th, 2005, 11:37 AM
Kris Eiben
Guest
 
Posts: n/a
Default Re: ASP changes Big JPG -> Small JPG

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" <nyck@xs4all.nl> wrote in message
news:401eb3ce$0$322$e4fe514c@news.xs4all.nl...[color=blue]
> Thanks Ray for the info, but I need to manipulate the photo. Resizing[/color]
can[color=blue]
> 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$jLo6b6DHA.2628@TK2MSFTNGP10.phx.gbl...[color=green]
> > You can just set the width and height values of your img tag to what[/color][/color]
you[color=blue][color=green]
> > want the size to be, as one option. If you want to physically[/color][/color]
manipulate[color=blue][color=green]
> > the file on the server, you'll need to use a third party component[/color][/color]
or do[color=blue][color=green]
> > this using asp.net. I believe that asp.net has some image[/color][/color]
manipulation[color=blue][color=green]
> > built into it.
> >
> > Ray at work
> >
> > "Yannick" <nyck@xs4all.nl> wrote in message
> > news:401e9d9a$0$318$e4fe514c@news.xs4all.nl...[color=darkred]
> > > Hey everybody,
> > >
> > > Do you know if ASP can change a JPG file in a smaller defined size[/color][/color][/color]
JPG.[color=blue][color=green][color=darkred]
> > > Do you have an exemple of it.
> > > Imagine the JPG is on the C: drive of my server and called[/color][/color][/color]
PIC.JPG.[color=blue][color=green][color=darkred]
> > > Thanks in advance.
> > > Yannick[/color][/color][/color]


  #6  
Old July 19th, 2005, 11:37 AM
Tom Kaminski [MVP]
Guest
 
Posts: n/a
Default Re: ASP changes Big JPG -> Small JPG

"Yannick" <nyck@xs4all.nl> wrote in message
news:401eb3ce$0$322$e4fe514c@news.xs4all.nl...[color=blue]
> 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 ?[/color]

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/



  #7  
Old July 19th, 2005, 11:38 AM
Tim Williams
Guest
 
Posts: n/a
Default Re: ASP changes Big JPG -> Small JPG

If on XP:

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

Tim


"Yannick" <nyck@xs4all.nl> wrote in message
news:401eb3ce$0$322$e4fe514c@news.xs4all.nl...[color=blue]
> 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$jLo6b6DHA.2628@TK2MSFTNGP10.phx.gbl...[color=green]
> > 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[/color][/color]
manipulate[color=blue][color=green]
> > 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" <nyck@xs4all.nl> wrote in message
> > news:401e9d9a$0$318$e4fe514c@news.xs4all.nl...[color=darkred]
> > > Hey everybody,
> > >
> > > Do you know if ASP can change a JPG file in a smaller defined size[/color][/color][/color]
JPG.[color=blue][color=green][color=darkred]
> > > 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
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


 

Bookmarks

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

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles