IIPImage
denix
![]()
Joined: 2005-12-19
Posts: 13 |
![]() |
Hi all, Cheers, |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
what exactly would you use it for? |
|
denix
![]()
Joined: 2005-12-19
Posts: 13 |
![]() |
As digital cameras are capable of bigger and bigger photos, viewing a gallery of large images is a strain on the network (especially if you are still on a 56Kb connection!) and indeed your web browser. The IIPImage system uses tiled pyramidal images which can be transparently created during an image upload (currently only TIFF, but soon JPEG). You don't need dynamic resizing using gd, which will be slow and heavy on the server for large images. If you look at my example, you can see that thumbnails and medium size images can be exported very efficiently with minimal server overhead ;) Unfortunately I didn't find an example of how the panorama module works ... and obviously IIPImage is not for an end user with no experience of webserver configuration ;) Also the server does not have to upload anything from G2, the client merely has to supply the image file system path. IIPImage could simply be another option, like gd2, gd1 or imagemagick ;) and it is totally independent of gd or similar. The system is even efficient with image of several gigabytes in size ... hehehe ... if you look at the IIPImage website, the world map demo is 43000x21500 pixels ... and you can surf it in real time ... the user can also choose to use either the javascript client or the applet (a new improved version of the applet will be out soon and will let the user do more interesting things with the image). |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
just to recap if i understand you correctly: so IIPImage does something like that and other things too. and from your numbers, it sure looks like a good fit for G2 and it seems to be powerful. Also: is that correct? note that G2 runs GD, imagemagick or netpbm once per file and the resulting thumbnail / resize is stored on disk. so there's no compared overhead when handling browser requests for resized images or so. So an IIPImage module would @fastcgi: i'd welcome a IIPImage module for g2, so please ask when you have questions. and i'm sure there will be a lot of questions since g2 lacks in docs quite badly. for the toolkit part, please look at existing toolkits: modules/gd/, imagemagick (complicated), netpbm (also quite complicated), ffmpeg, zipcart, dcraw, ... for the entity registration / applet rendering part, please check out the module/panorama because it's really similar. it's a java applet that fetches an image from g2 and has some mini controls to let the user scroll the panorma 360° . your applet will do the same (get an url as applet parameter, fetch the url from g2 and then do its display work). see: http://codex.gallery2.org/index.php/Gallery2:Development_Concepts http://codex.gallery2.org/index.php/Gallery2:Coding_Standards http://codex.gallery2.org/index.php/Gallery2:Coding_Guidelines |
|
denix
![]()
Joined: 2005-12-19
Posts: 13 |
![]() |
Finally, with some delay, the module is done! more info here |
|