Skip to content

Commit

Permalink
Version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ucnv committed Nov 6, 2014
1 parent 9ed314f commit 6d9999d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions README.md
Expand Up @@ -11,17 +11,6 @@ Using this library you will see beautiful and various PNG artifacts.

## Usage

```ruby
p = PNGlitch.open '/path/to/your/image.png'
p.glitch do |data|
data.gsub /\d/, 'x'
end
p.save '/path/to/broken/image.png'
p.close
```

The code above can be written with a block like below:

```ruby
PNGlitch.open('/path/to/your/image.png') do |p|
p.glitch do |data|
Expand All @@ -30,7 +19,6 @@ The code above can be written with a block like below:
p.save '/path/to/broken/image.png'
end
```
<!--
## Installation

Add this line to your application's Gemfile:
Expand All @@ -44,7 +32,6 @@ And then execute:
Or install it yourself as:

$ gem install pnglitch
-->

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion lib/pnglitch.rb
Expand Up @@ -192,7 +192,7 @@
# But sometimes this scratch would break the compression and make the file unopenable.
#
module PNGlitch
VERSION = '0.0.0'
VERSION = '0.0.1'

class << self

Expand Down

0 comments on commit 6d9999d

Please sign in to comment.