Commit Graph

158 Commits

Author SHA1 Message Date
Oupson 6ba16b51b1 Fixing an invalid conversion 2020-11-02 11:44:22 +01:00
Oupson 4eee8dcc5e Rewrite and rename parseLength 2020-11-02 10:37:04 +01:00
Oupson e3719dcfe0 Adding todo 2020-11-02 10:11:41 +01:00
Oupson 7b6fbfdf57 Working on ExperimentalApngEncoder.kt 2020-09-23 21:45:26 +02:00
Oupson dfc427a54f Adding support for first frame not in animation
Fixing a bug
2020-09-23 21:09:58 +02:00
Oupson 39fdc31aaa DEPRECATING OLD CLASSES RELATED TO Apng.kt
Documentation
2020-09-20 12:57:07 +02:00
Oupson 8dfe6cca47 Documentation 2020-09-20 11:23:25 +02:00
Oupson 2606646ecb Documentation 2020-09-20 10:54:01 +02:00
Oupson 73fe8fe0b3 Typo 2020-09-20 10:44:03 +02:00
Oupson 65888ac943 Documentation 2020-09-20 10:41:06 +02:00
Oupson f1987b64e1 Documentation 2020-09-20 10:22:41 +02:00
Oupson d8d58259e1 Working on ExperimentalApngEncoder.kt 2020-09-20 10:06:49 +02:00
Oupson be3322a34e Added dokka for generating documentation. 2020-09-20 01:25:51 +02:00
Oupson 6b68edb273 Documentation 2020-09-20 01:06:43 +02:00
Oupson a20d9ee7d9 Working on ExperimentalApngEncoder.kt 2020-09-20 00:14:54 +02:00
Oupson 2fd2d0e684 Working on ExperimentalApngEncoder.kt 2020-09-19 23:32:59 +02:00
Oupson f4e78be021 Remove unused file 2020-09-19 22:26:40 +02:00
Oupson 7363574e4c It actually worked oO 2020-09-19 22:25:05 +02:00
Oupson 9c46e948ab Working on a better solution for encoding png.
For the moment FrameEncoder.kt is a stream version of PngEncoder.kt
2020-09-19 21:21:44 +02:00
Oupson e0b0844c16 Update README 2020-09-19 11:09:47 +02:00
Oupson bae347bcea Prepare for releasing 1.0.10-beta3 2020-09-19 10:24:44 +02:00
Oupson 4ffdb8a572 Removing comments related to coroutine issue 2020-09-16 23:20:22 +02:00
Oupson 6321ebe5be Working on ExperimentalApngEncoder 2020-09-16 23:18:55 +02:00
Oupson 0698836c7a Simplify usage of ExperimentalApngEncoder 2020-09-16 22:33:24 +02:00
Oupson efa874e661 Update dependencies 2020-09-16 22:00:06 +02:00
Masayuki Tamura 99dceae1c8 change minSdkVersion 2020-09-16 18:40:55 +09:00
Oupson 2ee343a403 Changing kotlinx coroutine version to 1.3.5 because of this : https://github.com/Kotlin/kotlinx.coroutines/issues/2049 2020-06-16 23:14:36 +02:00
Oupson f531b3ab78 Updating dependencies 2020-06-16 22:47:23 +02:00
oupson 9777569c4b More "thread-safe" Png Encoder
Now PngEncoder and his variables should be freed after using PngEncoder().encode(...), as wanted in issue #7
2020-05-14 09:06:35 +02:00
oupson d32f5f3ebf Adding function release as requested in issue #7
Working on an update of ApngEncoder, for now it is called Experimental Apng Encoder but will be merged in ApngEncoder when it is stable
2020-05-14 08:45:34 +02:00
oupson e32a52c7e0 Moved loadApng to companion object 2020-05-11 14:36:30 +02:00
oupson f845202a50 Fixing a bug in the app 2020-05-09 20:43:51 +02:00
oupson f52b9e4563 Partial fix of a bug with ApngAnimator and system style change
Working on documentation
2020-05-09 20:14:22 +02:00
oupson 323623b5fa Fixing bug, ApngDecoder can read again non png files. 2020-05-06 18:04:48 +02:00
oupson f70045ac67 Use android HttpResponseCache instead of an ugly implementation. 2020-05-06 17:32:19 +02:00
oupson 4cb330d522 Add option to choose animation drawable bitmap format.
Add a forgotten inputstream.close()
2020-05-06 16:58:31 +02:00
oupson a8ad3c4e4d 1.0.10-beta2 2020-04-20 16:44:22 +02:00
oupson 5a0325f32d Fixing bug 2020-04-20 16:18:16 +02:00
oupson eb2d4a579e Work on Creator Activity : Allow selection of multiples files 2020-04-20 15:52:13 +02:00
oupson 216b4c78e7 Use bitmap compress instead of png encoder. It seems to respect format used to decode. Allow user to use png encoder. 2020-04-20 15:20:36 +02:00
oupson 37f715fffa Fixing bug in CreatorActivity. 2020-04-20 13:56:17 +02:00
oupson 9f5f3e1a97 https://github.com/oupson/Kapng-Android/issues/6
Update gradle dependencies
2020-04-20 11:39:46 +02:00
oupson a273e7da09 Working on beta 2020-02-01 15:09:35 +01:00
oupson 8ffdd2d998 Fix problem on api 21 2020-02-01 12:36:49 +01:00
oupson 9197f871fd Fix a bug with max height
New icon for app
Working on creator activity
2020-01-26 12:37:06 +01:00
oupson 72168deb03 Support for other animated images types for api >= P 2020-01-26 11:10:02 +01:00
oupson 90d2f33efd Working on better ApngEncoder 2020-01-25 18:25:32 +01:00
oupson acd55f6d5a Work in creator activity and improvements in app
Working on apng decoder
2020-01-25 15:16:36 +01:00
oupson 4863dfb2e8 Async for ApngDecoder
Improvement in app
2020-01-25 12:10:49 +01:00
oupson a307f35346 Work on demo app 2020-01-24 22:46:19 +01:00
oupson d8d9945daf Working on ExperimentalApngDecoder
Cleaning Code
Few improvements
2020-01-23 22:30:47 +01:00
oupson 907cb0f106 Working on better ApngDecoder 2020-01-23 21:13:32 +01:00
oupson b24ae6d28f Dependencies of application 2019-10-05 20:31:38 +02:00
oupson 61adbcfd34 update dependancies and version name 2019-10-05 20:10:46 +02:00
oupson 07a7f61fc4 Use inputStream instead of reading bytes 2019-10-05 20:07:19 +02:00
oupson f682717ed3 Release 2019-06-13 11:01:48 +02:00
oupson de4073e6b8 Code Inspection
Change App Style
2019-06-13 10:35:27 +02:00
oupson 84c97fb106 Add java activity 2019-06-12 11:32:24 +02:00
oupson b4d40c5764 Update kdoc 2019-06-11 22:00:15 +02:00
oupson e3f8614873 Convert all toList to asList 2019-06-11 21:14:16 +02:00
oupson 6c6545c0f8 Use Kotlin coroutines 2019-06-11 20:59:41 +02:00
oupson 64d31732eb Update dependency 2019-06-11 20:46:29 +02:00
oupson 6fe4225380 Fix loading assets 2019-06-11 20:35:56 +02:00
oupson 2b41e938c1 Prepare to release beta 2019-05-25 15:01:27 +02:00
oupson 5bb270132f Add raw resource decoder 2019-05-17 21:23:40 +02:00
oupson 887d679c4b Add more user friendly loading functions 2019-05-17 19:23:28 +02:00
oupson d2d4978180 Update to androidx
Clean code
2019-05-17 18:48:32 +02:00
oupson 5235a6b3a4 Backup before switching to androidx 2019-05-17 18:17:47 +02:00
oupson fb764591be Work on optimizer
Add verification of xOffset and yOffset : `x_offset` + `width`  <= `IHDR` width
                                          `y_offset` + `height` <= `IHDR` height
2019-01-12 17:01:41 +01:00
oupson ef95ec2e1f Rewrite Frame
Work on optimizer
2019-01-12 15:34:57 +01:00
oupson 6d1f6af7c5 Bug fix with disassembler.
Chunk optimisation
Working on apng optimiser ! Experimental, buggy
Add crc verification
2018-12-19 08:28:49 +01:00
oupson 6acbf227f2 add BitmapDiffCalculator 2018-12-14 14:47:01 +01:00
oupson 1a462780c7 New png encoding method 2018-12-10 20:17:00 +01:00
oupson 08d5d307c7 Add chunk interface
Prepare for release
2018-12-08 21:18:32 +01:00
oupson cefb4ca9f4 New apng disassembler 2018-12-08 16:50:51 +01:00
oupson 21668d50c7 Working on new APNG Disassembler 2018-12-08 15:35:28 +01:00
oupson b604b4a32f Improvements
Bug fix
2018-12-08 11:35:51 +01:00
oupson 6c46efc929 Add ApngAnimatorOptions and move oupson.apng.Utils to oupson.apng.utils.Utils 2018-11-17 20:45:49 +01:00
oupson 351ee29639 Small improvements 2018-11-17 20:16:31 +01:00
oupson 8c1e155695 Better loader and add option to load not apng files 2018-11-17 20:08:15 +01:00
oupson 4391b6a3ed Small improvements 2018-11-16 20:18:01 +01:00
oupson ec67f6e09f Really fix isApng function 2018-11-16 19:22:15 +01:00
oupson a9d61f90ba Update version name to 1.0.6 2018-11-15 21:48:03 +01:00
oupson 226ef1b585 update to 1.0.5 2018-11-15 21:40:18 +01:00
oupson 3896d45b19 fix buggy isApng() 2018-11-15 21:17:14 +01:00
oupson 84fbac97b3 fix buggy isApng() 2018-11-15 20:41:14 +01:00
oupson 66055221f1 Working on optimiser functionality to reduce APNG size.
Loader now static
Disassembler now static
Optimize imports
2018-11-15 11:25:35 +01:00
oupson 0150810541 Working on optimiser functionality to reduce APNG size.
Add KDOC
2018-11-14 16:21:12 +01:00
oupson ed00672b0f Working on optimiser functionality to reduce APNG size. Thanks to https://github.com/mcychan/nQuant.android 2018-11-13 20:53:52 +01:00
oupson d74effa341 Better SetSpeed() function
Better onAnimationLoopListener
Add onLoaded function
2018-11-09 22:54:56 +01:00
oupson 208625b35e Update to kotlin 1.3
Update anko
Fix bug KT-19489 : https://youtrack.jetbrains.com/issue/KT-19489
2018-11-09 21:34:21 +01:00
Richard Kuiper 939b21135e
Updated version number to 1.0.3 2018-11-06 15:38:49 +00:00
Richard Kuiper 0a182b4194
Added duration and loop completed callback
Added CustomAnimationDrawable that provides listener for callbacks.
Added the duration for each frame which can override the png value
Refactored some of the ApngAnimator to reuse code
2018-11-06 14:53:17 +00:00
oupson da8753e2c5 Move Companion object of APNGFactory to Utils 2018-10-31 12:31:09 +01:00
oupson 4fac19dae0 Better animator 2018-10-29 16:15:15 +01:00
oupson 323c71b01c Better animator 2018-10-29 16:12:44 +01:00
oupson 412f9ab660 Add KDOC
Optimise imports
2018-10-25 15:12:05 +02:00
oupson 677c60ed2b Fix bug when drawing first frame 2018-10-25 14:33:59 +02:00
oupson 1e4b5f0476 Add simple caching when downloading image 2018-10-25 10:20:30 +02:00
oupson 13a6a7266e Prepare to first release 2018-10-24 12:20:16 +02:00