Displayed Image Quality Reduction
Displayed Image Quality Reduction
Beitrag in Englisch, da vielleicht für mehr Leute interessant:
Hello Oliver,
I have searched the forum and read something about GD creating low quality thumbnails ... I have not found a solution. I think I have ImageMagick running (hosted webspace) but I am not sure..
The problem is, that if I upload images which are jpg compressed (png isn't supported at all right now, I think it wouldn't be possible to include png images with article&image) they are stored correctly and all, but are reduced greatly in quality when displaying. even when they shouldn't be resized. It is, though, although I entered the original image width (369 -> 340). It looks like a newspaper ...
Where could I possibly fix that? Even if I don't have Imagick, I'd like to turn the resizing thing off altogether.
The image which is displayed (with the coding errors / flaws visible) is even bigger than the original!!!
You can compare the picture and the displayed result here:
http://testbed.lavadots.com/asps.jpg Original
http://testbed.lavadots.com/asps_output.jpg Broken
- Max
Hello Oliver,
I have searched the forum and read something about GD creating low quality thumbnails ... I have not found a solution. I think I have ImageMagick running (hosted webspace) but I am not sure..
The problem is, that if I upload images which are jpg compressed (png isn't supported at all right now, I think it wouldn't be possible to include png images with article&image) they are stored correctly and all, but are reduced greatly in quality when displaying. even when they shouldn't be resized. It is, though, although I entered the original image width (369 -> 340). It looks like a newspaper ...
Where could I possibly fix that? Even if I don't have Imagick, I'd like to turn the resizing thing off altogether.
The image which is displayed (with the coding errors / flaws visible) is even bigger than the original!!!
You can compare the picture and the displayed result here:
http://testbed.lavadots.com/asps.jpg Original
http://testbed.lavadots.com/asps_output.jpg Broken
- Max
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
i'm sorry...Oliver Georgi wrote:That's normal. GD creates not so good resized images - and your original JPG has visible jpg artefacts - that results in additional artefacts what increases image size. If you want to have better resized images use high quality source images.
Oliver
ich habe dasselbe problem, wenn ich folgende variable definiere: img_quality = "75"; // 0 - 100
man kцnnte progressive JPEGs benutzen, um qualitдt zu verbessern. und IMagic ist keine lцsung
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Ohne Änderungen in der PHP.INI = keine Anpassungsmöglichkeit für Dich bzgl. GD. Du kannst das über
testen, welche GD bei Dir läuft. z.B könnte 1&1 mal auf > 4.3 updaten. Die krepeln immer noch mit weiß nicht wie alten Versionen rum.
Code: Select all
<?php
phpinfo();
?>
PHPInfo
--with-gd
GD Support enabled
GD Version 2.0 or higher <-
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Warum schaut das bei mir trotzdem so schlecht aus? Kann ich irgendwo die Imagequality (0 - 100 %) in Deinem Skript beinflussen?
--with-gd
GD Support enabled
GD Version 2.0 or higher <-
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Warum schaut das bei mir trotzdem so schlecht aus? Kann ich irgendwo die Imagequality (0 - 100 %) in Deinem Skript beinflussen?
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Well, can't understand a word, but I'm guessing this relates to poor image quality... I have the same problem and I was wondering is there any chance to improve it? I found file include/inc_lib/ext/hft_image/hft_image.php and set image quality to 100 but this hasn't improved the over all quality at all. Before PHPWCMS I used script called 4images and it produced excellent images without any losses in quality. I guess this has something to do with this particular script.
Is it possible to change to script which produces images and thumbnails in PHPWCMS, or is somehow integrated with the core itself? If not so, please give me a hint wherefrom to look for improvements...
Is it possible to change to script which produces images and thumbnails in PHPWCMS, or is somehow integrated with the core itself? If not so, please give me a hint wherefrom to look for improvements...
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
transparent GIFs imported with solid backgrounds
FYI -- Part of the GIF problem -- when I import GIFs with transparent backgrounds phpWCMS fills them black.