[PD] bitmap sequencer and flext png library wrapper

Robert Figura rfigura at aubergine.zwischengesicht.de
Sat Nov 16 14:04:23 CET 2002


On 15 Nov, Mathieu Bouchard wrote:

> On Fri, 15 Nov 2002, Robert Figura wrote:
>> As i somehow missed gridflow until now, i wrote a little png library
>> wrapper using flext. Now gridflow is just too nice but if anyone is
>> still interested in these 400 lines of code, just email me a note and i
>> will put it online somewhere.
>
> If you can debug GridFlow-for-PD, please do!! 

I see. This is in fact necessary. Huh - Me? Hmm let's see... Cough
cough, seems like we are all missing some good docs. That _will_ take
some time. Ruby looks like python, but at a first look i cannot tell how
bridge_puredata.c does its job.

This is a little bit deeper than i am actually aiming at.

> and if not, then I would be
> interested in porting the PNG code to GridFlow, which is not using flext
> despite being C++ code. You see, GridFlow doesn't have PNG
> support yet.

Wait a minute, i put it on pdwiki...

ftp> cd incoming
250 CWD command successful.
ftp> cd pdwiki
250 CWD command successful.
ftp> put bitmap-0.1.tar.gz
local: bitmap-0.1.tar.gz remote: bitmap-0.1.tar.gz
227 Entering Passive Mode (193,170,191,180,216,138).
550 bitmap-0.1.tar.gz: Permission denied

??

ftp> cd ..
250 CWD command successful.
ftp> cd pd-externs
250 CWD command successful.
ftp> put bitmap-0.1.tar.gz
[...]
226 Transfer complete.
66985 bytes sent in 00:09 (7.07 KB/s)

Whoops! Wrong place. Why now?

ftp> cd pd-externs
250 CWD command successful.
ftp> ls
[...]
drwxrwxrwx   2 root     ftpadm       4096 Jun 21  2001 pd-patches
drwxrwxr-x   3 102      ftpadm       4096 Jun  7 09:03 pdwiki
[...]
ftp> rm bitmap-0.1.tar.gz
550 bitmap-0.1.tar.gz: Permission denied

Uark. It said permissions, didn't it? Sorry. Anyway, URL is:

ftp://iem.kug.ac.at/incoming/pd-externs/bitmap-0.1.tar.gz

BTW: I needed just half a day to follow the pnglib readme file and
compile the first wrapper. It's no big deal.

>> I just started using gridflow so i may decide to continue developing
>> pngread later.
>>
>> BTW: I would like to implement flext-threads,
> 
> You want to implement them into what?

Implement loading a png in a thread.

Loading a png requires a relatively big cpu chunk. There is no herb
against this latency but there is no need to eat it all at once.

Regal
  Robert Figura

-- 
/* mandlsig.c v0.23  (c) by Robert Figura <rfigura at metabit.com> */
I=1702;float O,o,i;main(l){for(;I--;putchar("oO .,\nm>cot.bitamea\
@urigrf <raguFit erobR"[I%74?I>837&874>I?I^833:l%5:5]))for(O=o=l=
0;O*O+o*o<(16^l++);o=2*O*o+I/74/11.-1,O=i)i=O*O-o*o+I%74*.04-2.2;}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20021116/0ed83da0/attachment.pgp>


More information about the Pd-list mailing list