Hello

First: Sorry for my bad english.

I hope i am correct at this list, or is it better at the developerlist?

I use composite to place a logo onto another picture.

At the PC at home it works with

composite -gravity northeast /home/www/web1/html/temp/logofamscho.gif  
239.jpg test.jpg

I am in the directory with 239.jpg and composite makes a new file 
test.jpg with logofamscho.gif in the upper right edge of the picture

When i login to the webserver with ssh this doesn't work

First more informations:

I am in the directory with 239.jpg and composite makes a new file 
test.jpg without logofamscho.gif in the upper right edge of the picture

[EMAIL PROTECTED]:~/html/galerie$ ls -l
insgesamt 1
-rw-r--r--  1 web1 web1  74292 2007-07-20 23:36 239.jpg

[EMAIL PROTECTED]:~/html/temp$ ls -l
insgesamt 1
-rwxrwxrwx  1 web1 web1 286 2007-07-19 18:47 logofamscho.gif

[EMAIL PROTECTED]:~/html/galerie$ composite -version
Version: ImageMagick 6.2.4 03/30/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC

[EMAIL PROTECTED]:~/html/galerie$ composite -gravity 
northeast /home/www/web1/html/temp/logofamscho.gif  239.jpg test.jpg
[EMAIL PROTECTED]:~/html/galerie$

As you see - no faults. Nothing, and the file test.jpg is built, but it 
is the same picture then 239.jpg

So is started debugging:

[EMAIL PROTECTED]:~/html/galerie$ composite -debug all -gravity 
northeast /home/www/web1/html/temp/logofamscho.gif  239.jpg test.jpg
22:34:43 0:02 0.010u 6.2.4 Blob composite[3752]: 
blob.c/OpenBlob/2196/Blob
    read 0 magic header bytes
22:34:43 0:02 0.010u 6.2.4 Cache composite[3752]: 
cache.c/DestroyCacheInfo/1658/Cache
  destroy
22:34:43 0:02 0.010u 6.2.4 Configure composite[3752]: 
configure.c/GetConfigureOptions/486/Configure
  Searching for configure 
file: "/usr/lib/ImageMagick-6.2.4/config/magic.xml"
22:34:43 0:02 0.010u 6.2.4 Configure composite[3752]: 
configure.c/GetConfigureOptions/486/Configure
  Searching for configure 
file: "/usr/share/ImageMagick-6.2.4/config/magic.xml"
22:34:43 0:02 0.010u 6.2.4 Configure composite[3752]: 
configure.c/GetConfigureOptions/486/Configure
  Searching for configure file: "/usr/share/doc/imagemagick/magic.xml"
22:34:43 0:02 0.010u 6.2.4 Configure composite[3752]: 
configure.c/GetConfigureOptions/486/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.2.4/magic.xml"
22:34:43 0:02 0.010u 6.2.4 Configure composite[3752]: 
configure.c/GetConfigureOptions/486/Configure
  Searching for configure file: "/home/www/web1/.magick/magic.xml"
22:34:43 0:02 0.010u 6.2.4 Configure composite[3752]: 
configure.c/GetConfigureOptions/486/Configure
  Searching for configure file: "magic.xml"
22:34:43 0:02 0.010u 6.2.4 Configure composite[3752]: 
magic.c/LoadMagicList/672/Configure
  Loading magic file "/usr/share/ImageMagick-6.2.4/config/magic.xml" ...
22:34:43 0:02 0.020u 6.2.4 Blob composite[3752]: 
blob.c/OpenBlob/2196/Blob
    read 0 magic header bytes
22:34:43 0:02 0.020u 6.2.4 Resource composite[3752]: 
resource.c/AcquireMagickResource/206/Resource
  Area: 41kb/41kb/3.96gb
22:34:43 0:02 0.020u 6.2.4 Resource composite[3752]: 
resource.c/AcquireMagickResource/206/Resource
  Memory: 41kb/41kb/7.91gb
22:34:43 0:02 0.020u 6.2.4 Cache composite[3752]: 
cache.c/OpenCache/2830/Cache
  open /home/www/web1/html/temp/logofamscho.gif[0] (memory, 41kb)
22:34:43 0:02 0.020u 6.2.4 Blob composite[3752]: 
blob.c/OpenBlob/2196/Blob
    read 1 magic header bytes
22:34:43 0:02 0.020u 6.2.4 Cache composite[3752]: 
cache.c/DestroyCacheInfo/1658/Cache
  destroy
22:34:43 0:02 0.020u 6.2.4 Blob composite[3752]: 
blob.c/OpenBlob/2196/Blob
    read 1 magic header bytes
22:34:43 0:02 0.020u 6.2.4 Coder composite[3752]: 
jpeg.c/ReadProfile/595/Coder
  Profile: exif, 14403 bytes
22:34:43 0:02 0.020u 6.2.4 Coder composite[3752]: 
jpeg.c/ReadJPEGImage/835/Coder
  Interlace: nonprogressive
22:34:43 0:02 0.030u 6.2.4 Coder composite[3752]: 
jpeg.c/ReadJPEGImage/837/Coder
  Data precision: 8
22:34:43 0:02 0.030u 6.2.4 Coder composite[3752]: 
jpeg.c/ReadJPEGImage/839/Coder
  Geometry: 600x450
22:34:43 0:02 0.030u 6.2.4 Coder composite[3752]: 
jpeg.c/ReadJPEGImage/922/Coder
  Quality: 86
22:34:43 0:02 0.030u 6.2.4 Coder composite[3752]: 
jpeg.c/ReadJPEGImage/1014/Coder
  Colorspace: RGB
22:34:43 0:02 0.030u 6.2.4 Coder composite[3752]: 
jpeg.c/ReadJPEGImage/1041/Coder
  Sampling Factors: 2x1,1x1,1x1
22:34:43 0:02 0.030u 6.2.4 Resource composite[3752]: 
resource.c/AcquireMagickResource/206/Resource
  Area: 2.1mb/2.1mb/3.96gb
22:34:43 0:02 0.030u 6.2.4 Resource composite[3752]: 
resource.c/AcquireMagickResource/206/Resource
  Memory: 2.1mb/2.1mb/7.91gb
22:34:43 0:02 0.030u 6.2.4 Cache composite[3752]: 
cache.c/OpenCache/2830/Cache
  open 239.jpg[0] (memory, 2.1mb)
22:34:43 0:02 0.070u 6.2.4 Resource composite[3752]: 
resource.c/AcquireMagickResource/206/Resource
  Area: 2.1mb/2.1mb/3.96gb
22:34:43 0:02 0.070u 6.2.4 Resource composite[3752]: 
resource.c/AcquireMagickResource/206/Resource
  Memory: 2.1mb/4.2mb/7.91gb
22:34:43 0:02 0.070u 6.2.4 Cache composite[3752]: 
cache.c/OpenCache/2830/Cache
  open 239.jpg[0] (memory, 2.1mb)
22:34:43 0:02 0.070u 6.2.4 Cache composite[3752]: 
cache.c/CloneMemoryToMemoryPixels/1429/Cache
  memory => memory
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1644/Coder
  Image resolution: 72,72
22:34:43 0:02 0.090u 6.2.4 Resource composite[3752]: 
resource.c/AcquireMagickResource/206/Resource
  Area: 264kb/264kb/3.96gb
22:34:43 0:02 0.090u 6.2.4 Resource composite[3752]: 
resource.c/RelinquishMagickResource/756/Resource
  Area: 264kb/264kb/3.96gb
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1681/Coder
  Interlace: non-progressive
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1695/Coder
  Quality: 86
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1736/Coder
    Input sampling-factors=2x1,1x1,1x1
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1795/Coder
  Storage class: DirectClass
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1797/Coder
  Depth: 16
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1803/Coder
  Number of colors: unspecified
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1805/Coder
  JPEG data precision: 8
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1855/Coder
   Image colorspace is RGB
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteJPEGImage/1857/Coder
  Sampling factors: 2x1,1x1,1x1
22:34:43 0:02 0.090u 6.2.4 Coder composite[3752]: 
jpeg.c/WriteProfile/1452/Coder
  exif profile: 14403 bytes
22:34:44 0:03 0.160u 6.2.4 Resource composite[3752]: 
resource.c/RelinquishMagickResource/756/Resource
  Memory: 41kb/4.1mb/7.91gb
22:34:44 0:03 0.160u 6.2.4 Cache composite[3752]: 
cache.c/DestroyCacheInfo/1658/Cache
  destroy /home/www/web1/html/temp/logofamscho.gif[0]
22:34:44 0:03 0.160u 6.2.4 Resource composite[3752]: 
resource.c/RelinquishMagickResource/756/Resource
  Memory: 2.1mb/2.1mb/7.91gb
22:34:44 0:03 0.160u 6.2.4 Cache composite[3752]: 
cache.c/DestroyCacheInfo/1658/Cache
  destroy 239.jpg[0]

Do you see something, that helps me?

By the way: 

convert -geometry 600x600 -resize 200x200 239.jpg test.jpg

and

convert -font /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf -pointsize 
12 -fill black -draw "text 450,20 'Testtext'" 239.jpg test.jpg

works properly.

Do you see the problem and can help me?

Thank you

Andy

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to