imageruby-bmp-c 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/Rakefile +1 -1
- data/ext/imageruby_bmp_base/imageruby_bmp_base.c +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -65,7 +65,7 @@ VALUE rb_decode_bitmap(VALUE recv, VALUE rb_data, VALUE rb_image) {
|
|
65
65
|
for (y=0; y<height; y++) {
|
66
66
|
for (x=0; x<width; x++) {
|
67
67
|
|
68
|
-
int offset =
|
68
|
+
int offset = ((height-y-1)*width+x)*4;
|
69
69
|
int index = (y*width+x)*3;
|
70
70
|
|
71
71
|
image_pixel_data_string[index] = file_pixel_data_string[offset];
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imageruby-bmp-c
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dario Seminara
|