No Programming, No Life

新しいNPNLです。http://d.hatena.ne.jp/fumokmm/ から引っ越してきました。

I made jar that adding Groovy's logo on your icon

(◕ ‿‿ ◕)Groovee
Please contract with me, and will be a Groovyist!!
This is a groovy badge, generated by contract in exchange.


f:id:fumokmm:20110526234249p:image

(This is parody of Japanese Anime "Madoka Magica")

How to use

First, download this jar.

Using by GUI

  • Double click jar and will invoked.
  • Adjust layout badge position and reduction ratio.
  • Drop your icon to window.*1

f:id:fumokmm:20110710101553p:image

Using by shell

$ java -jar groovy-logo-adder.jar <your_icon_file_name> <image_creation_options...>

image creation options allowd followings.

Positions
option description
topLeft Put logo at Top Left
topRight Put logo at Top Right
bottomLeft Put logo at Bottom Left
bottomRight Put logo at Bottom Right (default)
center Put logo at center
Reduction ratio
option description
xx% Set reduction ratio (default: 70%)

Specifying position, ratio, and icon's name list allowed random order.
However, position and ratio is using top of one when you specify plural.*2

Example

Put Groovy's logo that reducted 50% at the bottom left of "icon1.jpg" and "icon2.jpg".

$ java -jar groovy-logo-adder.jar icon1.jpg icon2.jpg bottomLeft 50%

Source is on github

fumokmm/groovy-logo-adder · GitHub
Please visit! if you are interested in.

History

  • 2011-07-10 Putting logo, reduction ratio choice is added. (v0.11)
  • 2011-05-28 Bug fix. (v0.10)
  • 2011-05-27 Adding GUI.

*1:specify plural is OK.

*2:if you omit, default is specified.