sam
80bfef8e57
mean.c: rename this file into merge.c and implement pipi_merge() for trivial
image merging.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3411 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
b7e3368c23
wave.c: change the wave arguments. The format is now eg. 150x100+10r1.3 where
150 is the wave period, 100 is the amplitude, 10 is the phase, and 1.3 is
the angle of the wave direction.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3410 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
9e9d93dab2
histogram.c: fix a shadowing declaration.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3409 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
37a1e5606e
wave.c: better behaviour around image edges.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3403 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
4936ebfa16
Fix a very old crash in the box blur filter that occurred when the image
was broader than tall.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3402 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
05c7be55fc
Fix a crash in the JPEG loader when meeting with ENOENT.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3401 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
f0b30c6fa1
Properly handle alpha components in the convolution code.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3399 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
1b42147e18
Properly handle alpha components in the resize code.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3398 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
2ff222affb
Add a wave filter for crappy sine effects.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3397 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
78cc659e07
imlib.c: fix support for alpha channel when saving using Imlib2.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3350 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
bc4b740e20
Minor reorg in the JPEG codec.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3344 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
0a241eb088
Got rid of the modular codec stuff. All codecs should work the same way.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3343 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
1ff231b9f7
Change _C pixel format suffixes into _U8 for more clarity.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3342 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
0494eff2ef
Add pipi_release_pixels and pipi_set_colorspace in prevision of
pipi_get_pixels using the tiles system. These functions should
disappear one day, because they're going to leak like crazy.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3341 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
bb926c7a95
Rename pipi_getpixel into pipi_get_pixels.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3340 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
b64a243725
Create basic tile handling functions.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3339 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
jylam
4eb5808fa1
* Added setjmp/longjmp support to jpeg loader.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3165 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
e10e51eaba
Quick and dirty implementation of pipi_draw_rectangle() to save zMoo.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3164 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
74f407c040
libpipi: remove extra newlines in debug messages.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3161 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
jylam
e2d6916c06
* Images were saved with R and B inverted
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3136 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
6daa91eeab
libpipi: move histogram.c and measure.c in a new analysis/ subdirectory.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3102 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
5e9974b082
libpipi: reduce the libjpeg priority until this codec works on amd64.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3100 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
jylam
7d5c789c26
* Changed petit pédé's stuff
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3088 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
jylam
995514ae7d
* Added bound-checking to file extension detection
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3085 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
jylam
cf55ba13db
* Fixed a non-initialized memory bug, which caused histogram function to fail here and there
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3084 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
jylam
d9c4fee5be
* Added file extension detection to modular codec
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3083 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
jylam
245b982a17
* Added hability to save jpeg using modular codec
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3081 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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