Zum Inhalt springen

Image Magick hat Problem mit png und gif

Erstellt am 15. Juli 2008 · 1 Antwort · letzte Antwort am 31. Juli 2008

Tags: Bilder, Frage

florist ·

Hallo, ich habe versucht mein erstes gmenu zu erstellen.dabei habe ich folgendes TS verwendet. Da smüsste eigentlich stimmen.
Die Grafiken sind im fileadmin vorhanden.
Teste ich das zeigt er mir zwar den Text der Menüpunkte an, allerdings nicht die grafiken, dort ist ein rotes X als würde das Bild nicht existieren.

Ich hab dann einiges im Forum und bei Google gesucht und gefunden und bin auf die Konfiguration von ImageMagick gestoßen.
Wenn ich die "Image Processing"-Tests durchführe bekomme ich einpaar fehlermeldungen....ich probier jetzt bereits 5 Stunden daran rum, wäre nett wenn sich das mal jemand ansehen könnte.

Image Magick Configuration :

ImageMagick enabled: 1
ImageMagick path: /usr/X11R6/bin/ (5.2.2)
ImageMagick path/LZW: /usr/X11R6/bin/ (5.2.2)
Version 5/GraphicsMagick flag: im5

GDLib enabled: 1
GDLib using PNG: 1
GDLib 2 enabled:
IM5 effects enabled: 0 (Blurring/Sharpening with IM 5+)
Freetype DPI: 96 (Should be 96 for Freetype 2)
Mask invert: 1 (Should be set for some IM versions approx. 5.4+)

File Formats: gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai

1. Test:
jpg --> ok
gif --> ok
png --> no!
FEHLER:"There was no result from the ImageMagick operation.Below there's a dump of the ImageMagick commands executed:"

/usr/X11R6/bin/convert -geometry 170x136! -colorspace RGB -quality 70 /home/httpd/docs/approxtypo3/typo3/typo3/sysext/install/imgs/jesus.png[0] /home/httpd/docs/approxtypo3/typo3/typo3temp/pics/install_read_png.jpg

tif --> ok
bmp --> ok
pdf --> ok
ai --> ok

2. Test:

write gif --> gelbes Ausrufezeichen
ANMERKUNG:
Note on gif_compress() function:
The 'gif_compress' method used was 'IM'.
Previous filesize: 20 K. Current filesize:20 K
ImageMagick commands executed:

/usr/X11R6/bin/convert -geometry 170x136! -colors 64 /home/httpd/docs/approxtypo3/typo3/typo3/sysext/install/imgs/jesus.gif[0] /home/httpd/docs/approxtypo3/typo3/typo3temp/pics/install_write_gif.gif

write png --> no
FEHLER:
There was no result from the ImageMagick operation
Below there's a dump of the ImageMagick commands executed:

/usr/X11R6/bin/convert -geometry 170x136! -colors 64 /home/httpd/docs/approxtypo3/typo3/typo3/sysext/install/imgs/jesus.gif[0] /home/httpd/docs/approxtypo3/typo3/typo3temp/pics/install_write_png.png
/usr/X11R6/bin/identify /home/httpd/docs/approxtypo3/typo3/typo3temp/pics/install_write_png.png[0]

3. Test:
gif to gif --> gelbes Ausrufezeichen
png to png --> no!
FEHLER:
There was no result from the ImageMagick operation
Below there's a dump of the ImageMagick commands executed:


/usr/X11R6/bin/convert -geometry 150x120! -colors 64 /home/httpd/docs/approxtypo3/typo3/typo3/sysext/install/imgs/jesus2_transp.png[0] /home/httpd/docs/approxtypo3/typo3/typo3temp/pics/install_scale_png.png

gif to jpg --> ok

4. Test:
Combine using a GIF mask with only black and white --> ok
Combine using a JPG mask with graylevels --> gelbes Ausrufezeichen

5. Test:
Hier funktioniert alles!

Ich wäre echt wahnsinnig dankbar wenn sie jemand mal damit beschäftigen könnte, ich weiß einfach nicht mehr weiter, auch die Bücher "Typo3 - Kochbuch" und "Profihandbuch" helfen mir leider nicht weiter.[/i][/u]

Outlaw ·

Ich habe keine Ahnung, warum bei Dir PNG nicht funzt.

Dahst Du mal versucht das statische ImageMagick 4.29 (oder so) einzubinden, was immer wieder empfohlen wird ??

Andernfalls könnte es natürlich auch an Deiner GDlib liegen ....

Gruß
Outi