Permalink
Browse files

datamatrix rotated image - fixed

  • Loading branch information...
1 parent 1e9cd8d commit 48a43075c39bdba5ab4cbee9544f625fe43e721e Tobias Paepke committed Jul 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 hubarcode/datamatrix/renderer.py
@@ -76,7 +76,7 @@ def get_pilimage( self, cellsize ):
# write the buffer out to an image
img = Image.frombuffer('L',
(self.width*cellsize, self.height*cellsize),
- buff, 'raw', 'L', 0, 1)
+ buff, 'raw', 'L', 0, -1)
return img

0 comments on commit 48a4307

Please sign in to comment.