New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't figure out how to add info to BYTE type fields #25
Comments
Which value do you want to add?
bytes -> [102, 111, 111] |
@hMatoba The example you provided doesn't output foo but outputs a chinese character :( I use this to check: http://metapicz.com/#landing ( + also I do windows -> properties -> details tab to check ). Any advice ? The Code looks like: |
It need to encode and decode as UCS2. Read the specification. |
@klaussa finding the answer not straightforward, but this was my solution (using Node.js v12 and the new spread syntax): exif[piexifjs.ImageIFD.XPTitle]: [...Buffer.from('Your XPTitle', 'ucs2')] For more information, see: |
its saying uncaught pack error, when i used [...Buffer.from('Your XPTitle', 'ucs2')] using vue 3 js |
In my case this issue happened due to big number in |
Hi,
I have been trying to figure out the way to convert a string for XPSubject into the required format.
Can anyone please provide more guidance / examples on how the conversion between BYTE to javascrpt Int works ? ( i am considering to put text into subject )
thank you
The text was updated successfully, but these errors were encountered: