Commit Graph

1328 Commits

Author SHA1 Message Date
John Cupitt
5a64a02cb7 start fits write
not done yet, argh
2011-03-17 21:56:15 +00:00
John Cupitt
f4c6da50e1 update fits.c ready for write
hack fits.c about a bit ready for write to go in
2011-03-17 21:04:25 +00:00
John Cupitt
d8a1fac72f remove old region code
clean out some temp files
2011-03-17 17:39:58 +00:00
John Cupitt
9297a96ecf support libpng-1.5
libpng-1.5 removes some old API that libvips still used ... update png
read/write to support the new API
2011-03-17 14:17:03 +00:00
John Cupitt
73839df294 move some vips object stuff about
move some vipsobject code out of util.c
2011-03-17 13:22:02 +00:00
John Cupitt
ac801dd1fc rename Rect as VipsRect
move Rect to the new Vips namespace, add gtkdoc comments, add back
compat stuff
2011-03-17 13:05:46 +00:00
John Cupitt
cfe34cacd2 back to vipsobject again
but without properties now
2011-03-16 18:26:32 +00:00
John Cupitt
2abb0f8d99 move VipsRegion off VipsObject again
We were having various unfixable segvs with VipsRegion on top of
VipsObject. Move back to a simple struct to reestablish stability,
then try slowly moving back to GObject again.
2011-03-16 14:27:34 +00:00
John Cupitt
48a91627d1 small further change
helps a bit more, perhaps
2011-03-14 18:01:34 +00:00
John Cupitt
4cdd5640ea fix crash in nip2 make check
fully init region before we go parallel.
2011-03-14 15:59:33 +00:00
John Cupitt
3244d8f392 Merge remote branch 'origin/vipsobject-image'
Conflicts:
	ChangeLog
	libvips/iofuncs/im_cp_desc.c
2011-03-11 14:15:12 +00:00
John Cupitt
cc6535acff rename ->progress
->progress, the image we signal progress on, has become progress_signal.
There's a progress class as well now, it was just too confusing.
2011-03-11 14:08:10 +00:00
John Cupitt
c0b98a19f9 remove deprecated cli programs
removed some deprecated or now-replaced cli programs
2011-03-11 13:58:22 +00:00
John Cupitt
e17435c105 small fixes
small fixes and we now pass all tests
2011-03-11 13:53:59 +00:00
John Cupitt
939ce4fd51 rewind is an object method
make rewind a method on object, image uses it to preserve filename and
mode across rewind
2011-03-10 23:44:38 +00:00
John Cupitt
e180c9ec52 better object rewind
added a vips_object_rewind() to allow rebuild, though it's not quite
working yet, see TODO
2011-03-10 14:44:38 +00:00
John Cupitt
834630e562 removed debug.c
debug and sanity checking are now part of object
2011-03-10 14:17:02 +00:00
John Cupitt
071abecbff rename IMAGE to VipsImage
all headers revised to rename IMAGE as VipsImage, also trimmed some junk
2011-03-10 09:41:45 +00:00
John Cupitt
4e160905ed more compat
more compat to help nip2 compile
2011-03-09 22:14:21 +00:00
John Cupitt
b8e526d40e now runs simple operations
im_copy and im_invert at least seem to work
2011-03-09 17:45:37 +00:00
John Cupitt
fd26b098b7 it runs!
"vips im_avg poop.png" now works, amazing. Test a few more things before
we merge back to master.
2011-03-07 15:52:53 +00:00
John Cupitt
53f4eb7811 now sort-of runs
small fixes and now it sort-of runs
2011-03-06 22:05:57 +00:00
John Cupitt
c49db35cfa all compiles and links cleanly
or mostly, anyway, try running next
2011-03-05 12:07:18 +00:00
John Cupitt
bb813a21b5 libvips builds
clean build, phew, try tools next
2011-03-04 16:14:13 +00:00
John Cupitt
df0eab1f35 TODO notes
small TODO updates
2011-03-03 22:01:43 +00:00
John Cupitt
ab427d906b iofuncs compiles
except for a reset thing we need argh
2011-03-03 17:54:08 +00:00
John Cupitt
6fa48b0e7d region done
VipsRegion now exists, up to semaphore.c
2011-03-03 14:49:12 +00:00
John Cupitt
3d55a7876c half-way though moving REGION
init / dest / type need to be done
2011-03-02 21:53:32 +00:00
John Cupitt
6b9ddf6f54 up to REGION now
more hackery, we've now reached REGION
2011-03-02 14:13:05 +00:00
John Cupitt
be134f4b82 remove setbuf
... and start on sink*().
2011-03-01 22:07:48 +00:00
John Cupitt
7257c5426a split vips_new_*() modes up
New modes and properties mean we can use _build() for all the vipsimage init
stuff now.
2011-03-01 14:49:16 +00:00
John Cupitt
17c5ab4383 remove im_binfile
im_binfile is now folded into image.c
2011-02-28 18:00:03 +00:00
John Cupitt
05ab548636 ri2c was broken
Oops, im_ri2c() was totally broken :-(
2011-02-28 12:16:43 +00:00
John Cupitt
3e112602f2 vector im_add was broken for int/uint
oops, im_add() with Orc was broken for uint and uint. Added more tests
to nip2 to pick this up earlier in future.
2011-02-28 11:15:09 +00:00
John Cupitt
2a2fef64f3 vips and error done
more files compile
2011-02-26 14:46:38 +00:00
John Cupitt
d203195fff dispatch.c compiles
woo!
2011-02-25 20:28:59 +00:00
John Cupitt
241187146f debug.c makes it
by removing most of it, argh. add _sanity() as an object mthod.
2011-02-25 18:07:09 +00:00
John Cupitt
8aca405527 doing debug.c
working through the rest of iofuncs, the enum stuff in debug.c needs
ripping out next
2011-02-24 21:15:03 +00:00
John Cupitt
aa8e27bd3c it compiles!
The new image.c now compiles. Next: get everything else to compile too.
2011-02-24 15:06:49 +00:00
John Cupitt
3378c2ba2c small nohalo improvement
Commented out the CHEAP option for nohalo, it gets slightly better
without it and there's not much difference to runtime.
2011-02-24 12:54:56 +00:00
John Cupitt
7155550c18 more hacking
yet more vipsimage twonking
2011-02-24 12:51:52 +00:00
John Cupitt
16b032f8c1 more hackery
getting closer, stuck on vips image byte-swap logic now, probably need a
im_file2vips() type function
2011-02-23 17:38:24 +00:00
John Cupitt
1d364cd9f1 sigh more hacking
Yet more VipsImage fiddling.
2011-02-22 21:46:17 +00:00
John Cupitt
20cd123caa more vipsimage-vipsobject hacking
sigh
2011-02-21 17:44:31 +00:00
John Cupitt
a7d2288bad im_jpeg2vips() ignores weird APP1 chunks
Some JPEGs seem to have multiple APP1 chunks. There should only be one,
and it should only contain EXIF data (I think), but some seem to have
many.

This was causing problems: the loader was trying to read exif
from all chunks, and a second chunk with invalid data was zapping the
stored exif meta tag. As a result, things like

  vips im_copy a.jpg b.jpg

would appear to lose EXIF info if a.jpg had spurious APP1.
2011-02-21 17:01:00 +00:00
John Cupitt
7a704bad50 more VipsImage hackery
getting closer to compiling
2011-02-21 09:16:17 +00:00
John Cupitt
7f081f4d54 more hackery
headers compile now, just about, working on image.c
2011-02-16 14:40:31 +00:00
John Cupitt
e59b74b646 tiny tweak to object.h
all I managed before falling asleep, ha
2011-02-15 22:49:22 +00:00
John Cupitt
62836151d4 more vipsimage hacking
Moved all of im_close.c and im_open.c into the image.c class file,
various small cleanups.
2011-02-15 14:41:46 +00:00
John Cupitt
cbc366cd7d more image to object hackery
More movement of VipsImage to a subclass of VipsObject. im_close.c still
to do. Added wrappings for the enums.
2011-02-14 18:23:01 +00:00