# US 2022/0293066 A1 · Rotational image viewer

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0293066 A1
- Document ID: US20220293066A1
- Status: Published application
- Kind: A1
- Application number: 17/829,006
- Filed: 2022-05-31
- Published: 2022-09-15
- Earliest claimed: 2020-09-24
- Assignees: Snap Inc.
- Inventors: Justin HUANG; Oleksandr ROMANOV
- Web page: https://patentgrep.com/patent/US20220293066A1

## CPC

- G09G 5/373: for modifying the size of the graphic pattern
- G06F 1/1626: {with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]}
- G06F 1/1686: {the I/O peripheral being an integrated camera}
- G06F 1/1694: {the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer}
- G06F 3/017: {Gesture based interaction, e.g. based on a set of recognized hand gestures (interaction based on gestures traced on a digitiser G06F3/04883)}
- G06F 3/0346: with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
- G06F 3/041: Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- H04N 5/2628: {Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation}
- H04N 23/62: Control of parameters via user interfaces
- H04N 23/63: by using electronic viewfinders
- H04N 23/631: {Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters}
- H04N 23/6812: {based on additional sensors, e.g. acceleration sensors}
- G06F 2200/1637: Sensing arrangement for detection of housing movement or orientation, e.g. for controlling scrolling or cursor movement on the display of an handheld computer
- G09G 2340/045: Zooming at least part of an image, i.e. enlarging it or shrinking it
- G09G 2354/00: Aspects of interface with display user
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A rotational image viewer for viewing an image on a mobile device having a display including a viewport. The image viewer monitors the orientation of the mobile device and enlarges/reduces the image responsive to the mobile device's orientation such that the viewport remains filled with at least a portion of the image (i.e., no letterboxing or pillarboxing within the viewport).

## Claims

### Claim 1

A method comprising:
determining, based on data captured by an orientation sensor, that a display of an image viewer is in a first orientation;
causing presentation of an image on the display based on the first orientation such that at least a first portion of the image fills a viewport of the display in the first orientation;
determining, based on updated data captured by the orientation sensor, that the display of the image viewer has changed from the first orientation to a second orientation; and
updating presentation of the image on the display based on the second orientation such that at least a second portion of the image fills the viewport of the display in the second orientation.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
detecting a gesture input received via the display; and
in response to detecting the gesture input, updating presentation of the image on the display such that at least a third portion of the image fills the viewport of the display.

### Claim 3 (depends on 1)

The method of claim 1, wherein updating presentation of the image on the display comprises:
scaling the image based on a detected change in a first degree of freedom of the image viewer detected by the orientation sensor; and
determining the at least the second portion of the image based on a detected change in a second degree of freedom of the image viewer detected by the orientation sensor.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
accessing a vertical pixel height for the viewport and a horizontal pixel height for the viewport from a display driver;
determining dimensions of the image based on the vertical pixel height and the horizontal pixel height; and
identifying a central origin of the viewport based on the vertical pixel height and the horizontal pixel height.

### Claim 5 (depends on 4)

The method of claim 4, wherein causing presentation of the image on the display based on the first orientation comprises:
centering the image within the viewport based on the central origin of the viewport; and
scaling the image such that a first image edge of the image is adjacent to a first viewable edge of the viewport and a second image edge of the image extends beyond a second viewable edge of the viewport.

### Claim 6 (depends on 5)

The method of claim 5, wherein scaling the image comprises:
enlarging the image for presentation on the display in the first orientation.

### Claim 7 (depends on 5)

The method of claim 5, wherein scaling the image comprises:
reducing the image for presentation on the display in the second orientation.

### Claim 8

An image viewer comprising:
one or more computer processors; and
one or more computer-readable mediums storing instructions that, when executed by the one or more computer processors, cause the image viewer to perform operations comprising:
determining, based on data captured by an orientation sensor, that a display of the image viewer is in a first orientation;
causing presentation of an image on the display based on the first orientation such that at least a first portion of the image fills a viewport of the display in the first orientation;
determining, based on updated data captured by the orientation sensor, that the display of the image viewer has changed from the first orientation to a second orientation; and
updating presentation of the image on the display based on the second orientation such that at least a second portion of the image fills the viewport of the display in the second orientation.

### Claim 9 (depends on 8)

The image viewer of claim 8, the operations further comprising:
detecting a gesture input received via the display; and
in response to detecting the gesture input, updating presentation of the image on the display such that at least a third portion of the image fills the viewport of the display.

### Claim 10 (depends on 8)

The image viewer of claim 8, wherein updating presentation of the image on the display comprises:
scaling the image based on a detected change in a first degree of freedom of the image viewer detected by the orientation sensor; and
determining the at least the second portion of the image based on a detected change in a second degree of freedom of the image viewer detected by the orientation sensor.

### Claim 11 (depends on 8)

The image viewer of claim 8, the operations further comprising:
accessing a vertical pixel height for the viewport and a horizontal pixel height for the viewport from a display driver;
determining dimensions of the image based on the vertical pixel height and the horizontal pixel height; and
identifying a central origin of the viewport based on the vertical pixel height and the horizontal pixel height.

### Claim 12 (depends on 11)

The image viewer of claim 11, wherein causing presentation of the image on the display based on the first orientation comprises:
centering the image within the viewport based on the central origin of the viewport; and
scaling the image such that a first image edge of the image is adjacent to a first viewable edge of the viewport and a second image edge of the image extends beyond a second viewable edge of the viewport.

### Claim 13 (depends on 12)

The image viewer of claim 12, wherein scaling the image comprises:
enlarging the image for presentation on the display in the first orientation.

### Claim 14 (depends on 12)

The image viewer of claim 12, wherein scaling the image comprises:
reducing the image for presentation on the display in the second orientation.

### Claim 15

A non-transitory computer-readable medium storing instructions that, when executed by one or more computer processors of an image viewer, cause the image viewer to perform operations comprising:
determining, based on data captured by an orientation sensor, that a display of the image viewer is in a first orientation;
causing presentation of an image on the display based on the first orientation such that at least a first portion of the image fills a viewport of the display in the first orientation;
determining, based on updated data captured by the orientation sensor, that the display of the image viewer has changed from the first orientation to a second orientation; and
updating presentation of the image on the display based on the second orientation such that at least a second portion of the image fills the viewport of the display in the second orientation.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, the operations further comprising:
detecting a gesture input received via the display; and
in response to detecting the gesture input, updating presentation of the image on the display such that at least a third portion of the image fills the viewport of the display.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein updating presentation of the image on the display comprises:
scaling the image based on a detected change in a first degree of freedom of the image viewer detected by the orientation sensor; and
determining the at least the second portion of the image based on a detected change in a second degree of freedom of the image viewer detected by the orientation sensor.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, the operations further comprising:
accessing a vertical pixel height for the viewport and a horizontal pixel height for the viewport from a display driver;
determining dimensions of the image based on the vertical pixel height and the horizontal pixel height; and
identifying a central origin of the viewport based on the vertical pixel height and the horizontal pixel height.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein causing presentation of the image on the display based on the first orientation comprises:
centering the image within the viewport based on the central origin of the viewport; and
scaling the image such that a first image edge of the image is adjacent to a first viewable edge of the viewport and a second image edge of the image extends beyond a second viewable edge of the viewport.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein scaling the image comprises:
enlarging the image for presentation on the display in the first orientation.
