- Home /
How to import picture size 43000 x 21000 pixels
I have a large 43000 x 21000 JPEG pic 55mb in size that I would like to import into Unity. It would serve as 2D map nothing more. I read the documentation and the picture is too big to be imported so please give me ideas on what could I do to solve this problem.
$$anonymous$$y suggestion would be to look into using vector graphics. There's a preview package available that lets you import SVGs.
Answer by Bunny83 · Jan 11, 2019 at 01:25 AM
Split it up into several images. Keep in mind that unless an image is in DXT format or another hardware supported compression format the image need to be stored uncompressed in memory. Even when your image has only 8 bit per pixel (essentially grayscale) you would need almost 1 GB of memory. However usually you have 4 channels (RGBA) so it would require 3.6 GB, that one single image. It's very unpractical to use such a large image, and JPEG is in general a bad format for most things in a game. How does the image look like? Do you have a downsampled version you can show us?
Answer by shatteredeyeinc · Jan 11, 2019 at 01:34 AM
you cant graphics cards have a limit on picture size and so does unity
i have a post here that details vaguly how to use a texture array instead
https://forum.unity.com/threads/voxel-texture-array-with-shadows.610294/#post-4084297
Answer by Wunder-Waffe · Jan 11, 2019 at 07:44 AM
Huge thank you all for replies! Got lots of "food for the brain" with your inputs so back to the drawing board for me :D
Are you trying to render that image? Or what kind of data do you need? $$anonymous$$aybe it doesn't have to be an unity texture at all? You can also take a look at sparse textures, an interesting thing, hardware virtual textures
Your answer
![](https://koobas.hobune.stream/wayback/20220612185522im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
World map and 3D view coordination. 0 Answers
Random picture picker 1 Answer
Is there a way to analyse pictures in Unity? 1 Answer
What is the logic behind zoom in and zoom out in VR ?? 0 Answers
Unity iOS app too large 0 Answers