<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><br></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="ddc892d3-277f-4991-b7a2-b66902c36a81" height="180" width="246" apple-width="yes" apple-height="yes" src="cid:8E30EF31-3189-4B61-AFA6-DB987F4841BE"><span style="font-size: 48px;"> + </span><img id="736afeb4-b70b-4ccf-b478-42819712cc75" height="166" width="224" apple-width="yes" apple-height="yes" src="cid:472A5638-8950-40B7-B02A-9D7DAA143B1A"><span style="font-size: 48px;"> = </span><img id="a35ec8de-026e-4201-9c5a-3b6fba05e44e" height="178" width="237" apple-width="yes" apple-height="yes" src="cid:507643F1-2384-45F2-B2E0-BC9EC44B885A"></div><div><br></div><div>Colorised:</div><div><br></div><div><img id="35b5e18e-a685-4203-b291-3d931020f5ff" height="180" width="279" apple-width="yes" apple-height="yes" src="cid:D7650F18-814B-48BA-A60C-9A6F863D863E"><img id="a6ceecf2-7cee-4665-9021-575c8e88cab9" height="187" width="251" apple-width="yes" apple-height="yes" src="cid:5939D605-FF18-4BF8-8EBA-217EED8D4D59"><img id="5c94026b-2f1a-4336-b9bb-4b4baa3fa2f7" height="178" width="241" apple-width="yes" apple-height="yes" src="cid:B269DF8E-76ED-4A1A-92CB-B4AFFC096238"><img id="e3ec2d8f-ee0e-45d4-a04e-eb66ea3c404b" height="179" width="237" apple-width="yes" apple-height="yes" src="cid:40C8E16B-8FAF-449E-9959-CD0C46D367FA"></div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 25 Jan, 2013, at 8:13 PM, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">We've had this request a few times, and it would be great to do.<div><br></div><div>I've been wondering if there is a generic way to do this, but not being in any way proficient with photoshop, I'm not sure if it is possible. Can we somehow have a base layer of the solid bits of the car, then an overlay layer colour mask. Then, somehow apply a colour slider to the colour mask layer to generate the different colour variations of the car? That way, we would only need 1 image for each car (ok, two images: a base layer and a colour layer), but could generate any colour we want in the App itself (including custom colours) just with a colour-wheel (as well as provide stock colour choices). Rather than the current approach of just an image filename, this would become a base vehicle type and RGB colour selection. Any photoshop experts know how to do this?</div><div><br></div><div>That wouldn't solve the problem of custom car artwork, which we would still have to allow for, but would (a) dramatically reduce the number of images for each car required, and (b) allow for custom colour variations.</div><div><br></div><div>Regards, Mark.<br><div><br><div><div>On 25 Jan, 2013, at 6:33 PM, Nikki Gordon-Bloomfield <<a href="mailto:nikki@littlecollie.com">nikki@littlecollie.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div>A feature which would be nice is for owners to add their own JPG image for his or her own car. Could be a nice personalisation touch...<br><br>Sent from my iPhone</div><div><br>On 25 Jan 2013, at 10:13, Nikolay Shishkov <<a href="mailto:nshishkov@yahoo.com">nshishkov@yahoo.com</a>> wrote:<br><br></div><blockquote type="cite"><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; "><div>Thanks - I was wondering why the car images were so sharp... now I know.</div><div><br></div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>><br> <b><span style="font-weight: bold;">To:</span></b> OVMS Developers <<a href="mailto:ovmsdev@lists.teslaclub.hk">ovmsdev@lists.teslaclub.hk</a>> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, January 25, 2013 10:48 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Ovmsdev] Android App<br> </font> </div> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv966051503">Nikolay,<div><br></div><div>Here are the contents:</div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px;"><div>8.0K<span class="yiv966051503Apple-tab-span" style="white-space:pre;">   </span>AndroidManifest.xml</div><div>116K<span class="yiv966051503Apple-tab-span" style="white-space:pre;"> </span>META-INF</div><div>1.3M<span class="yiv966051503Apple-tab-span" style="white-space:pre;">    </span>classes.dex</div><div> 13M<span class="yiv966051503Apple-tab-span" style="white-space:pre;">    </span>res</div><div>100K<span class="yiv966051503Apple-tab-span" style="white-space:pre;"> </span>resources.arsc</div></blockquote></div><div><br></div><div>The App is 1.3MB, and the resources 13MB.</div><div><br></div><div>Of that, 11MB are the graphics for the cars.</div><div><br></div><div>I am working on a framework where we don't have to
 deliver those with the Apps (iOS and Android), but downloaded them from the web after installation. That will also allow us to upload new car graphics without having to change the apps.</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 25 Jan, 2013, at 5:41 PM, Nikolay Shishkov <<a rel="nofollow" ymailto="mailto:nshishkov@yahoo.com" target="_blank" href="mailto:nshishkov@yahoo.com">nshishkov@yahoo.com</a>> wrote:</div><br class="yiv966051503Apple-interchange-newline"><blockquote type="cite"><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; ">Is there any good reason why the app size is 12MB?</div></blockquote></div></div></div></div></div></div></blockquote></div></blockquote></div><br></div></div></div></blockquote></div><br></div></body></html>