Commit Graph

2252 Commits

Author SHA1 Message Date
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 f290b92e47 sync 2013-04-08 10:15:11 +01:00
John Cupitt 9a73a0ea5c Merge remote-tracking branch 'origin/7.32' 2013-03-22 09:14:43 +00: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
John Cupitt 028e93430e Merge pull request #56 from bgilbert/fsf-address-2
Update Free Software Foundation address in one more file
2013-03-17 16:10:15 -07:00
Benjamin Gilbert 162d71de08 Update Free Software Foundation address in one more file 2013-03-17 16:08:24 -04:00
John Cupitt 3612dce45a Merge branch '7.32' 2013-03-17 15:24:25 +00:00
John Cupitt 831f8cb700 Merge remote-tracking branch 'origin/7.32' into 7.32
Conflicts:
	ChangeLog
2013-03-17 15:24:13 +00: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 4bcc380b93 Merge remote-tracking branch 'origin/7.32'
Conflicts:
	ChangeLog
2013-03-15 12:17:09 +00:00
John Cupitt 9cb1403b9b better error msg on unknown action
$ vips fred --n

would confusingly complain about unknown option --n, rather than the
unknown acrion "fred"
2013-03-15 12:15:35 +00:00
John Cupitt 386d73770e oops date 2013-03-12 12:07:52 +00:00
John Cupitt 042d093df2 bump version for next cycle 2013-03-12 12:06:59 +00:00
John Cupitt 0f633da128 configure cleanup, version bump
configure.ac had some left-over debugging code
2013-03-12 08:56:25 +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
John Cupitt 9795913bf5 sync 2013-03-07 11:23:17 +00:00
John Cupitt efbe755a36 help bootstrap on OS X 2013-03-07 10:27:35 +00:00
John Cupitt 52a7978dfe remove "fred" from dist
I do "make > fred" by habit, make sure these dumb files don't reach dist
2013-03-07 09:58:39 +00:00
John Cupitt 99af8484d2 Merge pull request #54 from bgilbert/fsf-address
Update mailing address for Free Software Foundation
2013-03-07 00:49:18 -08: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 a731805344 sync 2013-03-05 14:46:08 +00:00
John Cupitt 579dd3a26e Merge remote-tracking branch 'origin/master' 2013-03-01 18:12:17 +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 ae27de5140 more granular cache for tiny speed up 2013-03-01 10:29:01 +00:00
John Cupitt 8269a79801 vipsthumbnail sizes cache better
the vipsthumbnail cache could be too small on many-cpu machines, size it
more intelligently
2013-03-01 09:44:19 +00:00
John Cupitt 2d085f753b record the image loader
and display in header too
2013-02-27 12:51:26 +00:00
John Cupitt ad2156a6d2 Merge remote-tracking branch 'origin/7.30'
Conflicts:
	ChangeLog
	configure.ac
	po/vips7.pot
2013-02-27 12:10:53 +00:00
John Cupitt b1b1d8ae39 fix png write bug, bump version 2013-02-27 12:09:10 +00:00
John Cupitt 3a188daa20 sync 2013-02-27 09:58:42 +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 8251a797da tiny OS X fix 2013-02-16 17:39:56 +00:00
John Cupitt 5039736cd7 update more version numbers 2013-02-16 13:24:55 +00:00
John Cupitt e4c2a14b7b fix make dist 2013-02-14 08:51:44 +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 4268f27d5b add a osx benchmark
'time' is very non-linux on os x, make a separate benchmark
2013-01-25 12:26:18 +00:00
John Cupitt a9fbd26f78 recent auto* leave more test files
ignore test-driver too
2013-01-25 11:10:10 +00:00
John Cupitt d094ed23d9 update benchmark
we used to lock the tile size to 64x64 for compatibility, let it float
now
2013-01-23 13:23:27 +00:00
John Cupitt 90709538e6 update configure system 2013-01-23 10:17:51 +00:00
John Cupitt b3c16b69a1 version number bump
bump version for new stable cycle
2013-01-22 14:04:55 +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