Search found 5 matches

by tommaniacal
2020-03-03T14:06:36-07:00
Forum: Users
Topic: How to double the dimensions of images as long as they don't go above 192X192?
Replies: 9
Views: 2593

Re: How to double the dimensions of images as long as they don't go above 192X192?

You need to launch your script from the directory where you have your images. Or include the path to the image. However, I think you might be better off using mogrify as it will process a whole folder of file. No scripting is needed. Create a new directory to hold your output images. The change dir...
by tommaniacal
2020-03-02T22:51:40-07:00
Forum: Users
Topic: How to double the dimensions of images as long as they don't go above 192X192?
Replies: 9
Views: 2593

Re: How to double the dimensions of images as long as they don't go above 192X192?

My question is, is there a way to double the size of all images less than or equal to 96X96, so that all of the images are less than or equal to 192X192 afterwards? Re-scaling can be done with pretty basic ImageMagick commands. You should be able to use a "for" loop in a script to run an IM command...
by tommaniacal
2020-03-02T16:13:47-07:00
Forum: Users
Topic: How to double the dimensions of images as long as they don't go above 192X192?
Replies: 9
Views: 2593

Re: How to double the dimensions of images as long as they don't go above 192X192?

How do you define no quality change? Any time you change the size of an image, pixels are changed. When doubling you can replicated pixels or you can interpolate new values from the neighbors in the input image. Also if starting from a JPG and saving as JPG, there will be quality changes, since the...
by tommaniacal
2020-03-02T16:10:20-07:00
Forum: Users
Topic: How to double the dimensions of images as long as they don't go above 192X192?
Replies: 9
Views: 2593

Re: How to double the dimensions of images as long as they don't go above 192X192?

What version of IM, on what platform? What is the image format? Please provide a sample input. Exactly what do you mean by "less than or equal to 96X96"? Is an image 90x100 less that that, or more than that? It could be done in a single command: clone, and double its size. Then delete one of the im...
by tommaniacal
2020-03-02T13:25:13-07:00
Forum: Users
Topic: How to double the dimensions of images as long as they don't go above 192X192?
Replies: 9
Views: 2593

How to double the dimensions of images as long as they don't go above 192X192?

I have a large folder of images and I need to double the size of most of them, however some are already doubled. My question is, is there a way to double the size of all images less than or equal to 96X96, so that all of the images are less than or equal to 192X192 afterwards? These images are the s...