Horizontal Gradient Colour Picker

I needed this week, a particular kind of colour picker.  I couldn’t find one so I made one.

I tried using a gradient background, but was unable to find a way to pick the tapped colour out of it, even though I could get the POINT co-ordinate.

Instead, I had to do it like this.

It isn’t a custom control, just a usercontrol so I can re-use it.

It’s a Image of the gradient, and in the background it holds the original image as a WriteableBitmapEX.

On the right is a grid with the background set to the colour selected.

On the Tap event I got the position of the tap along with the width of the visible image control (as it could stretch with the users screen).

Then I bilinear resize the background image to match the visible image and grab the pixel from the tap events position. Push it back into the property and ta-da!

It’s now getting some further work (stop the image from resampling resampling if the image hasn’t resized (speed and avoid loss of quality) and it would be great if it set the colour while holding so you could drag a finger/cursor and see the color change without lifting).  But this first iteration was interesting so I wanted to share.

I should note; this binds to a string property.

Voyer – FFMPEG

It’s been a little quiet here on the blog, but we have been busy behind the scenes;

We’ve been experimenting with Microsoft’s AI suite, and coming up with some cool new ideas, some of which have been trialed in beta.  More on these soon.

Also, we’ve been making consistent improvements to Simple PoS.  Our new thermal printer is on it’s way; which will allow us to test the new Thermal Printing (docket printer) option in Simple PoS ready to be released to the production version.

Finally;  I’ve just finished adding in the new FFMPEG CODECS for Voyer.  The previous version was getting a little long in the tooth and I had noticed more videos that it couldn’t decode.  I do full local recompiles of FFMPEG, which is touchy to say the least and not a job I look forward to but very valuable to do every 6 months or so.  There are components I could use rather than do this onerous task myself but most lack ARM capability or other features I want.  Thus I do it the old fashioned way.

And as an Australian; welcome to spring!


Sun sets on two apps

There comes a time when some apps simply haven’t had the reception you might have liked.

In this case, it is for Screen Stitch and Background Studio.

Screen Stitch started well and was created to fill a gap in the store offerings.  Since then it has been surpassed by other products and even with a significant re-write recently to use OCR instead of image scanning which made it instantaneous; it had lost that momentum.  This is OK; as like I say there is a really good set of products available now in store.

Background Studio is a little different; I created this in my spare time as I didn’t like the limitations around setting backgrounds on Windows Mobile.  It was really an app for my personal use that I decided to release and see if anyone wanted it.  Short version; they didn’t!

So with the time required for other projects I have decided to walk these two apps into the sunset.  They will be removed from the store over the next 24 hours.

We look forward to utilizing the time captured from this move to continue development on Simple PoS, Chains, Thought Valley, Voyer for 4chan, Charged, and Punt for Product Hunt as well as other new products.

Valley Software.

Punt for Product Hunt is live!

Today is two weeks since I started a little side project to bring Product Hunt to the Windows Store.

And today I am proud to announce that it is available right now!

Punt for Product Hunt is a UWP app using the Product Hunt API; no web wrappers or W32 ports here.

You can browse anonymously, or sign in using your Product Hunt account for a personalized experience.  Punt supports Twitter, Facebook and other sign in methods used by Product Hunt.

You can see posts, the users who made them and media including Still Images, GIF and YouTube Videos natively from within the app.

Full comment threads are also available posts, again including the user names and avatars.

The More Info links which take you to the products own web site are included for your convenience.

This slideshow requires JavaScript.

There is much more to come in this app in the future, as it is brand new, but please take a look and post any suggestions using the built in Feedback support or here on ValleySoftware.com.au.


Valley Software.