Re: Images and PDF:API2

"spinningwebz2002" <spinningwebz2002-/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.pdfapi2
Message-ID <[email protected]>
> > Thanks for the tip. Do you know how the scale option works? Or 
> maybe 
> > if I tell you want I want to happen you can give me some pointers
> > 
> > I want center an image and have the height be a particular size 
and 
> > the width be proportional to that. If it is possible I would like 
> to 
> > crop the extra width if any, but I an always draw a white box 
over 
> > the extra width if need be. 
> > 
> > Bill H
> >
> 
> 
> Mark that would be great. I got Imagemagick installed on the server 
> and working at the command line (using convert), but a very strange 
> thing, I cant do the exact command from a perl system() call. FOr 
> example if I shell in and do:
> 
> convert logo: logo.gif 
> 
> It works great, but if I put it in a perl program:
> 
> system("convert logo: logo.gif"); nothing happens. I have shell and 
> everything turned on (if I do a system("mv blah.txt ../blah.txt"); 
in 
> the same perl program, that works.
> 
> I installed the Perl::Magick portion and tried that using an 
example 
> they gave and the server justlocked up - had to reboot it (maybe I 
> did it wrong). So yes, if you could show me you example I can see 
if 
> I was doing it wrong.
> 
> Bill H
>

I think I figured out my issue, I am so used to Windows / Dos that I 
forgot that I need to tell the system call where convert is located. 
Did that and it worked. But still want to see you examples!

Bill H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.