pixbufutils 0.0.1
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.
- data/README.md +4 -0
- data/Rakefile +48 -0
- data/ext/pixbufutils/extconf.rb +109 -0
- data/ext/pixbufutils/pixbufutils.c +2031 -0
- data/ext/pixbufutils/pixbufutils.cr +1561 -0
- data/ext/pixbufutils/pixbufutils.rd +76 -0
- metadata +102 -0
@@ -0,0 +1,76 @@
|
|
1
|
+
= module PixbufUtils
|
2
|
+
--- PixbufUtils.remove_alpha(GdkPixbuf* src, GdkColor* col)
|
3
|
+
|
4
|
+
|
5
|
+
--- PixbufUtils.sharpen(GdkPixbuf* src, Integer radius)
|
6
|
+
|
7
|
+
|
8
|
+
--- PixbufUtils.extract_alpha(GdkPixbuf* src, Integer cutoff, Boolean force_2bit)
|
9
|
+
|
10
|
+
|
11
|
+
--- PixbufUtils.blur(GdkPixbuf* src, Integer radius)
|
12
|
+
|
13
|
+
|
14
|
+
--- PixbufUtils.rotate_90(GdkPixbuf* src, Boolean counter_clockwise)
|
15
|
+
|
16
|
+
|
17
|
+
--- PixbufUtils.rotate_cw(GdkPixbuf* src)
|
18
|
+
|
19
|
+
|
20
|
+
--- PixbufUtils.rotate_180(GdkPixbuf* src)
|
21
|
+
|
22
|
+
|
23
|
+
--- PixbufUtils.rotate(GdkPixbuf* src, Integer angle)
|
24
|
+
|
25
|
+
|
26
|
+
--- PixbufUtils.rotate_ccw(GdkPixbuf* src)
|
27
|
+
|
28
|
+
|
29
|
+
--- PixbufUtils.gamma!(GdkPixbuf* src, double level)
|
30
|
+
|
31
|
+
|
32
|
+
--- PixbufUtils.soften_edges!(GdkPixbuf* src, Integer size)
|
33
|
+
|
34
|
+
|
35
|
+
--- PixbufUtils.gamma(GdkPixbuf* src, double level)
|
36
|
+
|
37
|
+
|
38
|
+
--- PixbufUtils.greyscale!(GdkPixbuf* src)
|
39
|
+
|
40
|
+
|
41
|
+
--- PixbufUtils.to_tiff(GdkPixbuf* src, String filename)
|
42
|
+
|
43
|
+
|
44
|
+
--- PixbufUtils.greyscale(GdkPixbuf* src)
|
45
|
+
|
46
|
+
|
47
|
+
--- PixbufUtils.greyscale_go!(GdkPixbuf* src)
|
48
|
+
|
49
|
+
|
50
|
+
--- PixbufUtils.greyscale_go(GdkPixbuf* src)
|
51
|
+
|
52
|
+
|
53
|
+
--- PixbufUtils.tint(GdkPixbuf* src, Integer r, Integer g, Integer b)
|
54
|
+
|
55
|
+
|
56
|
+
--- PixbufUtils.perspect_v(GdkPixbuf* src, Integer top_x1, Integer top_x2, Integer bot_x1, Integer bot_x2)
|
57
|
+
|
58
|
+
|
59
|
+
--- PixbufUtils.mask(GdkPixbuf* src, GdkPixbuf* mask)
|
60
|
+
|
61
|
+
|
62
|
+
--- PixbufUtils.blend5050(GdkPixbuf* src1, GdkPixbuf* src2)
|
63
|
+
|
64
|
+
|
65
|
+
--- PixbufUtils.mask_area(GdkPixbuf* mask, Integer cutoff)
|
66
|
+
|
67
|
+
|
68
|
+
--- PixbufUtils.scale_max(GdkPixbuf* src, gulong max, GdkInterpType interp)
|
69
|
+
|
70
|
+
|
71
|
+
--- PixbufUtils.draw_scaled(GdkDrawable* drawable, GdkPixbuf* src, Integer x, Integer y, Integer width, Integer height, GdkInterpType interp)
|
72
|
+
|
73
|
+
|
74
|
+
--- PixbufUtils.draw_scaled_clip(GdkDrawable* drawable, GdkPixbuf* src, Integer x, Integer y, Integer width, Integer height, GdkRectangle* clip_area, GdkInterpType interp)
|
75
|
+
|
76
|
+
|
metadata
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pixbufutils
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Geoff Youngs
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-12-07 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rubber-generate
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.0.17
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.0.17
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: glib2
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.1.6
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.1.6
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: gdk_pixbuf2
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.1.6
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.1.6
|
62
|
+
description: ! 'Misc functions for alpha channel extraction, gamma, tinting, masking,
|
63
|
+
blur etc.
|
64
|
+
|
65
|
+
'
|
66
|
+
email: git@intersect-uk.co.uk
|
67
|
+
executables: []
|
68
|
+
extensions:
|
69
|
+
- ext/pixbufutils/extconf.rb
|
70
|
+
extra_rdoc_files: []
|
71
|
+
files:
|
72
|
+
- ext/pixbufutils/pixbufutils.c
|
73
|
+
- ext/pixbufutils/pixbufutils.cr
|
74
|
+
- ext/pixbufutils/pixbufutils.rd
|
75
|
+
- Rakefile
|
76
|
+
- README.md
|
77
|
+
- ext/pixbufutils/extconf.rb
|
78
|
+
homepage: http://github.com/geoffyoungs/pixbufutils
|
79
|
+
licenses: []
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
requirements: []
|
97
|
+
rubyforge_project:
|
98
|
+
rubygems_version: 1.8.24
|
99
|
+
signing_key:
|
100
|
+
specification_version: 3
|
101
|
+
summary: Additional utils for Gdk::Pixbuf
|
102
|
+
test_files: []
|