Page 1 of 1

generation loss error

Posted: 2015-10-19T08:10:02-07:00
by jjoyner
Hi all. I'm working on generation loss for my architecture thesis project. I'm very new to coding. I found Burny's code for generation loss https://commons.wikimedia.org/wiki/File ... times).png. That was then translated to Windows, but it's not working for me. Image

Code: Select all

%IM%convert rose: slowviolence.jpg

echo off

for /L %%i in (0,1,1999) do (
  set /A NEXT=%%i+1

  %IM%convert slowviolence.jpg -rotate 90 -quality 85 slowviolence.jpg

  set /A x = ^(%%i/100^)*100
  if !x!==%%i (
    echo .
  ) else (
    del slowviolence.jpg
  )
)

echo on

Re: generation loss error

Posted: 2015-10-19T08:21:06-07:00
by snibgo
Please don't multi-post.

It seems that you are pasting the contents of a BAT file into the command window. Instead, you should paste it into a BAT file, and call that file.

You don't need "%IM%" at the start of IM commands, unless (like me) you need to.

Have you installed ImageMagick?

Re: generation loss error

Posted: 2015-10-19T08:38:00-07:00
by jjoyner
I'm sorry for the multi-post.
I'm such a beginner with this :?
I've downloaded ImageMagick. The image of the wizard comes up when I type the covert code into the command prompt. I saved the code as a BAT from my notepad, and tried to call the file. This is what came up Image

Re: generation loss error

Posted: 2015-10-19T09:31:10-07:00
by snibgo
It can't find "slowviolence.jpg". What happened when you tried to create it:

Code: Select all

convert rose: slowviolence.jpg