I hereby claim:
- I am bytehead on github.
- I am davidgreminger (https://keybase.io/davidgreminger) on keybase.
- I have a public key ASBIfSIyiSUHobQfF0OBaSYaCstSa6reJj98QgULAXWSAwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| // read page 1 | |
| $im = new imagick( 'test.pdf[ 0]' ); | |
| // convert to jpg | |
| $im->setImageColorspace(255); | |
| $im->setCompression(Imagick::COMPRESSION_JPEG); | |
| $im->setCompressionQuality(60); | |
| $im->setImageFormat('jpeg'); |
| // there is a solution for jQuery < 1.9.0, where you can use `$.browser`: | |
| // https://gist.github.com/nathansmith/950767 | |
| // but jQuery removed `$.browser` in version 1.9.0, so you have to get another way: | |
| function last_child() { | |
| if (/msie [1-8]{1}[^0-9]/.test(navigator.userAgent.toLowerCase())) { | |
| $('*:last-child').addClass('last-child'); | |
| } | |
| } |