Comments (15)
@sreichel I just makes me sad that you choose to only participate only when you can uselessly criticize what other people are trying, within their limits, to bring to this wonderful project. Do you want to break the game you don't want to play anymore? I wonder what happened to the person I was working together just a few months ago. Have a good week.
from magento-lts.
please give a test to #3403, it solves for me
from magento-lts.
mmm probably the GD2 based resizing is screwing the images?
from magento-lts.
+1 for untested new features.
from magento-lts.
@hirale interesting, on my machine I can't see the images you provided (in the zipfile) correctly, they look very odd:
![Screenshot 2023-07-24 alle 08 44 06](https://private-user-images.githubusercontent.com/909743/255520825-03f13b2a-72d5-4633-9a20-811f624eddfd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI3NjAwMzksIm5iZiI6MTcxMjc1OTczOSwicGF0aCI6Ii85MDk3NDMvMjU1NTIwODI1LTAzZjEzYjJhLTcyZDUtNDYzMy05YTIwLTgxMWY2MjRlZGRmZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDQxMFQxNDM1MzlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03MTdlZjYwNGZkYzBhZTY0NTZlYWIxM2VhMjI1M2Q4ZjU1ZGE5Yjc3YzVhNmYxZDMzOGZhZGZkNmIwNDE0NWM1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.MXw-CzGpfYyOfT_A5m7slZrI47vcme-_ApX6-eL1qW4)
I don't know if that's possible but, could they have some specific colorspace or color profile or something I that?
I mean, not even my finder renders them correctly:
from magento-lts.
if I download the test image from google I can render it correctly, while the one in the zip looks bad:
![Screenshot 2023-07-24 alle 08 53 44](https://private-user-images.githubusercontent.com/909743/255523141-2f952263-8cfa-4fed-9452-00fb32b32385.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI3NjAwMzksIm5iZiI6MTcxMjc1OTczOSwicGF0aCI6Ii85MDk3NDMvMjU1NTIzMTQxLTJmOTUyMjYzLThjZmEtNGZlZC05NDUyLTAwZmIzMmIzMjM4NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDQxMFQxNDM1MzlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MDFkNDBlNzc2MDMxN2I4ZmVmNjIyYmQ4N2UzNDVlM2E4OTBmNjdmMTg1OGRhODA4MzVhZjc3NmY4Nzc3Y2VlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.MJXWfwTelhXa4Cy7QD19FV3QIPesTJj0WKeMSgE_Rz4)
from magento-lts.
ok now I think I understand the problem, this image is "correct" to use as a source image:
4.webp.zip
at a first glance it looks ok on the frontend:
but then, click the thumbnail:
so, the resizing routines for sure break the image somehow.
from magento-lts.
It could be an issue with images resized by OpenMage. I added one of the images in the product description and as expected it is displayed correctly, see the result below
If I open one of the thumbnails in a new browser window, here is what is displayed in Chrome, and nothing is displayed in Firefox
I will check what happens with a TIFF image saved from Photoshop in WebP format and one saved through an online converter.
from magento-lts.
I used a TIFF image and saved it in Photoshop (latest version) in 3 formats: JPEG, PNG and WebP. By resizing the WebP format, the thumbnail (the one on the right) has a big loss of quality.
If in the Backend the thumbnail is opened in a new window, which is actually the unsized image, this is what is displayed. The highlight, if I drag the image saved on the Desktop into the browser, it is displayed correctly
from magento-lts.
@sreichel - In PR #3384 the feature to use images in WebP format was added to OpenMage. That PR solved 90% of the change and it was not mandatory to make a revert. A problem was identified yesterday and today it was confirmed, at this moment there is a solution that needs to be tested. If it is fine, then the problem is completely solved, We can state there is a new feature added. In addition, by merging that PR we did not affect the users, there is no release to contain it.
Only two people from those with "green approvals" participated in that PR. I would call them the last of the Mohicans who attach daily importance to OpenMage. For my part, I did a test, but I admit that I missed checking the quality of thumbnails and product images when they are used. I don't mind the reproaches in any way, but I would like not to see them, especially coming from people who abandoned the contribution because of personal vendetta.
from magento-lts.
@sreichel I just makes me sad that you choose to only participate only when you can uselessly criticize what other people are trying, within their limits, to bring to this wonderful project. Do you want to break the game you don't want to play anymore? I wonder what happened to the person I was working together just a few months ago. Have a good week.
As said, ive no time to work on OM (nor Magerun), but i was able to reproduce this issue with my first try. My conclusion was, it was not properbly tested and got merged.
After spending tons of time to improve code quality it feels wrong to me to merge everything ASAP just to lower the number of issues or PRs.
You are one of the most active user here, but not found time to share your oppion about #2748? (Same for some other of my PRs.) Using type hints would be great improvement to avoid additional checks and make code clear. Since latest release a lot of new code has been added, w/o carring about this. Changing this later may cause more trouble, so i asked for re-checking newly added methods.
btw ... it seems you ignore all my concerns ... e.g. showing deprecation errors with enabled debug-mode broke a few projects and is something i had to revert.
from magento-lts.
What part of "we do what we can" you don't get?
You've behaved very poorly to me personally, yet I've fixed quite some of your PRs that you purposely left unmaintained. The ones I thought were helpful.
I'm not commenting anything I don't believe in, you're not my boss hence you don't get to decide what I have to do on not.
I still think you comment only when you create problems and to ruin the environment for everybody.
I gave you my full trust in the past and you behaved and behave like it's worth zero, I won't make the same mistake again.
If github had a "block user", like whatsapp, I wouldn't be ruining my evenings every time you decide to write one of your messages.
from magento-lts.
Got it, You're the boss. I will not criticize anything more ...
from magento-lts.
wow
from magento-lts.
Why "wow"? I frequently take a look at the PRs, but due to the lack of time i cant test it, so i can only mention things that feel wrong to me.
from magento-lts.
Related Issues (20)
- Fatal error: Uncaught Error: Call to a member function addData() on null HOT 2
- Deprecated functionality: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
- Deprecated functionality: strlen(): Passing null to parameter #1 ($string) of type string is deprecated
- Fatal error: Uncaught Error: Call to a member function setOnclick() on false HOT 2
- Deprecated functionality: nl2br(): Passing null to parameter #1 ($string) of type string is deprecated
- Deprecated functionality: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
- incorrect currency value HOT 4
- Use redis for session HOT 5
- Customer information missing after 19.5.3 -> 20.5.0 upgrade HOT 8
- Creating an order for a new registered customer - Required email address issue HOT 1
- Recaptcha HOT 2
- Payment and Shipping not selectable in backend (customer) order, but in frontend. HOT 1
- OpenMage (19.x and 20.x) appears incompatible with Amasty extensions
- onepage/billing.phtml required still displayed after removed. HOT 3
- Upgrading from 19.4.x to 20: recurring data is not saved
- Customers on online not showing HOT 3
- A recurring product is not calculated correctly in the cart HOT 3
- Long running queries presumably from layered navigation HOT 13
- PHP Error in frontend with improper request params HOT 2
- shardj/zf1-future patches all fail during composer install HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento-lts.