![]() |
Error creating watermarked original! Error code: 1 Error creating watermarked original! Error code: 1 Watermarking has been working for months. Now it stopped. What did I do wrong? |
All of my users are getting errors when uploading to folders where watermarking is enabled. Here's the error from one of them: Error creating watermarked original! Error code: 1 Command: "/usr/local/bin/composite" -compose over -gravity SouthEast /home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/watermark.png '/home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/data/574/Picture168.jpg' '/home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/data/574/Picture168.jpg' |
Also, is it normal for Photo Post to call the composite program if you're running ImageMagick like I am? |
I've tried running the command from the error as root from a shell on the server and I get the error: composite: missing an image or filename |
Also, uploads to non-watermarked categories in PhotoPost work perfectly including the automatic generation of the thumbnail and medium images. This is only a watermarking issue. I am running PhotoPost 5.03 and intend to upgrade to the latest version after this watermarking issue is resolved. I own the server and have full root access, so I can test whatever. I just need help! |
My ImageMagick version is 6.2.3 |
Check to ensure the path to your watermark file is correct and the file itself exists. composite is the watermark file for imagemagick yes. |
I have it set to: /home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/watermark.png Should I leave the name of the watermark file, watermark.png, out of the full server path to watermark overlay image setting? |
Nope, taking the filename out didn't work. I think the filename belongs there. I have no idea what's wrong. Could the "." in the path be the problem? |
What I asked is does the file exist on the path your saying? If you switch your image processor to GD2 does everything work? |
Quote:
|
Well the issue here is what has changed on your server that would cause this. Is your PNG library gone bad? Is composite bad? Try making a gif watermark and seeing if watermarking works. |
I moved the website to a new dedicated server over a month ago. I installed ImageMagick and all seemed to be working, but we never tested uploading to one of the categories with watermarking enabled. How do I tell if my PNG library is bad? When I run composite from command line, it displays the help text, so I assume its working. The watermark.png file is not corrupt. Here's a link to it: http://www.memphisracingscene.com/pp/watermark.png |
Okay well your first post said it was working for months now it is clearer so this issue just popped up after moving servers. Well to test is png images work try uploading one to your install. I tried registering a username but I am in your moderation queue |
I approved your account. I'll try to upload a png image and see if it processes them. Maybe my ImageMagick is screwed up. I'm running v6.2.3-4 right now on a Redhat 9.0 box. |
You may be right. I tried to upload watermark.png to the forum and got a different error: Error creating thumbnail! Error code: 1 Command: "/usr/local/bin/mogrify" +profile "*" -size 100x11 -quality 70 -geometry 100x11 '/home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/data/574/thumbs/watermark.png' ... so I guess that means it can't handle .png files? Uh oh. |
Yep your imagemagick does not support png images. Simply remove png as an acceptable image type and then convert your watermark to gif or Install the png libraries and then recompile imagemagick |
The version of ImageMagick (6.2.3) that I'm using is very new. Perhaps I should uninstall it and install an older version that has pre-built RPMs for my old-school Redhat 9 box. A pre-built ImageMagick RPM (5.4.7) is available for Redhat 9 here: http://download.fedoralegacy.org/red...4.7-10.src.rpm Before I can go down to an older version, I've got to successfully uninstall the newer version. I have no idea how to do that. |
I'd like to try to get PNG support working. Can I just install PNG libraries? Where do I find them? |
Basically, I know just enough about Linux to really mess everything up :) |
| All times are GMT -5. The time now is 10:51 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0