[julia-users] Escher image update

2015-10-13 Thread Yakir Gagnon
I have some widgets that run imagemagick updating images in `assets/`, and the only way I can get those to update with `image` is to change their names... So if I just do this: ```julia run(`convert a.jpg assets/a.jpg`) image("assets/a.jpg") ``` the image doesn't get updated. But this crazine

Re: [julia-users] Escher image update

2015-10-14 Thread Shashi Gowda
This is browser caching at work one way to resolve this is to just imread the image instead of loading it using image() which just creates the equivalent of an HTML tag... e.g. using Images run(`convert a.jpg assets/a.jpg`) imread("assets/a.jpg") On Wed, Oct 14, 2015 at 3:52 AM, Yakir Gagno

Re: [julia-users] Escher image update

2015-10-14 Thread Shashi Gowda
Sorry the problem is actually not even browser caching... what happens is Escher thinks there is nothing to update because the URL attribute remains the same... imread is a good solution although slower. Another good solution is the one you yourself gave if you can figure out a way to clean up all

Re: [julia-users] Escher image update

2015-10-14 Thread Yakir Gagnon
Thanks, yea I just asynchronously clean everything *.jpg in assets/ before I continue with the rest of the actions in the lift. Yakir Gagnon The Queensland Brain Institute (Building #79) The University of Queensland Brisbane QLD 4072 Australia cell +61 (0)424 393 332 work +61 (0)733 654 089 On