Announcement

  •  » Miscellaneous
  •  » Is PIWIGO altering the JPGs in any when when I upload?

#1 2015-03-24 02:57:36

JTX
Member
2014-09-28
30

Is PIWIGO altering the JPGs in any when when I upload?

The reason I ask is because I sent a couple of files to the server just now, and it's obvious that my saturation changes that I made to the JPG on my file are not displayed on the image on the gallery.

Am I doing something wrong?

I am using the current version.

Offline

 

#2 2015-03-24 14:46:27

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Is PIWIGO altering the JPGs in any when when I upload?

Hi JTX,

Can you give an URL to your Piwigo please?

My feeling is that you have uploaded photos with a color profile different from sRGB. For example Adobe RGB. Only sRGB can be safely displayed on a web browser.

Offline

 

#3 2015-03-24 14:48:15

JTX
Member
2014-09-28
30

Re: Is PIWIGO altering the JPGs in any when when I upload?

While waiting for a reply...........

I found out the reason for the image color degrade.

It's the image-re-size being completed by PIWIGO.

When I change the medium file display size ( default ) to a larger file size, the colors and saturation return to normal.

So, for the site admin, and whoever controls PIWIGO etc, during the file re-size on the gallery, its degrading the image quality.


My server settings are below.  Someone mentioned that my GL or Imagemagick is an older version, however this shouldn't be causing the image problem.



Environment
Operating system: Linux
PHP: 5.2.17 (Show info) [2015-03-24 07:46:17]
MySQL: 5.5.42-37.1-log [2015-03-24 07:46:17]
Graphics Library: External ImageMagick 6.7.9-10

Offline

 

#4 2015-03-24 14:51:23

JTX
Member
2014-09-28
30

Re: Is PIWIGO altering the JPGs in any when when I upload?

plg wrote:

Hi JTX,

Can you give an URL to your Piwigo please?

My feeling is that you have uploaded photos with a color profile different from sRGB. For example Adobe RGB. Only sRGB can be safely displayed on a web browser.

http://www.gallerytx.com/photos/


I am using photoshop lightroom to process.


I am using sRGB.

Last edited by JTX (2015-03-24 14:52:36)

Offline

 

#5 2015-03-24 14:58:39

JTX
Member
2014-09-28
30

Re: Is PIWIGO altering the JPGs in any when when I upload?

Here is a link to a screen capture, of what I am seeing on my end with the smaller re-sized images as the default setting is.


http://i.imgur.com/NlIheqF.png?1

The image to the right is the same file off my HDD in windows explorer.  You can clearly see the reduction in image color saturation and brightness.



After I changed the default medium display size, larger, closer to the LARGE version, the correct colors were returned to the displayed image.

Last edited by JTX (2015-03-24 15:00:36)

Offline

 

#6 2015-03-24 15:09:33

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Is PIWIGO altering the JPGs in any when when I upload?

Here we go:

$ exiftool 20150324060335-11ef22b8.jpg | grep -i RGB
Color Space                     : sRGB
Color Space Data                : RGB
Profile Description             : ProPhoto RGB

ProPhoto RGB is the problem with this photo. On small sizes, Piwigo removes the metadata (including the color profile), which is why your thumbnail looks bad.

If you want to fix the problem without converting your photos to sRGB, add this to your local configuration with plugin LocalFiles Editor :

Code:

<?php
$conf['derivatives_strip_metadata_threshold'] = 0;
?>

and delete all the multiple size cache on [Administration > Tools > Maintenance].

But of course the best solution is to convert your photos to sRGB color profile, this way you are sure everybody (all web browsers on all operating systems) will see the appropriate colors.

Offline

 

#7 2015-03-24 16:36:03

JTX
Member
2014-09-28
30

Re: Is PIWIGO altering the JPGs in any when when I upload?

Oh Very good.  I will look at that and what lightroom is doing


I noticed in lightroom it was using PROPHOTO RGB. So that is doing it.

I will look at the different settings and find out why it's using this method.





plg wrote:

Here we go:

$ exiftool 20150324060335-11ef22b8.jpg | grep -i RGB
Color Space                     : sRGB
Color Space Data                : RGB
Profile Description             : ProPhoto RGB

ProPhoto RGB is the problem with this photo. On small sizes, Piwigo removes the metadata (including the color profile), which is why your thumbnail looks bad.

If you want to fix the problem without converting your photos to sRGB, add this to your local configuration with plugin LocalFiles Editor :

Code:

<?php
$conf['derivatives_strip_metadata_threshold'] = 0;
?>

and delete all the multiple size cache on [Administration > Tools > Maintenance].

But of course the best solution is to convert your photos to sRGB color profile, this way you are sure everybody (all web browsers on all operating systems) will see the appropriate colors.

Last edited by JTX (2015-03-24 16:38:46)

Offline

 
  •  » Miscellaneous
  •  » Is PIWIGO altering the JPGs in any when when I upload?

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact