This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * This is a collection of Playdate patterns compiled into a header-only library | |
| * for use in C SDK projects. | |
| * | |
| * The pattern definitions listed here are copied directly from Ivan Sergeev's | |
| * 'gfxp' library, which can be found here: https://github.com/ivansergeev/gfxp | |
| * | |
| * | |
| * USAGE: | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # use ImageMagick convert | |
| # the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf | |
| convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf |