-
1. Re: Trouble with ipa size after changing assets
Neil Enns - Adobe Jul 17, 2014 3:41 PM (in response to beautifulgrbage)Branched to a new discussion since this was originally a reply to a thread from 2012. Also edited to remove profanity. Please remember our community guidelines and etiquette when posting in the forums: Best practices: Etiquette.
Thanks,
Neil
-
2. Re: Trouble with ipa size after changing assets
Neil Enns - Adobe Jul 17, 2014 3:43 PM (in response to Neil Enns - Adobe)The size and compression of the images you use in your InDesign layout doesn't matter. They will always be resampled to 108ppi at the exact pixel size of region on screen they occupy given the folio size you specified. If you are creating a 2048x1536 folio and you haven't picked PDF as the format it's entirely possible you will wind up with a large folio.
The most common reasons for large folios are:
1) Embedded videos
2) Web overlays where the content wasn't put in its own folder before being added to the folio. We will recursively include EVERYTHING at the same level and below where the web page is located
3) Using PNG or JPEG as the folio format instead of PDF. When you remade your folio are you sure you used PDF as the format?
Neil
-
3. Re: Trouble with ipa size after changing assets
beautifulgrbage Jul 17, 2014 3:56 PM (in response to Neil Enns - Adobe)@Neil Enns -
1) We do have embedded videos in our app. 7 videos which total approx 130Mb.
If these videos are embedded for both portrait and landscape orientations is DPS going to duplicate those assets for some reason??
2) We are not using ANY web overlays.
3) The default folio format is "PDF" which is what we have been using all along. Never changed this setting.
So knowing that we are using the correct folio format is there anything else that could possibly be causing a 30% increase in file size??
-
4. Re: Trouble with ipa size after changing assets
Neil Enns - Adobe Jul 17, 2014 3:59 PM (in response to beautifulgrbage)As long as you linked to the exact same video asset both portrait and landscape then we will only include them once. Having said that, making a dual-orientation folio will almost double your folio size. Why are you doing a dual-orientation folio? They're so expensive from a production and file size standpoint. Pick one orientation that best suits your needs and use that.
I don't know why you're seeing a 30% increase from the last time you built, there's just way too many variables involved in what might have changed. All I can offer is suggestions for things that typically drive larger file sizes.
Neil
-
5. Re: Trouble with ipa size after changing assets
beautifulgrbage Jul 17, 2014 4:16 PM (in response to Neil Enns - Adobe)Part of the selling point of DPS is that it "supposedly" creates apps that will work in either orientation... many users prefer to read or browse in a portrait orientation... this is a perfectly logical use case and something that your application is supposed to support.
Yet instead of trying to offer any real solution or any information that might actually help me solve this issue you simply ask me why we are producing a dual-orientation folio?? Really starting to wonder if I am getting trolled here...
So from your answer above it sounds as if DPS is smart enough to recognize shared video assets between portrait and landscape orientations... is this also true for images / type?? I am still trying to understand why doing an app in both orientations that uses all the same assets "will almost double your folio size" (your words not mine)
Is there ANYTHING that we can do (short of ditching one orientation) to help reduce the file size of our application (while keeping the dual orientation)?
-
6. Re: Trouble with ipa size after changing assets
beautifulgrbage Jul 17, 2014 4:41 PM (in response to beautifulgrbage)Ok... so here is some additional info...
Just as a test we produced a version of the app that is a single orientation folio. This version of the app came out at 540Mb (rendered IPA file).
How is it that this version of the app could come out at essentially the same file size as our previous build (596Mb and dual orientation)??
It seems like there is no real consistency to the file size of the IPA files produced?
We haven't changed any content or folio settings or anything like that except for dropping our portrait orientation version of the app.
-
7. Re: Trouble with ipa size after changing assets
Bob Levine Jul 17, 2014 5:48 PM (in response to beautifulgrbage)How about some details?
1024x768 PDF single orientation folios are the best bet for decent files sizes.
-
8. Re: Trouble with ipa size after changing assets
Bob Levine Jul 17, 2014 5:50 PM (in response to beautifulgrbage)Sorry, but I’m with Neil…SINGLE orientation is the standard now. Pick one and use it.
Dual is, frankly, annoying, as a reader. Tilt the iPad just a bit and the whole thing jumps around on you.
Finally, Neil can’t say it since he works for Adobe but I will…You attitude sucks!
-
9. Re: Trouble with ipa size after changing assets
Neil Enns - Adobe Jul 17, 2014 6:03 PM (in response to beautifulgrbage)Can you share your dual orientation folio from Folio Builder Panel to my test account (neile+genesis_free@adobetest.com)? I'll take a quick look and see if I can find something obvious driving the file size.
Neil
-
10. Re: Trouble with ipa size after changing assets
beautifulgrbage Jul 17, 2014 10:09 PM (in response to Neil Enns - Adobe)Thanks very much Neil. Much appreciated.
I am unfortunately out of the office for the night, so I can't get access to the files or DPS, but I will share the folio first thing in the AM.
In the meantime though my team and I started doing some testing, as we were really concerned that the imagery in our app was what was causing the issues.
As I mentioned earlier, we had swapped much of the imagery in our app for .jpgs that are rendered at the correct pixel dimensions they appear at in the app.
We tried quickly swapping out a few of the higher res, and larger file size images for these smaller, compressed .jpgs After running the folio through DPS it seemed to impact file size very little (only dropped the file size a couple of hundred kb) - I am guessing this is due to what you were saying about DPS automatically resizing most images to 108ppi etc.
Dropping to a single orientation definitely had a major impact on the file size. (822Mb for dual vs. 540Mb for single)
Unfortunately the dual orientation is something we have been locked in to by our client.
for this particular app the client is very picky about the image quality and they have made it a requirement that the app support retina display.
Our initial tests running a 1024x768 file and upscaling on the newer iPad didn't have the best results, as the image compression and upscaling left our pixel imagery looking less than optimal.
I finally managed to find this: http://blogs.adobe.com/digitalpublishing/files/2012/03/DPS_iPad3_bestpractice.pdf
This PDF has a section on file size, and describes using a 1024x768 with images at 144ppi folio for both retina and non-retina display
Would starting with a 1024x768 file and then building a retina folio with those files drop our file size?? or would DPS scale the images up for retina and then result in a similar file size?
-
11. Re: Trouble with ipa size after changing assets
Bob Levine Jul 18, 2014 4:36 AM (in response to beautifulgrbage)I assume this is a single edition app. There is no way to make it fully
retina since it still has to support older iPads as well. 1024x768 PDF
folios downsample all static images to 108 ppi. There have been very few
complaints about the quality. Yours is the first I've seen here in ages.
Taking it to 2048x1356 would crash older iPads and would not only blow up
the folio size but would likely be rejected by Apple. The only thing you can
do is convert every single image in the folio to an image sequence and use
separate HD and SD assets. The unfortunate side effect of that is going to
be an even larger folio so it may be worth doing for only select images. You
could also stream the video but that will require an internet connection.
Talk to your client about this and find out what's most important.
-
12. Re: Trouble with ipa size after changing assets
Neil Enns - Adobe Jul 18, 2014 6:55 AM (in response to beautifulgrbage)Thanks for the additional information. Swapping images in and out of your layout will not have an impact on the final file size. Any image that is in an interactive overlay will get resampled to 108ppi. You can't control this. Any images that are not in an interactive overlay will get resampled to match what is needed for the folio size you pick (which is typically 1024x768).
To get a balance between file size and image quality you should select a PDF folio at 1024x768. Making a 2048x1536 folio, as Bob mentions, is not recommended as it makes very large file sizes and will cause problems on non-retina ipads due to their limited memory.
Often times clients don't understand how their requirements impact the performance and size of folios and it can be a bit of an education process to help them understand that these are mobile devices with limited memory and processing capabilities.
Neil
-
13. Re: Trouble with ipa size after changing assets
beautifulgrbage Jul 18, 2014 9:39 AM (in response to Neil Enns - Adobe)@Neil Enns / @Bob Levine
Thank you both for the detailed responses.
We did another quick test working as you described (1024x768 file / 2048 folio). We reviewed this with the design team for image quality (they are super picky!) and we made the call that this will be acceptable for image quality.
I do have a couple of final questions though.
By dropping our indesign file dimensions to 1024, and putting it in a 2048 folio, will this affect the file size at all?
@Neil Enns - you described how DPS resizes every image to 108ppi and the exact pixel dimensions they are shown on screen. If this is true, I am a little unsure of how this would drop the overall file size post DPS render of the .ipa file?
You describe how a 1024 folio will work on both retina AND non-retina displays, this seems to counter a lot of my initial reading on DPS. Are you saying that we can render a single 2048 folio and that will still work on non-retina displays? Or do we simply use the 1024 files to render a 1024 and 2048 folios? Could you clarify that part of the process?
I do apologize for all the questions, but I just want to make sure that we will definitely see a decrease in file size before we take the time to downsize all of our files.
Thanks again, I will report back on file size etc. post downsize.
-
14. Re: Trouble with ipa size after changing assets
Bob Levine Jul 18, 2014 9:48 AM (in response to beautifulgrbage)A 2048x1536 folio will crash a non-retina iPad. Don’t do it.
You can safely ignore most of what you’re reading about renditions. They don’t apply to single edition apps, only multi-folio apps and even at that, they remain, a waste of time and effort (my opinion, of course).
Again, stick with 1024x768 for the InDesign file as well as the folio and make sure all articles are set to PDF format.
This is the best you can get with single edition short of using HD/SD assets which will blow up the file size further with only a marginal increase in image quality.
-
15. Re: Trouble with ipa size after changing assets
Neil Enns - Adobe Jul 18, 2014 10:05 AM (in response to Bob Levine)I'll add that you don't have to redo all of your InDesign files. Use then as is but add them to a 1024x768 folio and they will get resized accordingly.
Sent from my Windows Phone
-
16. Re: Trouble with ipa size after changing assets
beautifulgrbage Jul 18, 2014 10:25 AM (in response to Neil Enns - Adobe)@Neil Enns - Sorry could you describe that process in a bit more detail please.
We are able to add our 2048x1536 files to a 1024 folio no problem... but this doesn't seem to affect the source files at all.
What I am understanding from both your and @Bob Levine's previous posts is that we must start with a 1024x768 file and then add that to a 2048x1536 folio for retina support.
Can you please confirm that?
-
17. Re: Trouble with ipa size after changing assets
Neil Enns - Adobe Jul 18, 2014 10:52 AM (in response to beautifulgrbage)I'll try and make it clear:
1) Your starting InDesign document size doesn't matter. Use 1024x768 or 2048x1536.
2) Make your folio in Folio Builder Panel a PD folio with a size of 1024x768
This is the only approach you can take to get a folio in a single edition application that will work on both SD and HD devices with reasonable performance and display quality.
Do not make a 2048x1536 folio. That size is huge and will not work on iPad 2 devices.
Neil
-
18. Re: Trouble with ipa size after changing assets
beautifulgrbage Jul 18, 2014 3:16 PM (in response to Neil Enns - Adobe)@Neil Enns -
Thanks very much... all clear on what we should do now.
We proceeded to do some experiments in terms of file size versus image quality and there is a definite and significant drop in the quality of some type when viewing the 1024 folio on a retina device. Any type that is in an overlay is significantly pixelated and at some smaller sizes borders on unreadable.
Why is it that type in overlays is rendered differently than type simply sitting on the artboard?
Is there anything we can do to change this? a setting or a different way of handling things?
-
19. Re: Trouble with ipa size after changing assets
Neil Enns - Adobe Jul 18, 2014 3:18 PM (in response to beautifulgrbage)If you have type in an MSO then you can change the MSO from "raster" to "vector" in the overlay properties to get sharp text for both retina and non-retina devices. We don't have this as the default as MSOs usually have pictures in them instead of text and there's a small performance penalty when you select "vector".
Scrollable frames automatically default to "vector" since they are almost always text.
If you have text in buttons you are better off putting the text on the background layer and having a transparent button overtop, rather than having the text inside the button itself.
Neil
-
20. Re: Trouble with ipa size after changing assets
beautifulgrbage Jul 18, 2014 3:20 PM (in response to Neil Enns - Adobe)Just wanted to publicly report on the file size drop, as I sort of left it out of my last comment.
As @Neil Enns describes abover, producing a 1024 folio resulted in a huge drop in file size (both of these folios have dual orientation).
1024 folio = 316Mb
2048 folio = 822.5Mb
-
21. Re: Trouble with ipa size after changing assets
beautifulgrbage Jul 18, 2014 3:30 PM (in response to Neil Enns - Adobe)@Neil Enns - Thank you so much! that is super helpful to know, as I think that is the final key to getting this issue licked.
Thanks again for putting up with me and all of your responses.
It would be great if a lot of these details were presented up front somewhere in the DPS documentation, as I did a ton of reading and watched all of both the adobe and lynda.com video tutorials on DPS and this was not the recommended way of producing folios for retina display.
To be honest almost all of the documentation for DPS could use a serious update, as most of the processes, screens and interfaces have changed with this newest version of DPS.
-
22. Re: Trouble with ipa size after changing assets
Neil Enns - Adobe Jul 18, 2014 3:49 PM (in response to beautifulgrbage)Nice to see the file size difference, good stuff.
When Bob Bringhurst is back from vacation I'll chat with him about some documentation updates. I agree we could be clearer on what the recommended best practice is given what we've learned from customers since ipad 3 originally came out. Some of the stuff we thought would be necessary has turned out to be overkill.
The screenshots and such inside our help topics should be accurate. If you have specific instances where they are not please let me know so we can get them updated.
Neil
-
23. Re: Trouble with ipa size after changing assets
Bob Levine Jul 18, 2014 4:41 PM (in response to Neil Enns - Adobe)If you wind up with an MSO with mixed text and graphics try this:
http://boblevine.us/digital-publishing-suite-101-keep-text-sharp-in-raster-s
lideshows/
If you're using image sequences, create them at double the size and then
scale them to 50% in InDesign. That will keep them nice and sharp on retina
displays.



