لا أعرف إن كان هذا قد ظهر في مكان آخر (فكلمات البحث، ملف تعريف الألوان المضمن، تعيد نتائج غير مرتبطة.. :)).
أدير منتدى للبرمجيات الحرة في مجال التصوير الفوتوغرافي على discuss.pixls.us. وكما تتخيل، لدينا مستخدمون مهتمون جدًا بكيفية عرض صورهم.
من الأمور التي واجهناها مؤخرًا كانت مشاكل في موضوع حول إدارة الألوان:
لاحظ أحد المصورين أن وظيفة جلب الصور المرتبطة وتخزينها محليًا تبدو وكأنها تزيل معلومات الألوان من الصور. ورغم أن هذا قد يكون مقبولًا لتوفير المساحة في معظم المنتديات، إلا أنه في منتدى مخصص للتصوير الفوتوغرافي، فإن هذا الأمر مؤلم بعض الشيء.
وللتوضيح، تحتوي هذه الصورة على ملف تعريف ألوان مضمن ومُدار بشكل خاطئ. يجب أن تظهر كما يلي (Rot = أحمر، Grün = أخضر، Blau = أزرق):
هل تتم معالجة الصور باستخدام برنامج ImageMagick؟ وإذا كان الأمر كذلك، هل هناك أي تفكير في إضافة خيار لتحويل الصور المرفوعة إلى مساحة ألوان sRGB ووضع علامة عليها كـ sRGB قبل الحفظ؟
(سأكون سعيدًا بالبحث بشكل أعمق إذا أمكن لأحد أن يشير إلى الأجزاء ذات الصلة من الكود التي تتعامل مع تحويل الصور عند رفعها؟)
@zogstrip - is the conversion being done using imagemagick? If so, would you mind pointing me to the relevant section?
It appears that we may only need an option to convert any images to sRGB if they have a different profile embedded, and then either strip the profile or specify that the image is now sRGB.
I was thinking about this and this seems very specific to a photography forum. If they want to keep all the metadata/color profile, they can just set SiteSetting.strip_image_metadata to false. For majority of the images, keeping the exif or iptc metadata isn’t going to be very useful.
Interesting @Patrick_David, so this is not really a bug… it is a feature request to allow for fidelity when stripping exif tags (or simply misunderstanding an existing feature)
I am going to close this for now, but feel free to open a new topic if you find setting strip_image_metadata to false unacceptable.