Thumbnails mit enormen Platzbedarf?

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
Jtb
Regular
Posts: 25
Joined: Sun Jan 21, 2007 11:52 pm

Thumbnails mit enormen Platzbedarf?

Post by Jtb »

Code: Select all

 # ls -l
total 388
-rw-rw-r-- 1 web03 web03 157243 2007-02-13 03:13 WindowsVista-CiscoVPN.png
-rw-rw-rw- 1 web03 web03 226493 2007-02-13 03:13 WindowsVista-CiscoVPN.serendipityThumb.png
URLs:
http://blog.jensthebrain.de/uploads/Win ... yThumb.png
http://blog.jensthebrain.de/uploads/Win ... scoVPN.png

Man achte auf die Dateigrößen und die Bildergrößen!

Mögliche Fehlerursache:

Code: Select all

# file *
WindowsVista-CiscoVPN.png:                  PNG image data, 1088 x 928, 8-bit/color RGB, non-interlaced
WindowsVista-CiscoVPN.serendipityThumb.png: PNG image data, 350 x 299, 16-bit/color RGB, non-interlaced
8-bit/color RGB <-> 16-bit/color RGB
Jens
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Thumbnails mit enormen Platzbedarf?

Post by garvinhicking »

Hi!

Ja, die s9y thumbnails werden (für besseres interlacing) immer als trucolor bild gespeichert, dafür gibt es derzeit leider noch keine automatik die den ursprünglichen typ herausfindet oder den zieltypen konfigurierbar macht.

Ein JPG wäre für solche starken größenunterschiede evtl. von vorzug. Aber 200kb für eine so kleine Datei scheint mir schon reichlich kaputt, sowas darf ja eigentlich nicht sein...

Nutzt du imagemagick oder gdlib?

Viele Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Jtb
Regular
Posts: 25
Joined: Sun Jan 21, 2007 11:52 pm

Re: Thumbnails mit enormen Platzbedarf?

Post by Jtb »

garvinhicking wrote: Nutzt du imagemagick oder gdlib?
Imagemagick
Jens
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Thumbnails mit enormen Platzbedarf?

Post by garvinhicking »

Hi!

Evtl. ist dein imagemagick was älter und hat nen komischen PNG-Codec?

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Jtb
Regular
Posts: 25
Joined: Sun Jan 21, 2007 11:52 pm

Re: Thumbnails mit enormen Platzbedarf?

Post by Jtb »

garvinhicking wrote:Hi!

Evtl. ist dein imagemagick was älter und hat nen komischen PNG-Codec?
nun ja, die Version sollte aktuell sein:

Code: Select all

# eix imagemagick
[I] media-gfx/imagemagick
     Available versions:  6.3.0.5
     Installed:           6.3.0.5(01:48:16 PM 01/28/2007)(-X bzip2 -doc -fpx graphviz -gs -jbig jpeg jpeg2k -lcms -mpeg -nocxx perl png tiff truetype -wmf xml zlib)
     Homepage:            http://www.imagemagick.org/
     Description:         A collection of tools and libraries for many image formats
Jens
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Thumbnails mit enormen Platzbedarf?

Post by garvinhicking »

Hi!

Hhm. Dann bin ich da ehrlich gesagt etwas überfragt. Für so ein kleines Bild sind 160kb allerdings sehr merkwürdig, so schlecht dürfte PNG eigentlich nicht komprimieren...

Kannst Du testweise gdlib benutzen, also imagemagick in s9y deaktivieren?

Viele Grüß0e,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Jtb
Regular
Posts: 25
Joined: Sun Jan 21, 2007 11:52 pm

Re: Thumbnails mit enormen Platzbedarf?

Post by Jtb »

garvinhicking wrote: Hhm. Dann bin ich da ehrlich gesagt etwas überfragt. Für so ein kleines Bild sind 160kb allerdings sehr merkwürdig, so schlecht dürfte PNG eigentlich nicht komprimieren...
du hast dich verschaut - das normale Bild war 160kb - das Thumbnail über 200kb...
garvinhicking wrote: Kannst Du testweise gdlib benutzen, also imagemagick in s9y deaktivieren?
dann sieht es besser aus.

Code: Select all

# ls -l
total 260
-rw-rw-r-- 1 web03 web03 157243 2007-02-13 03:13 WindowsVista-CiscoVPN.png
-rw-rw-r-- 1 web03 web03  96941 2007-02-14 10:24 WindowsVista-CiscoVPN.serendipityThumb.png

Code: Select all

 # file *
WindowsVista-CiscoVPN.png:                  PNG image data, 1088 x 928, 8-bit/color RGB, non-interlaced
WindowsVista-CiscoVPN.serendipityThumb.png: PNG image data, 350 x 299, 8-bit/color RGBA, non-interlaced
Hier sieht man wohl auch den Grund: 8-bit/color..
Jens
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Thumbnails mit enormen Platzbedarf?

Post by garvinhicking »

Hi!

Hm...tja, dann fehlt dem imagemagick convert wohl irgendeine option?

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply