Search found 14 matches

by alfredopacino
2017-08-07T16:06:53-07:00
Forum: Windows COM+ & Visual Basic
Topic: Unable to load module
Replies: 4
Views: 109823

Re: Unable to load module

I've the same error Dim imageMagick Set imageMagick = CreateObject("ImageMagickObject.MagickImage.1") imageMagick.convert "C:/1infra.png", "-fuzz", "10%", "-trim", "-resize", "800x800>", "C:/1infra-sample.png" I'm on win7 x64. I see I've installed Microsoft Visual C++ Redistributable 2005,2008,2010 ...
by alfredopacino
2012-01-11T14:13:57-07:00
Forum: Users
Topic: error converting pdf->jpg
Replies: 2
Views: 8521

error converting pdf->jpg

hi, i just formatted and reinstalled windows 7x64, imagemagick and postscript i get this when i try to convert pdf in jpg C:\>convert a.pdf a.jpg convert.exe: `%s' (%d) "gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOP ROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 ...
by alfredopacino
2011-11-21T18:08:36-07:00
Forum: Users
Topic: simple pdf to jpg
Replies: 6
Views: 15828

Re: simple pdf to jpg

thanks a lot, but i read too late :D
i just finished to resize 80 documents in photoshop (40 batch with the actions and 40 password protected (no copy) with a window screenshot!) :shock:

bye and thanks again
by alfredopacino
2011-11-21T15:26:11-07:00
Forum: Users
Topic: simple pdf to jpg
Replies: 6
Views: 15828

Re: simple pdf to jpg

yep you're right :(
i opened that pdf in photoshop and save the first page, the script works fine.

But i can't do this for all my documents, there's too much.
I remember an old version of imagemagick works on these file (in this thread i worked with same files).
by alfredopacino
2011-11-21T14:56:03-07:00
Forum: Users
Topic: simple pdf to jpg
Replies: 6
Views: 15828

Re: simple pdf to jpg

sorry :) the version is the last one 6.7.3 (on windows 7 x64), i working in local

Code: Select all

convert apportoproteico.pdf[0] -resize 50% apportoproteico.jpg
Image

http://www.nabbaitalia.it/imagemagick/a ... oteico.pdf
by alfredopacino
2011-11-21T11:21:41-07:00
Forum: Users
Topic: simple pdf to jpg
Replies: 6
Views: 15828

simple pdf to jpg

hi, sorry for my poor english i wanna simply convert my pdf first pages in jpg (resized 50%) this is the code: convert abc.pdf[0] -resize 50% abc.jpg all works, but in this way i see black background (and a black border around my page too) and i can't see the black text in the jpg! how can i set ...
by alfredopacino
2011-01-29T06:45:56-07:00
Forum: MagickWand for PHP
Topic: composite and backgroud problem
Replies: 16
Views: 69547

Re: composite and backgroud problem

im sorry for annoing u again i trying to edit files path and seems like not work exec("convert -size 100x100 xc:white \( -density 300 \"{$strPDF}[0]\" -thumbnail 100x100 -unsharp 1.5x1+0.7+0.02 \) -gravity center -composite pdf_icon.png -gravity southeast -composite \" docs/thumbs/ ".$doc->getData ...
by alfredopacino
2011-01-29T03:29:20-07:00
Forum: MagickWand for PHP
Topic: composite and backgroud problem
Replies: 16
Views: 69547

Re: composite and backgroud problem

Try this: exec("convert -size 100x100 xc:white \( -density 300 \"{$strPDF}[0]\" -thumbnail 100x100 -unsharp 1.5x1+0.7+0.02 \) -gravity center -composite image-cropped-2.png -gravity southeast -composite thumb_pdf1.jpg 2>&1", $array); I have also added some sharpening to the pdf but I would say at ...
by alfredopacino
2011-01-28T17:20:23-07:00
Forum: MagickWand for PHP
Topic: composite and backgroud problem
Replies: 16
Views: 69547

Re: composite and backgroud problem

im on a shared hosting, dont think they'll updrage the software for me, but i'll ask for.

there isnt a different way for make this for my version?
by alfredopacino
2011-01-28T16:49:45-07:00
Forum: MagickWand for PHP
Topic: composite and backgroud problem
Replies: 16
Views: 69547

Re: composite and backgroud problem

i have ImageMagick 6.2.8..maybe create problem? for some pdf i see some warnings, but the output files is the same (thumb on the left and black back): Array ( [0] => **** Warning: Fonts with Subtype = /TrueType should be embedded. [1] => But Times New Roman is not embedded. [2] => **** Warning ...
by alfredopacino
2011-01-28T13:24:27-07:00
Forum: MagickWand for PHP
Topic: composite and backgroud problem
Replies: 16
Views: 69547

Re: composite and backgroud problem

What code are you using ? You can add -quality 100 just before the image save name and increase the -density from 300 to 400 to improve quality yours exec("convert -density 300 \"{$strPDF}[0]\" -thumbnail 100x100 -background white -gravity center -extent 100x100 pdf_icon.png -gravity southeast ...
by alfredopacino
2011-01-28T12:46:36-07:00
Forum: MagickWand for PHP
Topic: composite and backgroud problem
Replies: 16
Views: 69547

Re: composite and backgroud problem

Change logo.png to the name of the icon you want to put on top of the pdf. You did not say what it was called in your post. yep i inverted the files :? :) now results: http://img412.imageshack.us/img412/520/pdfthumb.jpg thumb on the left and black backgound..why?? ps: can i control jpg compression ...
by alfredopacino
2011-01-28T12:20:09-07:00
Forum: MagickWand for PHP
Topic: composite and backgroud problem
Replies: 16
Views: 69547

Re: composite and backgroud problem

thanks for show me how i can see error reporting :) Array ( [0] => convert: unable to open image `logo.png': No such file or directory. [1] => convert: unable to open file `logo.png'. ) i tried yours..wtf? :) i want to create logo.png! why the script try to open image? (directory permission alright)
by alfredopacino
2011-01-28T10:27:09-07:00
Forum: MagickWand for PHP
Topic: composite and backgroud problem
Replies: 16
Views: 69547

composite and backgroud problem

hi, first sorry for my english, im italian. i'm trying to create a pdf thumbnail with this features: -size 100x100 (with a A4 format pdf) - white background - a little png icon on the south-right side 32x32 exec("convert \"{$strPDF}[0]\" -colorspace RGB -geometry 96x96 -border 50 -gravity center ...