Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10142

Re: PNG viewing within VO

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: PNG viewing within VO
Date 2017-02-07 11:08 +0100
Message-ID <eftkkqFp58nU1@mid.individual.net> (permalink)
References <o7c57h$b6r$1@dont-email.me>

Show all headers | View raw


> 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(<pszFName>) ---> pDIB
 

Arguments

<pszFileName>        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



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PNG viewing within VO Martin <Martin@spam.spam> - 2017-02-07 09:51 +0000
  Re: PNG viewing within VO "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-02-07 11:08 +0100
    Re: PNG viewing within VO Martin <Martin@spam.spam> - 2017-02-14 12:01 +0000
  Re: PNG viewing within VO "Valery N." <mustangsoftcom@gmail.com> - 2017-02-08 05:13 -0800

csiph-web