Auto-fit image to a 1080p screen.
Posted: 2012-05-23T12:41:17-07:00
I'm working on slideshow software for School Lobby TV displays 1080p. The trouble is getting end-users to resize photos to fit the screen before uploading. Can ImageMagick resize uploaded images as follows:
1) Detect image size.
2) Fit the largest dimention to screen size: either width or height.
3) Create a fuzzy background using the original image as filler.
- Enlarge background, blur, lighten, underlay on original.
Original Image:
e.g. padding the sides:
e.g. padding the top:
1) Detect image size.
2) Fit the largest dimention to screen size: either width or height.
3) Create a fuzzy background using the original image as filler.
- Enlarge background, blur, lighten, underlay on original.
Original Image:
e.g. padding the sides:
e.g. padding the top: