Page 1 of 1

.TXT to image

Posted: Tue Dec 13, 2016 9:40 pm
by SarrasiM
Good day,

Although the .txt appears as a supported format I'm not able to load up a .txt file with the CreateGdPictureImageFromFile() method. We're looking to convert .txt file to an image like if it would be printed.

Is that possible?


Re: .TXT to image

Posted: Tue Dec 20, 2016 5:18 pm
by SarrasiM
Could you please check at my question? :) Thank you.

Re: .TXT to image

Posted: Tue Dec 20, 2016 7:22 pm
by Loïc

You have to do that in 2 steps:
- 1 load the txt file into a pdf document.
- 2 rasterize the produced pdf pages to GdPicture Images.

Please let me know if you need further information.

Kind regards,