Search:

Type: Posts; User: ErosOlmi

Search: Search took 0.02 seconds.

  1. Replies
    17
    Views
    12,570

    Re: TImage experimental

    An improved version of TImage module is now part of current thinBasic beta 1.7.10.0 distribution.
    This thread is now closed.
  2. Replies
    17
    Views
    12,570

    Re: TImage experimental

    Thanks Michael, typo fixed.

    My idea is not to work on a script level but to see if TImage module can be used to pass a valid BMP handle to other compiled functions (let's say TBGL) and still be...
  3. Replies
    17
    Views
    12,570

    Re: TImage experimental

    To get the BITMAP info from bitmap handle you can use the following code:


    Declare Function GetObject Lib "GDI32.DLL" Alias "GetObjectA" (ByVal hObject As DWord, ByVal nCount As Long, ByVal...
  4. Replies
    17
    Views
    12,570

    Re: TImage experimental

    TImage module takes advantages of PBIMAGE.DLL By Dean Hodgson and not the other dlls.
    PBIMAGE.DLL has more image formats.
  5. Replies
    17
    Views
    12,570

    Re: TImage experimental

    Attached to first post of this message full TImage source code.

    Consider you may have to change a bit include files in order to be able to compile it with Power Basic.
  6. Replies
    17
    Views
    12,570

    Re: TImage experimental

    No. It allows just to resize the image and nothing more.

    But ...

    (I'm not an expert on the field)
    it returns a handle to bmp. So maybe you can do something with that.

    I will attach here...
  7. Replies
    17
    Views
    12,570

    TImage experimental

    I'm testing a very simple module able to load BMP, ICO, JPG, TGA, PNG and TIFF images.
    Target of the module is very precise and limited: the ability to load different images format other than just...
Results 1 to 7 of 7