I'm trying to use a Quartz Composer filter in a cocoa app. I've published
inputs and outputs: one image input, one image output. I can successfully set
the input image, but when I try to get the output image, I get 0x0 no error
messages, just a null pointer.
Here's my code:
QCComposition
All,
I had tried to create this attached to an OpenGLContext, but apparently didn't
do it right. I found the answer at: http://developer.casgrain.com/?p=4
Problem solved.
Eric
On Apr 10, 2010, at 6:56 PM, Eric Smith wrote:
> I'm trying to use a Quartz Composer filter in a coc
All,
I want to declare a drag type that the finder will recognize, but that can be
used for other destinations as well, like mail. Right now, my users have to do
option+drag for dragging files to the finder, in which case I call [NSView
dragPromisedFilesOfType:..], and if they want to drag to
All,
I'm trying to grab video from a Dazzle Hollywood or an ADVC-55. Over both of
these interfaces I can grab video by opening iMovie, selecting the interface
and pressing "play". However, when I try to grab video with the
QTCaptureDevice interface, I just get a blank screen (iSight and other
All,
I'm trying to determine the size of a file on a server. If I send the
following message to an NSURL named "path", I get:
[path getResourceValue:&value forKey:@"content-length" error:&error];
value comes back nil. If I send:
value = [path propertyForKey:@"content-length"];
which is depr
The getResource... method returns YES whether I pass @"content-length" or
NSURLFileSize (I tried that one first).
Eric
On Jan 28, 2012, at 10:21 PM, Ken Thomases wrote:
> On Jan 28, 2012, at 11:53 PM, Eric Smith wrote:
>
>> I'm trying to determine the size of a f
Charles,
Works like a charm. Thank you!
Eric
On Jan 28, 2012, at 11:28 PM, Charles Srstka wrote:
> On Jan 29, 2012, at 12:21 AM, Ken Thomases wrote:
>
>> * The keys that are valid for that method are those listed in the NSURL
>> documentation. They may bear no relation to HTTP response hea
I have the following code:
CIFilter* vertFlipFilter = [CIFilter filterWithName: @"CIAffineTransform"];
NSAffineTransform* vertFlipTransform = [NSAffineTransform transform];
CIImage* theImage = [[CIImage alloc] initWithCGImage:imageOne];
[vertFlipTransform translateXBy:100. yBy:1000];
[vertFlipFi
OK... I've got what must be a trivial problem. I'm running two applications on
the same computer (intel iMac). I'm just cutting and pasting code from the
XCode help pages, describing how to vend and obtain a distributed object. Code
is below:
Application #1:
myConduit = [[ServerCond
OK... never mind, everyone. When I saw my own post, I recognized the
"autorelease" as the problem.
Eric
On Feb 14, 2010, at 7:48 PM, Eric Smith wrote:
> OK... I've got what must be a trivial problem. I'm running two applications
> on the same computer (intel iM
OK, I'm back.
I have some distributed object code that used to work just great (back in the
Tiger days, I think), and now does not. I see the error: "[NSPortCoder
sendBeforeTime:sendReplyPort:] timed out", when I try to get the rootProxy from
a connection. I see this mentioned here and there
Anyone know how to attach a popup menu to a toolbar button, as with the 'run'
button in Xcode? I want to give users a choice of action via a popup menu if
they hold down one of my toobar buttons.
Thanks in advance,
Eric
___
Cocoa-dev mailing list (Co
All,
I'm trying to get drag-and-drop to work, using the finder as a
destination. I can drag my files into mail using NSTIFFPboardType.
My draggingSourceOperationMaskForLocal returns NSDragOperationEvery.
But, when I drag my file onto a finder window, I get no icon at all...
no little g
Anyone doing histogram equalization with CIImage? This was supported
under vImage, but there doesn't seem to be a corresponding CIFilter.
Thanks,
Eric
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moder
All,
New to Authorization, and it's got me a little turned around. Can someone post
a code snippet that shows how to us authorization services to run 'sudo chown'
from within Cocoa?
Thanks in advance!
Eric
___
Cocoa-dev mailing list (Cocoa-dev@list
15 matches
Mail list logo