Commit Graph

1241 Commits

Author SHA1 Message Date
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
John Cupitt 390fd643a3 move im_dif_std() to almostdeprecated
im_dif_std() is another ancient function which I don't want to update.
You can now make this function with a simple combination of other vips
operations.

This patch includes gtk-doc for im_benchamrk.c
2011-02-01 13:27:50 +00:00
John Cupitt 117a5fedcf deprecate cooc and glds
Moved cooc and glds functions to almostdeprecated. No one uses them, no
one understanbds them, I don't want to fix them up.
2011-02-01 12:14:30 +00:00
John Cupitt 29b7806603 more .gitignore
add vim .swp files to .gitignore
2011-02-01 08:41:01 +00:00
John Cupitt b9760f7a02 route all fopen() though util.c
im__file_open_read() / _write() now have a text_mode flag, so we can use
them everywhere and get rid of the last fopen() calls.
2011-01-31 16:15:19 +00:00
John Cupitt 233cbf1f15 get all fopen()s going through util.c
Add a text_mode flag to im__file_open_write() and _read() so we can
route all fopen() though these two functions.
2011-01-31 16:00:35 +00:00
John Cupitt 5764182fe3 fix up .gitignore some more
Argh more missing stuff in .gitignore.
2011-01-31 15:28:44 +00:00
John Cupitt 663c3c15fd fits reader is lazy
The fits reader is now lazy, and reads out whole tiles when it can.
Previously it read a scanline at a time, and used WIO.

We read in planes and combine with a set of im_bandjoin().

Use an im_flipver() at the end to get rows in the right order.
2011-01-31 15:24:41 +00:00
John Cupitt c19a6d90be fits reader hacking 2011-01-28 17:14:58 +00:00
John Cupitt 38ca511694 Merge branch 'master' of github.com:jcupitt/libvips 2011-01-28 17:07:55 +00:00
John Cupitt 863bf79dcc add .gitignore
add a .gitignore to reduce noise in git status etc.
2011-01-28 17:00:39 +00:00
John Cupitt c0827bae37 tile cache for fits reader
add a tile cache to the fits reader

still broken for colour images though, strange
2011-01-28 12:01:57 +00:00
John Cupitt 41ccd93d2d add im_fits2vips() to the operation database
the fits reader, im_fits2vips(), was in VipsFormat but not in the
operation database
2011-01-28 11:37:52 +00:00
John Cupitt 31749ecafc mutex fits read calls
We were getting some errors in image read --- mutex the fits read area
call.
2011-01-27 16:54:34 +00:00
John Cupitt 5e366bcaf3 fits reader is now lazy
The fits format reader now uses fits_read_subset() to erad pixels
lazilly. There are a few unresolved issues though:

- getting some streaking, try putting a lock around the read
  subarea call, perhaps it can't thread?

- add a tile cache, cf. tiff

- test colour read with valgrind

- ask Doug for a test colour image

- read whole tiles, if the alignment is right, again see tiff reader

- test performance

- remove the old scanline reader?
2011-01-27 14:43:33 +00:00
John Cupitt 1aea6a1347 gtkdoc for mosaicing 2011-01-25 13:12:22 +00:00
John Cupitt 823650b2b4 oops 2011-01-24 10:40:40 +00:00
Nicolas Robidoux 1ac1c13109 Nicolas Robidoux tweak in AUTHORS 2011-01-16 16:18:29 +00:00
Nicolas Robidoux e509a9172f double constant in a float computation in float bilinear 2011-01-12 20:50:18 +00:00
Nicolas Robidoux 2f52e4e007 redundant fast pseudo floor in interpolate.c 2011-01-12 20:45:16 +00:00
Nicolas Robidoux 220e2a02eb attempt at speeding up float bilinear: one less flop in coefficient computation 2011-01-12 20:32:11 +00:00
John Cupitt 15dc216d91 stuff 2011-01-12 13:40:07 +00:00