NO

Author Topic: Image displaying functions  (Read 761 times)

Offline Vortex

  • Member
  • *
  • Posts: 516
    • http://www.vortex.masmcode.com
Image displaying functions
« on: November 05, 2017, 09:59:24 am »
Here is a couple of image displaying functions available as 32-bit and 64-bit code :

Quote
LoadImageFromFile

    LoadImageFromFile PROC pImageFileName:DWORD

        This function loads a BMP, JPG, GIF or WMF image from disc and returns the handle to the image.

        pImageFileName is a pointer to the FULL path name of the image file to be displayed


LoadImageFromMem

    LoadImageFromMem PROC pImageAddr:DWORD,ImageLen:DWORD

        This function returns the handle of an image stored in memory. Valid image formats are
        BMP, JPG, GIF and WMF

        pImageAddr is a pointer to the location of the image in memory.

        ImageLen is the size of the image.

        In case of error, both of the functions will return NULL.
« Last Edit: November 05, 2017, 11:03:19 am by Vortex »
Code it... That's all...

Offline Jokaste

  • Member
  • *
  • Posts: 148
  • Never be pleased, always improve.
    • ImgTools
Re: Image displaying functions
« Reply #1 on: November 05, 2017, 05:37:47 pm »
I already have seen them! ;)
Kenavo

Offline Vortex

  • Member
  • *
  • Posts: 516
    • http://www.vortex.masmcode.com
Re: Image displaying functions
« Reply #2 on: November 05, 2017, 06:32:14 pm »
Hi Jokaste,

LoadImageFromMem is converted to Poasm 64-bit. Removed some unnecessary code from LoadImageFromFile
Code it... That's all...