Commit Graph

1340 Commits

Author SHA1 Message Date
John Cupitt
691893f31c updated German translation
new German translation, thanks Chris, tiny change to jpeg2vips
2011-05-07 15:11:01 +01:00
John Cupitt
8b10aa2fe0 magick notes 2011-05-02 18:02:41 +01:00
John Cupitt
daf915fafb added vips_image_get_data()
something to get the pixel data pointer
2011-05-01 11:32:59 +01:00
John Cupitt
ec56a691dc oops 2011-05-01 11:07:19 +01:00
John Cupitt
0a2ef6e8c5 bufjpeg2vips has a header_only param
im_bufjpeg2vips() has header_only, meaning just read width/height/etc.
2011-05-01 11:02:31 +01:00
John Cupitt
e8a78916a3 add support for palette mono images
search the colormap for R==G==B and output mono in this case

there is a tiff extension for INDEXED images, but no one seems to use it
2011-04-21 12:01:37 +01:00
John Cupitt
620c02a833 cleanups
small tidies
2011-04-21 09:57:04 +01:00
John Cupitt
40ee1823e5 oops jpeg read
the recent jpeg read change had a couple of left-over variables
2011-04-21 09:56:25 +01:00
John Cupitt
f13bf34ce3 add n-bit palette tiff read
The tiff reader can do 1, 2, 4, 8 bits per sample palette read.
Greyscale palette images always come out as colour, I'm not sure how to
fix this. Perhaps I have to search the palette and see if r==g==b?
2011-04-21 09:53:02 +01:00
John Cupitt
b275f1dd26 started adding new CLI interface
Started hacking on the thing to let you call operations from the
command-line. The target syntax is something like:

	add a b c

where a, b, c are the required parameters. Optional params may be appended to
the operation name, eg.

	add{saturated=true} a b c

Required params which are subclasses of VipsObject may themselves have
required and optional params, eg.

	affine in.v out.v bilinear{12,sharp=true} 0 1 1 0 0 0
2011-04-20 17:41:55 +01:00
John Cupitt
c4f5c71507 add im_bufjpeg2vips()
add a thing to open a jpeg from a memory buffer, handy for processing
thumbnails from exif data
2011-04-20 15:23:34 +01:00
John Cupitt
1a42e75f80 fix silly segv
If you called vips_object_map() before any vips objects had been
created, you got a segv.
2011-04-18 14:35:55 +01:00
John Cupitt
f628b3c018 fix a docs typo
small doc improvement
2011-04-14 17:51:56 +01:00
John Cupitt
172b9f920e removed some binaries
oops, had these in by mistake
2011-04-14 09:39:16 +01:00
John Cupitt
efcc0c20de need private array in VipsBinary
oops
2011-04-13 17:55:58 +01:00
John Cupitt
e0d4ed89ff reorganise tools/ dir
The subdir in tools are no lonmger necessary. Also, remove ther old bin
links feature, not very useful anymore.
2011-04-06 12:06:32 +01:00
John Cupitt
42a9b2c3d0 rename arith header to avoid confusion 2011-04-05 21:36:00 +01:00
John Cupitt
e3f18fb9d1 compiles phew 2011-04-05 17:02:12 +01:00
John Cupitt
75d209fd2c hackery
ops, half-done
2011-04-05 14:46:17 +01:00
John Cupitt
e51c35b48a oops 2011-04-04 16:59:10 +01:00
John Cupitt
ac461e5cc6 tiff read uint/int mixup
there was a uint/int mixup in the tiff reader causing problems with
tiff files written in single strips, thanks Bubba
2011-04-04 16:56:26 +01:00
John Cupitt
8d367998c6 VipsAdd works
done VipsAdd class and made an im_add() stub for compat
2011-04-04 15:46:57 +01:00
John Cupitt
ce03da8c71 now compiles with new add.c
compiles, but not tested
2011-04-02 16:39:20 +01:00
John Cupitt
370641d25b stuff
oops argh
2011-04-01 15:11:59 +01:00
John Cupitt
c8fc3e6c85 fix a progress crash
progress was not always being signalled on the right image in sink.c
2011-03-31 18:04:23 +01:00
John Cupitt
db41b6ac4e add VipsOperation
abstract base class for all operations goes in
2011-03-29 12:12:20 +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
John Cupitt
4120f7b296 cleanup util
just a few little things left, yay
2011-03-28 16:03:31 +01:00
John Cupitt
c7b74f620f yet more cleanups
just util.c left now, woo
2011-03-28 14:57:43 +01:00
John Cupitt
b13872f111 clean up sink
common up some stuff in the sinks
2011-03-28 14:08:42 +01:00
John Cupitt
59f88260d6 oops png gamma on save
the gamma on save was set to 1.0, incorrectly
2011-03-28 11:53:39 +01:00
John Cupitt
9c10f10eaf oops sense swapped in typeof
argh, nip2 passes test suite now
2011-03-28 11:38:26 +01:00
John Cupitt
6bca2616bc move vips7compat to deprecated
makes sense, really
2011-03-28 10:44:07 +01:00
John Cupitt
517cd679d3 sort out header.c
clean up meta/header mess
2011-03-27 22:03:38 +01:00
John Cupitt
c95aa263dd small cleanups
found a few little things
2011-03-25 20:16:09 +00:00
John Cupitt
3b2416fb0e fix check.c
cleanups and stuff
2011-03-25 17:04:26 +00:00
John Cupitt
11966af809 fix up im_incheck() and friends
sorted out, moved to vips_
2011-03-25 14:48:28 +00:00
John Cupitt
842d2e1b16 more more stuff to vips_
window, memory, buffer, b64 all moved to the vips_ namespace
2011-03-25 14:01:12 +00:00
John Cupitt
56840af97d fix im_cache
im_cache updated
2011-03-25 12:52:48 +00:00
John Cupitt
553ccc9e45 deprecate wrap*()
move im_wrapone() etc. to deprecated (or vips7compat), we'll use an
operation class instead
2011-03-25 12:23:19 +00:00
John Cupitt
6d8950a5c0 move mapfile to vips_ namespace 2011-03-25 12:07:10 +00:00
John Cupitt
b8e4c57830 move im_generate to vips_
rename and reorganise im_generate and friends
2011-03-25 09:52:36 +00:00
John Cupitt
9259d686f9 fold im_demand_hint
demand hint stuff moves into generate
2011-03-24 17:03:27 +00:00
John Cupitt
23be545441 bugfix
look out for signal and generate being equal in progress feedback
2011-03-24 14:37:56 +00:00
John Cupitt
82dbdedd6e better vips7 progress compat
make progress info on both the image being generated and the image we
signal on
2011-03-24 14:28:35 +00:00
John Cupitt
5da71c8336 fix progress for nip2
progress feedback works again, and cancel too
2011-03-24 14:08:35 +00:00
John Cupitt
b79fa7387e fix progress feedback
works, phew
2011-03-24 12:49:53 +00:00
John Cupitt
5e8121321d written callbacks can fail
written callbacks now take a status return argument, so we can error for
"vips im_copy fred.jpg /jim.jpg", phew
2011-03-24 11:21:24 +00:00
John Cupitt
9e62bf3b36 fix some back compat stuff
nip2 now passes the test suite
2011-03-23 22:19:49 +00:00
John Cupitt
933373a405 oops
argh
2011-03-23 18:28:48 +00:00