Edit > Add text result not saved

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

Moderators: XnTriq, helmut, xnview

spaarks
Posts: 8
Joined: Fri Dec 02, 2022 12:44 pm

Edit > Add text result not saved

Post by spaarks »

XnView MP Linux
Version 1.0 64bits (Apr 29 2022)

I added text as shown in the attachment, and saved the file.
When I open the file in any program including XnView, the text is not shown.
It doesn't matter what format I save in.
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 3938
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Adding Text - saving

Post by cday »

There is a newer version version 1.3.1 available, also a 1.4.0 Beta further down, if you wish to try them.

You used Image > Draw... (or the toolbar icon) to add text?

I don't see a difference between the two images, am I missing something or did you maybe attach the wrong image?
spaarks
Posts: 8
Joined: Fri Dec 02, 2022 12:44 pm

Re: Adding Text - saving

Post by spaarks »

Edit>Add Text.
The word "HIDDEN" appears in the new version, but does not survive saving.
spaarks
Posts: 8
Joined: Fri Dec 02, 2022 12:44 pm

Re: Adding Text - saving

Post by spaarks »

In fact I am using Version 1.3.1 64bits (Oct 12 2022)
cday
XnThusiast
Posts: 3938
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Adding Text - saving

Post by cday »

I just prepared a reply, but then in a rare procedural error unfortunately lost it while attempting to correct a formatting error... :wink:

Anyway, in summary, I find the Add text... interface slightly confusing in relation to the small rectangles at the right of the interface toolbar: they do allow as you probably figured out selection of the text colour and an optional background colour, before discovering how to place the text in the desired position.

However, I did manage to create a test image in which the text was present after saving:

Edit_Add_text_Test.png
You do not have the required permissions to view the files attached to this post.
spaarks
Posts: 8
Joined: Fri Dec 02, 2022 12:44 pm

Re: Adding Text - saving

Post by spaarks »

Yes those little boxes, you have to find out what they do by trial and error. The tick boxes determine if you have a solid or transparent background to the text.
Were you able to save it?
spaarks
Posts: 8
Joined: Fri Dec 02, 2022 12:44 pm

Re: Adding Text - saving

Post by spaarks »

In Windows you can enter text in "Paint". I'm looking for a Linux program that can do it.
cday
XnThusiast
Posts: 3938
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Adding Text - saving

Post by cday »

spaarks wrote: Fri Dec 02, 2022 2:25 pm Yes those little boxes, you have to find out what they do by trial and error. The tick boxes determine if you have a solid or transparent background to the text.
Were you able to save it?
I attached the saved test file... :D

spaarks wrote: Fri Dec 02, 2022 2:30 pm In Windows you can enter text in "Paint". I'm looking for a Linux program that can do it.
I am using Linux, XnView MP is cross-platform... :D

I don't know how the text function in Paint compare with those in Edit > Add text..., but looking at the alternative Image > Draw... text tool it supports the additional formatting options of Underline, Italic, Bold and Strike-through, and also an Opacity setting.
spaarks
Posts: 8
Joined: Fri Dec 02, 2022 12:44 pm

Re: Edit > Add text result not saved

Post by spaarks »

The Linux program GIMP and its simpler cousin Glimpse do a fairly good job, but it is a real pain to use and lacking in functuality.
There are others but that claim to do Text but not very effectively.
So we are left with why does XnView not save text edits - or am I doing something wrong?
cday
XnThusiast
Posts: 3938
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Edit > Add text result not saved

Post by cday »

spaarks wrote: Fri Dec 02, 2022 3:44 pm So we are left with why does XnView not save text edits - or am I doing something wrong?
If you can't save an image to which you have added text in XnView MP, presumably you also can't save any other image edited in XnView MP?

It is hard to think what could be happening, my only suggestions are whether the image is possibly being saved, but not in the folder in which you expect to find it. I have that problem sometimes, but presumably you have checked that? The other possibility is whether you might possibly be trying to save to a folder to which you do not have write access, something you could probably change easily: are you able to save other files to the same folder/

I use Linux Mint and haven't had any problem saving, other than sometimes finding a file after I have saved it without checking where it will be saved with the current save settings!
spaarks
Posts: 8
Joined: Fri Dec 02, 2022 12:44 pm

Re: Edit > Add text result not saved

Post by spaarks »

The other functions save ok, eg cropping, rotation, colour adjustment.
It was saved to the folder from which it came.
spaarks
Posts: 8
Joined: Fri Dec 02, 2022 12:44 pm

Re: Edit > Add text result not saved

Post by spaarks »

oops, there is a button "APPLY". It has to be pressed!
Sorry folks!
cday
XnThusiast
Posts: 3938
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Edit > Add text result not saved

Post by cday »

spaarks wrote: Sat Dec 03, 2022 3:40 pm oops, there is a button "APPLY". It has to be pressed!
Thinking about your posts, I had been wondering if something like that could be the explanation! :wink:

I did find the present interface at least slightly confusing.
aqk
Posts: 1
Joined: Tue May 23, 2023 11:44 pm
Location: Log cabin in Elgin,Quebec

Re: Edit > Add text result not saved

Post by aqk »

OK... So where is this mysterious button "Apply" which must be "pressed"? I cannot find it anywhere in the "TEXT' list of tools. Or any other Tool bar. Alas,I only see these two tool bars and almost ALL menu items have been mysteriously greyed out/deactivated.

Sorry, I'm used to Irfanview, (having used it it for 15+ years) but have now started using my summer laptop: An old Lenovo Thinkpad, refreshed with Ubuntu 22.10 and the ZFS file system, so it's kinda hard to add Win-11 to it.
I just installed XbView** here today, so presumably there is a learning curve....
Seems quite similar to Irfanview, but there do appear to be noticeable (arcane in my opinion) differences.

** XnView MP Linux
------ version 1.4.5 64bits (May 10 2023), Libformat version 7.143
:)
cday
XnThusiast
Posts: 3938
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Edit > Add text result not saved

Post by cday »

aqk wrote: Wed May 24, 2023 12:04 am OK... So where is this mysterious button "Apply" which must be "pressed"? I cannot find it anywhere in the "TEXT' list of tools. Or any other Tool bar. Alas,I only see these two tool bars and almost ALL menu items have been mysteriously greyed out/deactivated.
That refers to the Edit > Add text... menu option, which opens a narrow toolbar below the standard toolbar, which includes an Apply button...

The menu option was present in XnView Classic, and I believe that I requested that it be added to XnView MP in addition to the Image > Draw... function which also includes a way to add text to an image. However, I am not sure about the different interface from that in Classic, which I can't easily view as I am normally also in Linux.