Hi Maurilio,

> I've never used tprn, but given a .png file you need to read it so that you
> have a DIB or BITMAP in memory.
> 
> I think that using freeimage you can achieve such a result.
> 
> I hope this can, at least, point you in the right direction.

Thanks for the suggestion, and this may indeed work, 
although for local reasons it's not an option for me, 
since I'd need to distribute a .dll with my app.
(I never managed to build static libs of FreeImage, 
maybe even the license wouldn't permit it).

Tried to find out how to make such conversion by 
looking at FreeImage code, but it's quite a complicated 
piece.

libgd has nice png read routine, but it misses the save 
part AFAICS.

I read that some printer drivers are accepting png 
and jpeg directly, so it may work. As a next step 
I'll try that.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to