<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; ">Neat!<div><br></div><div>In the interests of accuracy, you'd technically have to change the colour of the seat cushions too -- but I suspect no-one (certainly me) wouldn't mind if what you suggest below is the best solution ;) </div><div><br></div><div>*grins*</div><div><br></div><div>Nikki. </div><div><br></div><div>P.S. Twizy is due next week (or the week after) so we will have another test Twizy. Happy to try both beta firmware and iOS apps :) </div><div><br></div><div><br></div><div><div><div>On 6 Feb 2013, at 14:30, 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; "><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><span><PastedGraphic-8.tiff></span><span style="font-size: 48px;"> + </span><span><PastedGraphic-9.tiff></span><span style="font-size: 48px;"> = </span><span><PastedGraphic-10.tiff></span></div><div><br></div><div>Colorised:</div><div><br></div><div><span><PastedGraphic-11.tiff></span><span><PastedGraphic-12.tiff></span><span><PastedGraphic-13.tiff></span><span><PastedGraphic-14.tiff></span></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></div>_______________________________________________<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></div></body></html>