i did test a 466mpixel photo... 45m memory used... zooming, scrolling. i'm
authorCarsten Haitzler <raster@rasterman.com>
Thu, 24 Sep 2009 15:12:39 +0000 (15:12 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Thu, 24 Sep 2009 15:12:39 +0000 (15:12 +0000)
happy. problem solved.

SVN revision: 42679

src/bin/test_photocam.c

index dca7d37..c54deaf 100644 (file)
@@ -46,12 +46,13 @@ test_photocam(void *data, Evas_Object *obj, void *event_info)
    Evas_Object *win, *bg, *ph, *tb2, *bt;
    char buf[PATH_MAX];
    // FIXME: add a file selector and a "select a file" button.
-   const char *img[4] =
+   const char *img[5] =
      {
         "/home/raster/t1.jpg",  //   5 mpixel
         "/home/raster/t2.jpg",  //  18 mpixel
         "/home/raster/t3.jpg",  //  39 mpixel
-        "/home/raster/t4.jpg"   // 192 mpixel
+        "/home/raster/t4.jpg",  // 192 mpixel
+        "/home/raster/t5.jpg"   // 466 mpixel
      };
 
    win = elm_win_add(NULL, "photocam", ELM_WIN_BASIC);
@@ -67,7 +68,7 @@ test_photocam(void *data, Evas_Object *obj, void *event_info)
    evas_object_size_hint_weight_set(ph, 1.0, 1.0);
    elm_win_resize_object_add(win, ph);
    
-   elm_photocam_file_set(ph, img[3]);
+   elm_photocam_file_set(ph, img[1]);
    
    evas_object_show(ph);