Login Register




The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


[HC Official] EXIFRemover (CLI) filter_list
Author
Message
[HC Official] EXIFRemover (CLI) #1
Hello HC,

this is a command line program that I wrote for removing EXIF data from images. EXIF data is saved into your pictures by your digital camera, but also image editing software. With the EXIFRemover you can prepare images before publishing them, so they won't contain any information you don't want to publish.
Make sure that you don't end up like this guy, who was found by GPS data in an image he posted: http://gizmodo.com/5901430/these-breasts...n-fbi-case

[Image: dm4evebs.png]

show-exif example: java -jar exifremover -s B:\Sonstiges\test.jpg

Spoiler:
Quote:Exif metadata:
Root:
Image Description: 'JENOPTIK DIGITAL CAMERA'
Make: 'JENOPTIK OPTICAL CO,LTD'
Model: 'JD5200Z'
Orientation: 1
XResolution: 72
YResolution: 72
Resolution Unit: 2
Software: 'VJ305060'
Modify Date: '2006:08:16 11:56:11'
YCbCr Positioning: 2
Exif Offset: 254

Exif:
ISO: 100
Exif Version: 48, 50, 49, 48
Date Time Original: '2006:08:16 11:56:11'
Create Date: '2006:08:16 11:56:14'
Components Configuration: 1, 2, 3, 0
Compressed Bits Per Pixel: 1100/9830 (0,112)
Shutter Speed Value: 101/15 (6,733)
Aperture Value: 35055/10000 (3,506)
Exposure Compensation: 7/10 (0,7)
Subject Distance: Invalid rational (0/0)
Metering Mode: 2
Flash: 1
Focal Length: 21860/1000 (21,86)
Maker Note: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 50... (264)
Flashpix Version: 48, 49, 48, 48
Color Space: 1
Exif Image Width: 2560
Exif Image Length: 1920
Interop Offset: 840

Interoperability:
Interop Index: 'R98'
Interop Version: 48, 49, 48, 48

Sub: (jpegImageData)
Compression: 6
XResolution: 72
YResolution: 72
Resolution Unit: 2
Jpg From Raw Start: 964
Jpg From Raw Length: 12117

Photoshop (IPTC) metadata:
Keywords: SampleKeyword



delete-exif example for a single file: java -jar exifremover -d B:\Sonstiges\test.jpg -dest B:\Sonstiges\temp.jpg

Spoiler:
Quote:All EXIF data successfully removed from B:\Sonstiges\test.jpg
Result saved in B:\Sonstiges\temp.jpg



delete-exif example for all files in a given folder: java -jar exifremover -d B:\Sonstiges\
All files are saved into a temp folder within the given folder, unless you define a destination folder with -dest.

Spoiler:
Quote:created file B:\Sonstiges\temp\100_1788.JPG
created file B:\Sonstiges\temp\100_1789.JPG
created file B:\Sonstiges\temp\100_1790.JPG
created file B:\Sonstiges\temp\100_1791.JPG
created file B:\Sonstiges\temp\100_1792.JPG
created file B:\Sonstiges\temp\100_1793.JPG
created file B:\Sonstiges\temp\100_1796.JPG
created file B:\Sonstiges\temp\100_1797.JPG
created file B:\Sonstiges\temp\100_1799.JPG
created file B:\Sonstiges\temp\100_1800.JPG
created file B:\Sonstiges\temp\100_1801.JPG
created file B:\Sonstiges\temp\100_1802.JPG
created file B:\Sonstiges\temp\100_1939.JPG
Unable to remove EXIF data from B:\Sonstiges\Thumbs.db



Download program: [attachment=89]
Download source: [attachment=90]

If you encounter any bugs or problems, please tell me.

Deque
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: [Java] EXIFRemover #2
Make this the official tool man Biggrin I am thinking of making Java my next priority..
Btw Great work as always
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: [Java] EXIFRemover #3
Really nice program. I would like to talk with you about how you went around creating this.

Reply

RE: [Java] EXIFRemover #4
(03-02-2013, 10:43 PM)Anima Templi Wrote: Really nice program. I would like to talk with you about how you went around creating this.

I would also like to see how you went about creating this, or maybe a bit of source code?

I wouldn't mind putting my python skills to the test by recreating this in python.
[Image: HJIAwEw.png]

Reply

RE: [Java] EXIFRemover #5
Thanks for your feedback.
I always add a link for the source. In this case a download for a program & source bundle. Look at the end of the first post.

I used the apache sanselan library: https://commons.apache.org/proper/commons-imaging//

A brief library description:

Quote:This Pure-Java library reads and writes a variety of image formats, including fast parsing of image info (size, color space, icc profile, etc.) and metadata.

This library is pure Java. It's slow, consequently, but perfectly portable. It's easier to use than ImageIO/JAI/Toolkit (Sun/Java's image support), supports more formats (and supports them more correctly). It also provides easy access to metadata.

Quote:Make this the official tool man

Mh, I thought it is a bit too easy for official. It has only 234 lines of code. But alright. Maybe I add an ASCII art HC title to it today and move it to public.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: [Java] EXIFRemover #6
(03-02-2013, 11:47 PM)LoneDevil Wrote:
(03-02-2013, 10:43 PM)Anima Templi Wrote: Really nice program. I would like to talk with you about how you went around creating this.

I would also like to see how you went about creating this, or maybe a bit of source code?

I wouldn't mind putting my python skills to the test by recreating this in python.

Funny this was exactly what I was thinking of doing Biggrin

(03-03-2013, 06:38 AM)Deque Wrote: Thanks for your feedback.
I always add a link for the source. In this case a download for a program & source bundle. Look at the end of the first post.

I used the apache sanselan library: https://commons.apache.org/proper/commons-imaging//

A brief library description:

Quote:This Pure-Java library reads and writes a variety of image formats, including fast parsing of image info (size, color space, icc profile, etc.) and metadata.

This library is pure Java. It's slow, consequently, but perfectly portable. It's easier to use than ImageIO/JAI/Toolkit (Sun/Java's image support), supports more formats (and supports them more correctly). It also provides easy access to metadata.

Quote:Make this the official tool man

Mh, I thought it is a bit too easy for official. It has only 234 lines of code. But alright. Maybe I add an ASCII art HC title to it today and move it to public.

I will see if I can find anything similar in Python and see if I can make something similar.

Reply

RE: [HC-Official] EXIFRemover (CLI) #7
Alright. I added a title as you can see in the screenshot, and made it HC-Official.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: [HC Official] EXIFRemover (CLI) #8
nice thanks dude!

Reply

RE: [HC Official] EXIFRemover (CLI) #9
Nice tool. thanks=)
I usually use exiftool to remove data. maybe will be useful to other users:
Code:
exiftool -all= *.jpg

Reply

RE: [HC Official] EXIFRemover (CLI) #10
Nice tool,I use windows to delete data

Right click on picture
select propertis
Details tab
At the bottom of the Details tab, click the "Remove Properties and Personal Information"
on the Remove Properties you can remove data.
(This post was last modified: 09-01-2013, 05:38 PM by S@T@N!C.)

Reply