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

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -