Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

Commit

Permalink
added authors file
Browse files Browse the repository at this point in the history
moved notpil.operations.geometry.Fliprow to notpil.helpers.Fliprow
removed notpil.operations
  • Loading branch information
ojii committed Jan 26, 2012
1 parent 76d8392 commit 79862b2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
@@ -0,0 +1,2 @@
Jonas Obrist
Kristian Oellegaard
2 changes: 2 additions & 0 deletions notes.txt
Expand Up @@ -5,3 +5,5 @@ pypy guys recommended using a flat array instead of list of array for pixels
need to change png reader/writer to just be optimized for whatever pixel format
we use and not just wrap the existing library.

bilinear filtering in python: http://stackoverflow.com/questions/8661537/how-to-perform-bilinear-interpolation-in-python

File renamed without changes.
5 changes: 2 additions & 3 deletions notpil/image.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
from notpil.exceptions import FormatNotSupported
from notpil.formats import get_format, get_format_objects
from notpil.incubator import geometry as incubator_geometry
from notpil.operations.geometry import Fliprow
from notpil.helpers import Fliprow
from notpil.utils import get_pixel
import array
import os
Expand Down Expand Up @@ -53,7 +52,7 @@ def save_to_path(self, filepath, format=None):
# Geometry Operations
#==========================================================================

def resize(self, width, height):
def resize(self, width, height, algorithm=Nearest):
raise NotImplementedError()
target = Image.empty(width, height, self.mode)
incubator_geometry.resize(target, self, incubator_geometry.nearest_filter)
Expand Down
Empty file removed notpil/operations/__init__.py
Empty file.

0 comments on commit 79862b2

Please sign in to comment.