[TIMOB-6280] iOS: base64 encoding inconsistent for iOS simluators and iOS devices
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-12-06T12:33:29.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-49, Release 1.8.0.1 |
Components | iOS |
Labels | n/a |
Reporter | Dustin Hyde |
Assignee | Sabil Rahim |
Created | 2011-11-22T13:23:47.000+0000 |
Updated | 2014-06-19T12:44:04.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
base64 encode iphone-pad devices.png | 2011-11-22T13:23:47.000+0000 | 92241 |
base64 encode iphone-pad simulator and android sim-device.txt | 2011-11-22T13:23:47.000+0000 | 1630 |
This occurs as apple reduces the size of all png included in theapp while running for device using Pngcrush and thereby changing the actual file you are trying to encode here. This only happens for device builds and thus the difference in behavior between Simulator and device. Solution: try running the same test with a jpg file instead of a png , you will see the result of encoding on device and simulator will be the same. Marking it as invalid.
Closing. The encoding is correct. The test app and/or instructions are not.