MicrostockGroup

Microstock Photography Forum - General => Symbiostock => Symbiostock - Hosting => Topic started by: DonLand on July 26, 2013, 12:49

Title: Installing ImageMagick
Post by: DonLand on July 26, 2013, 12:49
So how do I go about installing ImageMagick on my server. I've installed the wp ImageMagick engine plug in but the image processor is still using GD Library. I assume there may be something I need to install via my cPanel.
Title: Re: Installing ImageMagick
Post by: Kenny on July 26, 2013, 13:35
Here's the instructions on how to install ImageMagick on your server:

(http://kga.me/screengrab/imagemagick.jpg)

Credit: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AllFAQ/ApacheFAQ#How%20do%20I%20install%20_ImageMagic? (http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AllFAQ/ApacheFAQ#How%20do%20I%20install%20_ImageMagic?)
Title: Re: Installing ImageMagick
Post by: DonLand on July 26, 2013, 16:23
Thanks for the reply but I need some more basic info, like where do I get to the command line to even use the script. This is on a remote server that I have both cPanel and FTP access to.

Also how do I know if I need PHP bindings or Perl bindings etc. I am not a programmer or even IT guy, just a photographer. Thanks!
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 12:28
Ok, my hosting company says ImageMagick is installed, running and available to use at /usr/bin/convert and /usr/bin/mogrify

SymbioStock says it is using GD Library

The hosting company said to contact the Theme builder.

Sigh....

Leo or anyone have any ideas?
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 13:16
Slowly getting there. In SymbioStock the ImageMagick Engine plug in is enabled by command line engine at: /usr/bin/ and I get the green checkmark, but GD Library is still used on the process images page.

My server company states the following:

ImageMagick allows you to dynamically create and edit images on the server.  ImageMagick is usually run from the command line, but since command line access is not available on XXXXXX servers, the commands can be ran through cron jobs or PHP scripts instead. ImageMagick programs are located in:

/usr/bin/convert
/usr/bin/mogrify

In Symbiostock if I click on the ImageMagick dropdown menu and pick on Imagick PHP module I get a red x with it saying the Imagick php module not found.

Ideas?

Title: Re: Installing ImageMagick
Post by: CrackerClips on July 28, 2013, 13:26
Hi Don - Yep I'm in the same boat.  My host (godaddy) says Imagemagick is installed on the server but the symbiostock theme isn't connecting with it.  Who is your host?  It looks like the convert path you listed is the same or at least similar to what godaddy needs to make it work.  Leo is aware of this but it's helpful to hear that this is not just affecting me. 

The images I've processed through GD Library look dull and unsaturated.  In addition, GD Library seems to strip the metadata from the images when processed for a customer purchase.  The test purchases I've done so far show that my downloaded images have no metadata included effectively making them orphans.

I have basically paused in the development of my site at this point until this can be addressed.  I think Leo's working on this as part of the premium plugin he's developing.  I'm really anxious to begin uploading again, get the network turned on and continue building out our site.

Bryan
Title: Re: Installing ImageMagick
Post by: CrackerClips on July 28, 2013, 13:30
In Symbiostock if I click on the ImageMagick dropdown menu and pick on Imagick PHP module I get a red x with it saying the Imagick php module not found.


You have an ImageMagick dropdown menu in the symbiostock theme?  Where is that located?
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 13:34
Dang, did not want to hear that. I had GoDaddy but quickly got tired or all their upgrade crap. I'm using Web Hosting Hub and until this was very happy with them. As I type this they are looking into it. I asked them to see if the PHP modules are installed in the two listed places above. They say yes they are installed in /us/bin/convert

It is in the ImageMagick plug-in engine
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 13:40
I'm beginning to think that I need to edit the imagemagick script in the imagemagick edit plug in to locate the /usr/bin/convert
Title: Re: Installing ImageMagick
Post by: plrang on July 28, 2013, 15:34
If you can't use the php dynamic module - You can't do anything. Leo would have to add the support for the commandline version though
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 15:38
WebHostingHub says they support the PHP version of it and not the command line version. The problem is Symbiostock can't seem to find the PHP version which WebHostingHub says is in use/bin/convert

Here is what they say in their help pages:

ImageMagick allows you to dynamically create and edit images on the server.  ImageMagick is usually run from the command line, but since command line access is not available on Web Hosting Hub servers, the commands can be ran through cron jobs or PHP scripts instead. ImageMagick programs are located in:

/usr/bin/convert
/usr/bin/mogrify
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 15:44
Some more info. In my WP SXtra plug in it says the following:

>>>>No Imagick extension loaded?  Try to add to php.ini: extension=imagick.so

Imagick class doesn't exists

 Trying to call command-line ImageMagick...<<<<


Where is this php.ini file and how do I add extension=imagick.so to it?
Title: Re: Installing ImageMagick
Post by: CrackerClips on July 28, 2013, 15:59
The php.ini file is in your root directory.  You just need to add that line anywhere in the code that is already there.  I know this works for some hosts but it didn't work in my case and may not work in yours if your host requires a certain path is followed to get to imagemagick.
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 16:04
Can I add it to my local php.ini directory instead?

Here is the page they talk about getting it to work. Greek to me....

http://www.webhostinghub.com/support/website/general-server-setup/imagemagick-installed-on-servers (http://www.webhostinghub.com/support/website/general-server-setup/imagemagick-installed-on-servers)
Title: Re: Installing ImageMagick
Post by: plrang on July 28, 2013, 16:33
php.ini works for specific directory it's in and below, so it would be ok to put it in the Wordpress root folder (the same where you can find the wp-config.php file)

Although there is no guarantee that adding extension=imagick.so to the file would change anything.
They could just disallow to use it as a dynamic module
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 16:41
Thanks. Ok I've got a php.ini file installed and SYXtra Plugin sees it for scripts. I added the extension=imagick.so to it but no luck. Imagick class does not exist.
Not sure but if the issue is because this WP install is NOT on the Root, but a subfolder.
Title: Re: Installing ImageMagick
Post by: plrang on July 28, 2013, 16:43
Well, this site you showed to us (http://www.webhostinghub.com/support/website/general-server-setup/imagemagick-installed-on-servers (http://www.webhostinghub.com/support/website/general-server-setup/imagemagick-installed-on-servers)) has nothing about the dynamic php module, just the commandline version, I have the same situation as you on my host, we just need to wait for Leo
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 16:49
Yea, I love how they say look at this at it's just a simple overview of the situation. They keep pointing the finger at the developer even after I said it works on MANY servers, just not two (there's being one of them) that I know of so far. Probably something simple that I don't know about how to get SymbioStock to point to the /usr/bin/convert folder for the PHP Module. Since as a user I do not have permission to change that folder (or even see it) I really do not know if the PHP Module is really installed although they have specifically said it is so I have to take their word for it.
Title: Re: Installing ImageMagick
Post by: ShazamImages on July 28, 2013, 16:59
Hi Don - Yep I'm in the same boat.  My host (godaddy) says Imagemagick is installed on the server but the symbiostock theme isn't connecting with it.


I am with GoDaddy and have no issues.  When I go to Process Uploads (http://<your website)/wp-admin/edit.php?post_type=image&page=symbiostock-process-images) it says that I am "Using ImageMagick".
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 17:01
That's good to hear for you. CrackerClips needs to talk to you!
Title: Re: Installing ImageMagick
Post by: plrang on July 28, 2013, 17:03
If you tried to do what syxtra said and you still have

>>>>No Imagick extension loaded?  Try to add to php.ini: extension=imagick.so

It means it doesn't work

Although you may confirm it using this simple plugin Sysinfo http://wordpress.org/plugins/sysinfo/ (http://wordpress.org/plugins/sysinfo/)

then click PHP Info button

and compare it to http://servicecore.info/wp-content/uploads/2013/03/servicecore-phpinfo.png (http://servicecore.info/wp-content/uploads/2013/03/servicecore-phpinfo.png)

Imagick module should be listed, otherwise...
Title: Re: Installing ImageMagick
Post by: CrackerClips on July 28, 2013, 17:06
Hi Don - Yep I'm in the same boat.  My host (godaddy) says Imagemagick is installed on the server but the symbiostock theme isn't connecting with it.


I am with GoDaddy and have no issues.  When I go to Process Uploads (http://<your website)/wp-admin/edit.php?post_type=image&page=symbiostock-process-images) it says that I am "Using ImageMagick".


Whoa, that's news to me!  When I go to my process uploads page it says "Using GD Library".  No other options.  Did you do something special to be able to connect?  Are you on a shared server at godaddy or a dedicated one?  I have the convert path to ImageMagick at godaddy ( /usr/bin/convert ) but there doesn't seem to be anything I can do with it.
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 17:09
If you tried to do what syxtra said and you still have

>>>>No Imagick extension loaded?  Try to add to php.ini: extension=imagick.so

It means it doesn't work

Although you may confirm it using this simple plugin Sysinfo [url]http://wordpress.org/plugins/sysinfo/[/url] ([url]http://wordpress.org/plugins/sysinfo/[/url])

then click PHP Info button

and compare it to [url]http://servicecore.info/wp-content/uploads/2013/03/servicecore-phpinfo.png[/url] ([url]http://servicecore.info/wp-content/uploads/2013/03/servicecore-phpinfo.png[/url])

Imagick module should be listed, otherwise...


Thanks but I can't see the png file. Says I do not have permission.
Title: Re: Installing ImageMagick
Post by: ShazamImages on July 28, 2013, 17:19
When I go to my process uploads page it says "Using GD Library".  No other options.

As I stated before, my Process Uploads page says "Using ImageMagick" and I don't have any other options either.

Did you do something special to be able to connect?

No.

Are you on a shared server at godaddy or a dedicated one? 

Shared.

When I login using PuTTY to the web server, I can type "identify -version" at the prompt and it will return the following:

Version: ImageMagick 6.2.8 02/25/09 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC


I can then change directory (cd) to /usr/share and there is an ImageMagick directory there.

Title: Re: Installing ImageMagick
Post by: plrang on July 28, 2013, 17:19
Maybe here at the top http://code.huypv.net/2012/05/install-imagick-extension-for-php-538.html (http://code.huypv.net/2012/05/install-imagick-extension-for-php-538.html)

It just means you should find this ehtry in your php ini if it's really loaded
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 17:21
Thanks, but they are running Linux, not Windows.
Title: Re: Installing ImageMagick
Post by: ShazamImages on July 28, 2013, 17:23
DonLand:

What WP plugins and themes do you have loaded?

Also, what version of Symbiostock did you start with?
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 17:30
Not sure where I began with SymbioStock, probably 2.x.

Following are the active plugins, some of which I don't even know what they actually do or why/when they were installed, like the first two.

Contact Form 7
Enhanced Text Widget
Google Analytics
ImageMagick Engine
Slideshow
Symbiostock emails and notifications
Symbiostock Image Sitemap
Sysinfo
SYXtra
Wordpress SEO
Title: Re: Installing ImageMagick
Post by: ShazamImages on July 28, 2013, 17:35
Not sure where I began with SymbioStock, probably 2.x.

Following are the active plugins, some of which I don't even know what they actually do or why/when they were installed, like the first two.

Contact Form 7
Enhanced Text Widget
Google Analytics
ImageMagick Engine
Slideshow
Symbiostock emails and notifications
Symbiostock Image Sitemap
Sysinfo
SYXtra
Wordpress SEO

Contact Form 7 is for creating a page that a customer can use to contact you (usually on a Contact Us page).

You have an ImageMagick Engine plugin?  Did you recently install this?  Is it because Symbiostock wasn't using ImageMagick and you were trying to resolve the issue?  Or was there another reason that you installed this?
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 17:38
Yes to your third question. I've tried it both enabled and disabled. Neither way works. Should it NOT be installed with Symbiostock?
Title: Re: Installing ImageMagick
Post by: ShazamImages on July 28, 2013, 17:51
Yes to your third question. I've tried it both enabled and disabled. Neither way works. Should it NOT be installed with Symbiostock?

As far as I now, there is no need to install a plugin to get ImageMagick to work.  I don't have it installed.

Are you on a shared or dedicated server?

Please login to the command prompt of the web server and type "identify -version" at the prompt and see what it returns.
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 17:56
Shared
Not sure how to log in but here is some info

cPanel Version   11.34.1 (build 25)
Theme   x3
Apache version   2.2.24
PHP version   5.3.27
MySQL version   5.5.30-cll
Architecture   x86_64
Operating system   linux
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 18:04
Ok, so I found this page.

http://stackoverflow.com/questions/4477472/getting-started-with-imagemagick (http://stackoverflow.com/questions/4477472/getting-started-with-imagemagick)

It says...
You'll have to edit your php.ini file and add:

include_path="/usr/local/lib/ImageMagick"
extension=imagick.so
This will tell php to look in that directory for additional libraries, and load the imagick extension.

Then, restart the server.

Since my files should be in /usr/bin/convert I changed it to:

include_path="/usr/bin/convert/ImageMagick"
extension=imagick.so


To no avail. Of course I can't restart the server as it is a shared environment. Still not working.
Title: Re: Installing ImageMagick
Post by: ShazamImages on July 28, 2013, 18:06
If you want to login to the command prompt on the server, then you will need to download puTTY or something similar.  I believe that you will need to enable SSH on your GoDaddy Control Panel.  If your Control Panel looks like mine, then it will be under More -> SSH.  If I remember correctly, you will need to be near a phone since they will call you with a PIN that you need to enter.

Here are the instructions:

http://support.godaddy.com/help/article/4942/enabling-ssh-on-your-linux-shared-hosting-account (http://support.godaddy.com/help/article/4942/enabling-ssh-on-your-linux-shared-hosting-account)

I'm going offline now, but I should be back in the morning.
Title: Re: Installing ImageMagick
Post by: ShazamImages on July 28, 2013, 18:07
It says...
You'll have to edit your php.ini file and add:

I never added anything for ImageMagick to my php.ini file.
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 18:09
Yea, I guess most don't have to but maybe WebHostingHub does a few things a little abnormal or... I still wonder if it's because my site is not at the root level.
Title: Re: Installing ImageMagick
Post by: ShazamImages on July 28, 2013, 18:17
...maybe WebHostingHub does a few things a little abnormal or...

That is definitely a possibility.

Sorry, I thought that you were with GoDaddy.
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 18:18
No worries, similar problem. Thanks for the try!!!
Title: Re: Installing ImageMagick
Post by: CrackerClips on July 28, 2013, 20:56
Hi Shazam,

I followed your directions and am with you up to a point.


When I login using PuTTY to the web server, I can type "identify -version" at the prompt and it will return the following:

Version: ImageMagick 6.2.8 02/25/09 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC


I got this far and this is exactly the wording that came back to me.

Quote
I can then change directory (cd) to /usr/share and there is an ImageMagick directory there.


This is where I get a little lost.  I tried putting in "/usr/share" but the response from the server is a blank box.  I then tried putting in the convert path to imagemagick that godaddy gave to me "/usr/bin/convert" and I get:

Version: ImageMagick 5.5.6 04/01/03 Q16 http://www.imagemagick.org (http://www.imagemagick.org)
Copyright: Copyright (C) 2003 ImageMagick Studio LLC

Usage: /usr/bin/convert [options ...] file [ [options ...] file ...] [options ...] file

Where options include:
  -adjoin              join images into a single multi-image file
  -affine matrix       affine transform matrix
  -antialias           remove pixel-aliasing
  -append              append an image sequence
etc....

It goes on to detail all of the options for using imagmagick but I can't do anything further with it and the process on my symbio admin area still lists GD Library.

Any idea where I go from here?

Thanks!
Bryan
Title: Re: Installing ImageMagick
Post by: lbarn on July 28, 2013, 22:01
Its been a while, but all i had to do was add to the php.ini

extension=imagick.so
upload_max_filesize = 32M

I didn't mess with adding the path text.

But I am on Bluehost.
Title: Re: Installing ImageMagick
Post by: Leo Blanchette on July 28, 2013, 23:49
Hi there,

Let me know where this goes. I've been fairly busy working on the next improvements and can't follow things so closely. Besides addressing this issue (which is rare but still an issue) I was hoping to set up some things to work with color models like srgb etc.
Title: Re: Installing ImageMagick
Post by: DonLand on July 28, 2013, 23:51
Mine's gone nowhere. Spent all day on it. :P
Title: Re: Installing ImageMagick
Post by: Leo Blanchette on July 29, 2013, 00:04
CrackerClips - Do I still have access to your site like I did before? If you don't mind I'll do some nuclear testing tomorrow.
Title: Re: Installing ImageMagick
Post by: CrackerClips on July 29, 2013, 00:29
CrackerClips - Do I still have access to your site like I did before? If you don't mind I'll do some nuclear testing tomorrow.

Hey Leo - Yes you're still good to go as an admin. Feel free to work your imagemagick magic :)
Title: Re: Installing ImageMagick
Post by: CrackerClips on August 02, 2013, 16:35
Update: 

I was finally able to get Imagemagick working on my Godaddy hosted website!  With some great help from ShazamImages (Thanks again! You really set me on the right path) and much time on the phone with godaddy the fix was simple (in hindsight only :)  Because I converted an older, existing website over to a symbio site I was on an older version of PHP.  The technician at godaddy swore this wouldn't work but after trying everything else we upgraded to version 5.3.24 and instantly imagemagick was available.

Don and anyone else, on godaddy or not, who is still having trouble with Imagemagick make sure that your installation is running the latest version of PHP.

After reprocessing an image and doing a test buy the downloaded image now contains all of my original metadata!
Title: Re: Installing ImageMagick
Post by: Leo Blanchette on August 02, 2013, 16:39
I was finally able to get Imagemagick working on my Godaddy hosted website!


*facepalm* (http://en.wikipedia.org/wiki/Facepalm)

I feel really stupid now.

But VERY happy for you! With the time you struggled on that issue you must be going through the roof with happiness!

I hope amanda puts this on her symbioguides site with a huge "*"
Title: Re: Installing ImageMagick
Post by: CrackerClips on August 02, 2013, 16:43
Yeah, I'm pretty darn stoked!  We're getting ready to leave and go shooting for a couple days but when we get back I'll be excited to get moving forward with our site!
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 02, 2013, 16:54
I was finally able to get Imagemagick working on my Godaddy hosted website!

Glad that you were able to finally get it all working.
Title: Re: Installing ImageMagick
Post by: Leo Blanchette on August 02, 2013, 17:00
Yeah, I'm pretty darn stoked!  We're getting ready to leave and go shooting for a couple days but when we get back I'll be excited to get moving forward with our site!

You *may* have saved me a week of work. I still have some things I want to build in for color manipulation (tell me if you see an improvement) but this is really wonderful.

DonLand needs to know about it since he's had the same prob.
Title: Re: Installing ImageMagick
Post by: DonLand on August 02, 2013, 17:02
I've been following this and had checked my php settings last week. No luck with 5.3.27
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 02, 2013, 17:16
I've been following this and had checked my php settings last week. No luck with 5.3.27


According to the PHP version history website (http://php.net/releases/index.php (http://php.net/releases/index.php)), the latest version of PHP 5 is 5.3.25!  You might want to recheck to see what version you have.

Title: Re: Installing ImageMagick
Post by: DonLand on August 02, 2013, 17:18
In the cPanel after picking 5.3 php, in the info it says 5.3.27
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 02, 2013, 17:24
In the cPanel after picking 5.3 php, in the info it says 5.3.27


OK, it looks like the PHP version history website isn't up to date.

The PHP download website shows 5.3.27 as the latest:

http://php.net/downloads.php (http://php.net/downloads.php)
Title: Re: Installing ImageMagick
Post by: DonLand on August 02, 2013, 17:28
Thanks for checking. Online with WebHostingHub right now. They say Imagemagick is enabled and available at  use/bin/convert
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 02, 2013, 17:33
Thanks for checking. Online with WebHostingHub right now. They say Imagemagick is enabled and available at  use/bin/convert

Yes, but in addition, Symbiostock requires that php has the ImageMagic module loaded.

I just sent you a PM.
Title: Re: Installing ImageMagick
Post by: DonLand on August 02, 2013, 17:37
Yea I'm getting the following in SYXtra System Info

No Imagick extension loaded?  Try to add to php.ini: extension=imagick.so

Imagick class doesn't exists
Title: Re: Installing ImageMagick
Post by: plrang on August 02, 2013, 17:52
Wow.. @CrackerClips

That's a real NEWS!, I switched my PHP and it really works.

@DonLand

I got the same message until I switched to 5.3, I couldn't load the extension before


Title: Re: Installing ImageMagick
Post by: DonLand on August 02, 2013, 17:54
I think the tech is getting close. Seems part was not loaded by default. Was told to do the following but got errors so tech is looking at it.

1. Login into your cPanel.
2. Go to Software / Services > Perl Modules.
3. In the Find a Perl Module box type "Image" and click Go.
4. You can find ImagMagick in the list and disable and enable it in there.
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 02, 2013, 17:59
2. Go to Software / Services > Perl Modules.
3. In the Find a Perl Module box type "Image" and click Go.

Maybe he meant php instead of Perl.
Title: Re: Installing ImageMagick
Post by: DonLand on August 02, 2013, 18:06
Tech is having same problems I had. He is sending it up the tech chain. They are making a ticket on it, so at least some progress!!!
Title: Re: Installing ImageMagick
Post by: CrackerClips on August 02, 2013, 19:15

You *may* have saved me a week of work. I still have some things I want to build in for color manipulation (tell me if you see an improvement) but this is really wonderful.

Unfortunately, I didn't really see any improvement in the color issues except for one area.  The image icon that downloads to my desktop after purchase is much more vibrant and colorful than the image icon from gd library.  Go figure.  The thumbnail on my site and the larger image on the detail page still have less punch to them than my original.  So any further color developments in color manipulation would be good.
Title: Re: Installing ImageMagick
Post by: CrackerClips on August 02, 2013, 19:18
Awesome!  I'm glad that did the trick for you as well.


Wow.. @CrackerClips

That's a real NEWS!, I switched my PHP and it really works.

@DonLand

I got the same message until I switched to 5.3, I couldn't load the extension before
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 03, 2013, 05:34
Unfortunately, I didn't really see any improvement in the color issues except for one area.  The image icon that downloads to my desktop after purchase is much more vibrant and colorful than the image icon from gd library.  Go figure.  The thumbnail on my site and the larger image on the detail page still have less punch to them than my original.  So any further color developments in color manipulation would be good.

A few questions:

What colorspace are your photos saved with?

What ICC profile are the photos saved with?

What browser are you using to view the images?

Title: Re: Installing ImageMagick
Post by: CrackerClips on August 03, 2013, 12:27
I save my images in Adobe RGB 1998 and I've primarily been using Firefox to view my website.  I would imagine that most browsers (firefox included) don't read color profiles.  I've always supplied my macro agents with Adobe RGB because that's what they require and then they handle any conversions for viewing thumbs etc. on the web.  Not sure what's best in this case as I want the images to look good on the site but want the customer to have the widest colorspace to work with.  Any thoughts?
Title: Re: Installing ImageMagick
Post by: Travelling-light on August 03, 2013, 12:35
I save my images in Adobe RGB 1998 and I've primarily been using Firefox to view my website.  I would imagine that most browsers (firefox included) don't read color profiles.  I've always supplied my macro agents with Adobe RGB because that's what they require and then they handle any conversions for viewing thumbs etc. on the web.  Not sure what's best in this case as I want the images to look good on the site but want the customer to have the widest colorspace to work with.  Any thoughts?

Firefox is colour managed. At the moment, AdobeRGB images are not tagged in Symbiostock thumbs and previews so they look dull and flat on the site. What we do to fix that is download the thumbs and previews, apply AdobeRGB profiles (using EXIFtoolGUI) and re-upload. However, Leo is working on colourspace conversion for thumbs and previews, so this should be unnecessary in future.

This only works if the customers are using properly colour managed browsers (IE not included), but that's a fair bet for serious users.
Title: Re: Installing ImageMagick
Post by: CrackerClips on August 03, 2013, 13:05
Ah, thank you that helps a lot!  I was not aware that the symbiostock thumbs and previews were not tagged with a profile.  That would definitely explain the dull and flat images that I'm seeing on my site.  Is this colorspace conversion part of the premium plugin that's coming up?  Once this is addressed will we just be able to reprocess the images already uploaded to correct the thumbs and previews?
Title: Re: Installing ImageMagick
Post by: grsphoto on August 05, 2013, 12:58
I dug out this thread to find out how to get ImageMagick going


this is what I received from my support:

We do not support imagick.so PHP module on the shared hosting  . You can use the ImageMagick binaries like /usr/bin/convert . I have seen most scripts offer to call the ImageMagick binaries directly and you will have the provision to define the path to these binaries.

Help!!!
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 05, 2013, 13:14
this is what I received from my support:

We do not support imagick.so PHP module on the shared hosting  . You can use the ImageMagick binaries like /usr/bin/convert . I have seen most scripts offer to call the ImageMagick binaries directly and you will have the provision to define the path to these binaries.

Help!!!

My understanding is that Symbiostock checks to see if the ImageMagick php module is loaded.  If it is loaded, then it will use it.  If it isn't loaded, then it will use the GD library.
Title: Re: Installing ImageMagick
Post by: grsphoto on August 05, 2013, 13:48
It is using the GD Library, but that doesn't support Metadata in the downloads.

I did not know this for until yesterday.

If I can't correct this, get ImageMagick happening I will have to take my sites off-line....
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 05, 2013, 14:35
You could try to please with support to install it, or you could switch hosts.  BTW, who is your host?
Title: Re: Installing ImageMagick
Post by: WooStock on August 05, 2013, 20:43
I am running my site on bluehost, I successfully installed ImageMagick according to the post here, but I found that image processing is very unstable when using ImageMagick, it would stop after processing several images, so I changed back to GD library which can process more than 100 images at one time.
Title: Re: Installing ImageMagick
Post by: CrackerClips on August 07, 2013, 14:48
Ah, thank you that helps a lot!  I was not aware that the symbiostock thumbs and previews were not tagged with a profile.  That would definitely explain the dull and flat images that I'm seeing on my site.  Is this colorspace conversion part of the premium plugin that's coming up?  Once this is addressed will we just be able to reprocess the images already uploaded to correct the thumbs and previews?

Any further info/update regarding the color profile tags for thumbs and previews?  It's a bit disconcerting to see the rather dull images on my website as compared to the original image.  I was thinking that getting imagemagick working would fix that issue but it does not.
Title: Re: Installing ImageMagick
Post by: LesPalenik on August 27, 2013, 14:01
If you submit images in sRGB, the colors should look OK.
I find that if I forget and leave the workspace in ProPhoto, then the image looks dull and the colors are shifted (same thing happens not only on SYS but also on SS).

I also use GD Library, since my host (ipower) doesn't support ImageMagick PHP extension.
They told me that they support ImageMagick in binary form, but I don't know if Leo's template could use it (and how I could activate it).

What do we lose by using GD library instead of Imagemagick? Is it only the faster image processing or also a better IQ in the final image conversion for display and user download? I could live with slower processing times, but if Imagemagick produces better output files, it might be worthwhile to switch eventually to another host.
   
 
Title: Re: Installing ImageMagick
Post by: cathyslife on August 27, 2013, 14:07
There was an issue whereby images processed with GD showed faint gray horizontal lines through the image (on your website), especially noticeable on isolated images. I dont know if that was ever rectified. If i recall, the solution was to change to imagemagick.
Title: Re: Installing ImageMagick
Post by: LesPalenik on August 27, 2013, 14:36
I never noticed any lines or banding on my screen, so maybe it was fixed in the GD library or present only in certain situations.
So far, the GD library seems to me quite satisfactory. 
Title: Re: Installing ImageMagick
Post by: ajt on August 27, 2013, 15:03
I never noticed any lines or banding on my screen, so maybe it was fixed in the GD library or present only in certain situations.

If you have something isolated on pure white (FFFFFF), then resized (by GD) images, like thumbnail, preview and every image sent to buyer (below large, which is not touched by GD), have horizontal lines containing FDFDFD pixels. It is almost invisible and easily removable. Other images, with no white background, maybe are affected too, but color change is below noise level.
Title: Re: Installing ImageMagick
Post by: Les on August 27, 2013, 20:16
deleted

Title: Re: Installing ImageMagick
Post by: LesPalenik on August 27, 2013, 20:24
I never noticed any lines or banding on my screen, so maybe it was fixed in the GD library or present only in certain situations.

If you have something isolated on pure white (FFFFFF), then resized (by GD) images, like thumbnail, preview and every image sent to buyer (below large, which is not touched by GD), have horizontal lines containing FDFDFD pixels. It is almost invisible and easily removable. Other images, with no white background, maybe are affected too, but color change is below noise level.

Andrzej, thanks for explaining it.

Back to my previous question:
If my host supports ImageMagick only in the binary form (not as PHP extension), is there anything I can do to make Symbio template work with that binary program?
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 28, 2013, 04:13
If my host supports ImageMagick only in the binary form (not as PHP extension), is there anything I can do to make Symbio template work with that binary program?

The code checks to see if the ImageMagick PHP extension is loaded.  If it finds that it is loaded, then it uses it.  If it doesn't see that it is loaded, then it uses GD.

You would have to change the code to make it work differently.
Title: Re: Installing ImageMagick
Post by: cathyslife on August 28, 2013, 05:24
If my host supports ImageMagick only in the binary form (not as PHP extension), is there anything I can do to make Symbio template work with that binary program?

The code checks to see if the ImageMagick PHP extension is loaded.  If it finds that it is loaded, then it uses it.  If it doesn't see that it is loaded, then it uses GD.

You would have to change the code to make it work differently.


I think les is asking how he can change that code to make it work.
Title: Re: Installing ImageMagick
Post by: ShazamImages on August 28, 2013, 05:29
If my host supports ImageMagick only in the binary form (not as PHP extension), is there anything I can do to make Symbio template work with that binary program?

The code checks to see if the ImageMagick PHP extension is loaded.  If it finds that it is loaded, then it uses it.  If it doesn't see that it is loaded, then it uses GD.

You would have to change the code to make it work differently.


I think les is asking how he can change that code to make it work.

Les: If that is what you are asking, then I don't know the answer to that one.  Maybe someone else can help you with that.  Another consideration might be to switch to another hosting service where you won't have that issue.  I am on GoDaddy and Symbiostock / ImageMagick are working great together.