[TIMOB-7541] MobileWeb: Remove dependency on PIL and replace with a Java utility
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-08T16:47:19.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Sprint 2012-03, Release 2.0.0, Release 1.8.2 |
Components | MobileWeb |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-02-03T11:28:59.000+0000 |
Updated | 2017-03-04T00:03:39.000+0000 |
Description
Mobile web's compile process currently depends on PIL. This means we need to distribute PIL, but PIL relies on a C compiler. This over complicates the compile process and distribution.
The image resizing that PIL is used for needs to be replaced with a command line Java app with the following signature:
resize <source> <dest> <width> <height>
resize /path/to/source.jpg /path/to/dest.png 32 32
The app needs to be able to read in jpg, gif, and png files, and generate png files and perhaps jpg.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/1379
Closing ticket as MobileWeb is no longer supported.