Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> Changing pictures automatically, -solved-
Germany
TheSuperyoshi
Posted: Nov 2 2009, 08:53 AM
Quote Post


Play my game. No better idea what to write :P
[*]

Group Icon
Group: Members
Posts: 125
Member No.: 6377
Joined: 8-July 09

Status: (0d) [--]


I'm searching for a batch script, program, whatever which I can give a list of images (.png) and i automatically does something with them (I would need them to be green (#00FF00) on the left half and retain the right half).

Is there anything that can do that? Or do I have to do this myself?

Thanks in advance.

This post has been edited by TheSuperyoshi on Nov 3 2009, 10:10 AM


--------------------

user posted image ----- user posted image
I was drawn by: Me (aka. Ref) - fiDumppi
I drew: Segatendo (in Progress) - mirror
user posted image

PMEmail PosterUsers WebsiteICQMSN
Top
India
Char
Posted: Nov 2 2009, 11:32 AM
Quote Post


fad was bad
[M][*][*]

Group Icon
Group: Admins
Posts: 2123
Member No.: 2856
Joined: 25-October 06

Status: (0d) [--]


tried irfanview?


--------------------
aa this broke


Make your own | If a level is breaking the rules, note the ID and PM me.
Reference (thanks Frogjester!)
PMEmail PosterUsers WebsiteAOLYahooMSN
Top
Germany
TheSuperyoshi
Posted: Nov 3 2009, 04:11 AM
Quote Post


Play my game. No better idea what to write :P
[*]

Group Icon
Group: Members
Posts: 125
Member No.: 6377
Joined: 8-July 09

Status: (0d) [--]


QUOTE (Char @ Nov 2 2009, 05:32 PM)
tried irfanview?

Do you mean batch Conversion? No, that changes the filetype, I want to edit them.


--------------------

user posted image ----- user posted image
I was drawn by: Me (aka. Ref) - fiDumppi
I drew: Segatendo (in Progress) - mirror
user posted image

PMEmail PosterUsers WebsiteICQMSN
Top
Unspecified
Lightning
Posted: Nov 3 2009, 05:34 AM
Quote Post


Ignorance isn't stupidity but choosing to remain ignorant is
[*][*]

Group Icon
Group: IRC Operators
Posts: 6381
Member No.: 583
Joined: 31-August 04

Status: (0d) [--]


shell script with ImageMagick will work


--------------------
click here to change my avatar. / gosh why are you even here lightning
hacker, n.an individual who enjoys learning computer system details and how to capitalize on his or her capabilities...not a criminal.
(from webster's new world hacker dictionary)
fedora linux 10
Fedora 10 Final!

Download today!
quality web comics (stories):
  1. girl genius: adventure! romance! mad science!
  2. punch an' pie: try a slice of life, then swallow.
  3. dresden codak: most interesting comic ever
quality web comics (one-shots):
  1. a softer world: truth and beauty bombs
  2. smbc: saturday morning breakfast cereal
  3. buttersafe: pictures and probably some words
"Religion is comparable to a childhood neurosis." - Sigmund Freud
“It is not by delusion, however exalted, that mankind can prosper, but only by unswerving courage in the pursuit of truth.” - Bertrand Russell
“To kill an error is as good a service as, and sometimes better than, the establishing of a new truth or fact.” - Charles Darwin
PMUsers WebsiteMSN
Top
Germany
TheSuperyoshi
Posted: Nov 3 2009, 06:59 AM
Quote Post


Play my game. No better idea what to write :P
[*]

Group Icon
Group: Members
Posts: 125
Member No.: 6377
Joined: 8-July 09

Status: (0d) [--]


That would be my code (not tested):
CODE
convert leftgreen: image.png convert leftgreen: -crop 32x32+0+0 -background green image.png
The problem is, this one just works for 64x32 pics properly. I would need variables for that, like
CODE
convert leftgreen: image.png convert leftgreen: -crop (width/2)x(height)+0+0 -background green image.png
Is that possible? Would the code work?

EDIT: Suggested from Char, I made a little GM program which did this.

This post has been edited by TheSuperyoshi on Nov 3 2009, 10:10 AM


--------------------

user posted image ----- user posted image
I was drawn by: Me (aka. Ref) - fiDumppi
I drew: Segatendo (in Progress) - mirror
user posted image

PMEmail PosterUsers WebsiteICQMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0456 ]   [ 13 queries used ]   [ GZIP Enabled ]   [ Server Load: 1.82 ]