c# - SSRS .net PDF to Image from SQL -
i have looked , there doesnt seem around this.
i have database varbinary column contains pdf. want display image in ssrs. can't find way ghostscript or spire.pdf etc (the free options) allow pass stream pdf input, , output images, seem need actual file. googling gives codeproject example 2009 uses component have buy, plus sqlclr seems overly complicated. want .net class can build , reference in ssrs rdl file can pass field result of sql query , list of images (1 per page)
instead of trying display pdf stored in varbinary(max) directly in ssrs, try obtain images before generating report:
1) use tool generate image pdf (e.g. imagemagick). more details conversion can found here.
2) display images in ssrs varbinary(max) using this tutorial.
this means have redundancy (extra space needed), reports generate faster.
Comments
Post a Comment