Latest tip toolbar

Discussion and support for general JUCE issues

Latest tip toolbar

Postby atom » Fri Aug 03, 2012 7:47 pm

There is something very wrong with rendering images in the latest tip. Notice the JUCE logo over one of the combos, this happens in my apps that uses button with custom Images, they are drawn in some weird greyscale mode and are placed all over the app window and are rescaled.

juce_error.jpg
JUCE problem
juce_error.jpg (64.92 KiB) Viewed 199 times
User avatar
atom
JUCE UberWeenie
 
Posts: 1113
Joined: Thu Feb 15, 2007 11:36 am

Re: Latest tip toolbar

Postby TheVinn » Fri Aug 03, 2012 8:32 pm

1. What platform?

2. This is definitely a bug with the use of "pixelStride" in RenderingHelpers.h, it has all the signs
Open Source: LayerEffects, VFLib, SimpleDJ, DSP Filters, LuaBridge, JUCE, FreeType, TagLib
"This isn't a big project, it shouldn't take long." - Jules
User avatar
TheVinn
JUCE UberWeenie
 
Posts: 2975
Joined: Sat Aug 29, 2009 11:31 am
Location: Marina del Rey, California

Re: Latest tip toolbar

Postby TheVinn » Fri Aug 03, 2012 8:36 pm

Found it:

RenderingHelpers::TransformedImageFill was not updated to use pixelStride (sorry!)

Jules should I make the necessary changes and give you a link to the diff or do you want to do it? It's a fair bit of work, since it handles the various interpolation settings.
Open Source: LayerEffects, VFLib, SimpleDJ, DSP Filters, LuaBridge, JUCE, FreeType, TagLib
"This isn't a big project, it shouldn't take long." - Jules
User avatar
TheVinn
JUCE UberWeenie
 
Posts: 2975
Joined: Sat Aug 29, 2009 11:31 am
Location: Marina del Rey, California

Re: Latest tip toolbar

Postby jules » Fri Aug 03, 2012 10:24 pm

Jules should I make the necessary changes and give you a link to the diff or do you want to do it?


If you could figure out a fix, that'd be great - I don't really have time to look at it myself right now.
User avatar
jules
Fearless Leader
 
Posts: 17189
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: Latest tip toolbar

Postby TheVinn » Fri Aug 03, 2012 11:38 pm

jules wrote:If you could figure out a fix, that'd be great...


Here's the fix:

https://github.com/vinniefalco/JUCE/com ... af3ae762c9

atom and others, any chance you could give this a test? It seems to work for me.

Thanks
Open Source: LayerEffects, VFLib, SimpleDJ, DSP Filters, LuaBridge, JUCE, FreeType, TagLib
"This isn't a big project, it shouldn't take long." - Jules
User avatar
TheVinn
JUCE UberWeenie
 
Posts: 2975
Joined: Sat Aug 29, 2009 11:31 am
Location: Marina del Rey, California


Return to General JUCE discussion

Who is online

Users browsing this forum: No registered users and 1 guest