Bitmap/Read an image through a pipe: Difference between revisions
Content added Content deleted
Line 148: | Line 148: | ||
<pre>$ myatscc bitmap_read_through_pipe_task.dats |
<pre>$ myatscc bitmap_read_through_pipe_task.dats |
||
$ ./bitmap_read_through_pipe_task 4.1.07.tiff > bitmap_read_through_pipe_task_ATS.ppm |
$ ./bitmap_read_through_pipe_task 4.1.07.tiff > bitmap_read_through_pipe_task_ATS.ppm |
||
$ file 4.1.07.ppm |
|||
$ file 4.1.07.ppm (~/src/chemoelectric/rosettacode-contributions) |
|||
4.1.07.ppm: Netpbm image data, size = 256 x 256, rawbits, pixmap |
4.1.07.ppm: Netpbm image data, size = 256 x 256, rawbits, pixmap |
||
$ ./bitmap_read_through_pipe_task 4.1.07.tiff 4.1.07.jpg |
$ ./bitmap_read_through_pipe_task 4.1.07.tiff 4.1.07.jpg |
||
$ file 4.1.07.jpg |
|||
$ file 4.1.07.jpg (~/src/chemoelectric/rosettacode-contributions) |
|||
4.1.07.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 256x256, components 3</pre> |
4.1.07.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 256x256, components 3</pre> |
||