Anything in doc/ could be of interest, but that covers the main ideas. But I'm happy to help give tips if you submit the original as a pull request. There's a balance between being able to handle anything that anyone throws at you and getting something that works for you; if nothing else, one can check whether the supplied image satisfies your expectations and throw an error if not.
Best, --Tim On Monday, August 04, 2014 01:12:06 AM Andrei wrote: > @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-filt > >> er-> t > >> > >> > Wishing a happy day, > >> > > >> > Andreas
