Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't believe that resolution is your issue here. If you aren't seeing the grayish outlines on your drawing when it appears on the screen, odds are that you're observing a compression artifact in the saving process. Your image is probably being saved as a lower-quality JPEG image, where artifacts will appear on sharp edges, like the ones in your drawing.</p> <p>To work around this, Ben Weiss's answer <a href="https://stackoverflow.com/questions/1379274/uiimagewritetosavedphotosalbum-saves-to-wrong-size-and-quality/3314686#3314686">here</a> provides the following code for forcing your image to be saved to the photo library as a PNG:</p> <pre><code>UIImage* im = [UIImage imageWithCGImage:myCGRef]; // make image from CGRef NSData* imdata = UIImagePNGRepresentation ( im ); // get PNG representation UIImage* im2 = [UIImage imageWithData:imdata]; // wrap UIImage around PNG representation UIImageWriteToSavedPhotosAlbum(im2, nil, nil, nil); // save to photo album </code></pre> <p>While this is probably the easiest way to address your problem here, you could also try employing multisample antialiasing, as Apple describes in the "<a href="http://developer.apple.com/library/ios/documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/WorkingwithEAGLContexts/WorkingwithEAGLContexts.html#//apple_ref/doc/uid/TP40008793-CH103-SW12" rel="nofollow noreferrer">Using Multisampling to Improve Image Quality</a>" section of the OpenGL ES Programming Guide for iOS. Depending on how fill-rate limited you are, MSAA might lead to a little bit of slowdown in your application.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload