On Thu, Feb 3, 2011 at 2:37 PM, David Duncan wrote:
> On Feb 3, 2011, at 1:32 PM, Paul Morel wrote:
>
> > in my application I would need to save an image where pixel intensities
> are floating point values. Apparently TIFF can support that.But I don't know
> I can do that in Objective-C. I saw th
I have an IKIMageView inside of a scroll view that can be zoomed. I would like
to be able to capture the visible portion of the image to an NSImage.
I've tried the following code example to create an image rep and then use that
to create a new NSImage. I've tried it on the scroll view, the scrol
A few years back there was a sample code app that would use a key
colour(like bright pink) found in a movie frame and then replace the
content with this something else. In the movie the apple developer(I
presume) would move the bright pink ball around and the app would
superimpose an image of a duc
Sorry, in the last message I posted some stupid code which was written too late
last night. The -scanJSONNumber:accurately: implementation should be simply
this:
- (BOOL)scanJSONNumber:(NSNumber**)number
accurately:(BOOL)accurately {
BOOL result = NO ;
if (!accurately)
I'm trying to implement a source list type of NSOutlineView, where each section
of the source list has a SourceListSection object. Each SourceListSection
object has an NSArrayController, filled with a different type of managed object
from core data. The NSOutlineView is populated through binding
This used to work, but not under iOS 4.
- (NSString*)styleNameForIndex:(NSUInteger)index
inFontFamily:(NSString*)famName {
NSString* fontName = [[UIFont fontNamesForFamilyName:famName]
objectAtIndex:index];
CTFontRef fontRef = CTFontCreateWithName((CFStringRef)fontName, 0.0,
NULL);
CFS
On 2011 Feb 03, at 13:57, glenn andreas wrote:
> Why not just use NSScanner's scanDouble: instead of trying to scan a string
> that you think is valid and then convert to a double?
Well, because in running my tests I'd observed that using -scanDecimal:
degraded performance even when it tried a
Thanks David. My users are used to very crisp fonts from previous releases of
my software, so some of them are asking why the new version is not quite as
good as the previous one. I'm pretty much taking your reply to mean that I'm
doing the best I can with the technology I'm using.
I'm surpris
On Feb 4, 2011, at 9:42 AM, Gideon King wrote:
> Sometimes the layer is transparent, and sometimes it will have a color drawn
> behind where the text is (not a background color for the layer though). The
> superlayer is transparent, but behind that is an opaque view.
The layers behind won't mat
Sometimes the layer is transparent, and sometimes it will have a color drawn
behind where the text is (not a background color for the layer though). The
superlayer is transparent, but behind that is an opaque view.
Even where there is an opaque fill drawn behind the text on the layer, it's
stil
On Feb 4, 2011, at 8:55 AM, Sasikumar JP wrote:
> I understood the issue here. But i am not clear how to implement your
> solution. could you guide me what type of API i should use to implement your
> solution.
You already mentioned them yourself. You just draw the image into the a
slightly l
Anyone can help me...
I want to processing video frame in realtime, the video frame was got from
sampleBuffer on AVCaptureVideoDataOutputDelegate Method.
My last destination is processing each frame by openCV and show up the result
on the screen.
Please, i need your helps...
Thanks in Advance
>
> David,
>
> On 04-Feb-2011, at 10:05 PM, David Duncan wrote:
>
>> On Feb 3, 2011, at 11:11 PM, Sasikumar JP wrote:
>>
>>> During the Edit mode(Wiggle Animation), Image in Grid(Layer) is not
>>> displayed properly.Even though i get 60 FPS during the wiggle
>>> animation,image edge is not smo
On Feb 4, 2011, at 5:15 AM, Gideon King wrote:
> The output never looks as good as plain old text in a text view.
Do you draw a background for your text? If you are drawing over transparency
then sub-pixel antialiasing doesn't work and when you do the final composite
you see text that doesn't
On Feb 3, 2011, at 11:11 PM, Sasikumar JP wrote:
> During the Edit mode(Wiggle Animation), Image in Grid(Layer) is not
> displayed properly.Even though i get 60 FPS during the wiggle
> animation,image edge is not smooth.
On iOS antialiasing doesn't occur between layers, which is why you get the
On Feb 4, 2011, at 7:10 AM, Jeremy Matthews wrote:
> I'm trying to read a protected file (one which I don't have rights to
> access). The only way I know around this is with an Authorization routine +
> NSTask, or to create a Helper Tool.
> Is there a better way?
Don't know if it's better, but
On Thu, 3 Feb 2011 12:06:25 -0800, Rick Mann said:
>I'm doing a photo browser of sorts, as part of a larger app. We display a few
>thumbnails, and if the user taps one, they're presented with the full-size
>image.
>
>The problem is that I start with the large images, and when I set them on the
Hello,
I am trying to edit web pages using webkit's setEditable:YES attribute
set. It seems that I can edit body text very reliably, but this breaks down
when I try to edit the text for links.When I try to edit the text for a
link, the underlying DOM overwrites the combination s
Hi, I have a layer I want to draw some text on (10.6 target). To actually draw
the text, I am creating the NSGraphicsContext using the graphics port, and
using drawBackgroundForGlyphRange... and drawGlyphsForGlyphRange... to draw the
text.
The output never looks as good as plain old text in a t
Hey folks,
I'm trying to read a protected file (one which I don't have rights to access).
The only way I know around this is with an Authorization routine + NSTask, or
to create a Helper Tool.
Is there a better way?
Also, I'm using auth in my own code for something else, but I'd love some oth
Oups, wrong mailing list (and subject). Sorry for the noise.
Le 4 févr. 2011 à 09:54, Jean-Daniel Dupas a écrit :
> I don't know what the status of this feature in the last Xcode version, but
> clang supports the unused attribute on obj-c ivar.
>
> I have something like this to workaround this
>> You probably want either kCGBlendModeCopy
That fixed it. Thanks. Kicking myself that I didn't see that blend mode...
Andrew Coad
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post a
I don't know what the status of this feature in the last Xcode version, but
clang supports the unused attribute on obj-c ivar.
I have something like this to workaround this kind of warning:
#if __has_feature(attribute_objc_ivar_unused)
#define UNUSED_IVAR __attribute__((unused))
#e
23 matches
Mail list logo