Comments (2)
Actually I just found out that this bug is related to the bug that I thought was in my code.
I tried saving two images, the first one is the original raw image image from a camera and the second one is a smaller edited version. The edited version was always saved in the pipeline and the original one wasn't.
After debugging through the framework I found out, that the image was too big for the memory because of the boundaries set by the configuration. Although the image is too big it should be saved to the disk, which wasn't done because of the above mentioned bug. After using the updated code, both images were saved to the pipeline as expected.
One thought, which could have helped finding this bug and could maybe also help finding bottlenecks, is a debug message in updateImageEntry:forciblyReplaceExisting:
in TPImageMemoryCache that the memory cache was skipped due to max size of the cache entry.
Now after finding this one I must say I'm very happy using this library as it is well written and it really helps in my current/future projects. :)
from ios-twitter-image-pipeline.
Thanks for fixing this bug!
from ios-twitter-image-pipeline.
Related Issues (20)
- Change imageIdentifier later? HOT 2
- Controlling Animation on TIPImageView HOT 3
- Hydration Block Confusion HOT 2
- why rendered cache? HOT 1
- Is it suitable for the project which donβt have many different sizes of images? HOT 3
- Is it possible to set a maximum file size for image download / cacheing? HOT 1
- tvOS Platform Support HOT 2
- What kind of crash would be triggered when concurrently access to CGContext HOT 2
- Can't link to app HOT 5
- 2.11 not on CocoaPods? HOT 2
- Duplicate info.plist file in 2.11 Pods HOT 2
- Setting maxBytes = 0 does not work HOT 2
- Signed/Unsiged Build Failure on Xcode 11 beta 1 HOT 1
- ITMS-90338: Non-public API usage - imageDimensions, imageFilePath HOT 2
- 2.13.0 is the latest version on cocoapods HOT 7
- Detecting WebP via TIPDetectImageType and TIPDetectImageTypeFromFile? HOT 1
- Image decoding/decompression still happening on the main thread HOT 5
- Please release 2.25.0 via CocoaPods HOT 2
- Leverage iOS 15 image decoding
- changes to continuous integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-twitter-image-pipeline.