Acorn Arcade forums: Programming: Filtered image scaling
|
Filtered image scaling |
|
This is a long thread. Click here to view the threaded list. |
|
richard cheng |
Message #79436, posted by richcheng at 11:11, 29/8/2006, in reply to message #79265 |
Posts: 655
|
Awesome awesome awesome! Thank you one thousand times!
Disclaimer - I've not actually tried it yet. |
|
[ Log in to reply ] |
|
richard cheng |
Message #81076, posted by richcheng at 13:53, 11/10/2006, in reply to message #79436 |
Posts: 655
|
Okay. Now I have tried it, and, at first glance, it does appear to be pretty awesome.
However, to be completely awesome, and, in fact, useful to me, it would need one little extra feature. Which is: the ability to lock the aspect ratio. So, if I have a picture that is, say 1024x768, and I use -w800 then the height of the output image is automatically set to 600 pixels.
N.B. This could be implemented either by adding a specific "lock aspect ratio" parameter, or by allowing the user to only specify one dimension, and calculating the other based on the aspect ratio.
Doubly nifty would be if you could pass in values for height and width, and the more relevant one would be used, so that by passing in -w800 -h800:
- input pictures of size 1024x768 would end up 800x600, - input pictures of 768x1024 would end up 600x800,
N.B. This would require a specific "lock aspect ratio" parameter and is similar to the functionality presented by ChangeFSI.
Triply nifty would be if you could specify these features to be maximums so with the same -w800 -h800 settings:
- pictures that are 768x768 would remain unchanged.
I guess the ability to set them to be minimums might be useful for some people, too, although it's not a feature I'd personally use.
Any chance of adding all/any of these features, Adrian? |
|
[ Log in to reply ] |
|
Pages (2): |< <
2
|
Acorn Arcade forums: Programming: Filtered image scaling |
|
|