sharp 0.32.5 → 0.33.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,62 +0,0 @@
1
- /* Object part of VInterpolate class
2
- */
3
-
4
- /*
5
-
6
- Copyright (C) 1991-2001 The National Gallery
7
-
8
- This program is free software; you can redistribute it and/or modify
9
- it under the terms of the GNU Lesser General Public License as published by
10
- the Free Software Foundation; either version 2 of the License, or
11
- (at your option) any later version.
12
-
13
- This program is distributed in the hope that it will be useful,
14
- but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- GNU Lesser General Public License for more details.
17
-
18
- You should have received a copy of the GNU Lesser General Public License
19
- along with this program; if not, write to the Free Software
20
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21
- 02110-1301 USA
22
-
23
- */
24
-
25
- /*
26
-
27
- These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
28
-
29
- */
30
-
31
- #ifdef HAVE_CONFIG_H
32
- #include <config.h>
33
- #endif /*HAVE_CONFIG_H*/
34
-
35
- #include <vips/vips8>
36
-
37
- #include <vips/debug.h>
38
-
39
- /*
40
- #define VIPS_DEBUG
41
- #define VIPS_DEBUG_VERBOSE
42
- */
43
-
44
- VIPS_NAMESPACE_START
45
-
46
- VInterpolate
47
- VInterpolate::new_from_name( const char *name, VOption *options )
48
- {
49
- VipsInterpolate *interp;
50
-
51
- if( !(interp = vips_interpolate_new( name )) ) {
52
- delete options;
53
- throw VError();
54
- }
55
- delete options;
56
-
57
- VInterpolate out( interp );
58
-
59
- return( out );
60
- }
61
-
62
- VIPS_NAMESPACE_END
@@ -1,27 +0,0 @@
1
- // Object part of VRegion class
2
-
3
- #ifdef HAVE_CONFIG_H
4
- #include <config.h>
5
- #endif /*HAVE_CONFIG_H*/
6
-
7
- #include <vips/vips8>
8
-
9
- #include <vips/debug.h>
10
-
11
- VIPS_NAMESPACE_START
12
-
13
- VRegion
14
- VRegion::new_from_image( VImage image )
15
- {
16
- VipsRegion *region;
17
-
18
- if( !(region = vips_region_new( image.get_image() )) ) {
19
- throw VError();
20
- }
21
-
22
- VRegion out( region );
23
-
24
- return( out );
25
- }
26
-
27
- VIPS_NAMESPACE_END