@Tim: generalizing code and contributing it back to Images.jl was my initial intent, but I found it much harder than I expected initially. I'm reading "Core" section [1] from Julia Images Guide right now, and it seems to address most issues I faced. Are there any other docs I should read before proceeding?
[1]: https://github.com/timholy/Images.jl/blob/master/doc/core.md On Mon, Aug 4, 2014 at 12:24 AM, Andrei <[email protected]> wrote: > @Andreas: As fas as I understand, Cairo only supports resizing when > displaying, while I was more interested in interpolating data matrices (I > use image as a source for machine learning algorithms and resizing as a way > to enlarge/reduce feature space). Please, let me know if there's a way to > extract interpolated data from Cairo surface. > > > On Sun, Aug 3, 2014 at 8:11 PM, Tim Holy <[email protected]> wrote: > >> Cairo is only used for ImageView. >> >> --Tim >> >> On Sunday, August 03, 2014 08:26:11 AM Andreas Lobinger wrote: >> > Hello colleague, >> > >> > i might be wrong, but you are already using Cairo in Images. You could >> do >> > all the bitmap resizing/interpolation stuff by painting on a scaled >> > CairoSurface. This is even available in different interpolation schemes >> > >> http://www.cairographics.org/manual/cairo-cairo-pattern-t.html#cairo-filter-> >> t >> > >> > Wishing a happy day, >> > Andreas >> >> >
