DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Tricky one, maybe?

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Tricky one, maybe?

    [Originally posted by John]

    I currently have a site for my family to upload pictures, and view them. I want to develop a script that will convert these files to a smaller "icon size" picture to store in a separate folder so that when I display the pictures (like a web photo album) they will actually BE smaller not just resized. This will help speed up the download of the album pages.

    Is this possible? am I waisting my time?

    Any help would be GREATLY appreciated!

    Thank you!

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Tricky one, maybe?

    [Originally posted by Greg DeBacker]

    You can use the StretchBlt API to resize an image that is displayed in a PictureBox. You could then save that image as a smaller thumbnail of the original.

    Just cruious: You say, "they will actually BE smaller not just resized". What is the difference between "smaller" and "resize"?

    This link points to code that shows the StretchBlt API...

    http://freevbcode.com/ShowCode.Asp?ID=2337

    Grex


  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:Tricky one, maybe?

    [Originally posted by John]

    can you use these in ASP?

  4. #4
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:Re:Tricky one, maybe?

    [Originally posted by Greg DeBacker]

    Sorry, I didn't notice that was in the ASP section. I'm not sure if you can. You could create a VB app that would view the pictures (Depending on format), make the thumpnail image, and then upload to your site.

    Grex

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center