Lisp HUG Maillist Archive

How to operate image pixels without having associated window ?

Hi
 
I tried to find any trace of off-screen image operations but was unsuccessful. How to load image and use image access object without having pane ? In WIN32 API one can easily create memory DC without window. Is any way to do same with CAPI ?
 
Thanks in advance!

Re: How to operate image pixels without having associated window ?

Create an off-screen port for an existing one is possible with
gp:create-pixmap-port. However, the function takes a pane as his first
argument.... Then, without an existing port on screen it seems impossible to
do it.

But I hope I¹m wrong

Sincerely

Denis


Le 19/10/05 22:11, « lisptracker » <lisptracker@mail.ru> a écrit :

> Hi
> 
> I tried to find any trace of off-screen image operations but was unsuccessful.
> How to load image and use image access object without having pane ? In WIN32
> API one can easily create memory DC without window. Is any way to do same with
> CAPI ?
> 
> Thanks in advance!
> 




----------------------------------------------------
Denis Pousseur
6 clos du Drossart
1180 Bruxelles, Belgique

Mail :  denis.pousseur@compositeurs.be
Website : http://compositeurs.be
----------------------------------------------------




Re: How to operate image pixels without having associated window ?

Thanks. I had already diged up all documentation and saw
gp:create-pixmap-port but it was not solution. May be I should read an image
using another library, but then I lose possibility to transfer bits to the
screen fast.
Having something like SetDIBitsToDevice would be very handy.

----- Original Message -----
From: "Denis Pousseur" <denis.pousseur@compositeurs.be>
To: "lisptracker" <lisptracker@mail.ru> <lisp-hug@lispworks.com>
Sent: Friday, October 21, 2005 12:14 AM
Subject: Re: How to operate image pixels without having associated window ?


> Create an off-screen port for an existing one is possible with
> gp:create-pixmap-port. However, the function takes a pane as his first
> argument.... Then, without an existing port on screen it seems impossible
to
> do it.
>
> But I hope I¹m wrong
>
> Sincerely
>
> Denis
>
>
> Le 19/10/05 22:11, « lisptracker » <lisptracker@mail.ru> a écrit :
>
> > Hi
> >
> > I tried to find any trace of off-screen image operations but was
unsuccessful.
> > How to load image and use image access object without having pane ? In
WIN32
> > API one can easily create memory DC without window. Is any way to do
same with
> > CAPI ?
> >
> > Thanks in advance!
> >
>
>
>
>
> ----------------------------------------------------
> Denis Pousseur
> 6 clos du Drossart
> 1180 Bruxelles, Belgique
>
> Mail :  denis.pousseur@compositeurs.be
> Website : http://compositeurs.be
> ----------------------------------------------------
>
>
>
>


Re: How to operate image pixels without having associated window ?

On 9269 day of my life lisptracker@mail.ru wrote:
> Having something like SetDIBitsToDevice would be very handy.

You can do it with OpenGL (though I know you do not like it. :)
I have an example somewhere on my disk, but can't find it now...

-- 
Ivan Boldyrev

                                                  Your bytes are bitten.


Updated at: 2020-12-10 08:50 UTC