Browse files

added authors file

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

0 comments on commit 79862b2

Please sign in to comment.