Re: Using Image Acquisition Automation: how to display the thumbnail?

From: Jim Walsh (jwalshREM_at_OVEXXtuspm.temple.edu)
Date: 05/26/04

  • Next message: workpef: "vfpoledb.1 and updating using ADO & VB6"
    Date: Wed, 26 May 2004 11:10:58 -0400
    
    

    Lee,

    Thanks for your quick follow-up.

    1. I note that the Picture control in VB allows me to assign the image
    directly from the ImageFile object without the intervening temporary
    graphics file. In addition, I can transfer the thumbnail image from the JPEG
    file into an intervening vector object, and then fill the Picture control
    from the Picture property of the vector. Very neat. I wish I could do this
    in VFP.

    2. I have some other questions about WIAA, but I can't find a Microsoft
    Newsgroup in which to address them. Can you give me a suggestion on how to
    get help with that. My particular question has to do with the thumbnail
    picture that may or may not be embedded in the JPEG file. I went through the
    JPEG spec. As far as I can tell, there is no standard tag for the thumbnail
    picture. So, if I use WIAA to open a JPEG from an unknown source, there
    appears to be no systematic way for me to determine if a thumbnail picture
    is in there. Do you know how I can get this clarified for me?

    Thanks,
    Jim

    "Lee Mitchell" <Leemi@online.microsoft.com> wrote in message
    news:E2lMrFoQEHA.2968@cpmsftngxa10.phx.gbl...
    > Hi Jim:
    >
    > The technique of copying the image to a file and then displaying it may be
    > inefficient, but it is about the most foolproof method of performing this
    > task. Many programmers copy the image to a file to prevent having to
    store
    > the image in a VPF general field.
    >
    > I cannot recommend any other controls to display the images. If you find
    a
    > third-party control, make sure it has been tested in VFP. Microsoft only
    > supports our ActiveX controls that we have tested in VFP. Often, an
    ActiveX
    > control works find in VB but fails in VFP.
    >
    > I hope this helps.
    >
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    >
    > Sincerely,
    > Microsoft FoxPro Technical Support
    > Lee Mitchell
    >
    > *-- VFP8 HAS ARRIVED!! --*
    > Read about all the new features of VFP8 here:
    > http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
    > Purchase VFP8 here:
    > http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
    >
    > Keep an eye on the product lifecycle for Visual FoxPro here:
    > http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
    > - VFP5 Mainstream Support retired June 30th, 2003
    > - VFP6 Mainstream Support retires Sept. 30th, 2003
    >
    > >I'm working on a VFP application that will display the thumbnail pictures
    > >contained in JPG files from a digital camera. I've been implementing this
    > in
    > >VFP with the Microsoft Image Acquisition Automation software. I am able
    to
    > >access all of the items in the JPG file, including the thumbnail picture.
    > >But, I am at a loss for the best way to display this in a VFP control.
    >
    > >The VFP image control picture property requires a character string
    > >containing the path to an image file of some sort. It seems pretty
    > >inefficient for me to copy the thumbnail picture out of the JPG file,
    write
    > >it to a BMP file on the disk, and then read it back into the Image
    control.
    >
    > >Does anyone know of a better way to get the thumbnail picture from a JPG
    > >file into the Image control, or of another picture control better adapted
    > >for this purpose.
    >
    > >Thanks for your help.
    >
    > >Jim
    >
    >


  • Next message: workpef: "vfpoledb.1 and updating using ADO & VB6"

    Relevant Pages

    • Re: OLE Object- the real question
      ... Now you have a blank image control. ... Dim strFilename As String, strFind As String ... My file path for the 1st picture is ...
      (microsoft.public.access.forms)
    • Re: Graphics in Report
      ... text1 on my report was a bound control named text1. ... I hope what you wrote actually translates to "change the picture ...
      (microsoft.public.access.reports)
    • Re: Compress Image Capability on the Mac Side?
      ... if you use the Format Picture dialog (Control-click ... "Resolution" setting. ... There is a feature request ... In Mac PowerPoint there is an over-all transparency control adjustable ...
      (microsoft.public.mac.office.powerpoint)
    • RE: Adding Bound Pictures to an Access Database
      ... except in the case where I don't have a picture for a student. ... Dim strPath As String ... you have the Image control, not either of the Object controls. ... UI I'm not sure where you'll find it, but the Picture property should be ...
      (microsoft.public.access.modulesdaovba)
    • RE: Adding Bound Pictures to an Access Database
      ... except in the case where I don't have a picture for a student. ... Dim strPath As String ... you have the Image control, not either of the Object controls. ... UI I'm not sure where you'll find it, but the Picture property should be ...
      (microsoft.public.access.modulesdaovba)