stb-image 1.0.0

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.
@@ -0,0 +1,12 @@
1
+ # This source is part of the Ruby bindings for stb_image.
2
+ # It is released into the public domain, as with stb_image itself.
3
+ #
4
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
8
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
9
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
10
+ # THE SOFTWARE.
11
+
12
+ require 'stb-image/stb_image_bindings'
@@ -0,0 +1,66 @@
1
+ # stb_image.c Header Comment
2
+
3
+ The header comment of the original stb_image.c, included for reference, as it
4
+ lists the limitations of the formats supported by it as well as its credits,
5
+ notes, and other information.
6
+
7
+ stbi-1.33 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c
8
+ when you control the images you're loading
9
+ no warranty implied; use at your own risk
10
+
11
+ QUICK NOTES:
12
+ Primarily of interest to game developers and other people who can
13
+ avoid problematic images and only need the trivial interface
14
+
15
+ JPEG baseline (no JPEG progressive)
16
+ PNG 8-bit-per-channel only
17
+
18
+ TGA (not sure what subset, if a subset)
19
+ BMP non-1bpp, non-RLE
20
+ PSD (composited view only, no extra channels)
21
+
22
+ GIF (*comp always reports as 4-channel)
23
+ HDR (radiance rgbE format)
24
+ PIC (Softimage PIC)
25
+
26
+ - decode from memory or through FILE (define STBI_NO_STDIO to remove code)
27
+ - decode from arbitrary I/O callbacks
28
+ - overridable dequantizing-IDCT, YCbCr-to-RGB conversion (define STBI_SIMD)
29
+
30
+ Latest revisions:
31
+ 1.33 (2011-07-14) minor fixes suggested by Dave Moore
32
+ 1.32 (2011-07-13) info support for all filetypes (SpartanJ)
33
+ 1.31 (2011-06-19) a few more leak fixes, bug in PNG handling (SpartanJ)
34
+ 1.30 (2011-06-11) added ability to load files via io callbacks (Ben Wenger)
35
+ 1.29 (2010-08-16) various warning fixes from Aurelien Pocheville
36
+ 1.28 (2010-08-01) fix bug in GIF palette transparency (SpartanJ)
37
+ 1.27 (2010-08-01) cast-to-uint8 to fix warnings (Laurent Gomila)
38
+ allow trailing 0s at end of image data (Laurent Gomila)
39
+ 1.26 (2010-07-24) fix bug in file buffering for PNG reported by SpartanJ
40
+
41
+ See end of file for full revision history.
42
+
43
+ TODO:
44
+ stbi_info support for BMP,PSD,HDR,PIC
45
+
46
+
47
+ ============================ Contributors =========================
48
+
49
+ Image formats Optimizations & bugfixes
50
+ Sean Barrett (jpeg, png, bmp) Fabian "ryg" Giesen
51
+ Nicolas Schulz (hdr, psd)
52
+ Jonathan Dummer (tga) Bug fixes & warning fixes
53
+ Jean-Marc Lienher (gif) Marc LeBlanc
54
+ Tom Seddon (pic) Christpher Lloyd
55
+ Thatcher Ulrich (psd) Dave Moore
56
+ Won Chun
57
+ the Horde3D community
58
+ Extensions, features Janez Zemva
59
+ Jetro Lauha (stbi_info) Jonathan Blow
60
+ James "moose2000" Brown (iPhone PNG) Laurent Gomila
61
+ Ben "Disch" Wenger (io callbacks) Aruelien Pocheville
62
+ Martin "SpartanJ" Golini Ryamond Barbiero
63
+ David Woo
64
+
65
+
66
+ If your name should be here but isn't, let Sean know.
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: stb-image
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Noel Raymond Cower
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-07-24 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: |
14
+ stb_image.c bindings for loading basic image data from a variety of formats
15
+ (JPG, PNG, TGA, BMP, PSD, GIF, HDR, and PIC). Data can be loaded either as
16
+ LDR (8-bit channels) or HDR (32-bit float channels) data.
17
+ email: ncower@gmail.com
18
+ executables: []
19
+ extensions:
20
+ - ext/extconf.rb
21
+ extra_rdoc_files:
22
+ - ext/bindings.c
23
+ - rdoc/stb_image.c.md
24
+ - README.md
25
+ - COPYING
26
+ files:
27
+ - lib/stb-image.rb
28
+ - ext/bindings.c
29
+ - ext/stb_image.c
30
+ - ext/extconf.rb
31
+ - rdoc/stb_image.c.md
32
+ - COPYING
33
+ - README.md
34
+ homepage: https://github.com/nilium/ruby-stb-image
35
+ licenses:
36
+ - Public Domain
37
+ metadata: {}
38
+ post_install_message:
39
+ rdoc_options:
40
+ - --title
41
+ - stb-image
42
+ - --main
43
+ - README.md
44
+ - --line-numbers
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - '>='
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 2.0.5
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: stb_image bindings
63
+ test_files: []
64
+ has_rdoc: true