Is there a reason you can't use ImageMagick? The command-line tools are highly scriptable, and it can convert between just about any image formats you can think of.<br><br>Chris<br><br><div class="gmail_quote">On Tue, Jan 25, 2011 at 10:15 AM, Morris Dovey <span dir="ltr"><<a href="mailto:mrdovey@iedu.com">mrdovey@iedu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I've been modeling behavior of directly solar-powered (non-electrical)<br>
engines and wrote some C code to allow me to "plot" into a graphics<br>
file. I've put one of my test programs and a couple of sample plots at<br>
<br>
<a href="http://www.iedu.com/DeSoto/Misc/Plot/" target="_blank">http://www.iedu.com/DeSoto/Misc/Plot/</a><br>
<br>
so you can have some context. The initial code seems to be working, but<br>
(for simplicity) I'm creating PPM files that I pull into a graphics<br>
editor and save as PNG files.<br>
<br>
What I'd like is _minimal_ standard-conforming (for portability) C code<br>
to convert PPM files to PNG and vice versa that I can share freely with<br>
R&D teams working on the same project around the world to make it easier<br>
for them to share and publish their findings.<br>
<br>
I've searched without found anything suitable - and before I jump off<br>
the deep end to re-invent this wheel, I thought I'd see if anyone here<br>
has (or is aware of) a solution.<br>
<br>
Morris Dovey<br>
<a href="http://www.iedu.com/DeSoto/" target="_blank">http://www.iedu.com/DeSoto/</a><br>
<br>
_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
</blockquote></div><br>