Advertisement
Willcode4cash

One-liner to strip metadata from an image

Jun 26th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.10 KB | None | 0 0
  1. ((System.Drawing.Bitmap)System.Drawing.Image.FromFile(@"C:\file.png").Clone()).Save(@"C:\file-nometa.png");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement