0
Є відповідь

Reducing app weight & global background

Paul Snakes 11 років тому оновлено Ezra Weinstein (Administrator) 10 років тому 2

Hi! I am making a 62 pages ebook about animals & plants; 1024 x 768 size. Each page will have between 4 - 8 illustrations of about 400 x 400 (they will appear one on top of another, as layers..) I compose each page in Photoshop and the import it to interact builder. Given that the background will be the same for every page; I thought on importing it just once and making it global, to reduce app weight. But I have some doubts:


1- is it possible to convert a background element, imported within a psd file; into a global element (global background not clickable)

2- Although I have deleted all the graphics in the pages I had made, to leave the pages blank again, the app size didn't changed in the info pannel... I cleared cache also, but it marks still 38,72 Mb... how can I effectively delete elements in order to reduce app weight?

3- Does interactbuilder makes any compression on images imported? My psd source files are 5 -10 Mb big each; so for a book of 60 pages it makes 300 - 600 mb size app... isn't that too much? how could I reduce the app weight? (I am working with 1024 x 768 px; sRGB 8 bytes psd 72 ppi psd files...)


Thanks a lot. I know there're many questions, sorry for that : /


Відповідь

Відповідь
Є відповідь

Responded to in the comments section

Hi Paul, here are my responses to your questions. Feel free to let us know if you have any other questions, and good luck!


1- A background cannot be global, but to use the same file in different places, assign the image file using the "Select Image from App" option. This way, instead of adding a new image to the app folder, multiple elements can use the same file.


2- When an element is deleted in InteractBuilder, it remains in the app folder, but any files that are not used in the app will not be included when the app is published. If you prefer to get rid of the extra files from the app folder, you can go to your default app folder, locate the app folder, and remove the files directly from there.


3- Each Photoshop layer changes into a separate .png file, so the added files will take up less space than the original layered file.

Hi Inna! thanks a lot for the reply! I have seen it now... but I found the same solution, when I discovered I could select a file from the app to charge as a background : )


Thank you!

Відповідь
Є відповідь

Responded to in the comments section