Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Exif Data Scraped from Filename #22

Merged
merged 10 commits into from
Jun 10, 2015
Merged

Exif Data Scraped from Filename #22

merged 10 commits into from
Jun 10, 2015

Conversation

jbraiuka
Copy link
Contributor

Able to scrape the date from the filename and write this to the Exif Data of the Image.
Also changed from using ExifRead to pexif (Which has read and write capabilities)

@@ -1,6 +1,6 @@
from __future__ import print_function
from csv import reader, DictReader
import exifread as er
# import exifread as er
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just delete the entire line

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.95%) to 82.23% when pulling a9c903f on Jordan_Branch into 30dac5c on master.

@jbraiuka
Copy link
Contributor Author

jbraiuka commented Jun 3, 2015

@kdmurray91 Should be good to go!

@@ -236,24 +249,109 @@ def __call__(self, x):
return None


def resize_img(filename, to_width):
# Open the Image and get its width
if(SKIMAGE):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd do

if not SKIMAGE:
     warnings.warn('blah')
     return
rest
of
the
code

@jbraiuka
Copy link
Contributor Author

@kdmurray91 Made all changes, ready for pull

try:
from skimage.transform import rescale
from skimage import novice
import skimage.io as io
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be keener to do import skimage and use skimage.io.whatever, as there's a stdlib io module.

likewise with novice and rescale above

@kdm9
Copy link
Member

kdm9 commented Jun 10, 2015

@jbraiuka looks great, few more minor comments. Mostly pedantry. Ping me once those are done and I'll merge.

@jbraiuka
Copy link
Contributor Author

@kdmurray91 Done.

@kdm9
Copy link
Member

kdm9 commented Jun 10, 2015

Perfect. One last change, but I'll fix when I merge on the command line

@kdm9 kdm9 merged commit 08f359c into master Jun 10, 2015
kdm9 added a commit that referenced this pull request Jun 10, 2015
@kdm9
Copy link
Member

kdm9 commented Jun 10, 2015

@jbraiuka all done, nice work man. I'll make a new release and upload to PyPI now.

@kdm9 kdm9 deleted the Jordan_Branch branch June 10, 2015 05:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants