[solved] JPEG Artifacts

General discussions about Inkscape.
SureWhyNot
Posts: 137
Joined: Mon Jun 16, 2008 11:37 pm
Location: United States

[solved] JPEG Artifacts

Postby SureWhyNot » Tue Oct 14, 2008 2:34 am

I avoid using JPEGs whenever I can. I know there are pros and cons for doing so, and JPEG has its merits, so please don't argue that here.

Anywho, a lot of applications will accept several different file formats, but then convert them all to JPEG. This gives my Avatars lots of nasty artifacts. :x

Is there a certain trick to reducing these artifacts?

User avatar
loonquawl
Posts: 135
Joined: Thu May 15, 2008 7:57 pm

Re: JPEG Artifacts

Postby loonquawl » Tue Oct 14, 2008 3:05 am

jpg is mostly blur, so "preblurring" the images might help having faithful copies in jpg later. Also, even if the application is making a jpg, you should be able to choose the compression, and at no compression, jpg is, for all purposes, a bitmap, so there should be no problem with artefacts.
I propose you make the jpg youself, out of a bmp, by using IrfanView or similar programs, that allow you to specify the number of pixels and amount of compression. then you can import it into the appklications that misbehave, and it might be better.

If you like, you could post some file, and specify the way it should come out (a x b pixels) and we here on the forum could try some ourselves, and give you some feedback and suggestions

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: JPEG Artifacts

Postby microUgly » Tue Oct 14, 2008 9:19 am

SureWhyNot wrote:Anywho, a lot of applications will accept several different file formats, but then convert them all to JPEG. This gives my Avatars lots of nasty artifacts. :x

Is there a certain trick to reducing these artifacts?

I don't think there's any rules of thumb when designing an image to reduce artifacts when you can't control the compression. Although I'm sure some effects can make artifacts more obvious, such as putting blocks of red beside block of blue. Compression artifacts are less obvious in real photos then on clipart-type images, which is why you should use GIF for images with few colours--so knowing that, you could suggest using photos for your avatar ;)

Having said that, whilst most applications will convert a non-JPG into a JPG, if you provide a JPG in the first place then some applications will not re-convert it (but I know some will). My recommendation is to convert your picture to a JPG yourself then try submitting it.

Off topic:
I'm moving this topic just because it's more about 'general theory' than 'how to use Inkscape'.


Return to “General Discussions”