DeviceGray lossless-to-jpeg now working
This commit is contained in:
parent
78dbe17b67
commit
8d64e1efd7
|
@ -29,7 +29,7 @@ let pnm_to_channel_24 ch w h s =
|
||||||
let pnm_to_channel_8 ch w h s =
|
let pnm_to_channel_8 ch w h s =
|
||||||
pnm_output_string ch "P5";
|
pnm_output_string ch "P5";
|
||||||
pnm_header ch w h;
|
pnm_header ch w h;
|
||||||
pnm_output_string ch "15";
|
pnm_output_string ch "255";
|
||||||
pnm_newline ch;
|
pnm_newline ch;
|
||||||
let pos = ref 0 in
|
let pos = ref 0 in
|
||||||
for y = 1 to h do
|
for y = 1 to h do
|
||||||
|
|
Loading…
Reference in New Issue