hw to use image magick on hostgator or other hosting company
hw to use image magick on hostgator or other hosting company
hello hw can i start using image magick on hostgator or other hosting company on the world wide web??
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: hw to use image magick on hostgator or other hosting company
Ask you service provide at Hostgator or wherever to install ImageMagick. Often they already have it installed, since it comes with most Linux distributions.
Re: hw to use image magick on hostgator or other hosting company
your anwsers are confusing you said
i want to use image magick to generate dynamic images on my website. note it image magick am asking and not imagick
and now yo are sayingMagickStudio is a web based version of ImageMagick and is hosted on the ImageMagick web site. It can be found elsewhere, but is not supported except on the ImageMagick web site.
where do i go from here.Ask you service provide at Hostgator or wherever to install ImageMagick. Often they already have it installed, since it comes with most Linux distributions.
i want to use image magick to generate dynamic images on my website. note it image magick am asking and not imagick
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: hw to use image magick on hostgator or other hosting company
MagickStudio is based upon Imagemagick, but is not the same. MagickStudio only runs from a web service. Other hosts do have MagickStudio, but Imagemagick developers are no longer supporting upgrades on them. Imagemagick itself can be loaded on servers and in fact comes with most Linux distributions. It can be used in Websites via the Imagick or PHP exec() command interface.
Which do you want on a some server? MagickStudio or Imagemagick itself or Imagick?
The former is not likely going to happen. But the latter with its command line interface is possible and probably on the server or can be installed on the server. Imagick may also already be on the server.
Which do you want on a some server? MagickStudio or Imagemagick itself or Imagick?
The former is not likely going to happen. But the latter with its command line interface is possible and probably on the server or can be installed on the server. Imagick may also already be on the server.
Re: hw to use image magick on hostgator or other hosting company
i will want Imagemagick. Then i will then use PHP exec() command interface but my problem now is, i will want to use image magick with hosting services such as bluehost, hostgator, etc. now do they have the imagemagick.dll file? that will allow me run command such as:
or is that not necessary. All i want is to dynamically generate images for users on my website
Code: Select all
magick label.gif +matte \
\( +clone -shade 110x90 -normalize -negate +clone -compose Plus -composite \) \
\( -clone 0 -shade 110x50 -normalize -channel BG -fx 0 +channel -matte \) \
-delete 0 +swap -compose Multiply -composite button.gif");
Re: hw to use image magick on hostgator or other hosting company
@fmw have taken a bold step by running the script on a hosting account. although it was awesome to discover the script did worked and i noticed that if i typed just a plain code like these:
the file where i typed these code in gets deleted but if i do something like these
you notice that its just the first line of the code that makes it different from the initial code above. could you pls have any phenomenon attached to that i mean can u help me explain wats going on? thnks for ur time.
Code: Select all
<?php exec("convert -size 400x400 xc:red davemagick.png",$outp, $return);
if ($return == "0") { echo '<br>Image generation sucssesful<br>'; }
else { echo '<br>Image generation failed<br>'; } ?>
Code: Select all
<?php
//comment
exec("convert -size 400x400 xc:blue davemagickw.png",$outp, $return);
if ($return == "0") { echo '<br>Image generation sucssesful<br>'; }
else { echo '<br>Image generation failed<br>'; }
?>
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: hw to use image magick on hostgator or other hosting company
try
<?php
exec("convert -size 400x400 xc:blue davemagickw.png",$outp, $return);
if ($return == "0") { echo '<br>Image generation sucssesful<br>'; }
else { echo '<br>Image generation failed<br>'; }
?>
I am not an expert on PHP, but I assume that you need to put your real code on another line besides the first <?php. I think it is trying to just execute only the first command in your case.
<?php
exec("convert -size 400x400 xc:blue davemagickw.png",$outp, $return);
if ($return == "0") { echo '<br>Image generation sucssesful<br>'; }
else { echo '<br>Image generation failed<br>'; }
?>
I am not an expert on PHP, but I assume that you need to put your real code on another line besides the first <?php. I think it is trying to just execute only the first command in your case.