Bumped version to 0.13.0

This commit is contained in:
DreamPiggy 2023-07-14 00:16:30 +08:00
parent 3b274872cb
commit 3819cb70fa
3 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'SDWebImageWebPCoder' s.name = 'SDWebImageWebPCoder'
s.version = '0.12.0' s.version = '0.13.0'
s.summary = 'WebP decoder/encoder for SDWebImage coder plugin.' s.summary = 'WebP decoder/encoder for SDWebImage coder plugin.'
s.description = <<-DESC s.description = <<-DESC

View File

@ -648,7 +648,6 @@ WEBP_CSP_MODE ConvertCSPMode(CGBitmapInfo bitmapInfo) {
// For a typical ARGB image, the aligned bytes-per-row value is a multiple of 64. // For a typical ARGB image, the aligned bytes-per-row value is a multiple of 64.
size_t alignment = pixelFormat.alignment; size_t alignment = pixelFormat.alignment;
size_t bytesPerRow = SDByteAlign(width * (bitsPerPixel / 8), alignment); size_t bytesPerRow = SDByteAlign(width * (bitsPerPixel / 8), alignment);
//size_t bytesPerRow = 6688;
void *rgba = WebPMalloc(bytesPerRow * height); void *rgba = WebPMalloc(bytesPerRow * height);
config.output.is_external_memory = 1; config.output.is_external_memory = 1;

View File

@ -15,9 +15,9 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.11.0</string> <string>0.13.0</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0.11.0</string> <string>0.13.0</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>
<string></string> <string></string>
</dict> </dict>