testing the resiliency of the comments property of a .JPG file

here’s an interesting chart:

caption edited after uploading and publishing

I have added a small “comment” to this file in the Properties -> Details -> Comment field.

[expand]BUG!! note how WordPress tries to use this metadata as the image’s “Caption”; the bug is it displays the comment text as a string of “????”, the length of which is exactly the number of characters in the comment; this is mildly annoying for short commants, but really messes with thisng when it’s hundreds much longer (.jpg commentsd field is limited to 64K chars per comment block, but can support multiple comment blocks; which I think is an interesting hack…. what If I wrote a trillion chras to a comment field on a disk without a trillion buytes availa?


[/expand]

to test if the .jpg comment property is resilient across file systemns, try downloading the above image and see if the comments qare in the fdownloaded file.
happily, when download to my computer, the comment property is preserved.

but what if I edit the caption?
happily, editing the caption does not affect the comments property

still to test: to someone else’s file system; to a mac file system; to a *nix file system.

Leave a Reply