diff options
Diffstat (limited to 'README')
| -rw-r--r-- | README | 28 |
1 files changed, 18 insertions, 10 deletions
| @@ -1,16 +1,24 @@ | |||
| 1 | Installation instructions | 1 | This project aims to provide a GdkPixbuf loader for the PSD file format. |
| 2 | 2 | ||
| 3 | $ tar xvf gdk-pixbuf-psd_20081217.tar.gz | 3 | GdkPixbuf is part of GTK and applications like Eye of GNOME and gThumb use it |
| 4 | $ cd gdk-pixbuf-psd_20081217 | 4 | to handle image loading. The loader provided by this project will let those |
| 5 | $ make | 5 | applications open PSD images and enable thumbnails in nautilus, too. |
| 6 | $ sudo cp libpixbufloader-psd.so /usr/lib/gtk-2.0/2.10.0/loaders/ | 6 | |
| 7 | The loader supports: | ||
| 8 | - RGB and CYMK images | ||
| 9 | - RLE compression | ||
| 10 | - 8 and 16 bit color depths | ||
| 7 | 11 | ||
| 8 | 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: | 12 | This implementation is based on this specification [1] and PHP PSD Reader [2]. |
| 9 | 13 | ||
| 10 | $ 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 | 14 | [1] http://www.fileformat.info/format/psd/egff.htm |
| 15 | [2] http://www.kingsquare.nl/phppsdreader | ||
| 11 | 16 | ||
| 12 | On Gentoo: | 17 | Installation: |
| 13 | 18 | ||
| 14 | $ su | 19 | $ ./configure |
| 15 | # gdk-pixbuf-query-loaders /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-psd.so >> /etc/gtk-2.0/gdk-pixbuf.loaders | 20 | $ make |
| 21 | $ sudo make install | ||
| 22 | $ gdk-pixbuf-query-loaders --update-cache | ||
| 16 | 23 | ||
| 24 | If you install from source, run "./autogen.sh" to generate the build files. | ||
