iOS Question B4i Canvas / Saved image DPI

Discussion in 'iOS Questions' started by Darren69, Feb 21, 2019.

Tags:
  1. Darren69

    Darren69 Member Licensed User

    Is there a way in B4i when drawing on a canvas, or saving the image out to set the DPI like you can on B4A with the java object?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can call Bitmap.Resize to resize the image to any size you like. Changing the DPI will not change the actual dimension.

    What is the problem?
     
  3. Darren69

    Darren69 Member Licensed User

    It is not really a problem, more a thing of consistency, the Android version of the app (written with B4A) saves the files out at 72dpi, but the iOS version (written in B4i) has a silly high dpi and some folks tell me about it, so wanted to see if I can make it the same as my Android and desktop apps. Its not really a problem as you say the size is correct.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice