Commit Graph

97 Commits

Author SHA1 Message Date
John Cupitt 35533a54cf finish reviding the fixed-up image load/save API 2014-06-08 11:16:58 +01:00
John Cupitt 339712fb13 hackey hack 2014-06-06 15:03:12 +01:00
John Cupitt 011fd99a1a start fixing up the auto-decode stuff 2014-05-19 14:53:47 +01:00
John Cupitt ce5a01290d work around g-ir crash 2014-04-10 10:57:39 +01:00
John Cupitt 3c087fc902 replace im_circle()/im_flood() with wrappers 2014-02-06 09:52:45 +00:00
John Cupitt fb489bad53 move vips_image_decode() into the public API 2014-02-03 14:29:57 +00:00
John Cupitt 2a81c611c5 Merge remote-tracking branch 'origin/7.36'
Conflicts:
	ChangeLog
	configure.ac
	libvips/deprecated/im_exr2vips.c
	libvips/foreign/radiance.c
2014-01-09 14:30:52 +00:00
John Cupitt c81654ad93 fix some clang warnings 2014-01-09 14:26:58 +00:00
John Cupitt 54dcea8c3d fix some clang warnings 2013-11-21 17:43:28 +00:00
John Cupitt 440b800e0e add a new unbuffered seq mode
things like

	vips copy huge.png x.v

now run with only a small line cache
2013-09-29 11:04:11 +01:00
John Cupitt 481a4445fb add vips_image_new_matrixv() 2013-09-20 22:06:59 +01:00
John Cupitt 440b3a3362 fix up -DVIPS_DEBUG build 2013-07-15 10:49:49 +01:00
John Cupitt 7312fd4ed4 more array->matrix renaming 2013-07-03 09:22:04 +01:00
John Cupitt 7490da07a6 rename image array as matrix
we had vips_image_new_array(), this was confusing with VIPS_TYPE_ARRAY,
something completely different ... rename image array as matrix
2013-07-02 22:09:50 +01:00
John Cupitt b405047132 im_system*() -> a class
vips_system() is a bit more flexible too
2013-06-04 13:25:38 +01:00
John Cupitt 42b4dd947d im_copy_file() -> vips_copy_file()
also rename vips_image_new_disc_tmpe() as vips_image_new_temp_file()
2013-05-29 17:08:18 +01:00
John Cupitt 69136b1d8c auto rshift to 8 bits for 8-bit save 2013-05-28 10:32:37 +01:00
Benjamin Gilbert 8cc76a6ba3 Update address for Free Software Foundation
Also update LGPLv2.1 license text from the copy currently on the GNU
website.
2013-03-07 00:40:19 -05:00
John Cupitt c341f0d134 add scRGB functions 2012-12-11 15:25:28 +00:00
John Cupitt 8f364a8b51 rename some _get funcs
all the _get_ funcs that returned a bool have become _isthing()
functions, eg.

vips_object_argument_get_assigned() ->
  vips_object_argument_isset()
2012-11-09 13:08:59 +00:00
John Cupitt f5790be152 rename UCS as CMC 2012-11-01 10:21:55 +00:00
John Cupitt f8dddf23a9 remove disp stuff, just sRGB now
all the old monitor calibration stuff is gone, we only support sRGB now

im_Lab2disp() etc. have become vips_Lab2sRGB() etc.

compatibility macros keep old code compiling
2012-09-24 11:23:32 +01:00
John Cupitt daac11b01c add "minimise" signal
on end of an image loop, send a "minimise" signal down the pipeline

tilecache listens for this signal on its output and drops the cache

helps reduce ruby memuse
2012-06-23 11:51:57 +01:00
John Cupitt 0290eb009d more accurate progress reporting
computation progress used to be done incrementally based on the number
of tiles allocated. This did not take account of half tiles at image
edges, so you could sometimes see "110% complete"

it's now calculated based on the absolute number of pixels processed, so
it should always report 100% at the end.
2012-04-12 10:01:17 +01:00
John Cupitt 15c5f330c4 small compiler fixes 2012-03-07 12:25:14 +00:00
John Cupitt 5771be4186 xres/yres become double
we had them as float before to make load/save easier, but that means we
need lots of hacks to make properties work correctly

instead, convert to/from float on read/write and have them as double
internally
2012-03-02 12:54:50 +00:00
John Cupitt d1f5225e58 more robust char->enum
edvips has much safer char->enum conversion
2012-01-27 17:36:25 +00:00
John Cupitt f98dbceb60 add VIPS_IMAGE_N_PELS()
a macro to calculate the number of pels in an image, in 64 bits
2012-01-15 11:15:12 +00:00
John Cupitt 351a2ad71c better saving of coded images 2012-01-12 13:39:58 +00:00
John Cupitt d0ec401a12 hackery to get goi working 2011-12-31 18:22:42 +00:00
John Cupitt 49d3542cc7 remove outchecks, again 2011-12-21 19:00:32 +00:00
John Cupitt 18d54ea3d2 final openslide cleanups 2011-12-12 11:58:36 +00:00
John Cupitt 230e9ce63e move openslide to a new-style class 2011-12-11 22:01:39 +00:00
John Cupitt e34b6b92e9 small cleanups
minor changed to openslide.c, use PEL everywhere as the pixel pointer
type
2011-12-09 14:30:45 +00:00
John Cupitt b9747f5a06 various size_t->guint64 fixes
some platforms have off_t as 32-bits breaking large file support ...
make sure we use guint64 everywhere
2011-12-09 09:42:39 +00:00
John Cupitt cb5f199f1c misc big fixes 2011-11-08 18:36:33 +00:00
John Cupitt 9493ea7e29 sync 2011-11-08 09:06:13 +00:00
John Cupitt f2d9001cce rename function members
some function members were not named with a trailing _fn, causing
confusion
2011-11-02 09:22:30 +00:00
John Cupitt 441ae2305e sync 2011-10-28 17:36:20 +01:00
John Cupitt 8dfb3056ac added VipsEmbed
added VipsEmbed class, new macros for arg boilerplate, new priority
thing for arg ordering
2011-10-16 14:48:47 +01:00
John Cupitt d25e94d0d2 squash compiler warnings
and rename vips_image_write_filename() to vips_image_write_to_file() to
be more consistent
2011-10-15 12:22:57 +01:00
John Cupitt 66126c1076 hackery to move to vips_copy()
half-way through moving over to the new vips_copy()
2011-10-11 17:47:06 +01:00
John Cupitt 1fe6241a5e move enum gtk-doc
move the enum gtk-doc comments into the headers, matching glib's style

I hope this might fix some warnings during gtk-doc generation, but they
seeem to still be there, ah well
2011-07-28 12:22:44 +01:00
John Cupitt 3920f5dc7e get im_system_image() working again
chop stuff about to get system image working again.
2011-06-16 13:54:13 +01:00
John Cupitt 0b902bfbd4 make CLI arg handling into vfuncs
add vfuncs to vipsobject for the CLI interface
2011-05-24 14:44:23 +01:00
John Cupitt ef29872ce7 added vips_image_write()
added a convenience function to write an image to a file
2011-05-24 12:53:29 +01:00
John Cupitt efe1a19598 functional vipsoperation
vipsoperation now mostly creates output objects for you
2011-05-19 13:48:09 +01:00
John Cupitt 79a7a37d71 create output images in _build()
new idea: output image get made in _build(), we copy them out after
calling the operation's build, see TODO

vips_image_new() param removed, it just always makes "p" images now
2011-05-18 11:03:31 +01:00
John Cupitt 370641d25b stuff
oops argh
2011-04-01 15:11:59 +01:00
John Cupitt 8ddc805878 phew all done
iofuncs is now all on the vips_ namespace, and all revised, hopefully
2011-03-28 17:18:06 +01:00