PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Error creating watermarked original! Error code: 1 (http://www.photopost.com/forum/photopost-pro-installation-upgrades/114958-error-creating-watermarked-original-error-code-1-a.html)

hype901 July 20th, 2005 09:59 AM

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?

hype901 July 20th, 2005 12:08 PM

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'

hype901 July 20th, 2005 12:10 PM

Also, is it normal for Photo Post to call the composite program if you're running ImageMagick like I am?

hype901 July 20th, 2005 12:42 PM

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

hype901 July 20th, 2005 12:51 PM

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!

hype901 July 20th, 2005 12:52 PM

My ImageMagick version is 6.2.3

Chuck S July 20th, 2005 02:58 PM

Check to ensure the path to your watermark file is correct and the file itself exists.

composite is the watermark file for imagemagick yes.

hype901 July 20th, 2005 11:15 PM

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?

hype901 July 20th, 2005 11:20 PM

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?

Chuck S July 21st, 2005 08:46 AM

What I asked is does the file exist on the path your saying?

If you switch your image processor to GD2 does everything work?

hype901 July 21st, 2005 11:29 AM

Quote:

Originally Posted by omegatron
What I asked is does the file exist on the path your saying?

If you switch your image processor to GD2 does everything work?

Yes, the file exists in the path I have it set to. If I switch to GD2, nothing works. How do I check if GD2 is installed on my system? I'll start reading about GD2 on google.

Chuck S July 21st, 2005 12:17 PM

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.

hype901 July 21st, 2005 03:35 PM

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

Chuck S July 21st, 2005 04:01 PM

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

hype901 July 21st, 2005 04:14 PM

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.

hype901 July 21st, 2005 04:17 PM

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.

Chuck S July 21st, 2005 04:19 PM

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

hype901 July 21st, 2005 04:20 PM

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.

hype901 July 21st, 2005 04:20 PM

I'd like to try to get PNG support working. Can I just install PNG libraries? Where do I find them?

hype901 July 21st, 2005 04:21 PM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97