sam
ea38654c88
* filter/blur.c: minor optimisation in the kernel generation.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2618 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
4a857277a7
* blur.c: support for variable blur radius and Gaussian offset.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2617 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
e15f20a316
* pixels.c: add Floyd-Steinberg dithering to the float32 -> rgba32
conversion.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2616 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
0105b6f3b6
* pixels.c: speed up the RGBA32 -> float32 conversion, using a simple LUT.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2609 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
42af43ad99
* blur.c: separated blur; it's now incredibly faster.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2608 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
19874f4650
* Free surfaces allocated by pipi_getpixels() in pipi_free().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2607 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
af0c7f52fb
* blur.c: fix overflow errors.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2606 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
31328a14aa
* Big API reorganisation. Now libpipi can transparently convert between
colour spaces for a given image. For instance, if pipi_gaussian_blur is
applied to a 32-bpp image, it is automatically converted to gamma-corrected
32-bit floats beforehands, then converted back to normal.
* TODO: clipping, regions of interest, more formats, getpixel macros...
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2605 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
7d147f3576
* Test implementation of Gaussian blurring. It's awfully slow and does not
use the separation property, but it's just for a test.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2603 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
1871465283
* pixels.c: do not return a white pixel when calling getpixel() outside
the image boundaries; instead, return the closest pixel in the image.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2602 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
e088f09565
* Typo.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2600 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
1d6c2c507d
* Implemented 24 -> 16 bpp dithering.
* Added the --bpp flag to genethumb.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2263 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
735b2a5da0
* Checking in an old Rubik's cube dithering test.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2262 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
6a86e2b643
* Split the image loaders into sdl.c, imlib.c and opencv.c. We'll do
something far better, but later.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2261 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
d8aa3a24c3
* getpixel/setpixel functions use doubles instead of ints for now.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2260 92316355-f0b4-4df1-b90c-862c8a59935f
16 lat temu
sam
7a2b8fcc65
* Resizing in libpipi is now gamma-aware.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2247 92316355-f0b4-4df1-b90c-862c8a59935f
17 lat temu
sam
bf052a018a
* Fixed a bug in the naive resizing code.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2246 92316355-f0b4-4df1-b90c-862c8a59935f
17 lat temu
sam
00a1db9608
* Image resizing test.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2245 92316355-f0b4-4df1-b90c-862c8a59935f
17 lat temu
sam
84cc96a98e
* Starting image resizing. X-wise resize works so far.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2244 92316355-f0b4-4df1-b90c-862c8a59935f
17 lat temu
sam
53aa513e3e
* Import image loading features from PWNtcha. As they are more than 4-year
old, they will certainly require some cleanup, eg. pkg-config transitions.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2228 92316355-f0b4-4df1-b90c-862c8a59935f
17 lat temu
sam
08e83cb836
* Initial code skeleton.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2227 92316355-f0b4-4df1-b90c-862c8a59935f
17 lat temu