Search found 11 matches

by gialandra
2019-02-15T14:46:25-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Re: Sort alphabetically

Finally I found the right powershell line to list in naturally order and in digestible txt format (snibgo had guessed): @(Get-ChildItem -path C:\...\*.png | Sort-Object { [regex]::Replace($_.Name, '\d+', { $args[0].Value.PadLeft(20) }) }).fullname |out-file -encoding ASCII c:\...\myimages.txt Thank ...
by gialandra
2019-02-15T01:51:01-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Re: Sort alphabetically

Now the name of items in myimages.txt are: \1\PNG\2x0x0.png \1\PNG\2x0x1.png ... C:\1>magick montage -tile 7x -geometry +0+0 @myimages.txt "C:\1\col.png" montage: unable to open image 'ÿþ\': No such file or directory @ error/blob.c/OpenBlob/3485. montage: no decode delegate for this image ...
by gialandra
2019-02-14T09:51:42-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Re: Sort alphabetically

Let me know if you see something wrong: 1. with powershell command I create the file: C:\1\myimages.txt. Inside I see: C:\1\PNG\2x0x0.png C:\1\PNG\2x0x1.png C:\1\PNG\2x0x2.png ... 2. I open Command prompt and: Microsoft Windows [Versione 10.0.17763.316] (c) 2018 Microsoft Corporation. Tutti i diritt...
by gialandra
2019-02-14T08:55:05-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Re: Sort alphabetically

Good, but how can I tell to montage where are the images? (it lacks the folder information)
by gialandra
2019-02-14T02:17:35-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Re: Sort alphabetically

I can't get a working txt file. What is the right format? Is there an example?
by gialandra
2019-02-12T13:42:44-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Re: Sort alphabetically

I found the poweshell code that list the files correctly:

Get-ChildItem -path C:\INPUTFOLDER\*.png | Sort-Object { [regex]::Replace($_.Name, '\d+', { $args[0].Value.PadLeft(20) }) } > C:\OUTFOLDER\file.txt

Now I have to searching for the way to get a txt that Montage can crunch
by gialandra
2019-02-12T06:56:22-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Re: Sort alphabetically

Thanks for suggestion but, again, it is out of my capabilities. I'm searching for a suggestion on the web to get a txt with right order, maybe a powershell command ... thank you for you help!
by gialandra
2019-02-12T06:42:34-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Re: Sort alphabetically

In this discussion I have reported few files, in reality they are several hundreds. It needs an automated way to rename the last digits and the middle digits.
by gialandra
2019-02-12T06:09:17-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Re: Sort alphabetically

I have tried to list with Dir command but unsuccessfully. It seems that something other is needed, but it is out of my capabilities
by gialandra
2019-02-12T04:47:25-07:00
Forum: Users
Topic: Sort alphabetically
Replies: 17
Views: 9427

Sort alphabetically

I have a lot of images named like these below but I can find the syntax to pass this sorting (name) to montage and the results is not correct. Is it possible to find a way to pass the montage the right sorting? 0x0x0.png 0x0x1.png 0x0x2.png 0x0x3.png 0x0x4.png 0x0x5.png 0x0x6.png 0x0x7.png 0x0x8.png...
by gialandra
2019-02-10T01:10:53-07:00
Forum: Users
Topic: Montage seems slow
Replies: 2
Views: 3247

Montage seems slow

I use montage to create a composite image starting from about 1700 256x256 pixel 24 bit PNG images. My PC is a i7 + 16 GB RAM + SSD. It works like a charm but seems slow. Is there something to get the operations faster? I use this command: magick montage -tile 37x -geometry +0+0 "C:\Users\...\2...