mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-06 10:47:25 +01:00
Compare commits
4 Commits
eb310d32ae
...
62014de3ba
Author | SHA1 | Date | |
---|---|---|---|
|
62014de3ba | ||
|
991f6b1908 | ||
|
6f88633ef5 | ||
|
541a29099e |
@ -56,8 +56,7 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti
|
|||||||
maxOf(bitmap.width, bitmap.height) <= GLUtil.maxTextureSize
|
maxOf(bitmap.width, bitmap.height) <= GLUtil.maxTextureSize
|
||||||
) {
|
) {
|
||||||
if (
|
if (
|
||||||
bitmap.height*1.1 <= GLUtil.maxTextureSize &&
|
!fallbackForLongStrips || bitmap.width < dstWidth && bitmap.height*1.1 <= GLUtil.maxTextureSize
|
||||||
bitmap.width < 1100 || !fallbackForLongStrips
|
|
||||||
) {
|
) {
|
||||||
val hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false)
|
val hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false)
|
||||||
if (hwBitmap != null) {
|
if (hwBitmap != null) {
|
||||||
|
@ -393,7 +393,7 @@
|
|||||||
<string name="pref_show_reading_mode_summary">Briefly show current mode when reader is opened</string>
|
<string name="pref_show_reading_mode_summary">Briefly show current mode when reader is opened</string>
|
||||||
<string name="pref_display_profile">Custom display profile</string>
|
<string name="pref_display_profile">Custom display profile</string>
|
||||||
<string name="pref_always_use_ssiv_to_decode">Always use SSIV to decode long strip images</string>
|
<string name="pref_always_use_ssiv_to_decode">Always use SSIV to decode long strip images</string>
|
||||||
<string name="pref_fallback_for_long_strips">Fallback to software when loading long vertical strips</string>
|
<string name="pref_fallback_for_long_strips">Add safety checks to load vertical strips</string>
|
||||||
<string name="pref_crop_borders">Crop borders</string>
|
<string name="pref_crop_borders">Crop borders</string>
|
||||||
<string name="pref_custom_brightness">Custom brightness</string>
|
<string name="pref_custom_brightness">Custom brightness</string>
|
||||||
<string name="pref_grayscale">Grayscale</string>
|
<string name="pref_grayscale">Grayscale</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user