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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
sam
36438eed8f
Fix headers.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2844 92316355-f0b4-4df1-b90c-862c8a59935f
16 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
jylam
6d69dcc7ea
* Added bezier files, lolz.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2789 92316355-f0b4-4df1-b90c-862c8a59935f
16 年之前
jylam
306ec17156
* Added a bezier curve primitive (2 control points).
* Fixed a float overflow in antialiased lines (this algorithm is a mess, and I need to rewrite it)
* Wrote a bunch of craderies degueulasses to avoid having y1 already defined in math.h
* Did I say this antialiased line implementation sucks ?
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2788 92316355-f0b4-4df1-b90c-862c8a59935f
16 年之前
jylam
d0e6525dd1
* Factorized some code and added temporary debug stuff
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2787 92316355-f0b4-4df1-b90c-862c8a59935f
16 年之前
jylam
c759699dba
* Fixed the second part of the previous buffer overflow. No comment.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2783 92316355-f0b4-4df1-b90c-862c8a59935f
16 年之前
jylam
74388b2c0d
* Fixed a buffer overflow in antialiased lines
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2782 92316355-f0b4-4df1-b90c-862c8a59935f
16 年之前
jylam
bdabe44f3a
* Added line to pipi tool (format x1,y1,x2,y2,color,aa, width coordinates as ints, color as hex quadret, aa as an optionnal bit which controls
antialiasing (default: aliased (bracket)))
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2781 92316355-f0b4-4df1-b90c-862c8a59935f
16 年之前
jylam
3d6c087459
* Oops. Fixed typo that prevented tile.c to be compiled (STFU I SAID!)
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2780 92316355-f0b4-4df1-b90c-862c8a59935f
16 年之前
jylam
0a6391a78b
* Added *line_template.h to Makefile.am, to make sure teuf shuts the phoque up
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2779 92316355-f0b4-4df1-b90c-862c8a59935f
16 年之前