Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] [image magic] pixel data to/from rebol image! type

From: moliad:gm:ail at: 7-Sep-2008 21:17

hi all, anyone successfully converted rebol image! data to and from image magick Image * structures ? I am playing around with image magick using rebol lib interface, and it works well, but using disk I/O to interface manipulated images is not optimal (read slow). I am doing digital camera image management and would like to be able to use images read and resized from image magick directly, in order for the application to be faster. identifying stuff is very quick (size, depth, compression, etc), but I'd like to be able to create my thumbnails in a single pass... right now, I must read, resize, save (in a rebol compatible format) and reload images within rebol... not optimal... especially since the image data could reside in ram while the user takes decisions on what he wants to go forwards with. I am already using the effective image magick lib that can be found on rebol.org... but that basically only allows us to use the command-line stuff without needing to use a call... its a bit faster, but keeping pointers to C manipulated data would be much quicker... I feel. TIA! -MAx