Patent ID: 8250527

Claim:
A method comprising: detecting, by a software code authoring tool, insertion of a reference to an image in software code being authored in the software code authoring tool; obtaining, by the software code authoring tool, optimization settings based at least in part on whether the insertion of the reference to the image replaces a previously-defined reference to another image in the software code, wherein obtaining the optimization settings comprise: determining, by the software code authoring tool, that the insertion of the reference to the image replaces the previously-defined reference to the another image; and in response to determining that the insertion of the reference to the image replaces the previously-defined reference, retrieving, by the software code authoring tool, previously-defined optimization settings of the another image referenced by the previously-defined reference, wherein the obtained optimization settings comprise the previously-defined optimization settings; applying, by the software code authoring tool, the obtained optimization settings to the image; and storing, by the software code authoring tool and within metadata associated with the code being authored, information relating the reference to the obtained optimization settings.