Hi Everyone,

OK, I made a trivial hack to pngwriter that dumps 8 bit files. These 
files are directly convertible by mencoder.

The hack is to go and replace every bit_depth (and bit_depth_) = 16 to 
bit_depth (and bit_depth_) = 8

Not knowing how libpng works (and that is the purpose of pngwriter - 
transparency) I don't know what this may break : I'm running on windows 
and using mingw. I'm using the circle, line and filledtriangle commands 
from pngwriter and that works fine.

I'll post links to some animations, along with what they mean later next 
week.

Take care!
-kaushik


Paul Blackburn wrote:
> Hi Kaushik,
> 
> Again I owe you  (and everyone else on the list) an apology for having
> delayed over three weeks in approving your post to the list. Sorry!
> 
> With regards to your question, I'm afraid there isn't... mass
> conversion after generating the images is the only way to get 8-bit
> images with PNGwriter, I'm afraid.
> 
> Cheers and remember to show us some videos of the result!
> 
> Paul
> 
> On 1/2/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote:
>> Hi Paul,
>>
>> Your library is just what I needed for my neural simulation project.
>> (www.sf.net/projects/snaiu).
>>
>> I'm making animations of simulations of neuronal networks by dumping
>> pngs of visualizations each timestep and then using mencoder to stitch
>> the frames together into an avi.
>>
>> Congratulations on such a easy to use and convenient library. I'm
>> running the same code on windows and linux.
>>
>> I have one small gripe though. mencoder needs 8 bit depth files, else it
>> barfs. But there seems to be no provision in pngwriter to save pngs as 8
>> bit depth, so I have to run imagemagik to convert the files into 8 bit.
>>
>> Does pngwriter have a bit depth setting option, or will be coming
>> (please) in the next version :)
>>
>> thanks!
>> -kaushik
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to 
>> share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> http://pngwriter.sourceforge.net/
>> PNGwriter-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pngwriter-users
>>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
http://pngwriter.sourceforge.net/
PNGwriter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pngwriter-users

Reply via email to