Displaying 4 results from an estimated 4 matches for "image_diff".
2011 Feb 09
2
using rasterImage within image
...- matrix(runif(1e6),nrow=1000)
> image(z)
> image(z,useRaster=TRUE)
(Patch against SVN 54284 attached; people can contact me if it doesn't
go through and they want it.)
Ben Bolker
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: image_diff.txt
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20110208/723aa201/attachment.txt>
2007 Feb 06
0
Branch 'interpreter' - 15 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_image.c libswfdec/swfdec_sprite_movie.c
...255)
+ diff = 255;
+ diff_pixel |= diff << (channel*8);
+ }
+
+ row[x] = diff_pixel;
+ if (diff_pixel)
+ result = FALSE;
+ } else {
+ row[x] = 0;
+ }
+ row[x] |= 0xff000000; /* Set ALPHA to 100% (opaque) */
+ }
+ }
+ return result;
+}
+
static gboolean
image_diff (cairo_surface_t *surface, const char *filename)
{
- cairo_surface_t *image;
+ cairo_surface_t *image, *diff = NULL;
int w, h;
char *real;
@@ -49,28 +106,45 @@ image_diff (cairo_surface_t *surface, co
w, h);
goto dump;
}
+ diff = cairo_image_surface_create (CAIRO_FORMAT_ARGB32...
2007 Feb 06
0
21 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c
...255)
+ diff = 255;
+ diff_pixel |= diff << (channel*8);
+ }
+
+ row[x] = diff_pixel;
+ if (diff_pixel)
+ result = FALSE;
+ } else {
+ row[x] = 0;
+ }
+ row[x] |= 0xff000000; /* Set ALPHA to 100% (opaque) */
+ }
+ }
+ return result;
+}
+
static gboolean
image_diff (cairo_surface_t *surface, const char *filename)
{
- cairo_surface_t *image;
+ cairo_surface_t *image, *diff = NULL;
int w, h;
char *real;
@@ -49,28 +106,45 @@ image_diff (cairo_surface_t *surface, co
w, h);
goto dump;
}
+ diff = cairo_image_surface_create (CAIRO_FORMAT_ARGB32...
2008 Jan 08
0
4 commits - test/.gitignore test/image test/Makefile.am test/swfdec_test_function.c test/swfdec_test_image.c test/swfdec_test_image.h test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...255)
- diff = 255;
- diff_pixel |= diff << (channel*8);
- }
-
- row[x] = diff_pixel;
- if (diff_pixel)
- result = FALSE;
- } else {
- row[x] = 0;
- }
- row[x] |= 0xff000000; /* Set ALPHA to 100% (opaque) */
- }
- }
- return result;
-}
-
-static gboolean
-image_diff (cairo_surface_t *surface, const char *filename)
-{
- cairo_surface_t *image, *diff = NULL;
- int w, h;
- char *real;
-
- real = g_strdup_printf ("%s.png", filename);
- image = cairo_image_surface_create_from_png (real);
- if (cairo_surface_status (image)) {
- g_print (" ER...