Showing posts with label pdf. Show all posts
Showing posts with label pdf. Show all posts

Tuesday, February 14, 2012

JPG from PDF in Linux (ghostscript)

Renamed input.pdf for copy/paste
Put in Documents folder
Open Terminal in Documents Folder

gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -r150 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dMaxStripSize=8192 -sOutputFile=output_%d.jpg input.pdf

Other options to try:

DEVICE=png16m
r300

Wednesday, February 09, 2011

ISSUE: Firefox PDF Upload comes through as text or other

If you upload a file through Firefox, it may send the wrong mimetype for this file.

Delete mimeTypes.rdf, in the user \Application Data\Mozilla\Firefox\Profiles folder.
You may find it in extensions folder also.

Delete the files and restart Firefox and see if it works for you.

http://techblog.procurios.nl/k/news/view/15872/14863/Mimetype-corruption-in-Firefox.html

http://codeigniter.com/forums/viewthread/146338/