Bitmap/Write a PPM file: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 935: Line 935:
end
end
bitmap:savePPM("lua3x5.ppm")</lang>
bitmap:savePPM("lua3x5.ppm")</lang>


=={{header|LiveCode}}==
LiveCode has built in support for importing and exporting PBM, JPEG, GIF, BMP or PNG graphics formats
<lang LiveCode>
export image "test" to file "~/Test.PPM" as paint -- paint format is one of PBM, PGM, or PPM
</lang>



=={{header|M2000 Interpreter}}==
=={{header|M2000 Interpreter}}==
Line 1,252: Line 1,260:
PPMbinaryP6
PPMbinaryP6


</lang>

=={{header|LiveCode}}==
LiveCode has built in support for importing and exporting PBM, JPEG, GIF, BMP or PNG graphics formats
<lang LiveCode>
export image "test" to file "~/Test.PPM" as paint -- paint format is one of PBM, PGM, or PPM
</lang>
</lang>