C# Console App: Convert Multi-Page PDF to Single High-Res Image
Description Create a .NET/C# console application that converts a multiple-page PDF into a single high-res JPG/PNG image. Requirements The application should support anti-aliasing of text, customization of page width (PAGE_WIDTH), and customization of the number of images per row (IMAGES_PER_ROW). IMAGES_PER_ROW should be a positive integer greater than zero. PAGE_WIDTH is the width (in pixels) of a converted PDF page. So for example, if PAGE_WIDTH = 3840 and IMAGES_PER_ROW = 3 then the width (in pixels) of the new image would be 11,520 pixels. Assume that every page in a source PDF is the same size. The aspect ratio should be preserved (so the height should be adjusted to accommodate the PAGE_WIDTH). iTextSharp (http://itextpdf.com/) is the only third-party dependency the application can take. The target image should be named as: source_pdf_filename.jpg (all lowercase) if TARGET_FORMAT is JPG. TARGET_FORMAT can also be set to PNG. JPG images should be compressed at 100%/high quality if a value is required. PNG images should be 24-Bit (versus 8-Bit). The new JPG/PNG image should be written in the same folder as the executable console application. If the target filename already exists the app should display an error (see below). SOURCE_PDF_PATH is the only required input parameter. The following inputs should be used if not provided by the user: TARGET_FORMAT = JPG; PAGES_PER_ROW = 3, PAGE_WIDTH = 3840. Status/Error Messages - Error occurred reading input parameters. - Error occurred reading the source PDF. - Error occurred during processing. - Error, target filename already exists in this folder. - Successfully processed image. Deliverables - Compiled EXE - Visual Studio Solution Sample Usage C://process.exe [SOURCE_PDF_PATH] [TARGET_FORMAT] [PAGES_PER_ROW] [PAGE_WIDTH] Keywords: Desktop Applications, PDF, C#, Graphic, .Net, iTextSharp
| Expired |
More c#/.net projects
View AllMore pdf projects
View AllRelated projects
Search for freelance jobs
"I did not know what to expect at first. But my final impression once I used your site and service is a great one! Simply amazing!
I would recommend this service to any other freelance artists and co workers who are looking to expand their client base."
"The possibility to include all information about my freelance working places in just one website. It means, I don't need to tell my future employer to go to odesk, elance, etc. They can check everything about me in donanza website."




