qiqian / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

iOS WebP framework/library with alpha support #100

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download webpiosapp-0.0.1.tar.gz
2. unpack to 'webpiosapp-0.0.1' folder
3. pull latest code from http://git.chromium.org/webm/libwebp.git
4. copy to pull'ed folder file iosbuild.sh from webpiosapp-0.0.1
5.1. build 'WebP.framework' 
5.2. build 'WebP.framework' with --enable-experimental
5.3. build 'WebP.framework' with -DWEBP_EXPERIMENTAL_FEATURES added to CFLAGS
6. For example replace webpiosapp-0.0.1/ViewWebP/ViewWebP/gallery/1.webp with 
image with alpha
6.1. Add 'WebP.framework' from 5.1. to 'webpiosapp-0.0.1' folder, make clean, 
rebuild.
6.2. Add 'WebP.framework' from 5.2. to 'webpiosapp-0.0.1' folder, make clean, 
rebuild.
6.3. Add 'WebP.framework' from 5.3. to 'webpiosapp-0.0.1' folder, make clean, 
rebuild.

In file 'WebPImage.m' on method ''+ (UIImage *)decodeWebPFromFile:(NSString 
*)filePath withConfig:(WebPDecoderConfig *)config' function 'WebPDecode([myData 
bytes], [myData length], config) != VP8_STATUS_OK' fails and as result image is 
nil.

What is the expected output? What do you see instead?
Expected image with alpha chennel.

What version of the product are you using? On what operating system?
Xcode Version 4.2 Build 4C199 iOS version 5.0.

Please provide any additional information below.

Original issue reported on code.google.com by nonamede...@gmail.com on 13 Dec 2011 at 4:11

GoogleCodeExporter commented 8 years ago

Original comment by pascal.m...@gmail.com on 22 May 2012 at 7:40

GoogleCodeExporter commented 8 years ago
Hi,
Vikas uploaded an updated version of iOS app here:
https://code.google.com/p/webp/downloads/list

Can you try it out?

Original comment by urv...@google.com on 23 Jul 2012 at 6:39

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I need ios for 0.2.0rc1.

Original comment by gaochun...@gmail.com on 7 Aug 2012 at 4:12

GoogleCodeExporter commented 8 years ago
I need ios build for 0.2.0!

Original comment by gaochun...@gmail.com on 20 Aug 2012 at 6:29

GoogleCodeExporter commented 8 years ago
the link for the new build from the download list is:

http://code.google.com/p/webp/downloads/detail?name=webpiosapp-0.2.0.tar.gz

Original comment by pascal.m...@gmail.com on 21 Aug 2012 at 7:12

GoogleCodeExporter commented 8 years ago

Original comment by vikaas.a...@gmail.com on 3 Apr 2013 at 6:54