Re: Doubled Pixels

2017-06-25 Thread Quincey Morris
On Jun 25, 2017, at 21:28 , Gerriet M. Denkmann wrote: > >> On 26 Jun 2017, at 08:03, Graham Cox > > wrote: >> >> Well, it depends on what you want to do with the image. If it’s content that >> gets displayed or

Re: Doubled Pixels

2017-06-25 Thread Gerriet M. Denkmann
> On 26 Jun 2017, at 08:03, Graham Cox wrote: > >> On 25 Jun 2017, at 7:39 pm, Gerriet M. Denkmann wrote: >> >> Which of these two lines is preferable: >> NSString *colorSpaceName = useColour ? NSDeviceRGBColorSpace : >>

Re: Doubled Pixels

2017-06-25 Thread Graham Cox
> On 25 Jun 2017, at 7:39 pm, Gerriet M. Denkmann wrote: > > Which of these two lines is preferable: > NSString *colorSpaceName = useColour ? NSDeviceRGBColorSpace : > NSDeviceWhiteColorSpace; > NSString *colorSpaceName = useColour ? NSCalibratedRGBColorSpace

Re: Doubled Pixels

2017-06-25 Thread Gerriet M. Denkmann
> On 25 Jun 2017, at 09:29, Graham Cox wrote: > > You could get the colorSpaceName from the source image and use that. If > there’s no conversion needed between the images it’ll probably be faster > (though seems you are giving yourself the option of creating a