.TXT to image

Discussions about image processing and document imaging.
Post Reply
SarrasiM
Posts: 22
Joined: Thu Dec 17, 2015 6:20 pm

.TXT to image

Post by SarrasiM » Tue Dec 13, 2016 9:40 pm

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?

Thanks!

SarrasiM
Posts: 22
Joined: Thu Dec 17, 2015 6:20 pm

Re: .TXT to image

Post by SarrasiM » Tue Dec 20, 2016 5:18 pm

Could you please check at my question? :) Thank you.

User avatar
Loïc
Site Admin
Posts: 5581
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: .TXT to image

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

Hello,

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,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests