Commit Graph

1112 Commits

Author SHA1 Message Date
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
John Cupitt d5d312aa91 update README
updated the README with some notes on git
2011-02-14 11:34:13 +00:00
John Cupitt 8dbb43570e sync before trip
synced to github before holiday
2011-02-05 12:52:29 +00:00
John Cupitt e54bdd0868 more VipsImage on VipsObject hacking
more hacking about to get VipsImage on top of VipsObject
2011-02-04 14:42:07 +00:00
John Cupitt 0af9b5dede started moving VipsImage to VipsObject
Started hacking VipsImage about to sit on top of VipsObject instead.
We'll get it working, then refine it, hopefully.
2011-02-03 14:35:28 +00:00
John Cupitt 826de45ba1 stuff 2011-02-03 12:52:14 +00:00
John Cupitt aa620ea540 remove the old man pages
Finally junk the old man pages, everything is redone as gtk-doc now.
2011-02-03 11:50:58 +00:00
John Cupitt 729b680841 set MAP_NOCACHE if we can
Set the MAP_NOCACHE flags in mmap() if we can. On OS X this stops the
mad super-aggressive disc caching and produces a huge improveemnt in
performance.
2011-02-02 21:56:40 +00:00
John Cupitt aca238dfca TODO updates 2011-02-02 21:19:13 +00:00
John Cupitt af95502d82 final operators gtk-doc'd
All done! Good Lord. Just some parts of iofuncs/ still to do.
2011-02-02 17:17:05 +00:00
John Cupitt 097eaedd69 more gtk-doc 2011-02-02 14:49:29 +00:00
John Cupitt afef89369b gtk-doc for interpolate
Add gtk-doc comments for VipsInterpolate.
2011-02-02 14:24:58 +00:00
John Cupitt 444887e57f more informative progress messages
--vips-progress now tells you nthreads, tile size and nlines. For
example:

$ vips --vips-progress im_shrink big.v x.v 8 8
vips x.v: 2 threads, 2858 x 1 tiles, groups of 4 scanlines
vips x.v: done in 43s
$
2011-02-02 12:52:54 +00:00
John Cupitt 1de1435752 oops im_zone() typo
missed a var being renamed argh
2011-02-02 12:51:40 +00:00
John Cupitt d064818fd7 done gtk-doc for "other"
Finished gtk-doc-ing "other".
2011-02-01 14:47:08 +00:00
John Cupitt df91b4e4a0 more gtk-doc hacking
gtk-doc more of "other", move various useless functions into deprecated
2011-02-01 14:41:46 +00:00
John Cupitt 84635be1e3 oops forgot a proto
argh
2011-02-01 13:37:18 +00:00