Traitement en cours

Veuillez attendre...

Paramétrages

Paramétrages

Aller à Demande

1. WO2020018227 - FOURNITURE D'UN MODE DE VISUALISATION SOMBRE TOUT EN PRÉSERVANT LE FORMATAGE

Note: Texte fondé sur des processus automatiques de reconnaissance optique de caractères. Seule la version PDF a une valeur juridique

[ EN ]

CLAIMS

1. A device comprising:

one or more processors; and

a memory in communication with the one or more processors, the memory comprising executable instructions that, when executed by, the one or more processors, cause the device to perform functions of:

receiving content for displaying on a display screen;

parsing the received content into one or more objects, based on at least a formatting characteristic of the one or more objects;

comparing for at least one of the one or more objects a first characteristic of the at least one of the one or more objects with a second characteristic to determine if a contrast between the first characteristic and the second characteristic satisfies a threshold requirement;

upon determining that the threshold requirement is not satisfied, adjusting the first characteristic; and

providing the at least one of the one or more objects with the adjusted first characteristic for being displayed on the display screen.

2. The device of claim 1, wherein the executable instructions, when executed by the one or more processors, further cause the device to perform a function of determining a desired color as a background color for being displayed with the received content.

3. The device of claim 2, wherein the first characteristic is a color of a text in the at least one of the one or more objects, and the second characteristic is the desired background color.

4. The device of claim 1, wherein the executable instructions, when executed by the one or more processors, further cause the device to perform functions of:

determining if a background color of the at least one of the one or more objects is different from a default background color of the content received;

upon determining that the background color of the one of the one or more objects is different from the default background color of the content received, comparing the background color of the one of the one or more objects to the adjusted first characteristic to determine if a contrast between the background color of the at least one of the one or more objects satisfies the threshold requirement; and

upon determining that the contrast between the background color of the at least one of the one or more objects and the adjusted first characteristic does not satisfy the

threshold requirement, adjusting the background color of the at least one of the one or more objects.

5. The device of claim 1, further comprising providing a user changeable option on a graphical user interface to be displayed on the display screen for toggling display of the content between an original received version and a second version displayed having adjusted color characteristics.

6. The device of claim 5, wherein the user changeable option is a toggle element.

7. The device of claim 5, wherein the second version is a dark viewing mode version.

8. The device of claim 7, wherein the first characteristic is a text color of the object.

9. The device of claim 1, wherein the executable instructions, when executed by the one or more processors, further cause the data processing system to perform function of: converting the first characteristic from an original color space to a CIELUV color space;

determining a modified value for a luminance of the CIELUV color space by calculating an opposite value for the luminance;

scaling the modified value for the luminance by a factor to compensate for a desired base color; and

converting the first characteristic back to the original color space.

10. The device of claim 1, wherein the threshold is a visibility threshold.

11. The device of claim 1, wherein the formatting includes a color characteristic of the one or more objects.

12. A method for improving visibility of content displayed in a graphical user interface while preserving original content formatting comprising:

receiving content for displaying on the graphical user interface;

parsing the received content into one or more objects;

comparing, for at least one of the one or more objects, a first characteristic of the at least one of the one or more objects with a reference characteristic to determine if a contrast between the first characteristic and the reference characteristic satisfies a first threshold requirement;

upon determining that the first threshold requirement is not satisfied, adjusting the first characteristic;

comparing, for the at least one of the one or more objects, a second characteristic of the at least one of the one or more objects with the adjusted first characteristic to determine if a contrast between the adjusted first characteristic and the second

characteristic satisfies a second threshold requirement;

upon determining that the second threshold requirement is not satisfied, adjusting the second characteristic; and

providing the at least one of the one or more objects with the adjusted first characteristic and the adjusted second characteristic for being displayed on the graphical user interface.

13. The method of claim 12, wherein adjusting the first characteristic comprises:

converting a color space of the first characteristic from an original color space to a modified color space, the modified color space including a value for luminance;

calculating a modified value for the luminance, the modified value being an opposing value of the luminance;

scaling the modified value for the luminance; and

converting the modified color space back to the original color space.

14. The method of claim 12, wherein the first characteristic is a color of text, and the reference characteristic is a base background color.

15. The method of claim 12, wherein the first threshold requirement is a visibility threshold.