scrambled_jpeg 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -9
- data/lib/scrambled_jpeg/version.rb +1 -1
- data/scrambled_jpeg.gemspec +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fe485e9aae9c8b4a808aebe278eeaf7972297ef
|
4
|
+
data.tar.gz: 6739db7c52d3a2533f62fe54dc490654aab0e730
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79aa4204067fc95675d0d8fe9228ae2f287a8eeef395d0e27db7a8b89073b1630ca5572630dc1110353d15967358ba33222eab120b8df15504269c6e85f46613
|
7
|
+
data.tar.gz: 2deb4e23d24733b8fd4f7a5b12be5212e2497008ba9e737ee8556561b437a218b81fe401841210fa2426c40ae2d93744a4a6419d04509223e2fa4568ba61abfb
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Super simple jpeg glitcher.
|
4
4
|
|
5
|
-
![example.jpg glitched at various granularities ranging from 5-75](
|
5
|
+
![example.jpg glitched at various granularities ranging from 5-75](./example.gif)
|
6
6
|
|
7
7
|
[Here is a pretty good tutorial](http://www.docpop.org/2014/01/a-glitch-primer-editing-image-files-with-text-editors/) that covers the logic behind this and [this looks like a good list](http://phillipstearns.wordpress.com/glitch-art-resources/) of resources for other forms of glitch art.
|
8
8
|
|
@@ -18,24 +18,31 @@ Super simple jpeg glitcher.
|
|
18
18
|
0. ETC.
|
19
19
|
0. When it runs out of lines to write, it writes the last line and closes the new file.
|
20
20
|
|
21
|
-
##
|
21
|
+
## GO TO THE GEM STORE
|
22
22
|
|
23
23
|
$ gem install scrambled_jpeg
|
24
24
|
|
25
|
-
##
|
25
|
+
## ITS EASY LIKE SUNDAY MORNING
|
26
26
|
|
27
|
-
#
|
27
|
+
# CLI USE
|
28
28
|
$ scrambled_jpeg [FILENAME] ([GRANULARITY])
|
29
|
+
|
30
|
+
# granularity defaults to 5.
|
29
31
|
$ scrambled_jpeg example.jpg
|
30
32
|
|
31
|
-
# numbers have differing effects depending on file size and stuff...
|
33
|
+
# numbers have differing effects depending on file size and stuff...
|
32
34
|
$ scrambled_jpeg example.jpg 50
|
35
|
+
# sometimes it breaks the image...
|
36
|
+
|
37
|
+
# CAN BE USED IN RUBY TOOOOOOO
|
38
|
+
IRB(...)> ScrambledJpeg.scramble FILENAME, GRANULARITY=5
|
39
|
+
|
33
40
|
|
34
41
|
## THE FUTURE
|
35
42
|
|
36
43
|
other potential glitch algorithms:
|
37
44
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
45
|
+
* Benedict
|
46
|
+
* Poach
|
47
|
+
* HardBoil
|
48
|
+
* Omelette
|
data/scrambled_jpeg.gemspec
CHANGED
@@ -9,7 +9,6 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Cole Willsea"]
|
10
10
|
spec.email = ["coleww@gmail.com"]
|
11
11
|
spec.summary = %q{a ruby gem for scrambling jpeg/jpg files as though there were eggs.}
|
12
|
-
spec.description = %q{lalala}
|
13
12
|
spec.homepage = ""
|
14
13
|
spec.license = "MIT"
|
15
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrambled_jpeg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cole Willsea
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
-
description:
|
41
|
+
description:
|
42
42
|
email:
|
43
43
|
- coleww@gmail.com
|
44
44
|
executables:
|