Connecting Tech Pros Worldwide Forums | Help | Site Map

ASP changes Big JPG -> Small JPG

Yannick
Guest
 
Posts: n/a
#1: Jul 19 '05
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



Ray at
Guest
 
Posts: n/a
#2: Jul 19 '05

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]


Yannick
Guest
 
Posts: n/a
#3: Jul 19 '05

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]


Ray at
Guest
 
Posts: n/a
#4: Jul 19 '05

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]


Kris Eiben
Guest
 
Posts: n/a
#5: Jul 19 '05

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]


Tom Kaminski [MVP]
Guest
 
Posts: n/a
#6: Jul 19 '05

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/



Tim Williams
Guest
 
Posts: n/a
#7: Jul 19 '05

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]


Closed Thread