On Fri, 28 Feb 2014 00:31:41 +0100 Hendrik Siedelmann <[email protected]> said:
> On 02/27/2014 11:31 PM, Carsten Haitzler (The Rasterman) wrote: > > On Thu, 27 Feb 2014 22:00:14 +0100 Hendrik Siedelmann > > <[email protected]> said: > > > >> On 02/27/2014 09:46 PM, Carsten Haitzler (The Rasterman) wrote: > >>> On Thu, 27 Feb 2014 19:22:18 +0100 Hendrik Siedelmann > >>> <[email protected]> said: > >>> > >>>> On 02/27/2014 03:00 PM, Carsten Haitzler (The Rasterman) wrote: > >>>>> On Thu, 27 Feb 2014 07:06:37 +0100 Hendrik Siedelmann > >>>>> <[email protected]> said: > >>>>> > >>>>>> Thanks! I'll have a look into the macros. But still this should > >>>>>> actually work ... or put an other way on which platform did you try > >>>>>> it, because big-endian is broken atm. and should not give you a > >>>>>> running program at all ;-). And little endian should work! > >>>>> > >>>>> x86 64bit. so it's broken on little endian x86... 64bit though. :) > >>>> That's strange ... I'm on x86 64bit :-P > >>>> Could you try current git? And if the colors are still off could you > >>>> send me one of the images? Just maybe its some jpeg option that is > >>>> throwing the decoder off balance. I'm doing some fairly low level hacks, > >>>> reordering the jpeg codestream and feeding a fake jpeg file to the > >>>> decoder ... maybe something does not work for some jpeg options. > >>> > >>> current git still the same as when i saw this. :) looking at the image ti > >>> fix the colors you need to do: > >>> > >>> red SHOULD BE green > >>> green SHOULD BE blue > >>> blue SHOULD BE red > >> > >> Problem is: Colors are correct for me, so if I change them they are > >> wrong for me ... > >> If you want to have correct colors you can change line 46 in > >> src/lib/filter_interleave.c which currently looks like this: > >> > >> *buf_int = (255 << 24) | (*(r++) << 16) | (*(g++) << 8) | (*(b++)); > >> > >> But the real problem lies somewhere else :-( > >> Would you mind trying this picture: > >> https://technik-stinkt.de/~hendrik/large.tif > >> (it's a bit large ...) > >> > >> Thanks! > > > > same wrong colors. i suspect its a library you are depending on thats > > getting it wrong here. ie its being fed data in the wrong order then it > > just spews it back wrong then OR... the lib internaly swizzles order for > > some reasons or its docs on the correct order expected changed or it broke > > abi/api and changed ordering... > Ha! I'm pretty sure I found the problem, check git! > You got a faster path that I actually never tested because my version of > libav is too old :-( > Should work now. > > Btw what do you think about the app? i was mostly distracted by the colors! :) it does have a fair few crashes... here's one: limeview: /home/raster/Downloads/lime/src/lib/filter_denoise.c:141: insert_match: Assertion `*count < 20' failed. the toolbar doesnt have filter selected by default - thought it should be as thats the controls on the left... :) i found the slider bizarre... in that it switvched images in a list i never gave it (i ran limeview file.jpg - not a list - it picked the list from the dir though). :) unexpected things. i understand that the filtering was the core, not the ui, but the ui could be better i think. for example i'd look into doing the ui with the image always completely filling the window - not paneled out like this, with filters applied with an overlay on top. add a filter by dndint it from a small list of icons on the right into a list of filters to apply. where you dnd it depends on its order. re-order by dnding the list of icons representing the filters. click one of these filters int he filter list and to the left of it expands some parameters in a little bubble/popup pane - zoom controls (fit, 1:1, +, -) would be overlayed control icons... etc. :) btw - exposure filter leaves me with a mostly yellow or greenish image with maybe a few tiles being bright or dark like intended. :) > >>>>>> On 02/26/2014 08:18 PM, Carsten Haitzler (The Rasterman) wrote: > >>>>>>> On Mon, 24 Feb 2014 08:51:24 +0100 Hendrik Siedelmann > >>>>>>> <[email protected]> said: > >>>>>>> > >>>>>>> oh. cool bananas! thought i think you have some bugs... : > >>>>>>> > >>>>>>> http://www.enlightenment.org/ss/e-530e3cdc1434c8.05020334.png > >>>>>>> > >>>>>>> :) your argb byte ordering is... broken when messing with the image > >>>>>>> pixels. :( > >>>>>>> > >>>>>>> rememebr that with evas (and efl) pixels are INTS not bytes. int. an > >>>>>>> int is 32bit. the MSB (high byte withn the int) is A, then R then G > >>>>>>> then B ie for 32bits the bits rom highest to lowest are: > >>>>>>> > >>>>>>> AAAAAAAARRRRRRRRGGGGGGGGBBBBBBBB > >>>>>>> > >>>>>>> or > >>>>>>> > >>>>>>> int pixel; > >>>>>>> > >>>>>>> a = (pixel >> 24); > >>>>>>> r = (pixel >> 16) & 0xff; > >>>>>>> g = (pixel >> 8) & 0xff; > >>>>>>> b = pixel & 0xff; > >>>>>>> > >>>>>>> and reverse: > >>>>>>> > >>>>>>> pixel = (a << 24) | (r << 16) | (g << 8) | b; > >>>>>>> :) > >>>>>>> > >>>>>>> yes... you can access byte by byte too - but you need to account for > >>>>>>> endianess then as it changes between x86 and ppc, mips, some arm > >>>>>>> implementations etc. etc. :) there ae macros in evas src like A_VAL(), > >>>>>>> R_VAL () G_VAL() that do this internally as needed if you look. :) > >>>>>>> then macros for merging together again. > >>>>>>> > >>>>>>>> Hello everybody! > >>>>>>>> > >>>>>>>> I present you a image editing tool/library for e! It is still very > >>>>>>>> experimental, but I have used it to sort trough my images on a long > >>>>>>>> trip so maybe it can be useful for more someone. It allows simple > >>>>>>>> image editing tasks (like sharpen, denoise, rotate,... ), works > >>>>>>>> completely non-destructive and saves tags and the filter chain in > >>>>>>>> xmp sidecar files. > >>>>>>>> > >>>>>>>> Code is here: > >>>>>>>> https://github.com/Gridrix/lime.git > >>>>>>>> > >>>>>>>> The program is based on scale-invariant image editing which I descibe > >>>>>>>> in this paper: > >>>>>>>> http://elib.uni-stuttgart.de/opus/volltexte/2013/8717/pdf/STUD_2369.pdf > >>>>>>>> > >>>>>>>> Have fun! > >>>>>>>> Hendrik > >>>>>>>> > >>>>>>>> ------------------------------------------------------------------------------ > >>>>>>>> Flow-based real-time traffic analytics software. Cisco certified > >>>>>>>> tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow > >>>>>>>> Analyzer Customize your own dashboards, set traffic alerts and > >>>>>>>> generate reports. Network behavioral analysis & security monitoring. > >>>>>>>> All-in-one tool. > >>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > >>>>>>>> _______________________________________________ enlightenment-devel > >>>>>>>> mailing list [email protected] > >>>>>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> > >>>>>> ------------------------------------------------------------------------------ > >>>>>> Flow-based real-time traffic analytics software. Cisco certified tool. > >>>>>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > >>>>>> Customize your own dashboards, set traffic alerts and generate reports. > >>>>>> Network behavioral analysis & security monitoring. All-in-one tool. > >>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > >>>>>> _______________________________________________ > >>>>>> enlightenment-devel mailing list > >>>>>> [email protected] > >>>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >>>>>> > >>>>> > >>>>> > >>>> > >>> > >>> > >> > >> > >> ------------------------------------------------------------------------------ > >> Flow-based real-time traffic analytics software. Cisco certified tool. > >> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > >> Customize your own dashboards, set traffic alerts and generate reports. > >> Network behavioral analysis & security monitoring. All-in-one tool. > >> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> enlightenment-devel mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >> > > > > > > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
