You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just wondering if the core could change from JPEG (DCTDecode) to PNG (FlateDecode)
google "dctdecode vs flatedecode" dctdecode is lossy, while flatedecode is lossless. for [bar/qr]code, shouldn't lossless encoding be the prefered?
My issue is about when scaling document and printing, jpeg just doesn't look as sharp. I studied my bills, some service providers are using different embed fonts to make sure barcode/qrcode is not an image, rather embed fonts, so scaling up/down is never an issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi @johnfercher , thanks for the great work.
studying https://github.com/johnfercher/maroto/blob/master/internal/code/code.go#L86
I'm just wondering if the core could change from JPEG (DCTDecode) to PNG (FlateDecode)
google "dctdecode vs flatedecode" dctdecode is lossy, while flatedecode is lossless. for [bar/qr]code, shouldn't lossless encoding be the prefered?
My issue is about when scaling document and printing, jpeg just doesn't look as sharp. I studied my bills, some service providers are using different embed fonts to make sure barcode/qrcode is not an image, rather embed fonts, so scaling up/down is never an issue.
Beta Was this translation helpful? Give feedback.
All reactions