IP Library Granted Patent US 8,542,808
Granted Patent B2
US 8,542,808 · App. 13/097,436 · Granted Sep 24, 2013

Contact image selection and association method and system for mobile device

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,542,808
App. No.
13/097,436
Granted
Sep 24, 2013
Kind
B2
Abstract

A method and computing device for encoding an image according to a preset encoding parameter for the image. The encoding producing an encoded image having a file size. If it is determined that the file size exceeds a maximum file size and the encoding parameter does not meet a threshold, the encoding parameter is modified. The encoding, determining and modifying are repeated until the file size does not exceed a maximum file size or the encoding parameter meets the threshold.

Claims (34)

1. A computer-implemented method for encoding an image based on a maximum file size requirement, the method comprising:

receiving a selection of a portion of the image;

cropping the image according to the selection, to produce a sub-image;

setting an encoding parameter;

encoding the sub-image according to the encoding parameter to produce an encoded sub-image;

determining that a file size of the sub-image file exceeds the maximum file size and that the encoding parameter does not meet a threshold and, in response, modifying the encoding parameter;

repeating the encoding, the determining, and the modifying until the file size does not exceed the maximum file size or the encoding parameter meets the threshold; and

saving the encoded sub-image.

2. The method according to claim 1 wherein the encoding parameter comprises any one of a quality factor, image dimensions and color depth.

3. The method according to claim 1 wherein the maximum file size is about 3 kilobytes.

4. The method according to claim 1 wherein encoding the sub-image comprises encoding the sub-image according to any one of JPEG, GIF and PNG image file formats.

5. The method according to claim 1 wherein setting an encoding parameter comprises setting a JPEG compression quality factor to about 75 on a scale of 0 to 100, wherein modifying the encoding parameter comprises decreasing the quality factor and wherein the encoding parameter meets the threshold when the quality factor is below about 50.

6. The method according to claim 5 , comprising receiving configuration data from a host system before setting the quality factor, the configuration data containing any one of an initial encoding parameter, a threshold encoding parameter and a maximum file size.

7. A computing device for encoding an image based on a maximum file size requirement, the device comprising:

a memory containing at least one image file containing image data for rendering an image; and

a cropping module for receiving a selection of a portion of an image and cropping the image according to the selection, to produce a sub-image;

an image encoder for receiving selection of the sub-image and encoding the sub-image according to an encoding parameter to produce a sub-image file,

wherein the image encoder is configured to incrementally modify the encoding parameter and re-encode the sub-image with the modified encoding parameter until a file size of the sub-image file exceeds the maximum file size or the encoding parameter meets a threshold and to save the encoded sub-image.

8. The computer implemented method according to claim 7 wherein the encoding parameter comprises any one of a quality factor, image dimensions and color depth.

9. The computing device according to claim 7 wherein the maximum file size is about 3 kilobytes.

10. The computing device according to claim 7 wherein the image encoder comprises any one of a JPEG, GIF and PNG image encoder.

11. The computing device according to claim 7 wherein the encoding parameter comprises a JPEG compression quality factor of about 75 on a scale of 0 to 100 and the threshold comprises about 50, and wherein the image encoder is configured to modify the encoding parameter by decreasing the encoding parameter.

12. A non-transitory machine-readable medium having encoded thereon computer-readable instructions executable by a processor, the computer-readable instructions for:

receiving a selection of a portion of an image;

cropping the image according to the selection, to produce a sub-image;

setting an encoding parameter;

encoding the sub-image according to the encoding parameter to produce an encoded sub-image;

determining that a file size of the sub-image file exceeds the maximum file size and that the encoding parameter does not meet a threshold and, in response, modifying the encoding parameter;

repeating the encoding, the determining, and the modifying until the file size does not exceed the maximum file size or the encoding parameter meets the threshold; and

saving the encoded sub-image.

13. The non-transitory machine-readable medium according to claim 12 wherein the encoding parameter comprises any one of a quality factor, image dimensions and color depth.

14. The non-transitory machine-readable medium according to claim 12 wherein the maximum file size is about 3 kilobytes.

15. The non-transitory machine-readable medium according to claim 12 wherein the instructions for encoding the sub-image comprise instructions for encoding the sub-image according to anyone of JPEG, GIF and PNG image file formats.

16. The non-transitory machine-readable medium according to claim 12 wherein the instructions for setting an encoding parameter comprise instructions for setting a JPEG compression quality factor to about 75 on a scale of 0 to 100, wherein modifying the encoding parameter comprises decreasing the quality factor and wherein the encoding parameter meets the threshold when the quality factor is below about 50.

Assignments (4)
NUNC PRO TUNC ASSIGNMENT Recorded Jun 19, 2023
From: BLACKBERRY LIMITED
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 064269/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 16, 2023
From: BLACKBERRY LIMITED
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 064104/0103 →
CHANGE OF NAME Recorded Aug 20, 2013
From: RESEARCH IN MOTION LIMITED
To: BLACKBERRY LIMITED
Reel/Frame 031057/0938 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 29, 2011
From: TYSOWSKI, PIOTR; WIKKERINK, EARL; POLLOCK, STUART
To: RESEARCH IN MOTION LIMITED
Reel/Frame 026202/0834 →