log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- Latest hardware upgrade from RISCOSbits (News:)
- RISC OS London Show Report 2024 (News:1)
- Announcing the TIB 2024 Advent Calendar (News:1)
- Code GCC produces that makes you cry #12684 (Prog:39)
- RISCOSbits releases a new laptop solution (News:)
- Rougol November 2024 meeting on monday (News:)
- Drag'n'Drop 14i1 edition reviewed (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:2)
- October 2024 News Summary (News:3)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
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