-
Notifications
You must be signed in to change notification settings - Fork 415
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
Support jpeg and jpg formats #2886
Conversation
Looking at the CI it didn't look to work... |
b6c2c72
to
79e4f54
Compare
new chages were made hopefully the problem is fixed |
Hello, dans les tests, j'ai toujours l'erreur
|
Could be related to this... https://stackoverflow.com/questions/3432388/imageio-not-able-to-write-a-jpeg-file |
Neither @BaharWeb nor I have a build environment for this so for the time being I guess this is stuck until someone with an environment can investigate. |
Shouldn't you add mapfish-print/core/src/test/java/org/mapfish/print/output/JasperReportOutputFormatSimpleMapTest.java Line 56 in ae788c0
|
90f08c0
to
54ec8f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add at least one test to cover 1 of the JasperReportImageOutputFormat jpg...
core/src/test/java/org/mapfish/print/output/JasperReportOutputFormatSimpleMapTest.java
Outdated
Show resolved
Hide resolved
core/src/test/java/org/mapfish/print/output/JasperReportOutputFormatSimpleMapTest.java
Outdated
Show resolved
Hide resolved
e254ef0
to
00ae85f
Compare
00ae85f
to
480231b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are most of the json files migrated to use png as the output format rather than pdf?
Shouldn't we add have test with pdf outputformat too ?
Because I removed the changing output format hack:
It's the case :-) :
|
Took the opportunity to remove the code that was turning the pdf into png |
Creating a jpg or jpeg from a jasper template is not possible. The error is "Format 'jpg' with mapExport 'false' not supported"