<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Mark,<br>
<br>
I'm tempted to forward your color experiments to the german Twizy
forum... :-)<br>
<br>
Try adding a 1-2 bit feathering on the magic wand selection for the
colour mask, that should eliminate the remaining border.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 06.02.2013 15:30, schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote
cite="mid:1D309283-FA68-4807-B43D-CF21DC80CC9A@webb-johnson.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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 moz-do-not-send="true"
id="ddc892d3-277f-4991-b7a2-b66902c36a81" apple-width="yes"
apple-height="yes"
src="cid:8E30EF31-3189-4B61-AFA6-DB987F4841BE" width="246"
height="180"><span style="font-size: 48px;"> + </span><img
moz-do-not-send="true"
id="736afeb4-b70b-4ccf-b478-42819712cc75" apple-width="yes"
apple-height="yes"
src="cid:472A5638-8950-40B7-B02A-9D7DAA143B1A" width="224"
height="166"><span style="font-size: 48px;"> = </span><img
moz-do-not-send="true"
id="a35ec8de-026e-4201-9c5a-3b6fba05e44e" apple-width="yes"
apple-height="yes"
src="cid:507643F1-2384-45F2-B2E0-BC9EC44B885A" width="237"
height="178"></div>
<div><br>
</div>
<div>Colorised:</div>
<div><br>
</div>
<div><img moz-do-not-send="true"
id="35b5e18e-a685-4203-b291-3d931020f5ff" apple-width="yes"
apple-height="yes"
src="cid:D7650F18-814B-48BA-A60C-9A6F863D863E" width="279"
height="180"><img moz-do-not-send="true"
id="a6ceecf2-7cee-4665-9021-575c8e88cab9" apple-width="yes"
apple-height="yes"
src="cid:5939D605-FF18-4BF8-8EBA-217EED8D4D59" width="251"
height="187"><img moz-do-not-send="true"
id="5c94026b-2f1a-4336-b9bb-4b4baa3fa2f7" apple-width="yes"
apple-height="yes"
src="cid:B269DF8E-76ED-4A1A-92CB-B4AFFC096238" width="241"
height="178"><img moz-do-not-send="true"
id="e3ec2d8f-ee0e-45d4-a04e-eb66ea3c404b" apple-width="yes"
apple-height="yes"
src="cid:40C8E16B-8FAF-449E-9959-CD0C46D367FA" width="237"
height="179"></div>
<div><br>
</div>
<div>Regards, Mark.</div>
<div><br>
<div>
<div>On 25 Jan, 2013, at 8:13 PM, Mark Webb-Johnson <<a
moz-do-not-send="true" 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=ISO-8859-1">
<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 moz-do-not-send="true"
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=ISO-8859-1">
<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 moz-do-not-send="true"
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 face="Arial"
size="2">
<hr size="1"> <b><span
style="font-weight:bold;">From:</span></b>
Mark Webb-Johnson <<a
moz-do-not-send="true"
href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>><br>
<b><span style="font-weight: bold;">To:</span></b>
OVMS Developers <<a
moz-do-not-send="true"
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
moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</body>
</html>