View previous topic :: View next topic |
Author |
Message |
tobiasbeil Guru
Joined: 22 Nov 2004 Posts: 326 Location: Stuttgart
|
Posted: Fri Dec 09, 2005 1:18 pm Post subject: Kennt sich jemand mit ImageMagick + Jpeg2000 aus? |
|
|
Ich habe das Problem, dass wenn ich von Format X nach Jpeg2000 *.jp2
konvertiere: "convert firefox.bmp firefox.jp2" die ausgabe-datei kein byte kleiner ist als das eingabeformat.
Alle bibliotheken wie jasper* hab ich schon.
Dann habe ich mir den "-compress" Parameter angeschaut, siehe: http://www.imagemagick.org/script/convert.php @-compress
und http://www.imagemagick.org/script/command-line-options.php#compress
Ich bin es gewohnt von IrfanView, dass man beim Jpeg200 Format 3 verschiedene Save-modi hat.
1. Lossless Jpeg2000
2. Qualitätsbasiert wie mans gewohnt ist.
3. Direkte Angabe der Grösse in Bytes, bild wird dann auf genau die Grösse gerechnet.
Eigentlich möchte ich exakt diese Funktionalität haben,
doch kann sie mir ImageMagick überhaupt bieten?
Wenn nein, Alternativen? |
|
Back to top |
|
|
Fabiolla Apprentice
Joined: 04 Mar 2004 Posts: 277 Location: somewhere
|
Posted: Fri Dec 09, 2005 6:55 pm Post subject: |
|
|
Hallo,
Wenn ich es auf http://www.imagemagick.org/script/command-line-options.php#quality richtig gelesen habe, sollten 1 und 2 mit
'–quality value' möglich sein.
Quote: |
For the JPEG-2000 image format, quality is mapped using a non-linear equation to the compression ratio required by the Jasper library. This non-linear equation is intended to loosely approximate the quality provided by the JPEG v1 format. The default quality value 75 results in a request for 16:1 compression. The quality value 100 results in a request for non-lossy compression.
|
lg |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|