Kleis Auke Wolthuizen
31bf0e3cb7
Update function list for stream -> source rename
2020-01-01 12:28:18 +01:00
John Cupitt
252996e3ff
make check passes after stream -> source rename
2019-12-30 12:48:20 +00:00
John Cupitt
4c5873809f
experiment with renaming stream
...
rename as VipsConnection, VipsSource, VipsTarget etc.
see https://github.com/libvips/libvips/issues/1494#issuecomment-569498619
renamed with this script:
```
set -e
edit() {
sed -i -E "$1" rename
}
for i in $*; do
cp $i rename
edit s/VIPS_STREAMOU/VIPS_TARGET_CUSTOM/g
edit s/VIPS_STREAMO/VIPS_TARGET/g
edit s/VIPS_STREAMIU/VIPS_SOURCE_CUSTOM/g
edit s/VIPS_STREAMI/VIPS_SOURCE/g
edit s/VIPS_STREAM/VIPS_CONNECTION/g
edit s/vips_streamou/vips_target_custom/g
edit s/vips_streamo/vips_target/g
edit s/vips_streamiu/vips_source_custom/g
edit s/vips_streami/vips_source/g
edit s/vips_stream/vips_connection/g
edit s/VipsStreamou/VipsTargetCustom/g
edit s/VipsStreamo/VipsTarget/g
edit s/VipsStreamiu/VipsSourceCustom/g
edit s/VipsStreami/VipsSource/g
edit s/VipsStream/VipsConnection/g
# eg. VIPS_TYPE_STREAM or VIPS_IS_STREAM
edit "s/VIPS_([A-Z]+)_STREAMOU/VIPS_\1_TARGET_CUSTOM/g"
edit "s/VIPS_([A-Z]+)_STREAMO/VIPS_\1_TARGET/g"
edit "s/VIPS_([A-Z]+)_STREAMIU/VIPS_\1_SOURCE_CUSTOM/g"
edit "s/VIPS_([A-Z]+)_STREAMI/VIPS_\1_SOURCE/g"
edit "s/VIPS_([A-Z]+)_STREAM/VIPS_\1_CONNECTION/g"
edit s/streamou/target_custom/g
edit s/streamo/target/g
edit s/streamiu/source_custom/g
edit s/streami/source/g
# various identifiers which also change
edit s/is_a_stream/is_a_source/g
edit s/find_load_stream/find_load_source/g
edit s/find_save_stream/find_save_target/g
edit s/new_from_stream/new_from_source/g
edit s/write_to_stream/write_to_target/g
edit s/vips_thumbnail_stream/vips_thumbnail_source/g
# eg. vips_webpload_stream
edit "s/vips_([a-z]+)load_stream/vips_\1load_source/g"
# eg. vips_webpsave_stream
edit "s/vips_([a-z]+)save_stream/vips_\1save_target/g"
mv rename $i
done
```
2019-12-29 21:40:21 +00:00
John Cupitt
96079202ef
rework jpegload class
...
to match the radload pattern
2019-12-24 09:21:22 +00:00
John Cupitt
561f410f0a
rework pngload
...
To match the new radload pattern.
2019-12-24 07:55:06 +00:00
John Cupitt
562da3e5ab
rename new_from_filename as new_from_file
...
So VipsStreami matches VipsImage. Same for new_to_filename.
2019-11-22 17:13:20 +00:00
John Cupitt
f5a4f41edf
rename VipsStream* variables
...
The convention is now:
VipStreami *streami;
We had `input` in many places, a left-over from the old VipStreamInput
name.
2019-11-11 09:09:34 +00:00
John Cupitt
ee3270f8e9
more refactoring
2019-10-22 11:08:54 +01:00
John Cupitt
72cbaa9ea3
more revision
2019-10-21 15:04:30 +01:00
John Cupitt
1bdadeed61
add png stream load
2019-10-14 18:03:45 +01:00
John Cupitt
db36e19ffa
note PNG XMP support in docs
2019-06-13 09:26:09 +01:00
Alistair Thomas
0506c49444
Update GObject introspection annotations for libvips/foreign directory
2017-09-26 23:39:06 +01:00
John Cupitt
d5a706e47e
better behaviour for truncated PNG files
...
truncated PNG files failed with an error, even if --fail was not set ...
instead, just warn, and only error out if fail is on
see https://github.com/jcupitt/libvips/issues/629
2017-03-30 17:13:25 +01:00
John Cupitt
362c7efdfc
argh reapply seq removal
2017-03-06 11:55:38 +00:00
John Cupitt
98f5421c10
Revert "remove readbehind"
...
This reverts commit cb83918a3f
.
2017-02-27 10:24:56 +00:00
John Cupitt
cb83918a3f
remove readbehind
2017-02-21 17:14:33 +00:00
John Cupitt
8834b55c47
oops
...
ahem missed a rename
2017-01-30 11:28:23 +00:00
John Cupitt
756e69cf96
make pngload from buffer set flags
...
and remove some dead code from jpegload
2017-01-27 11:15:48 +00:00
John Cupitt
d4b4eb44a3
works!
2016-11-02 11:07:30 +00:00
John Cupitt
c90b8be0b8
add tiffsave_buffer
...
add tests
also some cleanups to foreign include files
see https://github.com/jcupitt/libvips/issues/417
2016-10-15 12:29:14 +01:00
John Cupitt
50468a07a2
clean up foreign
...
various cosmetic changes:
- pngsave_buffer now uses Write, not WriteBuf, same change for
radsave_buffer
- move C wrappers out to class defs from foreign.c
- use g_free() not vips_free() for buffer free from low-level savers
- fix var names in some comments
- various style changes for radiance.c
2016-05-24 10:57:02 +01:00
John Cupitt
6ca9a907b8
reorder load tests
...
and a slight memory saving on ifthenelse
2016-01-13 20:32:23 +00:00
John Cupitt
c85dd26627
oops, better filename set on foreign load
...
we were setting the filename in the wrong place
2014-06-10 13:46:05 +01:00
John Cupitt
d0f50febbb
added vips_foreign_load_buffer()
2014-04-22 16:27:43 +01: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
dcd2dbb756
vips_pngload_buffer() works
...
fix a bug in vips_jpegload_buffer() too
2013-06-17 09:41:22 +01:00
John Cupitt
005984226e
add png load from buffer
...
though untested as yet
2013-06-16 22:51:28 +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
aee2999259
generic sequential read mode
...
moved sequential read stuff into VipsForeignLoad
2012-02-15 13:55:34 +00:00
John Cupitt
b52785eef7
add a sequential read mode to pngload
...
helpful for thumbnailing
2012-02-07 14:30:54 +00:00
John Cupitt
0983b50905
Merge remote-tracking branch 'origin/gobject-introspection' into goi-merge
...
Conflicts:
TODO
libvips/arithmetic/im_recomb.c
libvips/arithmetic/im_stats.c
libvips/deprecated/im_measure.c
libvips/include/vips/header.h
libvips/include/vips/image.h
libvips/include/vips/object.h
libvips/iofuncs/header.c
libvips/iofuncs/image.c
libvips/iofuncs/object.c
2011-12-24 17:36:55 +00:00
John Cupitt
0377920764
mvoe png load/save over
2011-12-19 21:40:08 +00:00