Page 1 of 1

Where are "categories" written?

Posted: Sun Jun 18, 2017 3:59 pm
by alobo
I'm a new user exploring the cataloguing capabilities of xnviewmp.
I've just clicked on category "friends" for a given image and
checked that I can filter using this category.
Nevertheless, I visualize the XMP window and do not see the category anywhere.
Where is this information being actually written? It is important in terms of
compatibility

Also, I've seen there is an option "update or create XMP sidecar" in Settings/Metadata
If this option is selected, would the "category" information be saved to the sidecar file only
or would it be written to the jpg or or tif file as well? I would prefer saving the information
into both files (unless you think this could cause problems).

Thanks
Agus

Re: Where are "categories" written?

Posted: Mon Jun 19, 2017 11:04 am
by xnview
alobo wrote:I'm a new user exploring the cataloguing capabilities of xnviewmp.
I've just clicked on category "friends" for a given image and
checked that I can filter using this category.
Nevertheless, I visualize the XMP window and do not see the category anywhere.
Where is this information being actually written? It is important in terms of
compatibility

Depeding on settings>Metadata. By default categories are written in the catalog of XnView, but you can write them in the file itself or sidecar

Also, I've seen there is an option "update or create XMP sidecar" in Settings/Metadata
If this option is selected, would the "category" information be saved to the sidecar file only
or would it be written to the jpg or or tif file as well? I would prefer saving the information
into both files (unless you think this could cause problems).

it will be saved in the sidecar

Re: Where are "categories" written?

Posted: Tue Jun 20, 2017 6:36 pm
by alobo
This is how I have my settings
[Image
(https://drive.google.com/open?id=0B_LsZ ... 1I3M3hqWnc)
(everything selected except the sidecar)

but still do not see the info in the XMP
Image
(https://drive.google.com/open?id=0B_LsZ ... mxZdC1WaU0)
where is the xnview DB file? which type of db is it?

Thanks

Re: Where are "categories" written?

Posted: Wed Jun 21, 2017 11:34 am
by xnview
alobo wrote:This is how I have my settings

And when you add a category on jpeg file, no XMP categories??

where is the xnview DB file? which type of db is it?

In Settings>Integration>Paths, you have 'open catalog location'

Re: Where are "categories" written?

Posted: Wed Jun 21, 2017 7:28 pm
by alobo
I might have a misunderstanding here:

And when you add a category on jpeg file, no XMP categories??


I thought that just by selecting a given "Category", i.e., "Friends", the comment was automatically added.
Do I have to select and then "add"? In that case, how do I "add" the comment?
(there is no user manual or tutorial, is it?)

Regarding the db
In Settings>Integration>Paths, you have 'open catalog location'


what kind of db is it? does it use open source software (i.e., mysql or PostgreSQL) ?
Thanks

Re: Where are "categories" written?

Posted: Thu Jun 22, 2017 11:51 am
by xnview
alobo wrote:I thought that just by selecting a given "Category", i.e., "Friends", the comment was automatically added.
Do I have to select and then "add"? In that case, how do I "add" the comment?

If you select a category, it will be added in XMP metadata

what kind of db is it? does it use open source software (i.e., mysql or PostgreSQL) ?

SQLite

Re: Where are "categories" written?

Posted: Thu Jun 22, 2017 3:06 pm
by alobo
If you select a category, it will be added in XMP metadata


I do not understand. Then, why don't I see it in the XMP? "Friends" is selected but not present in the XMP
https://drive.google.com/file/d/0B_LsZU ... 1WaU0/view

Re: Where are "categories" written?

Posted: Fri Jun 23, 2017 6:50 am
by xnview
alobo wrote:I do not understand. Then, why don't I see it in the XMP? "Friends" is selected but not present in the XMP
https://drive.google.com/file/d/0B_LsZU ... 1WaU0/view

how do add a category? Via category panel? on jpeg file, right?

Re: Where are "categories" written?

Posted: Sat Jun 24, 2017 11:18 am
by alobo
did not understand your questions but anyway it works now:
https://drive.google.com/open?id=0B_LsZ ... Ek5eTloQzA

Problem solved then