We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5db5fe commit becbe60Copy full SHA for becbe60
lib/services/assets-generation/assets-generation-service.ts
@@ -157,7 +157,13 @@ export class AssetsGenerationService implements IAssetsGenerationService {
157
158
// This code disables the alpha chanel, as some images for the Apple App Store must not have transparency.
159
if (assetItem.rgba === false) {
160
- image = image.rgba(false);
+ //
161
+ // The original code here became broken at some time and there is an issue posted here..
162
+ // https://github.com/oliver-moran/jimp/issues/954
163
+ // But NathanaelA recommended the below change and it works so maybe that's just what we go with.
164
165
+ // image = image.rgba(false);
166
+ image = image.colorType(2);
167
}
168
169
image.write(outputPath);
0 commit comments