Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
dcoun
Posted - Oct 08 2021 : 01:34:36 I tried to create TImageEnIO inside a thread and transform a pdf file's pages in PNG images. I got a lot of out of resources error messages during "loadfromfilePDF" if it is inside a thread and no error in the main thread using the same code. is it my fault or a canvas is used?
Also, can I print from inside a thread or the same problem exists?
How can I print a pdf without needing to show it in TimageEN component? Just load the file and print it. I noticed that TImageEnIO can print a PDF's page but not in the correct size.