Skip to content
Browse files

added authors file

moved notpil.operations.geometry.Fliprow to notpil.helpers.Fliprow
removed notpil.operations
  • Loading branch information...
1 parent 76d8392 commit 79862b2c73c0c28f23283bdc0d23c4300966676b @ojii committed Jan 26, 2012
View
2 AUTHORS
@@ -0,0 +1,2 @@
+Jonas Obrist
+Kristian Oellegaard
View
2 notes.txt
@@ -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
+
View
0 notpil/operations/geometry.py → notpil/helpers.py
File renamed without changes.
View
5 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
@@ -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)
View
0 notpil/operations/__init__.py
No changes.

0 comments on commit 79862b2

Please sign in to comment.
Something went wrong with that request. Please try again.