Bitmap/Read an image through a pipe: Difference between revisions
Content added Content deleted
(Added Kotlin) |
m (→{{header|Kotlin}}: Corrected error in comment.) |
||
Line 203: | Line 203: | ||
fun main(args: Array<String>) { |
fun main(args: Array<String>) { |
||
// use file, output_piped. |
// use file, output_piped.jpg, created in the |
||
// Bitmap/PPM conversion through a pipe task |
// Bitmap/PPM conversion through a pipe task |
||
val pb = ProcessBuilder("convert", "output_piped.jpg", "ppm:-") |
val pb = ProcessBuilder("convert", "output_piped.jpg", "ppm:-") |