<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Chris,</div><div><br></div><div>Old eMail on this below. Since then, I've got this done for the other cars and it seems to work well. Now working on integrating to the Apps.</div><div><br></div><div>Regards, Mark.</div><div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>I've spent some time trying this tonight.<div><br></div><div>I took the basic twizy image, magic wand selected the paint colour part of the vehicle, then cut and paste that as a new layer. I then converted the paint colour layer to grayscale.</div><div><br></div><div>Next, using the colorise filter, applied to the grayscale paint layer, I tried colouring it with a colour wheel. It worked beautifully. I could generate all the possible colours, and the paint highlights and shadows looked really good.</div><div><br></div><div>I'll now see if I can do this programatically in iOS. If I can, we can dramatically reduce the amount of artwork required for each vehicle. Just a couple of base image layers and a 4-byte ARGB code for each standard vehicle (plus a colour wheel for users to choose their own custom colour).</div><div><br></div><div>Proof of concept - some colour suggestions for Renault:</div><div><br></div><div>Base grayscale layer:</div><div><br></div><div><img id="141a49fb-3d05-428d-a74a-1614562d2262" height="235" width="320" apple-width="yes" apple-height="yes" apple-inline="yes" src="cid:E5F6E1F6-120A-4A5D-8740-03297A63395E"><span style="font-size: 48px;"> + </span><img id="952196d7-5cc5-4d8b-be65-22fa7e41c763" height="237" width="320" apple-width="yes" apple-height="yes" apple-inline="yes" src="cid:C41F01F8-E786-4ACA-A900-AC69C0BC4EA1"><span style="font-size: 48px;"> = </span><img id="b419f363-97e2-4386-8516-1da185dc4581" height="240" width="320" apple-width="yes" apple-height="yes" apple-inline="yes" src="cid:52B725A6-6780-4DC5-B388-625DF94BC1AD"></div><div><br></div><div>Colorised:</div><div><br></div><div><img id="7743a73b-5860-47d9-9568-7950f3386c08" height="207" width="320" apple-width="yes" apple-height="yes" apple-inline="yes" src="cid:B463B3AB-A5CA-437E-B44C-B28F1E019D5F"><img id="f11517d8-c09b-4f08-8089-dabd3d823ccd" height="238" width="320" apple-width="yes" apple-height="yes" apple-inline="yes" src="cid:755E1060-662A-4259-B792-79080993CC65"><img id="9ee6222d-43e0-414a-b8a4-d23a0854d084" height="236" width="320" apple-width="yes" apple-height="yes" apple-inline="yes" src="cid:10FEC992-3868-48E7-8566-A15915B32355"><img id="8889a2d0-94c7-4be4-9356-ae14d9c3a226" height="240" width="318" apple-width="yes" apple-height="yes" apple-inline="yes" src="cid:DF7A6BAD-CEF9-4ACC-9B15-ED79F836B7CC"></div></div></blockquote></div><br><div><div>On 24 Oct, 2013, at 12:28 pm, Christopher Cook <<a href="mailto:christopher.cook@webprofusion.com">christopher.cook@webprofusion.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Mark,<br><br>Regarding vehicle images - how were you thinking of handling them in the long term? Is there any way a vector format could be used (svg etc)? I'm guessing your going to do something like a masking image with a transparent silhouette on a given coloured background, then overlayed with a semi transparent detail layer? A stack of PNGs would do the trick.<br><br>I'm also interested if the car configuration (including images), supported features etc could be expressed in a bundle of configuration files rather than code/static resources?<br><br>Chris<br><br> <br><blockquote type="cite">Can you hold a few weeks for this? I am working on the Apps to re-work how we do the vehicle images. They are just too large (13MB+ already!), so I am working on a better way of handling the multiple colours and making it easier to add them to the Apps. Once I have this working, I'll let you know what format we need the images in.<br><br>Regards, Mark.<br><br><br></blockquote><br>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote></div><br></body></html>