在windows phone 8 app中进行.jpg到.pdf的转换 [英] .jpg to .pdf conversion in windows phone 8 app
问题描述
我已经开始创建windows phone 8 app并捕获图像(.jpg)文件,现在我想将此.jpg文件转换为.pdf文件。
有没有办法做到这一点?
请帮帮我。
谢谢,
如你所知,Windows应用程序仅支持winrt .winmd文件,而普通的dll在窗口应用程序中不起作用。所以你需要pdf sdk来渲染pdf并添加图像。在Aspnet应用程序中,Itextsharp dll是免费的sdk来支持它,但有很多付费的sdk可用 Component One 。但是有像 SilverPdf 这样的免费sdks, itextsharp custom 。或尝试创建新的或者您可以使用服务(post api)扩展到Web api服务,其中图像以字节数组编码,在服务器端使用免费工具(如itextsharp,您可以将其生成为pdf并将其返回到Windows应用程序)。 / p>
I have started creating windows phone 8 app and captured an image (.jpg) file, now I want to convert this .jpg file in to .pdf file. Is there any way to do this ?
Please help me.
Thanks,
As you know that windows app support winrt .winmd files only and normal dll doesnt work in window apps. So you would need the pdf sdk for rendering a pdf and add image to it. In Aspnet application Itextsharp dll is free sdk to support it but there are lot of paid sdk available Component One.But there are free sdks like SilverPdf, itextsharp custom. or try to create new one Or you can extend to Web api service by using service (post api) with image encoded in byte array and in serverside using free tools like the itextsharp you can generate it as pdf and return it to windows app.
这篇关于在windows phone 8 app中进行.jpg到.pdf的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!