php - How can I scale an image using tcpdf? -


i've got image of size 490 x 630 drawn in corel. it's supposed have 41.3 mm (wide) , 52.3 mm .

the unit i'm using in tcpdf class "mm".

i'm having trouble trying acomplish this.

what value should put on setimagescale() ?

thanks !

i using image of format ".png". ".png" format had trouble trying display image correctly on pdf. opened image in paint , save ".jpg" , use instead. once i've changed format display image correctly without complication. think there's bug on pcdf related ".png" images.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -