ASP changes Big JPG -> Small JPG

Discussion in 'ASP General' started by Yannick, Feb 2, 2004.

  1. Yannick

    Yannick Guest

    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
    Yannick, Feb 2, 2004
    #1
    1. Advertising

  2. Yannick

    Ray at Guest

    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" <> wrote in message
    news:401e9d9a$0$318$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
    >
    >
    Ray at, Feb 2, 2004
    #2
    1. Advertising

  3. Yannick

    Yannick Guest

    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$...
    > 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" <> wrote in message
    > news:401e9d9a$0$318$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
    > >
    > >

    >
    >
    Yannick, Feb 2, 2004
    #3
  4. Yannick

    Ray at Guest

    >> 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=How do I manipulate images from ASP

    Ray at work

    "Yannick" <> wrote in message
    news:401eb3ce$0$322$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$...
    > > 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" <> wrote in message
    > > news:401e9d9a$0$318$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
    > > >
    > > >

    > >
    > >

    >
    >
    Ray at, Feb 2, 2004
    #4
  5. Yannick

    Kris Eiben Guest

    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" <> wrote in message
    news:401eb3ce$0$322$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$...
    > > 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" <> wrote in message
    > > news:401e9d9a$0$318$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
    Kris Eiben, Feb 2, 2004
    #5
  6. "Yannick" <> wrote in message
    news:401eb3ce$0$322$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/windowsserver2003/community/centers/iis/
    Tom Kaminski [MVP], Feb 2, 2004
    #6
  7. Yannick

    Tim Williams Guest

    If on XP:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wiaaut/wia/
    wiax/overviews/startpagewiaaut.asp

    Tim


    "Yannick" <> wrote in message
    news:401eb3ce$0$322$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$...
    > > 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" <> wrote in message
    > > news:401e9d9a$0$318$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
    > > >
    > > >

    > >
    > >

    >
    >
    Tim Williams, Feb 3, 2004
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roland
    Replies:
    0
    Views:
    1,055
    Roland
    May 12, 2004
  2. Shaguf
    Replies:
    0
    Views:
    350
    Shaguf
    Dec 24, 2008
  3. Shaguf
    Replies:
    0
    Views:
    450
    Shaguf
    Dec 26, 2008
  4. Shaguf
    Replies:
    0
    Views:
    236
    Shaguf
    Dec 26, 2008
  5. Shaguf
    Replies:
    0
    Views:
    215
    Shaguf
    Dec 24, 2008
Loading...

Share This Page