Text moves when saving an image

Here everybody can post his problems with PhotoLine
stratokaster
Mitglied
Beiträge: 4
Registriert: Mi 03 Apr 2013 16:50

Text moves when saving an image

Beitrag von stratokaster »

Hello, I'm a happy user of PhotoLine 17 and I have a problem...

This is how the image looks when it's open in PhotoLine: https://dl.dropbox.com/u/10243889/Scree ... 0%20PM.png

And this is how it looks after I save it as a JPEG file... https://dl.dropbox.com/u/10243889/fujif ... 1-back.jpg

I added green lines as a reference so you can see the problem more clearly.

Is there any way to avoid it?
Benutzeravatar
Hoogo
Beta Tester
Beiträge: 4169
Registriert: So 03 Jul 2005 13:35
Wohnort: Deutschland

Re: Text moves when saving an image

Beitrag von Hoogo »

Not a real solution, but maybe an useful test:
What happens if you convert the text layer(s) into vector?
----------------
Herr Doktor, ich bin mir ganz sicher, ich habe Atom! /Doctor, doctor, I'm sure, I've got atoms!
Martin Huber
Entwickler
Entwickler
Beiträge: 4298
Registriert: Di 19 Nov 2002 15:49

Re: Text moves when saving an image

Beitrag von Martin Huber »

stratokaster hat geschrieben:This is how the image looks when it's open in PhotoLine: https://dl.dropbox.com/u/10243889/Scree ... 0%20PM.png

And this is how it looks after I save it as a JPEG file... https://dl.dropbox.com/u/10243889/fujif ... 1-back.jpg
I don't have a solution either. There are 3 text blocks, that are shifting to the right. Is there something special about these blocks (I assume these are 3 separate text layers)?

Do you have a PLD-file with text layers, that can be used to reproduce the problem?

Martin
stratokaster
Mitglied
Beiträge: 4
Registriert: Mi 03 Apr 2013 16:50

Re: Text moves when saving an image

Beitrag von stratokaster »

Thank you for you replies!

Yes, those are 3 separate text layers. The text obviously doesn't shift if I convert it into vector, but then I lose the ability to edit it afterwards.

As far as I can tell, there is nothing special about those 3 text blocks.

Here is the sample PLD file that has the same problem: https://dl.dropbox.com/u/10243889/sample.pld

The file uses excellent (and free!) PT Sans font. You can get it here: http://www.paratype.com/public/
bkh
Beta Tester
Beiträge: 3687
Registriert: Do 26 Nov 2009 22:59

Re: Text moves when saving an image

Beitrag von bkh »

On my Mac (OS X 10.8.3, PL 17.53 64 bit), both the sample.pld and a saved jpeg image show the problem (I presume that the line should be right-aligned with the text). Here's a screenshot.
sample.png
What OS and version of PL are you using?

In any case, my guess is that there might be a slight font spacing problem (in PL or the OS you are using). The text box which you are using automatically grows when the text grows, and expands accordingly (to the right).

A simple workaround would be to slightly enlarge the text box to the left, so that the text can "grow" in that direction.

Cheers

Burkhard.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Martin Huber
Entwickler
Entwickler
Beiträge: 4298
Registriert: Di 19 Nov 2002 15:49

Re: Text moves when saving an image

Beitrag von Martin Huber »

bkh hat geschrieben:On my Mac (OS X 10.8.3, PL 17.53 64 bit), both the sample.pld and a saved jpeg image show the problem (I presume that the line should be right-aligned with the text).
Here (Mac OS 10.7.5, PL 17.53 64 bit) the sample.pld and an exported JPEG are identical, too.

To stratokaster:
On my computer PT Sans was already installed. Did you use this version or a different one?

Martin
stratokaster
Mitglied
Beiträge: 4
Registriert: Mi 03 Apr 2013 16:50

Re: Text moves when saving an image

Beitrag von stratokaster »

This is very strange indeed... I've recorded a video to show you how it happens.

http://www.youtube.com/watch?v=p6Z33va7V_s

(The video is unlisted, so it isn't available to anyone without the direct link.)
Martin Huber
Entwickler
Entwickler
Beiträge: 4298
Registriert: Di 19 Nov 2002 15:49

Re: Text moves when saving an image

Beitrag von Martin Huber »

stratokaster hat geschrieben:This is very strange indeed... I've recorded a video to show you how it happens.
I have the same situation like Burkhard: If I open the sample.pld, the text is already shifted to the right (and it stays there on exporting).

What version of PT Sans do you use? The preinstalled one on my computer (and the one I am using) is version 7.0d1e1.

If you are resizing the text layers to the left (like Burkhard said): What happens on export? Is the text still shifting?

Martin
Juan
Mitglied
Beiträge: 615
Registriert: Do 06 Okt 2011 08:08

Re: Text moves when saving an image

Beitrag von Juan »

I could replicate the problem on win 7 and PL 17.90 B6 64 bits using the plain Arial font and the text aligned to the right, that alignment seems to be the cause.
screenshot.jpg
test after.jpg
Here is the file:
test 2.zip
Cheers
Juan
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Benutzeravatar
ellhel
Mitglied
Beiträge: 1355
Registriert: Mi 04 Jan 2012 03:03
Wohnort: Reiffelbach

Re: Text moves when saving an image

Beitrag von ellhel »

Hello,

no problem here.
I have previously adjusted the text layer.
The text alignment is set flush right. (Google Translater)

Regards
Helmut
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
PhotoLine 21 & Betas, Win-10 Pro 64-bit, ACDSee Photo Studio Ultimate 2018, Dxo Optics Pro 9, Panasonic DMC-G6
"Der Nachteil der Intelligenz besteht darin, dass man ununterbrochen gezwungen ist, dazuzulernen."
George Bernard Shaw
stratokaster
Mitglied
Beiträge: 4
Registriert: Mi 03 Apr 2013 16:50

Re: Text moves when saving an image

Beitrag von stratokaster »

Juan hat geschrieben:I could replicate the problem on win 7 and PL 17.90 B6 64 bits using the plain Arial font and the text aligned to the right, that alignment seems to be the cause.
Well, it seems the font is not the one to blame. BTW, I have the same version of PT Sans as Martin.

However, I have also experienced the problem with text blocks aligned to the center (see my first post).
Martin Huber
Entwickler
Entwickler
Beiträge: 4298
Registriert: Di 19 Nov 2002 15:49

Re: Text moves when saving an image

Beitrag von Martin Huber »

stratokaster hat geschrieben:However, I have also experienced the problem with text blocks aligned to the center (see my first post).
I am now able to replicate the problem.

The problem only happens with automatic text layers (text layers, that don't have a fixed size) in combination with non-left alignment. So if you resize the text layer, the problem will be gone.

I will fix that.

Generally speaking it is not a good idea to use automatic text layers for text, that should be placed at exact locations. Text size may differ a bit depending on the used OS or version of a font.

Martin