OpenStela

← Blog

Watermarks, metadata, hashes: what survives a re-upload?

Short answer: a visible watermark usually survives re-compression but not a crop. Embedded metadata (EXIF, IPTC, C2PA) is the easiest thing to lose, often on the first upload. And a cryptographic hash such as SHA-256 never "survives" anything, because it isn't supposed to. Change one byte of the file and you get a completely different fingerprint. That's the whole point of it.

So the question isn't really which one survives. It's which copy of your work you can still hand over when someone asks. If your record is keyed on a fingerprint, the copy that matters is the original you exported, not the one a platform re-encoded. Keep that original, register that original, and treat every re-upload as a new file.

What we tested, and what we didn't

We did not upload anything to Instagram, X, TikTok or YouTube for this post. Their pipelines aren't documented byte by byte and they change without notice, so a test run on one day says little about the next. Instead we ran the steps a typical upload pipeline performs, locally, on one synthetic 2048 x 2048 test image. No real person, no real artwork.

The image had three kinds of mark in it:

  • Metadata: an EXIF block with a creation date, an artist name and a copyright line.
  • A naive invisible watermark: a random bit pattern hidden in the lowest bit of the blue channel.
  • A visible watermark: a white tag with a handle in the bottom-right corner (tested on a separate copy).

Then we re-saved it 13 ways with Pillow 12.3 in Python and compared each result to the original on four measures: the SHA-256 of the file, a SHA-256 of the decoded pixels only, a 64-bit perceptual "difference hash", and whether the metadata and hidden bits were still there. The script and its full output are kept with this post's research notes.

What we did to the fileSame SHA-256?Same pixels?Perceptual distance (of 64)Hidden bitsEXIF date & copyright
Exact copyYesYes0IntactKept
Re-saved as PNG, metadata strippedNoYes0IntactGone
One EXIF field editedNoYes0IntactKept (edited)
PNG re-saved at a different compression levelNoYes0IntactKept
JPEG quality 92, EXIF keptNoNo0DestroyedKept
JPEG quality 85, no EXIFNoNo0DestroyedGone
Resized to 1080 px, JPEG 85NoNo0DestroyedGone
Resized to 1080 px, WebP 84NoNo1DestroyedGone
JPEG 85, downloaded and re-uploaded 4 timesNoNo0DestroyedGone
5% cropped off each edge, JPEG 85NoNo7DestroyedGone

"Destroyed" means the hidden bits matched the original pattern 50% of the time, which is exactly what a coin flip gives. We also wrote a two-second WAV tone twice, once with an artist tag in its INFO chunk and once without. The audio samples were identical. The file fingerprints were not.

Hashes: built to break

A cryptographic hash is a fingerprint of the exact bytes. It doesn't know what an image is. In our test, re-saving the same pixels as a PNG with a different compression setting changed the fingerprint, even though not a single pixel moved. Editing one character in the artist name did the same. So did adding a tag to the WAV file.

That sounds fragile, and for matching a re-upload it is. But it's also what makes a fingerprint useful as evidence: if a file matches a fingerprint recorded on a date, those exact bytes existed by then. Nobody can produce a different file that matches.

Two related tools behave differently, and it helps to know the difference:

  • A pixel hash (hashing the decoded image rather than the file) survived metadata stripping and lossless re-saves, but not a single JPEG save.
  • A perceptual hash survived everything we did, including resizing and four generations of JPEG. Only the crop moved it noticeably (7 of 64 bits). Perceptual hashes are how "find similar images" systems work. The trade-off is that they're fuzzy by design: they say two images look alike, not that one is a copy of the other.

OpenStela uses the first kind only. When you register a work, we compute the SHA-256 of the file you uploaded and store the file as uploaded, without re-encoding it. We don't run perceptual matching, and we don't compare your work's content with anyone else's. The record says these bytes existed by this date under this name. It doesn't decide whether a re-upload somewhere else is "the same work". That is a human judgement, and if it comes to a dispute, it's one for whoever hears the dispute.

Metadata: the first thing to go

Metadata is the most fragile of the three because it isn't part of the picture. It's a block of text next to the picture, and any program that re-encodes the image has to choose to copy it across. Many don't.

This isn't only our local test. The IPTC, the body behind the photo metadata standard most newsrooms use, tested 15 social sites in 2016 and reported in Many social media sites still remove image rights information from photos (19 January 2016) that captions, dates, copyright notices and creator names were removed by several of them. That's an old test and platforms have changed since, so read it as "this happens", not as a current scorecard.

The same goes for C2PA Content Credentials, which are also embedded in the file. The C2PA 2.2 explainer, asked whether provenance metadata can be removed, answers: "Yes it can." Its fix is "durable" credentials, which pair the embedded manifest with a watermark or fingerprint so it can be looked up again after stripping. We compared Content Credentials with a dated record in Do C2PA Content Credentials do the same job as a dated record?.

We do the stripping ourselves in one place, and it's worth being plain about it. Images attached to social posts on OpenStela are re-encoded to WebP, scaled to a 2,048 px long side, and lose their EXIF, because EXIF can carry a location. Registered works take a different path and are kept byte for byte. If you want your metadata kept, register the file. Don't rely on a post.

One legal note. In the US, 17 U.S.C. § 1202(b), on copyright.gov's copy of Title 17, Chapter 12 (checked 2026-11-19), restricts intentionally removing or altering "copyright management information", which includes the title, the author's name and the copyright owner's name, when done knowing (or, for civil remedies, having reasonable grounds to know) that it will induce, enable, facilitate or conceal an infringement. Taiwan's Copyright Act has a similar rule in Article 80-1, added in 2003 (current Act amended 15 June 2022), with exceptions that include removal technically necessary when a recording or transmission system converts the file. Whether a given stripping falls under either rule depends on facts we can't judge from here. This is general information, not legal advice.

Watermarks: visible holds, naive invisible breaks

The visible tag in our test came through resizing and JPEG compression intact. Its corner was still almost pure white (average brightness 254 of 255) at 1080 px. The problem with visible marks isn't compression. It's that anyone can crop them out or paint over them, and they sit on top of the work you're trying to show.

Our naive invisible watermark, the lowest-bit kind you'll find in tutorials, was gone after the first JPEG save. Even at quality 92 the bits matched the original at chance level. Any lossy step wipes out that kind of mark.

Robust invisible watermarks are a different design. Google DeepMind says on its SynthID page (checked 2026-11-19) that its image and video watermarks are "designed to stand up to modifications like cropping, adding filters, changing frame rates, or lossy compression." We haven't tested SynthID or any similar system, so we can't confirm it. Two limits apply regardless. You can't add those watermarks yourself; the generator adds them. And what they mark is that a tool made or touched the file. They don't carry who registered it or what that person contributed.

So: register the original

Every method above answers a different question. A watermark says "this came through me" to anyone looking. Metadata carries details until some program drops them. A fingerprint pins one exact file to a date and can be checked forever, as long as you keep that file. For a dated record, that last part is what you control. A simple routine:

  1. Export once and keep that file untouched. Don't open and re-save it, not even to rename layers or strip metadata. Rename the file, not its contents.
  2. Register that exact file before you post anywhere. OpenStela fingerprints the bytes you upload, and your authorship record (name, stated date, tools, your contribution) is frozen with it and goes into that night's anchoring batch.
  3. Post the platform versions wherever you like. Expect them to have different fingerprints. That's normal and doesn't weaken the record.
  4. If you make a deliberate new version, register it too and mark it as derived from the original, so the order of versions is on the record.
  5. Keep the original and the Proof Pack together. To check a file later, compute its SHA-256 (shasum -a 256 file.png on macOS or Linux, Get-FileHash file.png in Windows PowerShell) and paste it into the verify page.

If you register a link instead of a file, the fingerprint covers our snapshot of the page as fetched that day, not your original media. That's useful evidence of what was published, but it's no substitute for the original. Background on the other ways to date a file is in Five ways to prove a file existed on a date.

Registering works is free within 300 MB of storage per account (links take almost none). The only charge is on sales: 5%, minimum $15, paid by the seller when a deal reaches the transfer step. See pricing. A fingerprint on the record shows that a file existed by a date. It doesn't show who owns it.

← 部落格

浮水印、中繼資料、雜湊:重新上傳後哪個還在?

先講結論:看得見的浮水印,通常撐得過重壓縮,但撐不過裁切;嵌在檔案裡的中繼資料(EXIF、IPTC、C2PA 內容憑證)最容易不見,常常第一次上傳就被拿掉;至於 SHA-256 這類密碼學雜湊,它本來就不是設計來「撐過」任何處理的——檔案只要差一個位元組,指紋就整串不同。這正是它的用途。

所以真正該問的不是「哪個會留下來」,而是「有人問起時,你手上還拿得出哪一份檔案」。如果你的紀錄是用指紋對應的,算數的就是你當初匯出的那份原始檔,不是平台重新編碼過的那份。把原始檔留好、登記原始檔,然後把每一次重新上傳都當成一個新檔案看待。

我們測了什麼、沒測什麼

這篇沒有真的把檔案上傳到 Instagram、X、TikTok 或 YouTube。這些平台的處理流程沒有逐位元組公開,而且隨時會改,今天測到的結果,下個月不一定還成立。我們改成在本機,把一般上傳流程會做的幾個動作,套在一張 2048 × 2048 的合成測試圖上——不是真人、也不是任何人的作品。

這張圖裡放了三種標記:

  • 中繼資料:一段 EXIF,寫了建立日期、作者名稱與著作權聲明。
  • 陽春版隱形浮水印:在藍色通道最低位元藏一組隨機位元,網路教學最常見的那種。
  • 可見浮水印:右下角一塊白底、寫著帳號名稱的標籤(另存一份測)。

接著用 Python 的 Pillow 12.3 把它重存 13 種版本,每一份都跟原檔比四件事:整個檔案的 SHA-256、只算解碼後像素的 SHA-256、64 位元的感知雜湊(difference hash),以及中繼資料和隱藏位元還在不在。腳本與完整輸出都留在這篇的查證紀錄裡。

對檔案做了什麼SHA-256 相同?像素相同?感知雜湊差距(滿分 64)隱藏位元EXIF 日期與著作權
原封不動複製是是0完整保留
重存 PNG、拿掉中繼資料否是0完整消失
只改一個 EXIF 欄位否是0完整保留(已改)
PNG 換一個壓縮等級重存否是0完整保留
轉 JPEG 品質 92、保留 EXIF否否0被破壞保留
轉 JPEG 品質 85、不帶 EXIF否否0被破壞消失
縮到 1080 px、JPEG 85否否0被破壞消失
縮到 1080 px、WebP 84否否1被破壞消失
JPEG 85,下載再上傳共 4 代否否0被破壞消失
四邊各裁 5%、JPEG 85否否7被破壞消失

「被破壞」的意思是:隱藏位元跟原本的圖樣只有 50% 對得上,剛好就是丟銅板的機率,等於什麼都沒留下。另外我們也做了一段兩秒的 WAV 純音,一份在 INFO 區塊寫了作者名稱、一份沒寫:兩份的聲音取樣一模一樣,檔案指紋卻不同。做音樂的人在匯出時順手填了作者欄位,檔案就已經是另一個指紋了。

雜湊:設計上就是一碰就變

密碼學雜湊是「這串位元組」的指紋,它不知道什麼是圖片。在我們的測試裡,同一批像素只是換個 PNG 壓縮等級重存,一個像素都沒動,指紋就變了;作者名稱改一個字也一樣;WAV 多一個標籤也一樣。

拿來比對「重新上傳的那份」,這確實很脆弱。但也正因為如此,指紋才有證據價值:只要某個檔案對得上某天登記的指紋,就代表這串一模一樣的位元組在那天之前已經存在,沒有人能做出另一個內容不同、指紋卻相同的檔案。

另外兩種相近的工具,行為不一樣,值得分清楚:

  • 像素雜湊(算解碼後的影像,不算整個檔案):撐過了拿掉中繼資料、無損重存,但撐不過一次 JPEG。
  • 感知雜湊:我們做的每一種處理它都撐過了,包括縮圖和連續四代 JPEG,只有裁切讓它明顯移動(64 位裡差 7 位)。「以圖找圖」這類系統靠的就是它。代價是它天生模糊:它說的是「兩張圖看起來很像」,不是「這張是那張的複製品」。

OpenStela 只用第一種。你在 登記作品 時,我們算的是你上傳那個檔案的 SHA-256,檔案照原樣存下、不重新編碼。我們不做感知比對,也不拿你的作品跟別人的作品比內容。紀錄說的是「這串位元組在這一天以前、以這個名義存在」;別的地方重新上傳的那份算不算「同一件作品」,它不下判斷——那是人的判斷,真的走到爭議,也是由處理爭議的一方來判斷。

中繼資料:最先不見的那一個

中繼資料最脆弱,因為它不是畫面的一部分,而是附在畫面旁邊的一段文字。任何重新編碼圖片的程式,都得「主動選擇」把它抄過去,很多程式不會這樣做。

這不只是我們在本機看到的現象。制定新聞業最常用照片中繼資料標準的 IPTC,2016 年測過 15 個社群網站,在〈Many social media sites still remove image rights information from photos〉(2016 年 1 月 19 日)裡報告:有好幾個網站會把圖說、日期、著作權聲明與創作者名稱拿掉。這是舊測試,平台後來也改過,請把它讀成「這種事會發生」,不要當成現在的成績單。

C2PA 內容憑證也一樣是嵌在檔案裡的。C2PA 2.2 版說明文件在回答「來源中繼資料能不能被移除」時,直接寫:「Yes it can.」(可以。)它的對策是「耐久型」憑證:把嵌在檔案裡的清單,再配上浮水印或指紋,被拿掉之後還能從外部找回來。內容憑證跟日期紀錄的比較,我們寫在〈C2PA 內容憑證跟日期紀錄是同一件事嗎?〉。

OpenStela 自己也有一個地方會拿掉中繼資料,這點要講清楚:附在社群貼文裡的圖片,會被重新編碼成 WebP、長邊縮到 2,048 px、EXIF 全部去掉——因為 EXIF 可能帶著拍攝地點。登記的作品走的是另一條路,照原樣逐位元組保存。想讓中繼資料留著,就登記檔案,不要靠發文。

順帶一個法律上的提醒。美國方面,copyright.gov 刊載的美國著作權法第 12 章(2026-11-19 查證)第 1202 條(b),限制故意移除或變更「著作權管理資訊」(包括作品名稱、作者姓名、著作權人名稱),要件是行為人知道(民事救濟部分則是有合理理由知道)這麼做會引起、促成、便利或隱匿侵權。台灣著作權法第 80 條之 1(民國 92 年增訂;現行法最新修正公布日為民國 111 年 6 月 15 日)也規定,著作權人所為的權利管理電子資訊不得移除或變更,但例外包括「錄製或傳輸系統轉換時,其轉換技術上必要之移除或變更」。某一次的刪除到底落不落在這兩條裡,要看具體事實,我們在這裡沒辦法判斷。本文為一般資訊,不是個案法律意見。

浮水印:看得見的撐得住,陽春隱形的撐不住

測試裡那塊可見標籤,縮圖加 JPEG 壓縮之後完好如初,縮到 1080 px 時那一角幾乎還是純白(平均亮度 254,滿分 255)。可見浮水印的問題從來不是壓縮,而是誰都能把它裁掉或塗掉,而且它就壓在你想給人看的作品上。

網路教學最常見的「最低位元」隱形浮水印,第一次存 JPEG 就沒了;就算品質開到 92,隱藏位元也只剩跟亂猜一樣的吻合率。只要經過一次有損壓縮,這類標記就會被抹掉。

耐用的隱形浮水印是另一種設計。Google DeepMind 在 SynthID 介紹頁(2026-11-19 查證)上說,它的圖片與影片浮水印「designed to stand up to modifications like cropping, adding filters, changing frame rates, or lossy compression」(設計上能承受裁切、加濾鏡、改影格率或有損壓縮)。這部分依官方說明,我們沒有實測,無法替它確認。另外有兩個限制不論如何都成立:這類浮水印不是你自己能加的,是產生器加的;而它標記的是「某個工具做過或處理過這個檔案」,不會記載是誰登記的、那個人自己做了什麼。

所以:登記原始檔

上面每一種方法回答的問題都不同。浮水印對看到的人說「這是從我這裡出去的」;中繼資料攜帶細節,直到某個程式把它丟掉;指紋則把一份一模一樣的檔案釘在某個日期上,只要你留著那份檔案,隨時都能查。對一份日期紀錄來說,最後這一點是你自己掌握得住的。簡單的做法:

  1. 匯出一次,那份檔案就不要再動。 不要再打開重存,連整理圖層或清中繼資料都不要;要改名就改檔名,不要改內容。
  2. 在發到任何平台之前,先登記這份檔案。 OpenStela 會算你上傳的位元組指紋,你的著作紀錄(署名、自述日期、使用工具、你自己的貢獻)跟它一起凍結,當晚進上鏈批次。
  3. 平台版本想發哪裡就發哪裡。 預期它們的指紋會不同,這很正常,不會讓紀錄變弱。
  4. 如果你刻意做了新版本,也登記它,並標示它衍生自原始檔,版本的先後順序就會留在紀錄上。
  5. 原始檔跟 Proof Pack 放在一起。 之後要查,先算檔案的 SHA-256(macOS/Linux 用 shasum -a 256 檔名.png,Windows PowerShell 用 Get-FileHash 檔名.png),再貼到 查驗頁。

如果你登記的是連結而不是檔案,指紋算的是我們當天抓下來的頁面快照,不是你的原始素材。它可以證明當時公開了什麼,但取代不了原始檔。其他替檔案留日期的方法,整理在〈要證明檔案在某一天就存在,五種方法哪個好?〉。

登記作品免費,每個帳號有 300 MB 的作品空間(連結型作品幾乎不佔空間)。唯一的收費在成交時:5%、最低 $15,交易走到移轉那一步時由賣方付,詳見 價格。紀錄上的指紋,說明的是某個檔案在某天以前已經存在;它不說明這個檔案歸誰。

Questions常見問題

I posted my image on a social platform and downloaded it back. Why doesn't the fingerprint match?我把圖發到社群平台再下載回來,為什麼指紋對不上?

Because it's a different file. Most platforms re-encode uploads, resize them or strip metadata, and any of those changes the bytes. In our test, even re-saving identical pixels with a different PNG compression setting changed the SHA-256. Check the copy you registered, not the downloaded one.

因為那已經是另一個檔案了。多數平台會重新編碼、縮圖或拿掉中繼資料,任何一項都會改變位元組。我們的測試裡,連像素完全一樣、只換 PNG 壓縮等級重存,SHA-256 都變了。要查,請拿你登記的那一份,不是下載回來的那一份。

Should I strip metadata before I register a file?登記之前,要不要先把中繼資料清掉?

Not for the record's sake. The fingerprint covers whatever is in the file, metadata included, and stripping it means re-saving. If the file contains something private, like a GPS location from a phone photo, remove that first and then register the cleaned file as your original. Don't edit it again afterwards.

就紀錄本身而言不需要。指紋涵蓋檔案裡的所有內容,中繼資料也算在內;而清掉它就等於重存一次。如果檔案裡有不想公開的東西,例如手機照片帶的 GPS 位置,先清掉,再把清好的那份當作原始檔登記,之後就不要再動它。

Does OpenStela find copies of my work elsewhere?OpenStela 會幫我找出別處的盜用嗎?

No. We match exact fingerprints only. We don't use perceptual hashing, image search or watermark detection, and we don't compare works with each other. If you find a copy yourself, your record shows when your original existed. It doesn't decide whether the other file is a copy.

不會。我們只比對完全相同的指紋,不做感知雜湊、以圖找圖或浮水印偵測,也不拿作品互相比對。如果你自己發現了疑似複製的檔案,你的紀錄能說明你的原始檔在什麼時候已經存在;對方那份算不算複製,紀錄不下判斷。

Is a watermark still worth adding?浮水印還值得加嗎?

A visible one can be, for attribution while the image travels. It survived compression in our test but disappears with a crop. Use it alongside a registered original, not instead of one. A do-it-yourself invisible watermark isn't worth relying on: ours didn't survive a single JPEG save.

看得見的可以考慮,讓圖片在外流傳時帶著署名。它在我們的測試裡撐過了壓縮,但一裁就沒了。請把它當成登記原始檔之外的補充,不是替代。自己做的隱形浮水印不值得依賴:我們測的那種,連一次 JPEG 都撐不過。