Difference between revisions of "File:09a08.png"

From TORI
Jump to: navigation, search
(Treatment)
(Treatment)
 
Line 30: Line 30:
 
Perhaps, the there is an error in the line above, and the correct abracadabra is
 
Perhaps, the there is an error in the line above, and the correct abracadabra is
   
convert -flatten -dither None 09.pdf PNG8:09a08.png
+
convert -density 200 -flatten -dither None 09.pdf PNG8:09a08.png
   
 
==Reproducibility==
 
==Reproducibility==

Latest revision as of 18:55, 1 August 2020

Convert PDF files to PNG8. Example

EPS source: 09.eps

%!PS-Adobe-2.0 EPSF-2.0
%%BoundingBox: 0 0 200 200
/RGB {setrgbcolor} bind def
/W {setlinewidth} bind def
/M {moveto} bind def
/L {lineto} bind def
/S {stroke} bind def

0 90 M 200 200 L  1 .8 .666 RGB 6 W S
0 80 M 200 190 L  0 1 1 RGB 6 W S
0 70 M 200 180 L  1 0 0 RGB 6 W S
0 60 M 200 170 L  0 .66666 0 RGB 6 W S
0 50 M 200 160 L  0 0 1 RGB 6 W S
0 40 M 200 150 L  0 0 0 RGB 6 W S
0 30 M 200 140 L .6 0 .6666 RGB 6 W S
showpage
%%Trailer 

Treatment

epstopdf 09.eps

convert -flatten -colors 8 09.pdf PNG8:09a08.png

Warning: Perhaps, the there is an error in the line above, and the correct abracadabra is

convert -density 200 -flatten -dither None 09.pdf PNG8:09a08.png

Reproducibility

References

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:12, 1 August 2020Thumbnail for version as of 13:12, 1 August 2020556 × 556 (5 KB)T (talk | contribs)
  • You cannot overwrite this file.

There are no pages that link to this file.

Metadata