Search found 11 matches

by ebgb
2010-07-16T09:31:20-07:00
Forum: Bugs
Topic: very strange results from pdf conversions
Replies: 5
Views: 12670

Re: very strange results from pdf conversions

sorry! my fault I binned em whilst retrying various bits n pieces

think I cured it, updated IM to the latest version, which cured some but not all the problems

then added colorspace -RGB to the command line

some of the original PDF's were cmyk, some rgb, some had embedded colour profiles

by ...
by ebgb
2010-07-16T01:43:07-07:00
Forum: Bugs
Topic: very strange results from pdf conversions
Replies: 5
Views: 12670

Re: very strange results from pdf conversions

another example:


convert -density 175 17152_NGStrawberry28ct_0.pdf my_foo.jpg

gives http://www.kelloggdaponline.com/PDF/my_foo.jpg

original file http://www.kelloggdaponline.com/PDF/171 ... 28ct_0.pdf
by ebgb
2010-07-16T01:39:57-07:00
Forum: Bugs
Topic: very strange results from pdf conversions
Replies: 5
Views: 12670

very strange results from pdf conversions

everything was working file for a while, am now getting some very strange results from PDF to jpg conversions

run this line

convert -density 72 -quality 70 -scale '4800x4800' 17152_NGStrawberry28ct_0.pdf 17152_NGStrawberry28ct_0.jpg

and I get either: http://www.kelloggdaponline.com/PDF/17152 ...
by ebgb
2010-04-29T09:36:00-07:00
Forum: Developers
Topic: path problems
Replies: 1
Views: 5139

path problems

got around my previous probs but have come up against another one!
I'm executing via php using shell_exec()

if I run
shell_exec(convert -density 175 myfile.pdf myfile.png) from php....

I get a lovely png in the same directory as the pdf, which is cool

what I want is the converted file to be ...
by ebgb
2010-04-20T07:14:43-07:00
Forum: Developers
Topic: Quality of PNG converted from PDF
Replies: 10
Views: 113152

Re: Quality of PNG converted from PDF

I am going to have a play with that now, need to get a good image, but also find which is the quickest process time. this will all be happening in a browser from users files so need it to be as quick as possible and if I can create some sort of progress bar mechanism too
by ebgb
2010-04-20T07:02:49-07:00
Forum: Developers
Topic: Quality of PNG converted from PDF
Replies: 10
Views: 113152

Re: Quality of PNG converted from PDF

think I've sorted it now!

quite an odd one, and no idea why it now works (or why I wrote the original line the way I did

originally I'd put

convert -resize $strPDF '4000' -density 400 /var/www/appro_png/$outputFile

ie the input file ($strPDF), then the settings then the output file (/var/www ...
by ebgb
2010-04-20T06:04:00-07:00
Forum: Developers
Topic: Quality of PNG converted from PDF
Replies: 10
Views: 113152

Re: Quality of PNG converted from PDF

server screw up maybe, restarted Imagemagick (under ubuntu) and it now converts etc, but still blurry on the small print
by ebgb
2010-04-20T05:39:18-07:00
Forum: Developers
Topic: Quality of PNG converted from PDF
Replies: 10
Views: 113152

Re: Quality of PNG converted from PDF

not sure that worked. it ticked away for a few minutes...

butt he resulting png cannot be parsed/opened
by ebgb
2010-04-20T03:44:56-07:00
Forum: Developers
Topic: Quality of PNG converted from PDF
Replies: 10
Views: 113152

Quality of PNG converted from PDF

tinkering away and am converting the pdf's to 8 bit png fine

one problem I am trying to work around. The original PDF's are mainly vector files, with some bitmap images in them. created originally in adobe illustrator

so, as vector files, if you were to zoom in to the original pdf all stays nice ...
by ebgb
2010-03-24T15:25:59-07:00
Forum: Developers
Topic: conversion progress?
Replies: 4
Views: 21414

Re: conversion progress?

I should have made it a bit clearer, my bit of magick is happening thorugh a web page via php

was hoping for something I can feed back to php or javascript even to show some sort of progress to the end user
by ebgb
2010-03-24T15:10:05-07:00
Forum: Developers
Topic: conversion progress?
Replies: 4
Views: 21414

conversion progress?

new here, finally joined! usually everything I've ever needed to know has already been answered! respect!!

anyhoo...

can't find anything to help with my current conundrum, and it might not even be possible anyway...

using php, to convert a pdf to a png and then create a thumbnail

no problem ...