View Single Post
Old 04-09-2014, 03:42 AM   #37
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Tex2002ans View Post
You can clearly see the JPG Haloing which occurs around the text/lines:

Attachment 121434
Especially noticeably if you tilt an LCD screen...

Quote:
Here is the same image saved as PNG:

Attachment 121435

As you can see, there is actually only Black + White, and NOTHING else. Zero loss/deterioration from the original.
and, of course, PNG does not need to be only black and white, it could also have some grey levels to mitigate aliasing. The point is, with PNG you can get exactly what you want, and not what the compression algorithm gives, emphatically not those blocky artifacts.

Quote:
Originally Posted by JLius View Post
Right, so I'll save my titlepages as png and see how that improves the quality. I use libreoffice draw by the way, to make my titlepages. Very easy to use for a simple soul like me.
As long as you do not open a JPG and save it as PNG...

Quote:
As for my previous question: is it okay to use a <div> for the subtitles - as opposed to using a <span> with block?
Roughly yes, and I said it was, but let me now change my mind. I believe the XHTML specification does not allow some elements (including <p> and <h*>) to contain other block elements. Since <div> is a block element, it cannot be contained in <h1>, but a <span> (or any other inline element) with "display:block" is fine.
Jellby is offline   Reply With Quote