Re: vImage problems in Tiger
Re: vImage problems in Tiger
- Subject: Re: vImage problems in Tiger
- From: Heinrich Giesen <email@hidden>
- Date: Thu, 23 Jun 2005 10:27:34 +0200
On 23.06.2005, at 08:52, Chilton Webb wrote:
I'm trying to make a return to vImage now
. . . .
Are there any Tiger related bugs that
could be the cause of this?
The bugs are not Tiger related, Tableau is very buggy in Panther and
also in Tiger. Tableau works well for images with a resolution of
72 dpi and fails for all images with another resolution. This is because
Tableau works on the pixels of the images and has therefore to use
pixelsWide and pixelsHigh of the images but it uses the size of the
images which is numerically the same only for 72 dpi.
it only performs image changes on a section of the
screen in the upper left corner, roughly 1/8 the size of the actual
image.
which means that your image has a resolution much higher than 72.
I made these changes in Tableau, which fixed some bugs:
(sources are in /Developer/Examples/Accelerate/vImage/Tableau/):
in FilterTest.m
change all: NSSize size = [ result size ];
to: NSSize size = NSMakeSize( [result pixelsWide], [result
pixelsHigh] );
in FilterTest.m
change all: NSSize size = [ input size ];
to: NSSize size = NSMakeSize( [input pixelsWide], [input pixelsHigh] );
This helped alot, but Tableau has much more bugs (which I do not
remember at the moment)
--
Heinrich Giesen
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden