I have tested:
feh test:image.jpg WORKS
imlib2_view e/data/icons/image/png.db:/icon/clicked WORKS
I have tested saving with geist too and that works.
The patch is bigger than it would have been because I had to revert some of
raster's attempt. There is more debris left over (unused functions and
params etc) but I won't clean all that out until people have checked out
this and are happy.
I might make something like imlib_get_real_filename available in the public
API. So that apps (like feh) that use stat() that do their own error checking
can also do the right thing, but this is a separate issue and not totally
necessary.
SVN revision: 5122
now we escpae literal colons with double colons. it's documented too. (this
was easier to do as i also have to do it for ssving files and you cant stat
to see if a file exisit fi you havent saved it yet)
SVN revision: 5080
* fix build so loaders build if u have no imlib2 installed
* fix requires and buildrequires in spec file for freetype & edb to be correct
SVN revision: 4105
bindings problem with undefined symbols for __imlib_GetTag disappear since those
two loaders call that function to determine some image flags when saving.
Kick me in the butt if I am not supposed to do that but KainX said I should.
The differance in .so size is minimal, 30 bytes for png.so and 20 bytes for jpeg.so.
SVN revision: 4099
Now, the png lib takes values 1-9 for compression. I decided to standardise
loaders on a 1-100 quality value, and do some sums in the loader to convert
to 1-9 compression. That was you can set quality and not care what file
format is used. Sound reasonable?
SVN revision: 3772
of them should include Imlib2.h. In fact, nothing in the Imlib2 code
should, but if it's absolutely necessary, make sure the local one is found
before the system-wide one.
SVN revision: 2915
with it, because of licensing issues. I guess I'll be talking to Raster
next week what we'll do with the loader. Hope this makes us friends
with the Gimp developers again.
SVN revision: 2888
opacity, layer masks, and merging layers in the default mode
(simply "looking" through all the layers). The other layer modes
are missing right now (I hardly ever use anything other than "Normal"
anyway, but that's just me of course).
If you load an image as /path/to/file:<layer number> only the
specified layer is displayed, at the defined offset in the image.
Try this with imlib2_view since it ignores file loading errors.
Passing parameters to the loader will have to be handled better
(or did I miss someting?) but the loader can basically return
layers selectively.
SVN revision: 2847