Search Unity

How I can Load large Textures in my app from any path from my PC?

Discussion in '2D' started by rinatsin, Dec 4, 2020.

  1. rinatsin

    rinatsin

    Joined:
    Aug 16, 2020
    Posts:
    10
    Hi!
    I am creating an application for working with large format textures. They are wider than the allowed Unity. Previously, I used resources.Load as Texture and Unity automatically compressed them in the import settings to a valid 8k. But now this option does not suit me because I want to download pictures from anywhere on the PC in real time. I load them as a byte stream using LoadImage. But Unity won't let me convert it to texture because of the Large image format. Is there a standard solution? Thanks in advance.
     
  2. Cornysam

    Cornysam

    Joined:
    Feb 8, 2018
    Posts:
    1,465
    This belongs in the Scripting forum, not 2D.
     
    eses likes this.