T8RIN / ImageToolbox

๐Ÿ–ผ๏ธ Image Toolbox is a powerful app for advanced image manipulation. It offers dozens of features, from basic tools like crop and draw to filters, OCR, and a wide range of image processing options
Apache License 2.0
3.98k stars 187 forks source link

app doesn't pick big jpeg images #433

Closed 5wHN28Dg closed 1 year ago

5wHN28Dg commented 1 year ago

So I have this very big jpeg image 59308 x 11650 (690.9MP) that's 14.3 MB in size and the app refuses to pick it no matter what Image source I use, the app doesn't crash, the Image source just closes upon choosing it.

I don't know if this issue applies to other image formats too.

T8RIN commented 1 year ago

Where did you get this image?... can you send it to me?

T8RIN commented 1 year ago

Maybe the android system just can't provide it to me then? Btw, even if it will be passed to my app, after saving attempt OOM will be thrown, because that's too large image

5wHN28Dg commented 1 year ago

Where did you get this image?... can you send it to me?

It is a family tree image that I created using MyHeritage hence the very high resolution, I tried blurring it using Screen Master so I wouldn't mind sending it but it downgraded its resolution significantly and PrivacyBlur closed the image picker then through a toast message 'image not selected' when I selected it๐Ÿ˜†

Btw, even if it will be passed to my app, after saving attempt OOM will be thrown, because that's too large image

What's OOM?

T8RIN commented 1 year ago

Where did you get this image?... can you send it to me?

It is a family tree image that I created using MyHeritage hence the very high resolution, I tried blurring it using Screen Master so I wouldn't mind sending it but it downgraded its resolution significantly and PrivacyBlur closed the image picker then through a toast message 'image not selected' when I selected it๐Ÿ˜†

Btw, even if it will be passed to my app, after saving attempt OOM will be thrown, because that's too large image

What's OOM?

Of course it closed it, lol๐Ÿธ๐Ÿธ๐Ÿธ that's too large for phones :( not my fault...

OOM - Out Of Memory error ๐Ÿ‘€

T8RIN commented 1 year ago

Where did you get this image?... can you send it to me?

It is a family tree image that I created using MyHeritage hence the very high resolution, I tried blurring it using Screen Master so I wouldn't mind sending it but it downgraded its resolution significantly and PrivacyBlur closed the image picker then through a toast message 'image not selected' when I selected it๐Ÿ˜†

Btw, even if it will be passed to my app, after saving attempt OOM will be thrown, because that's too large image

What's OOM?

Of course it closed it, lol๐Ÿธ๐Ÿธ๐Ÿธ that's too large for phones :( not my fault...

OOM - Out Of Memory error ๐Ÿ‘€

5wHN28Dg commented 1 year ago

Understood but then how/why gallery and file managing apps like Simple Gallery and Material Files can open and view the image with ease? I guess image editing apps work differently, right? Anyway, I'll try to find a way to blur it without changing the resolution (maybe using a PC if necessary) and then send it.

T8RIN commented 1 year ago

Understood but then how/why gallery and file managing apps like Simple Gallery and Material Files can open and view the image with ease? I guess image editing apps work differently, right? Anyway, I'll try to find a way to blur it without changing the resolution (maybe using a PC if necessary) and then send it.

Because they have full file access i think, or my app just has an internal crash , btw, even if it can view this image, you won't be able to save that because of oom :(

5wHN28Dg commented 1 year ago

Simple Gallery advanced editor was able to blur it without downgrading the resolution and it got a little bit bigger in file size! Anyway here it is and btw why would it throw an OOM message?! What does 'out of memory' really mean? You mean out of RAM?! Why simple gallery editor didn't throw OOM message?

The image is so big even GitHub ends the uploading process so here it is on my GDrive, link

T8RIN commented 1 year ago

Simple Gallery advanced editor was able to blur it without downgrading the resolution and it got a little bit bigger in file size! Anyway here it is and btw why would it throw an OOM message?! What does 'out of memory' really mean? You mean out of RAM?! Why simple gallery editor didn't throw OOM message?

The image is so big even GitHub ends the uploading process so here it is on my GDrive, link

Hmm, maybe i should dive into its code, and my app will be able to do the same ๐Ÿ‘€

T8RIN commented 1 year ago

Which editor did you use? I didn't find "advanced editor" at simple mobile tools GitHub page

5wHN28Dg commented 1 year ago

It is the built-in advanced editor in Simple Gallery app

T8RIN commented 1 year ago

It is the built-in advanced editor in Simple Gallery app

But there is no blur option, or i misunderstood something?

T8RIN commented 1 year ago

It is the built-in advanced editor in Simple Gallery app

Where should i tap to view it? I cannot find it for some reason :(

Because it shows to me only 3 options

Screenshot_20230914-073000_ะ“ะฐะปะตั€ะตั.png

5wHN28Dg commented 1 year ago

ZomboDroid_14092023073808

T8RIN commented 1 year ago

Lol, i just don't have it ๐Ÿธ, i'll try to update

5wHN28Dg commented 1 year ago

I'm using version 6.27.2 from the Play store + maybe because you have set another image editor as your default one

5wHN28Dg commented 1 year ago
T8RIN commented 1 year ago
  • Just found out that the app was able to pick the image using the Resize by weight option but it fails to export the image even though it reports that it succeeded and switching to the presets mode from within the Resize by weight option and selecting different presets doesn't change anything (the app doesn't respond the changes I make).
  • the app seems to load forever when selecting the image to draw on it or remove the background using the background remover although it is worth noting that it was able to encrypt and decrypt it Screenshot_20230916-121142_Image Toolbox (Resizer) Screenshot_20230916-122003_Image Toolbox (Resizer) Screenshot_20230916-122022_Image Toolbox (Resizer)

Maybe it uses some other image method like async image, besides that i will check, but I can almost certainly promise that this will not be fixed...