From e0bd2440e408d03cb2c66b899cd126e57fd60326 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 6 Apr 2011 13:35:25 +0200 Subject: Update README --- README | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/README b/README index 074d340..1c77994 100644 --- a/README +++ b/README @@ -1,16 +1,24 @@ -Installation instructions +This project aims to provide a GdkPixbuf loader for the PSD file format. -$ tar xvf gdk-pixbuf-psd_20081217.tar.gz -$ cd gdk-pixbuf-psd_20081217 -$ make -$ sudo cp libpixbufloader-psd.so /usr/lib/gtk-2.0/2.10.0/loaders/ +GdkPixbuf is part of GTK and applications like Eye of GNOME and gThumb use it +to handle image loading. The loader provided by this project will let those +applications open PSD images and enable thumbnails in nautilus, too. + +The loader supports: +- RGB and CYMK images +- RLE compression +- 8 and 16 bit color depths -Make sure the above path is correct on your system. Now you need to setup loader with gdk-pixbuf-query-loaders. On Ubuntu (Intrepid) it goes like this: +This implementation is based on this specification [1] and PHP PSD Reader [2]. -$ gdk-pixbuf-query-loaders /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-psd.so | sudo tee /usr/lib/gtk-2.0/2.10.0/loader-files.d/gdk-pixbuf-psd.loaders +[1] http://www.fileformat.info/format/psd/egff.htm +[2] http://www.kingsquare.nl/phppsdreader -On Gentoo: +Installation: -$ su -# gdk-pixbuf-query-loaders /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-psd.so >> /etc/gtk-2.0/gdk-pixbuf.loaders +$ ./configure +$ make +$ sudo make install +$ gdk-pixbuf-query-loaders --update-cache +If you install from source, run "./autogen.sh" to generate the build files. -- cgit v1.1-32-gdbae