image processing - .NET Graphics.drawstring -


i have uploaded image jpg extension , added text on photo using graphics.drawstring in .net web application. if apply other editing tools rotating image, text added gets blurry.

what reason , solution problem?

when adding text raster-based image format jpeg (as opposed vector-based formats svg) text no longer separate object, it's coloured pixels photo. transformations on raster images cause "blurriness".

to reduce affects add text last not affected other operations.

i'm not sure gdi.net default level play level of jpeg compression. low compression not lossy produces large file sizes. should able away 5-10% compression without losing detail while reducing file size, depends on images , how fussy need be.


Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -

openssl - Load PKCS#8 binary key into Ruby -