Difference between revisions of "File:09a08.png"
Line 1: | Line 1: | ||
+ | Convert PDF files to PNG8. Example |
||
+ | |||
+ | ==[[EPS]] source: 09.eps== |
||
+ | <pre> |
||
+ | %!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 |
||
+ | </pre> |
||
+ | ==Treatment== |
||
+ | |||
+ | epstopdf 09.eps |
||
+ | |||
+ | convert -flatten -colors 8 09.pdf PNG8:09a08.png |
||
+ | |||
+ | ==Reproducibility== |
||
+ | |||
+ | ==References== |
||
+ | <references/> |
||
+ | |||
+ | [[Category:Bug]] |
||
+ | [[Category:Convert]] |
||
+ | [[Category:EPS]] |
||
+ | [[Category:PDF]] |
||
+ | [[Category:PNG]] |
Revision as of 13:14, 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
Reproducibility
References
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 13:12, 1 August 2020 | 556 × 556 (5 KB) | T (talk | contribs) |
- You cannot overwrite this file.
File usage
There are no pages that link to this file.