Comments (15)
I believe that they want it documented, even though it only affects a few tags.
@MasterInQuestion, this only affects some tags which are usually not usable by people, only the programs that write them. The Pantry video tags or the DocumentHistory tags, for example. These tags can hold an extreme amount of data.
This won't affect the more commonly used tags, such as Description
. For example, I wrote to the Description
a 7,000 character string and exiftool doesn't truncate it.
The use case for this option was very specific. As per the forum post you linked, it was for EXIF tag ID 0x9999, which exiftool doesn't even display by default.
from exiftool.
"..." longer than 4..?
[...]
is 5 characters. So yes, 4 or less.
Though technically, it can be 3 by using the actual ellipsis character
[…]
though that might someone's script that checks for the 5 character version.
from exiftool.
I don't understand your concern. There should be no backward compatibility issues.
- Phil
from exiftool.
The documentation about which is unclear and somewhat misleading.
(the limit was originally hard-coded and exists only for some tags?)
from exiftool.
Correct.
from exiftool.
Probably linking to this post in the documentation would be the easiest fix...
from exiftool.
I don't understand this issue.
from exiftool.
They want "it" documented? What is "it"? Sorry for being dense here.
The fact that it was originally hardcoded? (I don't see this as being relevant for future versions going forward, unless you meant to document it in the release notes.) Which tags are affected? (I don't see this as being useful, plus a long list like this would clutter the documentation and be a headache to maintain in the future, although maybe it would assuage some fears if I mentioned that they are mostly Unknown tags.)
- Phil
from exiftool.
Probably something along those lines, and I agree with you on the usefulness. It also seems to me that there is a Google translation problem here.
from exiftool.
Thanks for the explaining.
“API Changes: Added "LimitLongValues" option”
[[
[ "LimitLongValues"
When extracting some values that may be very long, the PrintConv values are length-limited and the value is truncated with an elipsis ("[...]") if it exceeds a specified length.
This option specifies the length limit for these tags.
A setting of 4 or less disables the limit (because the elipsis string is longer than this). ]
]]
Misleading as it does not affect tags generally.
This may give people a hunch that the change may break things: if they haven't investigated thoroughly.
Also, "elipsis" is not preferred form in English: "ellipsis".
Suggested change:
[[
[ "LimitLongValues"
For certain very specific tags, their value are atypical thus default length-limited and truncated with "[...]" during extraction.
This option specifies the length limit for these tags.
Setting 4 or less disables the limit. (for "[...]" is longer than which)
For more details: https://github.com/exiftool/exiftool/issues/240 ]
]]
from exiftool.
Thanks for explaining. I'm happy with this:
When extracting values for some specific tags (usually Unknown tags), the
PrintConv values are length-limited and the value is truncated with an
ellipsis ("[...]") if it exceeds a specified length. This option specifies
the length limit for these tags. A setting of 4 or less disables the limit
(because the ellipsis string is longer than this). Default is 60.
@Stargeek: We have enough troubles with special characters in the output :P
- Phil
from exiftool.
For embedding in HTML, you may refer to this post:
https://github.com/madler/zlib/issues/910
One-liner is difficult to read: I typically parse which with some implementation like [ https://util.unicode.org/UnicodeJsps/breaks.jsp?D1=Sentence&a=${Text} ].
Finding where each sentence starts is painful... (without syntax highlighting)
See also:
ASCII punctuation preference
https://github.com/MasterInQuestion/talk/discussions/5
from exiftool.
I'm going to pretend I didn't see that. :)
from exiftool.
Of course, at will. :)
But I noticed significant amount of problems are caused by such alike.
from exiftool.
I've attempted to make the documentation and release notes more clear about this.
from exiftool.
Related Issues (20)
- exiftool manpage not complete HOT 5
- Highlight & Shadow Tone for Fujifilm HOT 3
- Add VideoFullRangeFlag to QuickTime parser HOT 4
- PentaxModelID 0x132d6 HOT 7
- Insta360 - IMU data mixed up. HOT 3
- exiftool crashes when writing an image's makernotes to itself HOT 4
- New Panasonic Leica MakerNotes format HOT 2
- Can't copy metadata to JXL files HOT 2
- Editing Pantry structures HOT 5
- Canon ColorData5: for ColorDataVersion=-3, SpecularWhiteLevel is most likely at `662` HOT 5
- Canon ColorData4: for ColorDataVersion=3, SpecularWhiteLevel is most likely at `617` HOT 9
- Error: [minor] Different 'rdf:about' attributes not handled HOT 2
- Problems with UTF-8 comment in PNG images HOT 4
- Exiftool adds non-mandatory YCbCrPositioning tag HOT 8
- Move code to GitLab or Codeberg HOT 3
- Error When Copying Metadata to JXL HOT 2
- Possible FujiFilm RAF tag decoding HOT 2
- Artistic License Version HOT 1
- Error accessing MIE files in version 12.74 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exiftool.