Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: PNG viewing within VO Date: Tue, 7 Feb 2017 11:08:25 +0100 Lines: 46 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: individual.net AniXFfePNUlPhShueZUzHAVOAfkE10na0rarHpeixHKJS+PQQ= Cancel-Lock: sha1:zfERzsyPf2BuTuZPY2643uJGuMk= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:10142 > For now I hope to do explorer calls, but I would like to integrate it > better. > > Currently I can handle bitmaps using classes and functions working > back to CreateDIBitmap, I display in BBrowser, or a pushbutton. > > Is there anything similar for PNG? from the VO help file: DIBCreateFromFile() Function Purpose Create a device independent bitmap (DIB) from an image file. Syntax DIBCreateFromFile() ---> pDIB Arguments Name of the new DIB file. Returns Pointer to DIB data which can be displayed; otherwise, NULL_PTR. Description DIBCreateFromFile() creates a device independent bitmap (.DIB file) from an image file of the following types: .JPG, .TIF, .BMP, .TGA, .PNG, .PCX, or .PCT. Prototype DIBCreateFromFile( pszFName AS PSZ) AS PTR PASCAL --