-
Notifications
You must be signed in to change notification settings - Fork 532
Use uppercase format string for GMagick #733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The failing test on Travis doesn’t seem to be related to this pull request. |
@mlocati it would be great if this could be merged |
I second this, because we are also having issues with this bug (see contao/image#67). |
We don't need to second a change, we need a test case that shows the problem. The correct way to submit a pull request should be:
I just created #737 that tests saving images with different cases of the So, how can we replicate the problem that this pull request is addressing? |
@mlocati No hard feelings, but I don't understand your reaction. @ausi has explained the issue very detailed in #732 and you have explicitly asked him to create a PR: In the original issue, @ausi states that the problem is not reproducible on every system. Apparently, it does not occur on Travis. 🤷♂ It still does occur on @ausi's system and on our servers. And the GraphicsMagick documentation, which @ausi has also linked in #732, says that the "magick string" is an uppercase string. Isn't that reason enough to merge such a little change? I understand that unit tests are important to prevent regression bugs. But IMHO it is not worth the effort to fiddle with Travis until we have a setup in which we can reproduce this, just so we can add a simple Again, no hard feelings. 🙈 |
I didn't meant to be rude, of course. Maybe using one of those great emoticons would have made my reaction much more polite 😉 In the documentation we don't have a clear note about upper/lower case, only an example with
Well, are you sure that other systems would not break if we use I'm going to check the GraphicsMagic and GMagick source code. Maybe something changed betweem the GraphicsMagick version 1.3.23 (used in TravisCI) and 1.4 (as reported in #732) |
Well, no. 😞 Good point. |
The |
0d15a18
to
d890f9a
Compare
d890f9a
to
d8bc9bf
Compare
This prevents the GMagick error “No encode delegate for this image format”
3c35508
to
f71dff2
Compare
@mlocati in d8bc9bf I created a reproduction of the issue, see Travis build 1436. In f71dff2 the issue gets fixed, see Travis build 1438. |
Superseded by #750 |
This prevents the GMagick error
No encode delegate for this image format
See #732