Coder Social home page Coder Social logo

sorethumb's Introduction

╔════════════════════════ Hi there ════════════════════════╗ 🤓 Will McGugan            
 I'm a freelance software developer, living in Edinburgh,  ┣━━ 🐍 Python expert       
 Scotland. Other than open source software development,    ┣━━ Rich            
 my passion would be wildlife photography.                 ┣━━ PyFilesystem    
                                                           ┗━━ Lomond          
 Follow me on twitter @willmcgugan                         ┣━━ 🔧 Full-stack developer
╚══════════════════════════════════════════════════════════╝ ┗━━ 📘 Author              

sorethumb's People

Contributors

ghickman avatar willmcgugan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hercules261188

sorethumb's Issues

Sorethumb strips EXIF data

The filters are each passed an instance of a PIL Image, but that image is 
created with:

  Image.open(image_path).convert('RGB')

and the use of .convert() appears to strip the EXIF data from the object, 
removing the ._get_exif() method and leaving it in an apparently unusable state 
in .info.

What version of the product are you using? On what operating system?

I think I've got the latest, as I just ran `hg clone`

Please provide any additional information below.

I'd recommend removing the .convert() and instead attaching it to a each of the 
filters specifically.

Original issue reported on code.google.com by [email protected] on 1 May 2011 at 5:52

Can't easily install - no downloads available

What steps will reproduce the problem?

1. easy_install -U sorethumb


What is the expected output? What do you see instead?

Expect package to install. Instead:

(deleteme)joe@lazarou:~/deleteme$ easy_install -U sorethumb
Searching for sorethumb
Reading http://pypi.python.org/simple/sorethumb/
Reading http://code.google.com/p/sorethumb
Reading http://code.google.com/p/sorethumb/downloads/list
No local packages or download links found for sorethumb
error: Could not find suitable distribution for Requirement.parse('sorethumb')


What version of the product are you using? On what operating system?

Ubuntu Lucid


Please provide any additional information below.

Looks like a cool project, would be nice if I could install it some other way 
than via hg checkout. Cheers.

Original issue reported on code.google.com by [email protected] on 30 Jun 2010 at 5:54

RectangularCropFilter calculated wrong width for landscape images

using r7f73a6c089 I think I found a problem in the RectangularCropFilter.

Using the filter on Images which are more landscape then the desired ratio the 
filter produces very tall images in portrait format instead of the desired 
landscape ratio (in my case).

Changing line 186 in defaultfilters.py from:

new_width = int(ceil(current_height / self.ratio))

to:

new_width = int(ceil(current_height * self.ratio))

solved the issue for me.

Original issue reported on code.google.com by [email protected] on 22 Jun 2010 at 8:27

Better pink image bebug info

When sorethumb can't generate the thumbnail, it returns a pink image. This is 
good in telling you that something is wrong, but it is hard to tell what 
exactly is causing the pink image. There should be a warning or something 
issued so when debugging pink images, you have something to go by.

We use sorethumb at work, can I can't even begin to count the number of hours 
we've spent fixing the "pink thumbs error". Sometimes is a bad path, sometimes 
it's PIL compiled without libjpeg support, sometimes its something completely 
different...

Original issue reported on code.google.com by [email protected] on 2 Mar 2011 at 11:55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.