Search found 7 matches

by max2331
2016-09-10T04:37:11-07:00
Forum: Users
Topic: Timestamp out of filename
Replies: 19
Views: 12390

Re: Timestamp out of filename

Thank you
This works so far
convert Background_final.png 2016081711230002dBuZ.ppi_top.png -set filename:f "%[t]" -gravity center -composite "%[filename:f]_2.png"
But how can i tell to read the second filename? now my output is:
Background_final_2.png but i want 2016081711230002dBuZ.ppi_top_2.png ...
by max2331
2016-09-10T03:02:57-07:00
Forum: Users
Topic: Timestamp out of filename
Replies: 19
Views: 12390

Re: Timestamp out of filename

Thank you, now it works.

But one more thing:

I tried for another action

composite 2016081711230002dBuZ.ppi_top.png -set filename:f "%[t]" -gravity center Background_final.png "%[filename:f]_2.png"


On the HP of Imagemagick it says that composite knows how to deal with -set but i get ...
by max2331
2016-09-10T00:38:15-07:00
Forum: Users
Topic: Timestamp out of filename
Replies: 19
Views: 12390

Re: Timestamp out of filename

I get an:
convert: invalid argument for option `-delete': 0–-1 @ error/convert.c/ConvertImageCommand/1265.

Here is my code right now:

convert 2016081711230002dBuZ.ppi_top.png -set filename:f "%[t]" -set option:labelname "%[t]" -font consolas -pointsize 24 -kerning 1 -fill black -background none ...
by max2331
2016-09-08T09:45:19-07:00
Forum: Users
Topic: Timestamp out of filename
Replies: 19
Views: 12390

Re: Timestamp out of filename

The naming convention of this file is not my choice, thats how I get the images and no other possibility.

If I would have known, that it would play such a crucial role I would have given the whole filename.

Yes thats the whole filename and its always the same length.
by max2331
2016-09-08T05:56:01-07:00
Forum: Users
Topic: Timestamp out of filename
Replies: 19
Views: 12390

Re: Timestamp out of filename


The idea below is in Windows syntax but can be adapted to *nix shell syntax without much trouble. It should work with any IM 6.9.3 or newer. It absolutely requires a monospace font, and your filenames must always be the same length. When I run this from the Windows command line, a timestamp is ...
by max2331
2016-09-07T22:33:33-07:00
Forum: Users
Topic: Timestamp out of filename
Replies: 19
Views: 12390

Re: Timestamp out of filename

Thanks already for the answers.
I'm using Mac OS X 10.11.6 and Imagemagick 6.9.5-8

The file comes from a thirdparty software, so no access to it. Similar to the satellite pictures.
by max2331
2016-09-07T04:17:09-07:00
Forum: Users
Topic: Timestamp out of filename
Replies: 19
Views: 12390

Timestamp out of filename

Hello together,

i need help for a project anc can not find the solution for specific project.
I have a project where every minute an image is produced. This image has to be overlayed to another image.
This works perfect with -composite-.

Now my problem:
The filename of the one image is like ...