in

Archived Data Techniques Forums

ImageXRes and ImageYRes is NOT applied when using hImageData

Last post 12-04-2009 8:35 AM by Tom. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 12-02-2009 8:37 AM

    • Tom
    • Top 500 Contributor
    • Joined on 12-02-2009
    • Posts 3

    ImageXRes and ImageYRes is NOT applied when using hImageData

    Hi,

    The property  ImageXRes and ImageYRes on TImageControl control  is not updating the tags when accessing the image data using hImageData. When I've add this line lImageMan.SaveAs('c:\temp\t5.tif') before lHWNDImg := lImageMan.hImageData than the Image resolution has been correctly updated.

        lImageMan.ImageXRes := 200;

        lImageMan.ImageYRes := 100;

        lImageMan.MemoryFormat := 'TIF';

        lHWNDImg := lImageMan.hImageData;

        lTIFImageSize := lImageMan.ImageDataSize;

    Is it a known bug? If so, could you advice how to fix this bug please.

    Regards,

    Tom

    Filed under:
  • 12-02-2009 9:05 AM In reply to

    Re: ImageXRes and ImageYRes is NOT applied when using hImageData

    Hi Tom,

     

    What version of ImageMan ActiveX are you using ?

  • 12-02-2009 9:08 AM In reply to

    • Tom
    • Top 500 Contributor
    • Joined on 12-02-2009
    • Posts 3

    Re: ImageXRes and ImageYRes is NOT applied when using hImageData

    8.60.0.0

    Regards,

    Tom

  • 12-03-2009 4:37 PM In reply to

    Re: ImageXRes and ImageYRes is NOT applied when using hImageData

    Hi Tom,

     

    This appears to be an issue that has been resolved in the latest build V 8.71 which you can download at no chg from the My Products page. Its just a maintenance release so the API is the same, all you need is a recompile.

     

  • 12-04-2009 8:35 AM In reply to

    • Tom
    • Top 500 Contributor
    • Joined on 12-02-2009
    • Posts 3

    Re: ImageXRes and ImageYRes is NOT applied when using hImageData

    Hi,

    I’ve just downloaded the latest version of Imageman (IMACTX80.ocx ver 8.71.0.0) and I have the same problem as described above.  

    Best regards,

    Tomasz

Page 1 of 1 (5 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.