Search found 72 matches

by muccigrosso
2018-04-19T12:02:12-07:00
Forum: Users
Topic: Do math with -set variables?
Replies: 6
Views: 5203

Re: Do math with -set variables?

[In my much longer command, if I use extent to get the bigger image the entire resulting image is white, instead of retaining the black, so something else is going on there which leads me to try border. PS In this simplified command, I get a white border on the left of the final image, in addition ...
by muccigrosso
2018-04-19T08:40:59-07:00
Forum: Users
Topic: Do math with -set variables?
Replies: 6
Views: 5203

Re: Do math with -set variables?

I'm saving an image height with `-set ht '%h'` and then using it later when I need to restore the image to its original height. What I tried to do was to add a border to the image where the height of the border is the difference between the original height and the current height. So I was hoping I ...
by muccigrosso
2018-04-19T06:47:34-07:00
Forum: Users
Topic: Do math with -set variables?
Replies: 6
Views: 5203

Do math with -set variables?

I'm saving an image height with `-set ht '%h'` and then using it later when I need to restore the image to its original height. What I tried to do was to add a border to the image where the height of the border is the difference between the original height and the current height. So I was hoping I c...
by muccigrosso
2018-04-08T09:33:20-07:00
Forum: Users
Topic: Style on IM Usage pages
Replies: 1
Views: 1727

Style on IM Usage pages

I love the Usage section of the website. It's an enormous help. Its style though make it a little hard to read. How can one suggest changes? For example, the following in the body css would make it much more readable: background-color: eee; font-family: sans-serif; line-height: 120%; I'd also throw ...
by muccigrosso
2018-03-18T19:53:15-07:00
Forum: Users
Topic: Can we extract as an image blocks of text?
Replies: 2
Views: 3316

Re: Can we extract as an image blocks of text?

Isn't this what tesseract does? That is, it finds the text in images. it will output box coordinates, too. Look at the man page and especially the hocr output.
by muccigrosso
2018-03-18T19:46:44-07:00
Forum: Users
Topic: Expand a stack of files to equal size
Replies: 29
Views: 13541

Re: Expand a stack of files to equal size

There was someone who had volunteered to rewrite the documents page into some form like that which would be searchable. But it has been a year or more and I have not heard anything further. Have you thought about putting them on GitHub and just taking PRs? I love them, but they could use a little T...
by muccigrosso
2018-03-18T10:52:59-07:00
Forum: Users
Topic: Expand a stack of files to equal size
Replies: 29
Views: 13541

Re: Expand a stack of files to equal size

Such a thing could be a wiki, perhaps. Good idea. A place where users could post solutions to problems they've encountered. And users could ask for advice on solving problems, and other users could answer. It could be a forum, of course. Oh, hang on... No, not that actually. :-) A forum is where pe...
by muccigrosso
2018-03-18T08:47:08-07:00
Forum: Users
Topic: Expand a stack of files to equal size
Replies: 29
Views: 13541

Re: Expand a stack of files to equal size

I would suggest making a list of your files and process with my layers trim-bounds. Then write a script loop over the same files to extend them using -extent WxH where WxH is the dimensions found from the trim-bounds command. That's certainly more convenient than having to find the max of all width...
by muccigrosso
2018-03-14T06:57:55-07:00
Forum: Users
Topic: PSD RLE compression — any speed improvements possible?
Replies: 21
Views: 9755

Re: PSD RLE compression — any speed improvements possible?

In this thread, there are two concepts of version. One is the version of the software: v6 or v7. The other is the syntax, which we call v6 or v7 because v6 software had certain (rather loose) rules about syntax, and v7 which tightened up some rules. However, for compatibility, v7 software can loose...
by muccigrosso
2018-03-13T20:28:07-07:00
Forum: Users
Topic: PSD RLE compression — any speed improvements possible?
Replies: 21
Views: 9755

Re: PSD RLE compression — any speed improvements possible?

If you have set up a symbolic link between convert and magick, then the two commands are the same and are using IM 7 code. I didn't set it up. I install IM via Homebrew, and there it was. But the text I quote from the web page seems to indicate that the links are expected. But yes, convert (and ide...
by muccigrosso
2018-03-13T13:44:54-07:00
Forum: Users
Topic: PSD RLE compression — any speed improvements possible?
Replies: 21
Views: 9755

Re: PSD RLE compression — any speed improvements possible?

So you're saying that by not using it, I'm missing out on something? IM 6 (convert syntax) is no longer having new features added to it. IM 7 (magick syntax) already has new features. It also processed grayscale images as one channel and not 3 as in IM 6. There are a number of features in IM 7, suc...
by muccigrosso
2018-03-13T11:22:31-07:00
Forum: Users
Topic: PSD RLE compression — any speed improvements possible?
Replies: 21
Views: 9755

Re: PSD RLE compression — any speed improvements possible?

And I've shown that convert by itself seems identical to magick by itself, ... But you showed above a command that "convert" by itself accepts a sequence of arguments that "magick" by itself doesn't. They are not identical. (I suppose the symlinked program finds how it was called, and processes its...
by muccigrosso
2018-03-13T07:04:09-07:00
Forum: Users
Topic: PSD RLE compression — any speed improvements possible?
Replies: 21
Views: 9755

Re: PSD RLE compression — any speed improvements possible?

Well, you can do whatever you want, of course. But you have shown that "convert" by itself uses the old v6 syntax. No, I've shown that convert by itself also uses the old syntax, since the new works as well. And I've shown that convert by itself seems identical to magick by itself, but that identif...
by muccigrosso
2018-03-13T06:55:47-07:00
Forum: Users
Topic: PSD RLE compression — any speed improvements possible?
Replies: 21
Views: 9755

Re: PSD RLE compression — any speed improvements possible?

If you want to continue using IM 7 and want all the new features and any new ones that are subsequently added, then I recommend you start using the magick syntax so that you gain by using IM 7. So you're saying that by not using it, I'm missing out on something? This is my question: what exactly is...
by muccigrosso
2018-03-12T11:13:36-07:00
Forum: Users
Topic: PSD RLE compression — any speed improvements possible?
Replies: 21
Views: 9755

Re: PSD RLE compression — any speed improvements possible?

"magick convert" is v6 syntax. I can't see a good reason to use this. It might be a stopgap, if scripts written for v6 are to be used with v7. I agree with not using both words, but for the reason that convert works all by itself. I find the code a lot easier to read with convert, identify, mogrify...