Top "Aspect-ratio" questions

The aspect ratio of an element describes the proportional relationship between its width and its height.

ConstraintLayout: Unable to scale image to fit a ratio in RecyclerView

I have a recycler view with StaggeredGridLayoutManager. Within in I have custom items/views. Each item is defined as a …

android android-recyclerview aspect-ratio android-constraintlayout
Your thoughts on web design for 16:9 screens

I design web apps mainly for desktop use (not PDAs, phones etc) by co-workers and customers. As more users become …

aspect-ratio
ImageMagick: how to minimally crop an image to a certain aspect ratio?

With imagemagick, I'd like to crop an image, in a minimal fashion, so that it fits a given aspect ratio. …

imagemagick crop aspect-ratio
A simple way to put a UIImage in a UIButton

I have a UIButton in my iPhone app. I set its size to 100x100. I have an image that is 400…

iphone image uiimageview uibutton aspect-ratio
Specify the natural size of an HTML element

Let's talk about images in HTML. If I drop an image onto the page with no other constraints, it will …

html css responsive-design aspect-ratio
Field of view + Aspect Ratio + View Matrix from Projection Matrix (HMD OST Calibration)

I'm currently working on an Augmented reality application. The targetted device being an Optical See-though HMD I need to calibrate …

opengl matrix aspect-ratio perspectivecamera
Maintain aspect ratio according to width and height

It is possible to fit and center a square div in the viewport and always maintain it's aspect ratio according …

css responsive-design aspect-ratio
Cocos2d and the new iPhone 5 aspect ratio

I have just seen the announcment of iPhone 5 and it says that the pixel resolution has changed to 1136*640, affecting in …

cocos2d-iphone screen-resolution aspect-ratio iphone-5
Unity 2D : How to support multi platform and different aspect ratio devices in Unity 2D?

I am newbie to Unity 2D and creating a game in it. I wanted to run that game on almost …

android ios unity3d aspect-ratio multiplatform
How to change aspect-ratio with gstreamer?

I have this command: gst-launch-1.0 ximagesrc startx=1920 starty=0 endx=2943 endy=768 use-damage=0\ ! video/x-raw,framerate=15/1 \ ! videoscale method=0 \ ! video/x-raw,width=640,height=360 \ ! …

scale gstreamer aspect-ratio gst-launch