summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona <joakim@verona.se>2010-08-18 11:09:46 +0200
committerJoakim Verona <joakim@verona.se>2010-08-18 11:09:46 +0200
commit3234a340f4be698212341eccd64a94cec66c104b (patch)
treeda2b89774743411f04dc668f3fb3ff9b6cf55f0e /src
parenta8101f663e6cbff953b67b8bef33bc0171818477 (diff)
downloademacs-3234a340f4be698212341eccd64a94cec66c104b.tar.gz
minor cleanup
Diffstat (limited to 'src')
-rw-r--r--src/image.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/image.c b/src/image.c
index e39c46b392a..b198e6aab00 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7542,15 +7542,6 @@ imagemagick_load_image (/* Pointer to emacs frame structure. */
image_error ("im read failed", Qnil, Qnil);
if (status == MagickFalse) goto imagemagick_error;
-
- /* if(ino == 0) */
- /* MagickSetFirstIterator(image_wand); */
- /* else */
- /* MagickSetIteratorIndex(image_wand, ino); */
-
- //MagickSetFirstIterator(image_wand);
-
-
/* If width and/or height is set in the display spec assume we want
to scale to those values. if either h or w is unspecified, the
unspecified should be calculated from the specified to preserve
@@ -7701,7 +7692,9 @@ imagemagick_load_image (/* Pointer to emacs frame structure. */
if (imagemagick_rendermethod == 1)
{
- /* Try if magicexportimage is any faster than pixelpushing. */
+ /* Magicexportimage is normaly faster than pixelpushing. This
+ method is also well tested. Some aspects of this method are
+ ad-hoc and needs to be more researched. */
int imagedepth = 24;/*MagickGetImageDepth(image_wand);*/
char* exportdepth = imagedepth <= 8 ? "I" : "BGRP";/*"RGBP";*/
/* Try to create a x pixmap to hold the imagemagick pixmap. */