Text shadow

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
Roder51
Posts: 5
Joined: Sun Jan 09, 2011 11:47 pm

Text shadow

Post by Roder51 »

I use xnview a lot but lately I've noticed when I embed say a white text on a green backgroud it creates a shadow of a kind. Has anyone else had this problem and if so how did you fix it.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Text shadow

Post by xnview »

With 'Add text'?
Pierre.
Roder51
Posts: 5
Joined: Sun Jan 09, 2011 11:47 pm

Re: Text shadow

Post by Roder51 »

xnview wrote:With 'Add text'?
Yes Pierre
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Text shadow

Post by xnview »

could you post a screenshot?
Pierre.
Roder51
Posts: 5
Joined: Sun Jan 09, 2011 11:47 pm

Re: Text shadow

Post by Roder51 »

Notice the shadow of small white dots around the text. I used image>add text to do it.
Image
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Text shadow

Post by xnview »

could you send me original picture?
Pierre.
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Text shadow

Post by cday »

Aren't those compression artifacts caused by the sharp contrast between pure blue and pure white?

An even higher level of compression might help, or saving as a .png might be better...

Note: When there is a sharp colour transition, having resampling when zooming enabled can also produce artifacts, even on a .png which preserves the pure colours.
Roder51
Posts: 5
Joined: Sun Jan 09, 2011 11:47 pm

Re: Text shadow

Post by Roder51 »

I have no idea what you're saying Cday. Here is another picture. An imported screenshot from Microsoft word.
Now that I've imported the picture into PICASA there don't seem to be a lot of difference whether I write on
the picture in Word or XNVIEW. Would love to know what's going wrong though. I will try uninstalling
and re installing the program. The 6th and 7th lines are the same size fonts as above. I dunno why it looks to be bigger.


Image
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Text shadow

Post by xnview »

It's the problem of JPEG compression, try to use PNG for example
Pierre.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Text shadow

Post by helmut »

Yes, the "shadow" are definetely compression artecfacts, see the explanation and examples on Wikipedia. Using a lossless image format like PNG will avoid the problem.
Post Reply