Bug 6392 - Docs using wrong resizing code. Does not take Retina into account
Summary: Docs using wrong resizing code. Does not take Retina into account
Status: NEW
Alias: None
Product: Documentation
Classification: Xamarin
Component: MonoTouch ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: CraigD
URL:
Depends on:
Blocks:
 
Reported: 2012-08-04 13:59 UTC by Ian
Modified: 2012-08-15 13:52 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 6392 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description Ian 2012-08-04 13:59:42 UTC
http://staging-iosapi.xamarin.com/?link=T%3aMonoTouch.CoreImage.CIHueAdjust

All these CI###### classes use the same example code to get the image out of the transformation, however they do not work on Retina. The image is scaled incorrectly.

Here's the StackOverflow with the acknowledgement of the error from Sebastiaan

http://stackoverflow.com/questions/11805628/monotouch-doubling-appearance-image-size-when-hue-adjusted-on-retina-display
Comment 1 bryan costanich 2012-08-04 14:01:33 UTC
hey, since you're updating the coreimage stuff anyway, can you edit this as well?
Comment 4 Ian 2012-08-15 13:51:56 UTC
Doesn't work if the image is a CIImage which is what the CIHueAdjust() returns.
Comment 5 Ian 2012-08-15 13:52:39 UTC
As well, FromContext is not available in iOS (it's OSX specific) so the documentation code won't work.