Correction:
if (baseFile) {
baseWriter = new pngwriter(1,1,0,baseFilename.c_str());
baseWriter->readfromfile(baseFilename.c_str());
} else {
baseWriter = new pngwriter(w, h, 0, baseFilename.c_str());
}
...is the version that works.
No wonder I am having trouble. I can't even copy and paste correctly 8-)
-------------------------------------------------------------------------
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