|
Replies:
27
-
Pages:
2
[
1
2
| Next
]
-
Last Post:
12 Jun 20, 12:59
Last Post By: RobM
|
|
|
Posts:
750
Registered:
13-Apr-2006
|
|
|
Aera tags not working with PNG-files
Posted:
8 Jun 20, 20:12
|
|
|
Hi,
- Take a PNG-picutre;
- "Set aera tags";
- Define an aera and close the dialog;
- Open "Set aera tags" again. The area is still there;
- Close the album;
- Reopen the album;
- Navigate to your PNG-picture;
- "Set aera tags";
- The aera is gone;
Using jAlbum 20.2
|
|
|
Posts:
4,156
Registered:
4-Aug-2006
|
|
|
Re: Aera tags not working with PNG-files
Posted:
8 Jun 20, 21:49
in response to: MarkusD
|
|
|
Has this ever worked with PNGs?
If you look at the Metadata, after setting an area tag, you will not find the XMP data, like xmp.mwg-rs:Regions/mwg-rs:AppliedToDimensions/stDim:h=720
xmp.mwg-rs:Regions/mwg-rs:AppliedToDimensions/stDim:unit=pixel
xmp.mwg-rs:Regions/mwg-rs:AppliedToDimensions/stDim:w=491
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:h=0.277778
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:unit=normalized
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:w=0.407332
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:x=0.370289
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:y=0.277778
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Description=David
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Name=David
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Type=Face
|
|
|
Posts:
750
Registered:
13-Apr-2006
|
|
|
Re: Aera tags not working with PNG-files
Posted:
8 Jun 20, 22:01
in response to: RobM
|
|
|
Has this ever worked with PNGs?
I've no idea.
If you look at the Metadata, after setting an area tag, you will not find the XMP data, like xmp.mwg-rs:Regions/mwg-rs:AppliedToDimensions/stDim:h=720
xmp.mwg-rs:Regions/mwg-rs:AppliedToDimensions/stDim:unit=pixel
xmp.mwg-rs:Regions/mwg-rs:AppliedToDimensions/stDim:w=491
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:h=0.277778
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:unit=normalized
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:w=0.407332
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:x=0.370289
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:y=0.277778
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Description=David
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Name=David
xmp.mwg-rs:Regions/mwg-rs:RegionList[1]/mwg-rs:Type=Face
I wasn't aware of that the region data is stored in the picture. I thought it is stored in the .info file.
So, my proposal is, that the function "Set aera tags" should not be available for objects who can't handle them. Thanks.
|
|
|
Posts:
4,156
Registered:
4-Aug-2006
|
|
|
Re: Aera tags not working with PNG-files
Posted:
8 Jun 20, 22:36
in response to: MarkusD
|
 |
Helpful |
|
|
I've updated the wiki for Set area tags to show it only works with JPEG images.
|
|
|
Posts:
750
Registered:
13-Apr-2006
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 20:00
in response to: RobM
|
|
|
Thanks!
The deluxe solution would be to disable the menu if a non-JPEG images is active. So no one even can go in the wrong direction. Thanks, Markus
|
|
|
Posts:
4,156
Registered:
4-Aug-2006
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 20:54
in response to: MarkusD
|
|
|
Thanks!
The deluxe solution would be to disable the menu if a non-JPEG images is active. So no one even can go in the wrong direction. Thanks, Markus
As far as I can tell, there seems no reason why PNGs can’t have region data written to and read. So the deluxe solution would be to support PNGs, and if the jAlbum libraries can’t, then to disable the option.
|
|
|
Posts:
4,312
Registered:
18-Oct-2002
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 21:40
in response to: MarkusD
|
|
|
|
I think the deluxe solution would be to embed xmp metadata in more file types than just JPEG files. I've experimentally switched the commons imaging library to "PixyMeta" which supports embedding xmp metadata in the following file types: JPEG, GIF, PNG, and TIFF
To try this out, use jAlbum 20.2, then replace lib/jalbum-core.jar with this one: http://jalbum.net/download/beta/jalbum-core.jar
Finally, put the attached file inside jAlbum's lib folder. Now restart jAlbum and try adding area tags to any of these file types: JPEG, GIF, PNG, and TIFF
|
|
|
Posts:
4,156
Registered:
4-Aug-2006
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 21:46
in response to: davidekholm
|
|
|
|
|
Posts:
4,312
Registered:
18-Oct-2002
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 22:14
in response to: RobM
|
|
|
Also RAW files?
Not according to the pixymeta readme , but you can always request it from the pixymeta developer 
|
|
|
Posts:
4,156
Registered:
4-Aug-2006
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 22:18
in response to: davidekholm
|
|
|
Also RAW files?
Not according to the pixymeta readme , but you can always request it from the pixymeta developer 
I wasn’t considering using it on RAW files myself, just wanted to be sure for updating the wiki.
|
|
|
Posts:
4,156
Registered:
4-Aug-2006
|
|
|
Posts:
4,312
Registered:
18-Oct-2002
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 22:30
in response to: RobM
|
|
|
We have support for mp4 camera dates in metadata-extractor 2.13 already it seems.
|
|
|
Posts:
4,156
Registered:
4-Aug-2006
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 22:31
in response to: davidekholm
|
|
|
We have support for mp4 camera dates in metadata-extractor 2.13 already it seems.
Not dates, GPS.
|
|
|
Posts:
4,312
Registered:
18-Oct-2002
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 22:45
in response to: RobM
|
|
|
|
Ah, do you have a sample mp4 with geotagging added? What if you simply put v2.14 (attached) in place of v2.13?
|
|
|
Posts:
4,156
Registered:
4-Aug-2006
|
|
|
Re: Aera tags not working with PNG-files
Posted:
9 Jun 20, 22:49
in response to: davidekholm
|
|
|
Going off line now, if I get time later I’ll try it out, otherwise tomorrow.
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|