eramgarden Posted June 3, 2004 Posted June 3, 2004 I have a Tiff image, I process it, make it into JPG, add "text" to the buttom of the image. The guy I was doing this for..opened the image in PhotoShop and he says he sees "artifacts" around the text. He sent me the screen print..he has blown up the image and around the text ..there are some grey boxes. It's not visible in my browser or when I open it in Paint...seems like it's visible in Photoshop... Wonder how the "artifacts" got there?? This is what he asked me: "It appears as if the text's bounding box left the artifacts. Is it possible to increase quality/decrease compression a bit to improve or eliminate this?" --Hard to explain without seeing what he sent me...but this is the code I have to put text at the bottom of the image: Dim bgBrush = New SolidBrush(System.Drawing.Color.White) gr.FillRectangle(bgBrush, New Rectangle(0, 0, 700, 500)) gr.DrawImage(b, centerW, centerH) Dim copy As Font = New Font("Times New Roman", 9, FontStyle.Regular) gr.DrawString("Copyright © 1994-2004 Test Company ", copy, Brushes.Black, centerW, imageH) Quote
Administrators PlausiblyDamp Posted June 3, 2004 Administrators Posted June 3, 2004 This is probably a consequence of using jpeg compression, too achieve high compression rates jpeg implements a lossy compression that works well for photorealistic images. However a side effect of this is that when you get two colours next to each other then they will cause these artifacts to occur. you may be better off considering another image format (like gif or png) Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.