Comments (12)
Sure, send it over and I'll create a py3 branch with it.
ianare AT gmail DOT com
from exif-py.
On 12/19/2012 4:18 PM, ianaré sévi wrote:
Sure, send it over and I'll create a py3 branch with it.
I think I tossed a version number at the top, but you might have your
own technique.
The stuff after main, and the import of pprint can probably be removed,
I just used pprint for debugging, I think.
New features are the py3 functionality... once you see the differences,
you may choose to encapsulate them in a way that would not require a
branch. I'd be glad to help test anything if, for some reason, you don't
have py3 available.
Also, I added GPS support, and if win32 extensions are available, it
tosses its GPS output on the clipboard. Handy but if you strip it out,
I'll move that code into a different utility program that imports
EXIF.py so I can track your updates over time.
This was a "Quick, get the job done" port, but the pressure is off now.
Glenn
from exif-py.
Can you send the file as an attachment? The whitespace got all corrupted.
from exif-py.
I think I tossed a version number at the top, but you might have your
own technique.I don't really have a technique, I just put it the header.
The stuff after main, and the import of pprint can probably be removed,
I just used pprint for debugging, I think.OK
New features are the py3 functionality... once you see the differences,
you may choose to encapsulate them in a way that would not require a
branch. I'd be glad to help test anything if, for some reason, you don't
have py3 available.This would be good, but the first step is having a branch to allow
merging any improvements made to the py2 version.Also, I added GPS support, and if win32 extensions are available, it
tosses its GPS output on the clipboard. Handy but if you strip it out,
I'll move that code into a different utility program that imports
EXIF.py so I can track your updates over time.There can't be any platform specific code.
This was a "Quick, get the job done" port, but the pressure is off now.
Thanks for the contribution. You should consider forking the repo for
any future work as it would make things much easier.
- ianaré sévi
from exif-py.
On 12/19/2012 4:31 PM, ianaré sévi wrote:
Can you send the file as an attachment? The whitespace got all corrupted.
—
Reply to this email directly or view it on GitHub
#7 (comment).
I did... but maybe your mail client also displayed it inline, and
corrupted it on the display?
Or do I have different editor settings, and it is a tab versus space
issue? If so, what tab settings do you use?
from exif-py.
I did... but maybe your mail client also displayed it inline, and
corrupted it on the display?
Or do I have different editor settings, and it is a tab versus space
issue? If so, what tab settings do you use?
Not an editor setting, looks like a problem with email. Just send me an
email directly without going through github.
- ianaré sévi
from exif-py.
On 12/19/2012 4:42 PM, ianaré sévi wrote:
I did... but maybe your mail client also displayed it inline, and
corrupted it on the display?
Or do I have different editor settings, and it is a tab versus space
issue? If so, what tab settings do you use?Not an editor setting, looks like a problem with email. Just send me an
email directly without going through github.
- ianaré sévi
—
Reply to this email directly or view it on GitHub
#7 (comment).
And your email address? Github is hidnig it from me.
from exif-py.
ianare AT gmail DOT com
- ianaré sévi
2012/12/20 v-python [email protected]
On 12/19/2012 4:42 PM, ianaré sévi wrote:
I did... but maybe your mail client also displayed it inline, and
corrupted it on the display?
Or do I have different editor settings, and it is a tab versus space
issue? If so, what tab settings do you use?Not an editor setting, looks like a problem with email. Just send me an
email directly without going through github.
- ianaré sévi
—
Reply to this email directly or view it on GitHub
#7 (comment).And your email address? Github is hidnig it from me.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-11555844.
from exif-py.
On 12/19/2012 4:38 PM, ianaré sévi wrote:
I think I tossed a version number at the top, but you might have your
own technique.I don't really have a technique, I just put it the header.
The stuff after main, and the import of pprint can probably be removed,
I just used pprint for debugging, I think.OK
New features are the py3 functionality... once you see the differences,
you may choose to encapsulate them in a way that would not require a
branch. I'd be glad to help test anything if, for some reason, you
don't
have py3 available.This would be good, but the first step is having a branch to allow
merging any improvements made to the py2 version.Also, I added GPS support, and if win32 extensions are available, it
tosses its GPS output on the clipboard. Handy but if you strip it out,
I'll move that code into a different utility program that imports
EXIF.py so I can track your updates over time.There can't be any platform specific code.
It's in a try block, so it doesn't happen if it isn't there, regardless
of platform. But no problem if you strip that out, regardless.
This was a "Quick, get the job done" port, but the pressure is off now.
Thanks for the contribution. You should consider forking the repo for
any future work as it would make things much easier.
Yeah, I've used source control, and it works great in companies, or for
cooperative projects. But there are too many different ones for me to
learn them all, and to want to reinstall them all when I switch
computers, or for a one-time contribution. It already takes a week to
install software on a new computer...
Happily, I was able to find the link on github to download the source
file without installing git client.
- ianaré sévi
—
Reply to this email directly or view it on GitHub
#7 (comment).
from exif-py.
OK got the file, it looks like you modified an older version, there was a recent addition of several bug fixes and extra debugging info which your version is missing.
from exif-py.
On 12/19/2012 6:01 PM, ianaré sévi wrote:
OK got the file, it looks like you modified an older version, there
was a recent addition of several bug fixes and extra debugging info
which your version is missing.
I had downloaded it in November... when the issue first came up, but
other projects intervened. Then the day came when it was needed yesterday :)
Four basic changes:
single byte slices changed from [ 4 ] to [ 4:5 ] so they stay bytes
instead of turning into ints, for comparisons.
Exception syntax
'\xff' => '\xff'
print syntax
Glenn
from exif-py.
With so small changes it should be very well possible to support both py3 and py2 in one codebase without any ugliness, as far as I can see :-)
from exif-py.
Related Issues (20)
- EXIF from this HEIF cannot be read
- EXIF UserComment tag is not being read HOT 1
- Modify exif data HOT 1
- HEIC parser reaches EOF inside `get32()` call HOT 1
- struct.error: unpack requires a buffer of 8 bytes HOT 3
- Assertion error when reading from HEIC file rotated by the Windows Photos app
- Unexpected/unhandled segment type or file content: possibly incomplete read of data
- IdfTag.__str__() returns a list
- Any Documentation for exifread?
- KeyError: hdlr HOT 5
- infinite loop for one rare image HOT 1
- can't read EXIF 0220 or EXIF 0221 version GPS information
- Many useless warnings HOT 2
- str/bytes problems
- exifread return incorrect value HOT 1
- Error: int too big to convert
- Corrupted image causes huge resource consumption HOT 1
- exifread.heic.NoParser: hdlr HOT 1
- KeyError 'E' in process_file HOT 1
- exifread returns empty dict
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exif-py.