Closed cobub closed 11 years ago
I guess you are uploading .jpg file. PDF export works fine with .jpg Plugins stores images in .png. There are some issues in export with certain .png formats, see http://www.redmine.org/issues/14599
You mean that the image will plugins stored can not be exported in wiki PDF?
At the moment probably no.
But I'd tried upload a png file to wiki, and it displays correctly in exported PDF file.
Can you please attach the png? What version of Redmine and www browser do you have?
This is my environments:
Browser: Google Chrome, Firefox
Environment:
Redmine version 2.2.3.stable.11535
Ruby version 1.9.3 (x86_64-linux)
Rails version 3.2.12
Environment production
Database adapter Mysql2
Redmine plugins:
clipboard_image_paste 1.7
This is the test png file
I've add it to wiki page, like this:
And click export wiki, and the pdf like this:
any progress about it?
How do you get this result? I tried it with the plugin and any picture will be a png with alpha channel, png´s with alpah channel are not supported for pdf export.
Because he has uploaded the picture through "Add attachment" command, not through the plugin. The PNG has not alpha channel so, it's working. Cobub, probably there's solution, I will check that.
Maybe you implement a "convert --alpha off" into the image upload???
Yes, that could be a way.
Maybe it's useful. I'll try the new version if it's ready
Implemented in master, you can try that (requires RMagick gem installed).
Wow, very quick response. Works now great, thanks a lot !!!!
It seems OK. Thanks for you! That will be more convinient to use this plugin.
Will this be released as new version (in Redmine plugins directory) ?
Yes, soon it will.
I've install clipboard_image_paste plugin in redmine.
And I add image in wiki page through two ways:
Both images are display successfully in wiki page, but when I export PDF, only the image I uploaded displayed, the image by this plugin not display. Is it a different ways to load and display the images for clipboard_image_paste plugin?