Closed i2van closed 10 years ago
@i2van Submit a PR the way you think it should be and i'll merge it it :)
I'm too lazy to contribute )))
0.1.4 available on nuget.org
would you consider changing the license to MIT?
Is double licensing OK?
What's wrong with LGPL?
On Wed, Oct 16, 2013 at 6:18 PM, Peter Rekdal notifications@github.comwrote:
0.1.4 available on nuget.org
would you consider changing the license to MIT?
— Reply to this email directly or view it on GitHubhttps://github.com/peters/xps2img/issues/2#issuecomment-26427452 .
https://sourceforge.net/projects/xps2img/
Added MIT License.
License GNU Library or Lesser General Public License version 3.0 (LGPLv3), MIT License
On Wed, Oct 16, 2013 at 10:49 PM, Ivan Ivon ivan.ivon@gmail.com wrote:
Is double licensing OK?
What's wrong with LGPL?
On Wed, Oct 16, 2013 at 6:18 PM, Peter Rekdal notifications@github.comwrote:
0.1.4 available on nuget.org
would you consider changing the license to MIT?
— Reply to this email directly or view it on GitHubhttps://github.com/peters/xps2img/issues/2#issuecomment-26427452 .
Great :)
https://github.com/peters/xps2img/blob/master/src/xps2img/Xps2Image.cs
private RenderTargetBitmap RenderPageToBitmap(DocumentPage page, RenderTargetBitmap bitmap)
For a library it makes no sense to keep trying on OutOfMemoryException (makes sense for separate console app, see also UI code at http://xps2img.sf.net.)
I'd suggest to reduce method as follows or even inline it.
bitmap.Render(page.Visual);