Tuesday, July 26, 2011

Convert PDF to image using command line

To convert a PDF file to a series of images, you will need Imagemagick installed on your system. If you run Linux or Mac OS X, it is probably already installed. For Windows, iOS and other OSes, you can download a binary release here. If that fails, you can download the source and try compiling Imagemagick yourself.

To convert the PDF file to a series of image, you use the convert utility as follows:
convert -quality 100 -density 600x600 orig.pdf output%d.jpg

To convert to any other format simply replace the 'jpg' extension with the desired output format.

Sunday, July 3, 2011

Google Chrome not working with Facebook

I switched from Firefox to Chrome some time back and have loved the speed and functionality of Chrome. Recently though, Facebook hasn't been working well with Chrome.

I found a simple solution to my problem which is sort of the equivalent of "Have you tried turning it off and on again?"

Click on the wrench found in the upper right corner of the browser and select Options. Click on Under The Hood and then click on Clear Browsing Data.

This did the trick and Facebook is now functional again.

Leave a comment if you found a different way to solve problems bewteen Google Chrome and Facebook.