Revision: 6542
Author: [email protected]
Date: Thu Oct 29 11:29:20 2009
Log: Edited wiki page through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=6542

Modified:
  /wiki/ImageResource.wiki

=======================================
--- /wiki/ImageResource.wiki    Thu Aug  6 13:08:36 2009
+++ /wiki/ImageResource.wiki    Thu Oct 29 11:29:20 2009
@@ -4,6 +4,7 @@

  = Goal =
    * Provide access to image data at runtime in the most efficient way  
possible
+  * Do not bind the ImageResource API to a particular widget framework

  = Non-goals =
    * To provide a general-purpose image manipulation framework.
@@ -36,3 +37,11 @@

  == Future development ==
    * Add compile-time scaling to images.  This would allow a single  
high-resolution image to be scaled at compile time to the desired size.
+
+= Converting from !ImageBundle =
+
+Only minimal changes are required to convert existing code to use  
ImageResource.
+  * `ImageBundle` becomes `ClientBundle`
+  * `AbstractImageProtoype` becomes `ImageResource`
+  * `AbstractImagePrototype.createImage()` becomes `new  
Image(imageResource)`
+  * Other methods on `AbstractImagePrototype` can continue to be used by  
calling `AbstractImagePrototype.create(imageResource)` to provide an API  
wrapper.

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to