sam
44b5817450
libpipi: the GDI+ codec defaults to BMP when the file extension is unknown.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3078 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
b090037daf
Cope with disparities between GDI+ versions.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3077 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
2c79783bee
libpipi: improve GDI+ codec cross-compilation.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3076 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
e488046fb0
* Added 'Modular' codec as a testbed for hand-written codecs, as well as a JPEG decoder (libjpeg). Some stuff are
temporary, though.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3075 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
8067d945dc
libpipi: the GDI+ codec can now compile using mingw32, unfortunately it
does not link yet due to a bug in mingw's ld.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3074 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
c30aa41e9c
libpipi: make gdiplus.cpp build on older Windows versions.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3073 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
b186af90bf
Full GDI+ load and save support.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3070 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
ff4bf57854
libpipi: fix $prefix value in pipi.pc.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3068 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
eb2a30336b
libpipi: duplicate the GDI codec in order to prepare the GDI+ one.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3067 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
47be8caac5
libpipi: remove unused variables.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3066 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
fd023dae55
* Added compilation to xcode project (using main Makefile)
* Fixed a leak in CoreImage image release function
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3038 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
4354bf70a4
* Convert CoreImage buffer to RGBA right after loading
* Crop padding while needed, making pitch consistent with (width*bytesperpixel)
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3032 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
0a3fb452ad
* CoreImage codec now recognizes file extention and saves the image according to it
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3021 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
2303855238
* CoreImage loader fails cleanly when specified image doesn't exist
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3020 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
260a030eba
* Added free callback to CoreImage codec
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3019 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
621665ed30
* Finally made the CoreImage save function available
* Removed annoying xcode project files from svn
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3018 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
3f41834cd8
* Added -lm to libpipi.la to fix a link issue on some plateforms
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2968 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
745722a158
ThePimp: improve Visual Studio solution and cross-build script. We can
now build and run The Pimp without installing GTK# for Windows.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2947 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
8f68604bcc
libpipi: do not swap bytes in the GDI loader.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2945 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
9b044feef7
libpipi: fix a double free in the Oric codec.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2944 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
a63c525fb7
libpipi: fix a buffer underallocation.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2943 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
92c813ec69
libpipi: get rid of all remaining large stack allocations.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2942 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
d8f42fb418
libpipi: replace large stack buffer allocations with malloc().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2941 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
497e7330e8
libpipi: sometimes imlib_load_image() succeeds but imlib_image_get_data()
returns NULL. Working around this properly.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2934 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
345d9dc666
Better autotools/Monodevelop integration.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2933 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
3ca57db169
Tell git to ignore generated pipi/pipi_types.h.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2925 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
c355bb98bc
Create Visual Studio build files for libpipi, pipi-sharp and The Pimp.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2914 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
8838f381b6
libpipi: include <stdlib.h> in files where NULL is used.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2911 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
77d650ccf5
libpipi: fix a sign bug in the GDI loader.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2909 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
6c8787f346
Remove tabs in the code here and there.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2905 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
4bfa33f1b9
Start writing Visual Studio projects.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2904 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
3bf0d166a8
libpipi: fix file headers.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2903 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
0eb36a6225
Support C99 types on Win32 through the same hacks as in libcaca.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2902 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
b222945a6e
* Added preliminary support of CoreImage (Cocoa/Mac OS X)
Changed default hidden unicode glyph to 'x' in The Pimp to fix a compilation problem
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2897 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
3f9fafa651
pipi.c: add pipi_get_version().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2865 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
b254b61998
oric.c: allow to load invalid files that img2oric used to generate.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2862 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
d5432bccff
Hide the list of available commands in pipi/context.c, so that the
pipi source code doesn't need to know about them.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2857 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
6787d8a392
Fix library name in pipi.pc.in.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2855 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
59e4d8ccd6
Add a --gamma command to modify the global gamma value. This is a nasty
hack that will hopefully disappear in the future. The default gamma is
now 2.2 again (sRGB approximation).
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2846 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
ab741dd245
Wrote an Oric hires file writer, based on img2oric.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2845 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
36438eed8f
Fix headers.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2844 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
2f5dae2927
Wrote an Oric hires file parser.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2842 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
de6742dd3f
Fix uninitialised values in most codec image writers.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2841 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
9f10fdd2b9
gdi.c: the GDI codec can now open and save BMP files.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2840 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
89d3be6048
Detect Windows GDI at configuration time.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2839 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
6fc2b78f37
Allow to use all available image loaders instead of just the first one.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2837 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
jylam
4a41d81ee6
* Moved accessors to their own file, and added a pipi_get_format_name()
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2814 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
6f49c4d859
* ordered.c: r means radius, not diameter.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2813 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
bd54059e60
* Add a scale parameter to pipi_dither_ordered_ext().
* Reimplement pipi_dither_halftone() using pipi_dither_ordered_ext().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2812 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
4fefa85cd9
* ordered.c: allow to rotate the dither pattern, using nearest-neighbour
rotation interpolation.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2811 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu