Results 1 to 3 of 3

Thread: Making thumbnail of a picture in VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    Mumbai , India
    Posts
    11

    Question Making thumbnail of a picture in VB

    Hi,


    I want to make Thumbnail of a picture file and print it in report. Can anyone suggest how can a thumbnail be made out of a picture file through VB. Any code or information will be appreciated.

    Thanx
    Nilesh A Vaidya

  2. #2
    Junior Member
    Join Date
    Nov 2001
    Location
    Yorkshire, UK
    Posts
    21

    Images

    This isn't terribly useful, but I'm a long way from my home computer:

    Use image control, make correct size for your thumbnail. Make the 'Resize' (or whatever its called) property true. This will do the resize bit.

    Its the saving bit I'm not sure of.

    Try doing something like:

    Picture1.Image = Image1.Image
    Picture1.SavePicture (...blaa...blaa...blaa...).

    Keep it looking pretty by drawing the image control INSIDE the picturebox, and make it the same size as the picturebox. If the Picture1.Image = Image1.Image thing doesn't work then try blitting it across.

    Hope that sort of helps.

    FJ
    100% of drink driving incidents are alcohol related.

  3. #3
    SirK
    Guest
    Here I worked on this for a friend. Hope it helps...
    Click here.


    ~SirK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width