Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » PdfDraw, custom DPI request + my fix
icon3.gif  PdfDraw, custom DPI request + my fix [message #58764] Mon, 22 August 2022 10:43 Go to previous message
Mountacir is currently offline  Mountacir
Messages: 45
Registered: November 2021
Member
Hi,

I had a use case where i had to convert some .Pngs to .Pdfs so they can be printed.
The problem was that PdfDraw's fixed 600 DPI casues wrong size pdfs, for example, 6x9"/300dpi image will output as 3x4.5" pdf.
To fix this i modifid PdfDraw.h & PdfDraw.cpp to be able to pass the DPI with PdfDraw's constrctor.

Is it possible to add this feature to the U++? my fix or some other way to set the DPI would be great.

Thank you!
  • Attachment: PdfDraw.zip
    (Size: 12.98KB, Downloaded 62 times)
 
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Windows 11 - Menubar issues
Next Topic: bug in the routine involving the time of the zip file
Goto Forum:
  


Current Time: Sun Apr 28 23:39:00 CEST 2024

Total time taken to generate the page: 0.05715 seconds