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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
sam
36438eed8f
Fix headers.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2844 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
jylam
3553851ad5
* Preliminary support for a string to color routine (rgb(), argb() frgb(), fargb()) as well as named colors
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2810 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
jylam
756cc89890
* Preliminary image histogram routines and example
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2809 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
37ed52dc95
* median.c: oops, fix argument types in the qsort call.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2808 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
82bb59111c
* median.c: use the libc's qsort to find the median value. Not really the
best method anyway (see the research notes on the wiki), but now X = 8
is faster than the previous implementation's X = 6.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2807 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
0cca668930
* pipi_template.h: factor the last unrolled preprocessor loop.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2806 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
daa741e235
* convolution.c: refactor the template functions, removing 30 lines of
code in the process.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2804 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
729fb74fec
* blur.c: support wrap around images in box blur (it's actually support for
non-wrap-around images; wrap around was the default behaviour).
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2802 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
916f579194
* blur.c: use the template system for the boxblur functions.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2801 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
5a9d928338
* blur.c: fix the separate filter optimisation in the blur code by not
interpolating the Gaussian kernel integral when dx = dy = angle = 0.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2800 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
41fe20b38e
* line.c: minor refactoring.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2799 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
e13a1527e4
* line.c: merge the antialiased line template back into line.c.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2798 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
2e711427e7
* aline_template.h: remove fucking tabs.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2797 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
39865db8bd
* line.c: convert the aliased line drawing to the template system.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2795 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
c3c7f2e5e3
* Add "8bit" to the list of supported template flags.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2794 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
8ddfafa5ba
* Rework the convolution template system.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2793 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
db9a8eae50
* convolution_template.h: clamp output values after a convolution.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2791 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
3dba2d0198
* Add pipi_order, to transform any image into an ordered dithering matrix.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2790 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago