Commit Graph

1506 Commits

Author SHA1 Message Date
John Cupitt 4311d452f1 redo im_scale() as a class 2013-05-30 16:29:58 +01:00
John Cupitt e0951c223b redo im_grid() as a class 2013-05-30 15:52:36 +01:00
John Cupitt 130aaf1fd0 start vips_grid() 2013-05-30 09:27:31 +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 1310d4193b add --angle option to dzsave 2013-05-29 14:06:23 +01:00
John Cupitt 62b52ed624 gaussnoise redone as a class 2013-05-29 12:21:30 +01:00
John Cupitt 10f6842d36 start gaussnoise 2013-05-29 10:50:52 +01:00
John Cupitt 69136b1d8c auto rshift to 8 bits for 8-bit save 2013-05-28 10:32:37 +01:00
John Cupitt 964c415925 fix im_invertlut()
didn't work for 1 high input matrices
didn't work for file output
2013-05-23 22:07:05 +01:00
John Cupitt cdb3c589dd Merge remote-tracking branch 'origin/7.32'
Conflicts:
	ChangeLog
	configure.ac
2013-05-14 09:40:16 +01:00
John Cupitt d739a240eb fix a segv with icc import/export
would segv for very wide images
2013-05-14 09:38:59 +01:00
John Cupitt 5e3f868171 don't cache vips_copy() or im_copy() 2013-05-11 16:31:18 +01:00
John Cupitt a2d06e640e small cppcheck-suggested polishes 2013-05-07 17:22:29 +01:00
John Cupitt 8956ba536b fix some cppcheck warnings 2013-05-01 18:46:15 +01:00
John Cupitt d6e8abce9b added "persistent" option to tilecache
sometimes you need to keep pixels between evaluations
2013-04-25 17:43:15 +01:00
John Cupitt 4c5772fe5f rename vips7.po as vips7.32.po
helps Debian, where they need to be able to install versions in parallel
2013-04-16 14:30:28 +01:00
John Cupitt f0cbe27bb2 Merge remote-tracking branch 'origin/7.32' into 7.32
Conflicts:
	ChangeLog
2013-04-08 13:17:10 +01:00
John Cupitt 0c6da0c330 fix demand hints for shrink
"vips shrink" was broken due to wonky demand hints, thanks Jan
2013-04-08 13:08:24 +01:00
John Cupitt 4ebe588da6 fix compile without jpeg
im_jpeg2vips.c failed to compile if jpeglib.h was missing, thanks
Alessandro
2013-03-22 09:12:06 +00:00
Benjamin Gilbert 162d71de08 Update Free Software Foundation address in one more file 2013-03-17 16:08:24 -04:00
John Cupitt f5188ee3f6 better arg without value handling
this was segv-ing:

vips tiffsave v26722.tif v26722.pyr.tif --tile -tile-width 256

(only one hypen before tile-width)

thanks Ruven
2013-03-17 15:19:37 +00:00
John Cupitt 30a0f26e5c bump vips up the format list
vips format was behind openslide in the priority list, bump it up

this helps ordering of file format types in nip2's open dialog
2013-03-07 13:44:21 +00: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 58040423d2 fix --without-lcms
oops! thanks speckins
2013-03-06 17:33:25 +00:00
John Cupitt 592ace8514 better jpeg load/save API docs 2013-03-06 11:30:01 +00:00
John Cupitt dd05529db4 fix for build against libpng16
I am sending you lightweight patch against vips to be able build it
also with libpng16.

They no longer #include string.h in png.h See section XII of [1] for
details.

Petr
2013-03-01 18:09:47 +00:00
John Cupitt 2d085f753b record the image loader
and display in header too
2013-02-27 12:51:26 +00:00
John Cupitt 89d19262fa remove some debugging code 2013-02-27 09:37:32 +00:00
John Cupitt 8dadd1a377 oop png icc profile write was broken 2013-02-27 08:51:28 +00:00
John Cupitt 25a7b760d0 neater "header" output 2013-02-26 13:32:40 +00:00
John Cupitt 61875a4bca fix another dzsave corner case
better padding calculation fixes yet another corner case for dzsave,
thanks Martin
2013-02-26 12:32:01 +00:00
John Cupitt 008af5ca16 hacking 2013-02-25 14:54:39 +00:00
John Cupitt 3837497613 threaded tilecache could deadlock
in threaded mode, tilecache could deadlock if the downstream pixel
source raised an error

senario:

	- thread1 starts working on tile A and flags it as a CALC
	  (calculation in progress)

	- thread2 needs tile A, sees it is being worked on, and blocks
	  until computation is done

	- thread1 hits an error ... it correctly remarks the tile as
	  PEND (calculation pending), but does not broadcast a wake-up
	  signal

	- thread2 stays blocked!

threads now broadcast a wakeup on tile error as well as on tile success

Thanks to Todd Patrick
2013-02-21 17:26:58 +00:00
John Cupitt 5cd60f3701 better behaviour for labq with bad type
labq images with the type set incorrectly were not handled well
2013-02-18 13:49:32 +00:00
John Cupitt 144a95dc92 sync 2013-02-13 16:27:24 +00:00
John Cupitt 174c2fa8c1 have out own lock foe dzsave
we were calling quite a few funcs from inside the global lock, some of
which used the global lock themselves

have our own file operation lock, it's neater
2013-02-13 15:19:17 +00:00
John Cupitt 90709538e6 update configure system 2013-01-23 10:17:51 +00:00
John Cupitt 9fb16c23fc add --centre option to dzsave
with --centre turned on, in google maps mode dzsave will centre tiles
rather than placing them at the top-left

also, make sure blank.png is set to @background
2013-01-21 14:48:14 +00:00
John Cupitt b2cd5f631e fix an obscure dzsave bug
in some cases dzsave could fail to write all the pyramid layers out

the problem was if a layer was odd-sized and needed rounding up so it
could be shrunk from, and if the tile size was such that the final strip
was sized exactly to fit the last line of pixels that would come into
this layer, the final line of pixels could never be interpolated

thanks to Martin for the report
2013-01-17 13:14:47 +00:00
John Cupitt c570bf902e revert recent changes to nohalo/vsqbs
revert the changes to nohalo/vsqbs that were suppoed to switch to corner
convention, they broke addressing

this needs rethinking
2013-01-16 11:50:34 +00:00
John Cupitt 9599b5dc92 remove RCS tag
thanks testn
2013-01-15 22:14:24 +00:00
John Cupitt 6fe6171973 remove a lot of the internal flag abbreviations
GOption doesn't seem to do anything clever with repeated flag
abbreviations. Remove most of the internal ones to stop clashes with
application flags.
2013-01-15 21:26:42 +00:00
John Cupitt caa51245c7 improve the cond wait wrapper
by removing it, we don't want to restart the timer on every loop
2013-01-15 17:23:58 +00:00
John Cupitt 384842cd0a make a fresh test dist 2013-01-15 14:52:46 +00:00
John Cupitt 1ae19e896f Merge remote-tracking branch 'origin/7.30'
Conflicts:
	libvips/conversion/sequential.c
	libvips/conversion/tilecache.c
	libvips/deprecated/im_tile_cache.c
	libvips/deprecated/vips7compat.c
	po/vips7.pot
2013-01-15 13:47:48 +00:00
John Cupitt a431f5e021 clean up after fix
threaded tile cache seems a good solution --- clean up and get ready to
merge back into master
2013-01-14 17:35:05 +00:00
John Cupitt 8ab2f3eeb6 backport threaded tile cache 2013-01-14 14:51:51 +00:00
John Cupitt ac405862ba argh 2013-01-11 14:51:12 +00:00
John Cupitt 91b39670b6 Merge remote-tracking branch 'origin/7.30' 2013-01-11 10:23:31 +00:00
John Cupitt da0b890e84 argh 2013-01-10 14:46:20 +00:00