Search found 12 matches

by luangs7
2017-06-02T10:12:01-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

I simplify the code and works fine now Maybe the problem was on create folder and set the images to them magick image.png -resize 50%% image-500.png magick image.png -resize 25%% image-250.png magick image.png -resize 12.5%% image-125.png magick -limit map 0 -limit memory 0 image.png -crop 256x256 ...
by luangs7
2017-06-02T10:10:50-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

fmw42 wrote: 2017-06-02T09:38:00-07:00 Unix does not escape %, so use only % and not %%. What is set /a doing?
Same result in Mac mate
by luangs7
2017-06-02T07:35:45-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

I actually run this code echo should already have original image in folder, as well as folders named tiles and samples set basename=images set image.png=image.png set extension=png set imagemagick= magick set /a tilesize=256 set /a samplesize=500 set tilesfolder=tiles set samplesfolder=samples echo ...
by luangs7
2017-06-02T07:28:03-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

What is the first command that fails? What is the error message? You should then try that command in the command window. What happens then? For example, the first IM command seems to be: %imagemagick% %filename% -resize 50%% %basename%-500.%extension% Substituting the variables, and changing %% to ...
by luangs7
2017-06-01T20:12:30-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

What is the first command that fails? What is the error message? You should then try that command in the command window. What happens then? For example, the first IM command seems to be: %imagemagick% %filename% -resize 50%% %basename%-500.%extension% Substituting the variables, and changing %% to ...
by luangs7
2017-06-01T19:49:55-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

I dont know nothing about imagemagick and this things :(

All I know is this https://github.com/moagrius/TileView/wi ... ting-Tiles only because I need the tile of this images

Are there any other program similiar?
by luangs7
2017-06-01T19:26:39-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

Yeah, I installed the binary for Windows, and the command "magick" works fine. But with set imagemagick="magick.exe" show me the same error above The try replacing magick.exe with just magick in your set command. If that does not work, then it is more complicated then I know and you will need help ...
by luangs7
2017-06-01T19:19:34-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

You need to find where the actual binary of magick resides. It is not in your download folder. It is installed somewhere. I do not know where Windows installs it. But try set imagemagick="magick.exe" Does that work? If not you need to put the path to ImageMagick in your Windows Environment Path ...
by luangs7
2017-06-01T18:58:10-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

Okay, now I changed the variable %imagemagick% to "..Desktop\ImageMagick-7.0.5-Q16\magick" And the console give me the error: %imagemagick% %filename% -thumbnail %samplesize%x%samplesize% ./%samplesfolder%/%filename% magick: UnableToOpenConfigureFile `magic.xml' @ warning/configure.c ...
by luangs7
2017-06-01T18:27:18-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

set imagemagick=C:\Users\myuser\Desktop\image.jpg is not calling the ImageMagick convert or magick as snibgo said above so your variable %imagemagick%, is referencing an image and not the convert or magick command. So you have variable to two different input images and no IM command when you do ...
by luangs7
2017-06-01T17:59:35-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Re: Folder empty on Windows

snibgo wrote: 2017-06-01T17:40:04-07:00 Your question is very vague. You don't seem to be running "convert" or "magick" or any other ImageMagick program.

Hint: when debugging, don't turn echo off.
I just need to do it https://github.com/moagrius/TileView/wi ... ting-Tiles
by luangs7
2017-06-01T17:29:18-07:00
Forum: Users
Topic: Folder empty on Windows
Replies: 23
Views: 11151

Folder empty on Windows

So I'm working with TileView and I'm with some troubles. When I follow this tutorial for Creating Tiles with this: ` @echo off echo should already have original image in folder, as well as folders named tiles and samples set basename=my_image_base_name set filename=my-image.jpg set extension=jpg set ...