British consistencies ;) here is where the iTunes "colour" algorithm came from http://www.panic.com/blog/2012/12/itunes-11-and-colors/ Not quite as good as iTunes own proprietary method, but almost.
On 21 Jul 2013, at 07:28, George Toledo <gtole...@gmail.com> wrote: > <QCColourArt.plugin.zip> > > There was some inconsistency in naming, maybe this is a little better (though > the name of the plugin still uses the british "colour"). > > > > On Jul 21, 2013, at 2:20 AM, Achim Breidenbach <ac...@boinx.com> wrote: > >> Hi, >> >> this plugin does work in 32 and 64 bit mode on my 10.7.5 system. Nice. >> >> However, there is one output name "wrong"? It shows the camel case name >> instead of a human readable one: "outputDetailColor" >> >> <PastedGraphic-1.png> >> >> best, >> >> Achim Breidenbach >> Boinx Software Ltd. >> >> >> On 21.07.2013, at 08:07, Jonathan Hammond wrote: >> >>> Hi, thanks for the help here guys. Surprising hard to find a 10.7 machine >>> to work this one out. Steve from Vuo (kineme/Kosada) came to the rescue >>> with what seems to be a working build. >>> >>> <QCColourArt.plugin.zip> >>> >>> >>> >>> >>> On 21 Jul 2013, at 06:59, Achim Breidenbach <ac...@boinx.com> wrote: >>> >>>> Hi, >>>> >>>> I tested the plugin with 10.7.5. Here are my results: >>>> >>>> - It won't load in 32-bit mode. >>>> - It crashes in 64-bit mode when opening the provided test qtz. (the >>>> editor opens, the viewer opens and shows Bart Simpson but then it crashes >>>> immediately) >>>> >>>> Here is the stripped crashlog: >>>> >>>> Process: Quartz Composer [70898] >>>> Path: /Applications/Quartz Composer.app/Contents/MacOS/Quartz >>>> Composer >>>> Identifier: com.apple.QuartzComposer.editor >>>> Version: 4.6 (147) >>>> Build Info: QuartzComposerEditor-147000000000000~10 >>>> Code Type: X86-64 (Native) >>>> Parent Process: launchd [154] >>>> >>>> PlugIn Path: /Library/Graphics/Quartz Composer >>>> Plug-Ins/QCColourArt.plugin/Contents/MacOS/QCColourArt >>>> PlugIn Identifier: com.chrisbirch.QCColourArt >>>> PlugIn Version: 1.1 (1.0) >>>> >>>> Date/Time: 2013-07-21 07:48:27.912 +0200 >>>> OS Version: Mac OS X 10.7.5 (11G63b) >>>> Report Version: 9 >>>> >>>> Crashed Thread: 0 Dispatch queue: com.apple.main-thread >>>> >>>> Exception Type: EXC_BAD_ACCESS (SIGSEGV) >>>> Exception Codes: 0x000000000000000d, 0x0000000000000000 >>>> >>>> VM Regions Near 0: >>>> --> >>>> __TEXT 000000010ca54000-000000010ca98000 [ 272K] >>>> r-x/rwx SM=COW /Applications/Quartz Composer.app/Contents/MacOS/Quartz >>>> Composer >>>> >>>> Application Specific Information: >>>> objc_msgSend() selector name: _cfTypeID >>>> objc[70898]: garbage collection is OFF >>>> >>>> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread >>>> 0 libobjc.A.dylib 0x00007fff81a5ce90 objc_msgSend + 16 >>>> 1 com.apple.CoreFoundation 0x00007fff8c8df480 CFGetTypeID + 240 >>>> 2 com.apple.QuartzComposer 0x00007fff8c1e9885 -[QCPlugIn(Ports) >>>> _setValue:forOutputPort:] + 232 >>>> 3 com.chrisbirch.QCColourArt 0x000000010fa28f19 >>>> -[QCColourArtPlugIn(Execution) execute:atTime:withArguments:] + 569 >>>> 4 com.apple.QuartzComposer 0x00007fff8c1e5f67 -[QCPlugInPatch >>>> execute:time:arguments:] + 143 >>>> 5 com.apple.QuartzComposer 0x00007fff8c0e0fbd -[QCPatch(Private) >>>> _renderAtTime:arguments:] + 145 >>>> 6 com.apple.QuartzComposer 0x00007fff8c0e0f15 -[QCRenderingManager >>>> addPatch:context:time:arguments:nextExecutionTime:] + 3273 >>>> 7 com.apple.QuartzComposer 0x00007fff8c0df8a2 -[QCPatch(Private) >>>> __execute:arguments:] + 918 >>>> 8 com.apple.QuartzComposer 0x00007fff8c0df47b -[QCPatch(Private) >>>> _execute:arguments:] + 2149 >>>> 9 com.apple.QuartzComposer 0x00007fff8c0e0177 -[QCPort >>>> _execute:arguments:] + 377 >>>> 10 com.apple.QuartzComposer 0x00007fff8c0df30b -[QCPatch(Private) >>>> _execute:arguments:] + 1781 >>>> 11 com.apple.QuartzComposer 0x00007fff8c0dfee8 -[QCPatch(Private) >>>> _executeSubpatches:arguments:] + 297 >>>> 12 com.apple.QuartzComposer 0x00007fff8c0dfdb8 >>>> -[QCPatch(Extensions) executeSubpatches:arguments:] + 57 >>>> 13 com.apple.QuartzComposer 0x00007fff8c0dfd72 >>>> -[QCPatch(Customization) execute:time:arguments:] + 41 >>>> 14 com.apple.QuartzComposer 0x00007fff8c0dfcf1 >>>> -[QCPatch(Customization) nextExecutionTimeForSubpatches:time:arguments:] + >>>> 167 >>>> 15 com.apple.QuartzComposer 0x00007fff8c0dfc02 >>>> -[QCPatch(Customization) nextExecutionTime:time:arguments:] + 73 >>>> 16 com.apple.QuartzComposer 0x00007fff8c0dfb89 -[QCPatch(Private) >>>> _nextExecutionTime:arguments:] + 665 >>>> 17 com.apple.QuartzComposer 0x00007fff8c0df84e -[QCPatch(Private) >>>> __execute:arguments:] + 834 >>>> 18 com.apple.QuartzComposer 0x00007fff8c0df47b -[QCPatch(Private) >>>> _execute:arguments:] + 2149 >>>> 19 com.apple.QuartzComposer 0x00007fff8c0dd3a6 -[QCContext >>>> nextExecutionTimeForPatch:time:arguments:] + 476 >>>> 20 com.apple.QuartzComposer 0x00007fff8c0dd1c4 -[QCGraphicsContext >>>> nextExecutionTimeForPatch:time:arguments:] + 39 >>>> 21 com.apple.QuartzComposer 0x00007fff8c0dcfd3 -[QCOpenGLContext >>>> nextExecutionTimeForPatch:time:arguments:] + 476 >>>> 22 com.apple.QuartzComposer 0x00007fff8c19ad64 -[QCView >>>> nextExecutionTime:arguments:] + 76 >>>> 23 com.apple.QuartzComposer.editor 0x000000010ca63a9f 0x10ca54000 >>>> + 64159 >>>> 24 com.apple.QuartzComposer 0x00007fff8c19a8c5 -[QCView >>>> render:arguments:] + 450 >>>> 25 com.apple.QuartzComposer 0x00007fff8c19b035 -[QCView >>>> _renderTimer] + 396 >>>> 26 com.apple.QuartzComposer 0x00007fff8c17188a _TimerCallback + 79 >>>> 27 com.apple.CoreFoundation 0x00007fff8c925934 >>>> __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 >>>> 28 com.apple.CoreFoundation 0x00007fff8c925486 __CFRunLoopDoTimer + >>>> 534 >>>> 29 com.apple.CoreFoundation 0x00007fff8c905e11 __CFRunLoopRun + 1617 >>>> 30 com.apple.CoreFoundation 0x00007fff8c905486 CFRunLoopRunSpecific >>>> + 230 >>>> 31 com.apple.HIToolbox 0x00007fff895182bf >>>> RunCurrentEventLoopInMode + 277 >>>> 32 com.apple.HIToolbox 0x00007fff8951f56d >>>> ReceiveNextEventCommon + 355 >>>> 33 com.apple.HIToolbox 0x00007fff8951f3fa >>>> BlockUntilNextEventMatchingListInMode + 62 >>>> 34 com.apple.AppKit 0x00007fff82dd9779 _DPSNextEvent + 659 >>>> 35 com.apple.AppKit 0x00007fff82dd907d -[NSApplication >>>> nextEventMatchingMask:untilDate:inMode:dequeue:] + 135 >>>> 36 com.apple.AppKit 0x00007fff82dd59b9 -[NSApplication run] >>>> + 470 >>>> 37 com.apple.QuartzComposer.editor 0x000000010ca569bd 0x10ca54000 >>>> + 10685 >>>> 38 com.apple.AppKit 0x00007fff83051eac NSApplicationMain + >>>> 867 >>>> 39 com.apple.QuartzComposer.editor 0x000000010ca55cb8 0x10ca54000 >>>> + 7352 >>>> >>>> best, >>>> >>>> Achim Breidenbach >>>> Boinx Software Lt.d. >>>> >>>> On 21.07.2013, at 01:42, George Toledo wrote: >>>> >>>>> Hmm, maybe that method is SPI in that context (it maybe appears to be >>>>> that way in the docs), but it also looks like it may have been around >>>>> since around 2007 in quartzcore, from some googling. As always, try to >>>>> test. >>>>> >>>>> If anyone has 10.7 and can give the plugin a spin it would be nice if you >>>>> can report back to list. >>>>> >>>>> On Jul 20, 2013, at 7:09 PM, "Chris (CoreGraphics) Wright" >>>>> <christopher_wri...@apple.com> wrote: >>>>> >>>>>> Careful with this -- it's possible this will interfere with existing >>>>>> methods on OSs that have that method, and it'll be useless on OSs that >>>>>> don't have that method (it won't associate with any of the state of the >>>>>> NSColor object). It's likely this was SPI, in which case it'll work, >>>>>> but it's pretty fragile. >>>>>> >>>>>> -- >>>>>> Christopher Wright >>>>>> christopher_wri...@apple.com >>>>>> >>>>>> >>>>>> On Jul 20, 2013, at 12:28 PM, George Toledo <gtole...@gmail.com> wrote: >>>>>> >>>>>>> That's what I'm seeing - differences between the color port >>>>>>> stuff/NSColor in 10.8 and previousā¦the ARC part is spurious. >>>>>>> >>>>>>> Haven't dealt with this before⦠>>>>>>> >>>>>>> Perhaps you can do something like this right after your imports in your >>>>>>> QCColourArtPlugin.m or make a separate file and import that ala >>>>>>> https://gist.github.com/msanders/707921 >>>>>>> >>>>>>> #import <AppKit/AppKit.h> >>>>>>> >>>>>>> @interface NSColor (CGColor) >>>>>>> >>>>>>> // >>>>>>> // The Quartz color reference that corresponds to the receiver's color. >>>>>>> // >>>>>>> @property (nonatomic, readonly) CGColorRef CGColor; >>>>>>> >>>>>>> // >>>>>>> // Converts a Quartz color reference to its NSColor equivalent. >>>>>>> // >>>>>>> + (NSColor *)colorWithCGColor:(CGColorRef)color; >>>>>>> >>>>>>> @end >>>>>>> >>>>>>> That said, I can't get your plugin to compile because I'm missing >>>>>>> "Ports.plist" >>>>>>> >>>>>>> -gt >>>>>>> >>>>>>> On Jul 20, 2013, at 2:52 PM, "Chris (CoreGraphics) Wright" >>>>>>> <christopher_wri...@apple.com> wrote: >>>>>>> >>>>>>>> Are you just getting errors regarding NSColor? If not, can you post >>>>>>>> the error messages you're receiving? >>>>>>>> >>>>>>>> I just see some NSColor stuff, and that's because -[NSColor CGColor] >>>>>>>> was added in 10.8, so it wouldn't be available in 10.7. ARC complains >>>>>>>> about this because it doesn't know how ownership works for the >>>>>>>> returned thing since the method doesn't exist as far as it's concerned. >>>>>>>> >>>>>>>> https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSColor_Class/Reference/Reference.html >>>>>>>> >>>>>>>> -- >>>>>>>> Christopher Wright >>>>>>>> christopher_wri...@apple.com >>>>>>>> >>>>>>>> >>>>>>>> On Jul 20, 2013, at 10:58 AM, Jonathan Hammond <itsthej...@gmail.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi guys i've got a QC plugin that works out the primary colours of an >>>>>>>>> image like iTunes. I'm truing to build it for 10.7, each time i >>>>>>>>> change the build targets I get ARC Semantic Issues, i'm not a Obj C >>>>>>>>> guys and am very confused about how to fix this. Could anyone help >>>>>>>>> >>>>>>>>> The Source is located here >>>>>>>>> https://dl.dropboxusercontent.com/u/31564678/QCColourArt%202.zip >>>>>>>>> >>>>>>>>> Much thanks >>>>>>>>> >>>>>>>>> J >>>>>>>>> _______________________________________________ >>>>>>>>> Do not post admin requests to the list. They will be ignored. >>>>>>>>> Quartzcomposer-dev mailing list >>>>>>>>> (Quartzcomposer-dev@lists.apple.com) >>>>>>>>> Help/Unsubscribe/Update your Subscription: >>>>>>>>> https://lists.apple.com/mailman/options/quartzcomposer-dev/christopher_wright%40apple.com >>>>>>>>> >>>>>>>>> This email sent to christopher_wri...@apple.com >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Do not post admin requests to the list. They will be ignored. >>>>>>>> Quartzcomposer-dev mailing list >>>>>>>> (Quartzcomposer-dev@lists.apple.com) >>>>>>>> Help/Unsubscribe/Update your Subscription: >>>>>>>> https://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%40gmail.com >>>>>>>> >>>>>>>> This email sent to gtole...@gmail.com >>>>>>> >>>>>> >>>>> _______________________________________________ >>>>> Do not post admin requests to the list. They will be ignored. >>>>> Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) >>>>> Help/Unsubscribe/Update your Subscription: >>>>> https://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com >>>>> >>>>> This email sent to ac...@boinx.com >>>> >>> >> >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com