Skip to content

Commit

Permalink
hotfix trim extraneous MagickWand calls (bug #2848445)
Browse files Browse the repository at this point in the history
  • Loading branch information
spadix0 committed Sep 1, 2009
1 parent 9b5fc7c commit ee77d3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
version 0.9:
* hotfix trim extraneous MagickWand calls (bug #2848445)
* release updates
* fix uninitialized member in Qt widget (bug #2844846)
* move image conversion out of image scanner up to higher levels
Expand Down
6 changes: 0 additions & 6 deletions zbarimg/zbarimg.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,6 @@ static int scan_image (const char *filename)
image->modifyImage();
*/

if(!MagickSetFormat(images, "GRAY") && dump_error(images))
return(-1);

if(!MagickSetDepth(images, 8) && dump_error(images))
return(-1);

zbar_image_t *zimage = zbar_image_create();
assert(zimage);
zbar_image_set_format(zimage, *(unsigned long*)"Y800");
Expand Down

0 comments on commit ee77d3f

Please sign in to comment.