This is the tutorial:
0 - Download a file explorer and grant superuser permission (I personally use ES FILE EXPLORER).
1 - Locate this folder: /data/data/com.whatsapp/shared_prefs/
2 - Open the file "com.whatsapp_preferences.xml".
+ Mod image quality (jpg compression level ?)
Look for this line: <int name="image_quality" value="80" />
Change its value (80 by default) to whatever you want (a number between 1 to 99, you shouldn't use 0 or 100 I think).
RECOMMENDED VALUE: 90
Info: at 99 your photos won't have any compression (best quality), but the file size will be MUCH bigger (very close to the original size)
+ Mod image resolution
Look for this line: <int name="image_max_edge" value="1600" />
Change 1600 to the value you want, for example 3200 or 6400 (or bigger).
Info: I think this changes the maximum width allowed for an image. By default, if you want to send a 4K photo (for example) the sent image will be downsized to 1600px. Therefore if you want to send bigger photos change 1600 to 6400 or whatever.
++++
Results (try it by yourself too and tell me):
Here is a 3500x3500 photo, the original file: http://s1.postimg.org/o5rwefjm7/Screenshot_2015_09_16_16_36_20.png
And this is the sent image: http://s27.postimg.org/84yk2ooxv/Screenshot_2015_09_16_16_36_45.png
As you see it keeps the same resolution, you can also increase the quality to 99 to send photos with almost no compression, so the sent image and the original are almost the same, but I don't recommend that value because it takes longer to upload (if you have bad internet like me you won't want to increase the quality to 99), so you should try 90 (which I think is the best quality/compression level).
***
srry4myEnglish
Good tutorial, thanks
Enviado con mi Note 2 Lollipop
I tried it a long time ago, and the preferences defined in the receiver's phone acts as a bottleneck. Most likely that this is deliberately done by the developers to reduce the effect of local file modifications.
its not working.. i can't change the value, it comes to the default value after using whatsapp. Please help me
. . .
Thanks.....Nice for tutorial.....
send from SM-N910C
Nice tutorial.It really works
Sent from my Cyanogenmod10.1 Huawei Y210 0100
It does not work on my galaxy S6 MM
This is a nice tutorial. But will not work.
As the new version of whatsapp re-writes the file with original values on start.
So, to solve this, kill whatsapp. Now from any root file explorer, change the permission - remove the write privileges for all (440).
Then open whatsapp. Now the mod is applied only for that session of the app.
Also you might need to change the max image size. <int name="image_max_kbytes"value="8128"/> (I've put it as 8mb)
(PS Extra info-But you' think won't it make all the settings fixed and any setting change from within the app won't reflect. Don't worry whatsapp automatically changes the permission with write privileges (660)). Hence can't have the mod be permanent.
So Cheers.
thank you
How about video to gif...
Use this trick
I searched for this trick and i got a trick to do it.
send the picture by selecting documents
Any way to set dp in original quality?
Thanks!
Sent from my Nexus 6P using XDA Labs
dattafilthyd said:
This is a nice tutorial. But will not work.
As the new version of whatsapp re-writes the file with original values on start.
So, to solve this, kill whatsapp. Now from any root file explorer, change the permission - remove the write privileges for all (440).
Then open whatsapp. Now the mod is applied only for that session of the app.
Also you might need to change the max image size. <int name="image_max_kbytes"value="8128"/> (I've put it as 8mb)
(PS Extra info-But you' think won't it make all the settings fixed and any setting change from within the app won't reflect. Don't worry whatsapp automatically changes the permission with write privileges (660)). Hence can't have the mod be permanent.
So Cheers.
Click to expand...
Click to collapse
Latest version 2020 also same ? everytime need to edit ?
Thank you !
Seems to be working, but after each time the file on Samsung S7, because the file is overwritten...
Related
[MOD][How-To] Adjust Text Size in Stock Froyo Browser
Background
I have seen this question asked several times here, in the I9000 forums and elsewhere. I very much missed the ability to adjust text size in the stock browser while keeping the zoom level default (medium) which was available in Eclair but removed in all Froyo builds. I have not tried any of the 2.3 leaks and cannot comment on if they are still lacking the text size adjustment.
One thing that gave me hope was that if I upgraded from DI18 using an update.zip (official OTA) my browser would keep its text size setting from Eclair, even though it could no longer be toggled in the browser settings.
Much later I realized that when doing an advanced Nandroid restore of "Data Only" it would also restore the text size setting to the browser. This made me realize there must be a config file inside of /data which could possibly be edited. I started a thread in Q&A to see if anyone had looked into it and as I got no response/interest decided to dive in myself.
Discovery
I was able to extract the /data partition of an old nandroid backup using the unyaffs utility with the cygwin1 DLL file.
From there I compared the file:
Code:
/data/data/com.android.browser/shared_prefs/WebViewSettings.xml
from the backup to the WebViewSettings.xml file in place after a fresh odin to stock. What I discovered was this line was in my nandroid backup XML, but not in the fresh install XML:
Code:
<string name="text_size">LARGER</string>
This appeared to me to be exactly the option I've been looking for. So I fired up notepad, edited my stock XML file and added the line of XML. Then I saved it back to the path mentioned above. Sure enough, the stock browser was now using a larger default font size while keeping the zoom level default (medium). I took a handful of screenshots comparing:
-Before Hack
--Medium Zoom setting
----Zoomed out
----Zoomed in
--Close Zoom setting
----Zoomed out
----Zoomed in
-After Hack (edited XML file)
--Medium Zoom setting
----Zoomed out
----Zoomed in
You will notice on the "before hack, close zoom setting" that the picture is also being zoomed in which is undesirable to me. I prefer to have pictures remain at their default (100%) size while only increasing the text.
Method
Requires ROOT Access and a way to access the /data partition. I use "SuperManager" although Root Explorer should work just as well.
Make a BACKUP! I am not responsible for broken devices, broken dreams, broken legs, etc
Move this file to your SDCard:
Code:
/data/data/com.android.browser/shared_prefs/WebViewSettings.xml
Edit the file (with notepad or whatever you want) to add
Code:
<string name="text_size">LARGER</string>
Note: You can replace LARGER with any of the following: smallest, smaller, small, medium, large, larger.
I will also provide my edited XML file so you may compare it or simply use it (NOTE: Using my XML file may change other browser settings you don't want changed!!)
Use task manager to verify "Internet" is not running. If it is, click End.
Copy the file back to its original location, overwriting the original
Shutdown the phone and boot into CWM
Clear cache & Dalvik cache (I don't know if this is required, but its the method I followed)
Reboot and enjoy your tweaked browser text size.
Next Steps
I'd like to see this implemented in either an easy to use app for root users, or perhaps just a script which can be run. If anyone is up for working on this or interested in implementing this into a ROM please PM me.
Screenshots and attachment will be added once I get them uploaded so you can compare and decide if you would like to do this hack.
If I helped you, please hit thanks.
Update:
Link to Pictures - Proof the hack works:
https://picasaweb.google.com/116895465022074216065/TextSizeHack?authkey=Gv1sRgCL_D8vOyy4eI5AE&feat=directlink
This still works in Gingerbread for anyone wondering. Its a non issue in CM7 because that browser has the text size selection, but TW EI22 & EL30 you would need to edit this same file.
This is for Pure XL users that use the flip cover instead of the silicone case (or no case at all)
This was an interesting idea brought up by @MatisasB on this thread.
MatisasB said:
Is there any way to add new pictures?
Click to expand...
Click to collapse
So I took some time to check it out and found out that it is possible to add or change the current background images that you see when you wake your phone with the flip cover closed.
Requirements:
Rooted Pure XL
Some File Explorer application with root capabilities (I personally use Root Explorer. The stock File Explorer app doesn't work, even if you grant it root permission)
Some suitably large images (at least 1440x1067 to be optimal, but can be larger or slightly smaller)
Image editing software
First get some pictures that you want to use as a background. If they're not 1440 pixels wide and 1067 pixels high (1440x1067), use some image editing software to crop/resize them to that size. It doesn't matter if the image(s) are larger if you only want a portion cropped from it. The image can also be slightly smaller, but resized and cropped to 1440x1067 because honestly, 720p resolution still looks acceptable to me on a 1440p 6.0" screen. Your opinions may differ.
Use your creativity to get them to look like what you want to see through the flip cover window!
Make sure to save in .png format, .jpg doesn't work!
Adding New Backgrounds:
After you're done editing your image, rename them to a number above 10 (11 to 10+whatever number of pictures you want to add)
Copy them to /etc/GN_SkyLight
Restart your phone and see the changes!
Replacing Existing Backgrounds:
Copy your edited images to your phone's internal storage or installed microSD card (Make sure your phone's USB connection is set to the File Transfer mode)
Use your File Explorer app to navigate to /etc/GN_SkyLight
Decide which image(s) you want to replace, and back up those files (e.g. Adding "(Backup)" or "(Original)" to their names, or copy the entire folder to your computer somewhere)
Rename your image files to those file names (1-11).png and copy&replace the old images.
It works instantly without a restart!
Hey, great job. Unfortunately I wasn't able to root this decice yet. I tried lots of 1 click root apps but bone of them worked auntik now...
Hello.
I have a simple question, is there any way to control Spotify with the flip cover closed. I mean, to get access to the controls (next, previous song, start/stop) from the flip cover window.
If this is possible, maybe there's a eway to change the flip cover background by syncing with the album art.
Thank you.
Version 3.0 install instructions below
Aded profiles to put phone in more deep sleep (now my phone consume 1.3% battery per hour when screen off and wifi services like messenger enabled), minimize usage of cpu/gpu/ddr by launcher (it might lag with stock launcher, works great with Nova launcher, reduce usage of processor by half.)
Version 2.0 uploaded install instructions below
phone now should better deep sleep
some values revert to original
adjusted speed when launching app, when scrolling lists, on app rotation, when fingerprint or display is touched, on battery states, when you gaming, on launcher.
WHAT IS ALL ABOUT?
Hi, im highly interested to bring all Power from mate7
I discovered that one system app can manages whole mt7 speed values on certain states ex. On app start, on certain app, on screen off...
My long research give me result that some system xml files can generate (on phone boot) certain speed values for cpu gpu and ddr.
I dont know how to read values from this files because they are encrypted, propably with strong rsa/ecb/pkcs1/padding key.
I use magic to allow system read non encrypted xml configuration files on phone boot and i guess it works
What mod do?
It allow to use all phone speed to stard app, when app is started then reduce speed to save energy
It allow to lock cpu,gpu,ddr on full speed in chosen apps.
It adjust cpu frequency dynamically, when screen is touched, on cpu thermal state, on battery critical state, on fling start, on phone rotate...
You can edit xml configuration to add your apps
Install instructions
To lock cpu+gpu+ddr on max speed for any app you must:
Have root, be on MM (i dont know, but it may work on LP too)
1. Download com.huawei.powergenie.zip and etc.zip
2. Unzip com.huawei.powergenie.zip to root. data/data/com.huawei.powergenie (overwrite files, yes its safe :good
3.Unzip etc.zip to system/etc, it will overwrite protected xml that wont allow to change values, (you should backup your old files first)
4. Reboot phone
How do i know that its working?
Download cpu-z app from android market, i added it to my mod, now when you launch cpu-z app, cpu,ddr values should be locked to max
give me information if it works for you
Advanced instructions:
editing xml files:
<scenemode name=".*?(hw.performance|ppsspp|cpuid*?).*" id="10000"> //app name example: org.ppsspp.ppsspp, do not touch original ID, you
can add new unused id for new app, unused id's like: 10025,10026... <gpu_minprofile>360000000</gpu_minprofile> //minimal gpu for state/app// <gpu_maxprofile>600000000</gpu_maxprofile>//max gpu for state/app// <ddr_minprofile>667000000</ddr_minprofile>// the same for ddr memory// <ddr_maxprofile>800000000</ddr_maxprofile>
<cpu_minprofile>806400</cpu_minprofile> //minimal frequency for first four cores. scaling from 403,200 to 1305,600 mhz <cpu_maxprofile>1305600</cpu_maxprofile>
<cpu_a15_minprofile>1209600</cpu_a15_minprofile> //minimal frequency for cores 5-8, available frequencies from 806,400 to 1804,800mhz// <cpu_a15_maxprofile>1804800</cpu_a15_maxprofile>
<msg_policy_threshold>15</msg_policy_threshold> //policies how often app give notification???// <threshold_up>300</threshold_up> //HMP Threshold ratio control (times to load task from lower core to higher)// <threshold_down>150</threshold_down>
<cpu_number_max>3</cpu_number_max> //propably option to switch number of active cores. Reducing number of active cores can improve battery life, on certain states it also can lag your phone. Values from 1-4// <cpu_number_min>2</cpu_number_min> //Minimum of active cores on app/state. Values from 0-4 0= all four cores inactive// </scenemode>
AVALIABLE_VALUE
cpu_maxprofile 403200 604800 806400 1017600 1209600 1305600
cpu_minprofile 403200 604800 806400 1017600 1209600 1305600
cpu_a15_maxprofile 806400 1017600 1209600 1382400 1497600 1708800 1804800
cpu_a15_minprofile 806400 1017600 1209600 1382400 1497600 1708800 1804800
gpu_maxprofile 288000000 360000000 480000000 600000000
gpu_minprofile 288000000 360000000 480000000 600000000
ddr_maxprofile 120000000 240000000 360000000 400000000 667000000 800000000
ddr_minprofile 120000000 240000000 360000000 400000000 667000000 800000000
cpu_number_max 1,2,3,4
cpu_number_min 1,2,3,4
cpu_a15_number_max 0,1,2,3,4
cpu_a15_number_min 0,1,2,3,4
Sounds interesting, but before I'm going to try it I have a few questions:
gahu777 said:
What mod do?
It allow to use all phone speed to stard app, when app is started then reduce speed to save energy
Click to expand...
Click to collapse
Isn't this the regular way the phone starts apps, or does it boost cpu etc. to max speed when starting an app with your mod?
gahu777 said:
It allow to lock cpu,gpu,ddr on full speed in chosen apps.
Click to expand...
Click to collapse
Is rebooting required when you add a new app to chosen apps? Also where do I add chosen apps?
This is the regular huawei method to start app, but i modify it slightly to maximize performance on some cases. On app start, on rotate screen, on app.
You can edit scene mode on each profile
With this pattern. com.nameofyourapp.something
<scenemode name=".*?(hw.performance|ppsspp|rockstargames|dsemu|dolphinemu|cpuid|nameofyourapp*?).*" id="10000">
Tazmaniiac said:
Also where do I add chosen apps?
Click to expand...
Click to collapse
Added tutorial for changing values for your own
Thanks for the reply, I replaced the files and compared the values in CPU-Z and can confirm that it works, good job!
But I still don't unterstand one thing.. the profiles (Performance, super, and normal) which I replaced in /etc are the ones that you choose in power manager right? So if I add an app on the performance profile it will only work if the performance profile is active? If I want an app to use 100% cpu on all profiles, i have to add it on all profile xml files right?
Tazmaniiac said:
Thanks for the reply, I replaced the files and compared the values in CPU-Z and can confirm that it works, good job!
But I still don't unterstand one thing.. the profiles (Performance, super, and normal) which I replaced in /etc are the ones that you choose in power manager right? So if I add an app on the performance profile it will only work if the performance profile is active? If I want an app to use 100% cpu on all profiles, i have to add it on all profile xml files right?
Click to expand...
Click to collapse
Yes, exactly
How do I know what to call the app? For example CPU-Z is called cpuid.
Tazmaniiac said:
How do I know what to call the app? For example CPU-Z is called cpuid.
Click to expand...
Click to collapse
I have titanum backup app which shows me full package name for app
You can also search play store for "package name viewer"
com.cpuid.cpu_z is full package name for cpu-z
What exactly do I need from the package name, for example eine names start with com., others with org., then there's also names with like 5 words , for example
Code:
Mupen64Plus FZ Edition
org.mupen64plusae.v3.fzurita
What would the Name be in this case? I would google it myself but I have no idea what to search for..
Tazmaniiac said:
What exactly do I need from the package name, for example eine names start with com., others with org., then there's also names with like 5 words , for example
Code:
Mupen64Plus FZ Edition
org.mupen64plusae.v3.fzurita
What would the Name be in this case? I would google it myself but I have no idea what to search for..
Click to expand...
Click to collapse
In this case mupen64plusae or v3 or fzurita
Example
<scenemode name=".*?(hw.performance|ppsspp|cpuid|fzurita*?).*" id="10000">
gahu777 said:
In this case mupen64plusae or v3 or fzurita
Click to expand...
Click to collapse
Any of these or do I have to try them all out?
Could somebody share a modded file?
fmurillo said:
Could somebody share a modded file?
Click to expand...
Click to collapse
I would but mine is not worth sharing, I only played around a little bit to see the performance improvements (the performance boost is amzing for those who use emulators btw).
Now that Version 3.0 is out, how do I "update" it? Do I need to replace all files all by one or only specific ones? I don't really want to add all apps again to scenemode..
Please... Share it
Tested version 3 and I'm impressed by how fast switching between apps works, now I finally answer whatsapp messages while doing stuff because it's not that slow anymore.
I'm also able to play True Skate with max graphics now that I added it to scenemode! It used to lagg on some maps even with resolution and details at a lower level. Great work man!
Testing v3... looks promising... Cpu-z shows processors 0-3 @ 1305 and processors 4-7 @1804... Will check battery durabilty because I am not fully satisfied with B561 v3 kangvip ROM.
Thanks for you efforts and for sharing them to all mt7 users!!!
tl10 gold b571 doesn't work.. someone with the same problem?
paulopais said:
tl10 gold b571 doesn't work.. someone with the same problem?
Click to expand...
Click to collapse
yeah i tried it yesterday but no differences.
also on mt7-l09 B571
Do you copy all files from both zip archives? (To data/data/com.huawei.powergenie and to system/etc) you can also set files permission 755 or 777
gahu777 said:
Do you copy all files from both zip archives? (To data/data/com.huawei.powergenie and to system/etc) you can also set files permission 755 or 777
Click to expand...
Click to collapse
yes i extracted both zip archives to the paths and overwrote the files (but did backup before)
then restart phone and downloaded cpu-z
but no differences between before and after
I am confused about the camera, if you look at the picture bellow that I have attached you can see different sizing of images. So for example if I change from 12m to 7m would that decrease quality... Are these m basically for the aspect ratio for example if my TV has 16.9 ration and I take the image at 4.3 ratio does that mean that the 3.7 m would fit on the screen but the 12m wouldn't feet the whole screen... Hopefully you get what I am talking about....
Does the quality get reduced if I use different m's I know that it still says the same pixels for quality.
Does the m mean megapixels?
Sorry this might be a noobish question but I want to find out...
Some of them are the aspect ratio, and some are the amount of compression (visual quality). So there are two 4:3 options in the list, one is going to be cleaner than the other.
The "m" represents the Megapixel i do believe which means yes, as you go down you are effectively lowering the resolution of the images. The aspect ratio is listed to the left and thats pretty much the standards. So yes, 16:9 would fill a standard wide screen and 4:3 would be the old conventional more square aspect ratio.
Hello
Yes the M means Megapixels, here is an example:
"The definition is characterized by the total number of pixels in the image, defined by the number of pixels over the image height multiplied by the number of pixels over the image width." This value is therefore absolute. An image of 2000 pixels by 3000 (6 Mpx because 2000x3000 = 6 000 000) will always have the same number of pixels, whatever size it is given next. A digital camera with a resolution of 10 Mpx (about 3888x2592 pixels) can simply offer a larger size with equal resolution.
So if you change the size of the image there will be fewer pixels and I think it affects the final rendering.
When i open camera & click on Gallery it also shows the WhatsApp videos and pics
I want to set it to only see the Camera pics i click
anyone knows how ?
Please
Always shoot in the highest mega pixels. All the lower ones do is crop the data from the largest setting and throw away the extra picture data before saving. If you save the largest mega pixel setting you can manually crop to all the others afterward if you like. But if you set it to a smaller setting the extra data is never saved.
DAvid_B said:
Always shoot in the highest mega pixels. All the lower ones do is crop the data from the largest setting and throw away the extra picture data before saving. If you save the largest mega pixel setting you can manually crop to all the others afterward if you like. But if you set it to a smaller setting the extra data is never saved.
Click to expand...
Click to collapse
Cheers
ilordvader said:
When i open camera & click on Gallery it also shows the WhatsApp videos and pics
I want to set it to only see the Camera pics i click
anyone knows how ?
Click to expand...
Click to collapse
Try putting a file named exactly ".nomedia" (without quotes, even of 0 bytes it's ok) in the Whatsapp root folder.
If you look into your sdcard folders you can find such a file somewhere, so you can copy and paste it.
Otherwise you could create this file on your PC and then copy to the Whatsapp folder.
Then reboot the phone.
themissionimpossible said:
Try putting a file named exactly ".nomedia" (without quotes, even of 0 bytes it's ok) in the Whatsapp root folder.
If you look into your sdcard folders you can find such a file somewhere, so you can copy and paste it.
Otherwise you could create this file on your PC and then copy to the Whatsapp folder.
Then reboot the phone.
Click to expand...
Click to collapse
Where in the WhatsApp folder do i put this Folder - .nomedia
In WhatsApp folder there are 2 Folders
1) Databases
2) Media
I put in WhatsApp Folder
It did not work & I do not even see the Folder i created
I HOPE THIS WILL NOT MESS UP MY PHONE Please
Anyway, .nomedia is a file, not a folder!
The folder to put this file is sdcard/Whatsapp.
After adding this file, have you rebooted the phone?
You probably should also have to refresh the gallery database to purge the image caching:
go to Settings, Apps, Show system apps, find Media storage, open it, select the storage memory option and clear the data. Reboot the phone.
themissionimpossible said:
Anyway, .nomedia is a file, not a folder!
The folder to put this file is sdcard/Whatsapp.
After adding this file, have you rebooted the phone?
You probably should also have to refresh the gallery database to purge the image caching:
go to Settings, Apps, Show system apps, find Media storage, open it, select the storage memory option and clear the data. Reboot the phone.
Click to expand...
Click to collapse
I made a Folder & naming it .nomedia, i put it in WhatsApp Folder
After that what i did was Delete all Pics & Videos in WhatsApp folder
Now what has happened is,
I do not see any Folder of WhatsApp Pics/Videos when i go in the Gallery,
which is a Good thing :laugh: (rest Folder are there)
So now when i click the Album in Camera
i only see Pics i click with my camera & the Screenshots if i make any
So Thanks Bro somehow it worked for what i wanted
any suggestions do let me know
Can you upload the .nomedia file you were talking about
There are plenty of apps that let you select a directory and the app will add the .nomedia file for you.. just search nomedia in the play store.
ilordvader said:
Can you upload the .nomedia file you were talking about
Click to expand...
Click to collapse
The only way to upload on the forum this unusual file is to put it into a zip file.
Attached.
I want to introduce my new image editor bevore I will release it on F-Droid and Play Store. The app is fully Open Source. And needs no unnecessary permissions (only write on storage to save the edited pictures). It's lightweight (< 5 mb), clean, easy to use and nice looking.
Features:
adjustments: brightness, gamma, saturation, ...
filter: sepia, monochrome, invert, poster, comic, ...
add text: add, resize and rote text
crop: crop, rotate or flip the image
Privacy:
permissions: only "read and write on sd-card"
dependencies: no Google dependencies
sending user data: no user data will be collected and send to any other servers.
"FOSS Image Editor" doesn't have permission to use the internet
To achieve this, I'm using several libraries (see in the About --> license dialog). I will only add new features, when it doesn't make to much trouble. In the best case there's a library to achieve the implementation of new features. So please test "FOSS Image Editor" and give your feedback. The Open Source Community is depending on users, who share their experience.
Changelog:
### v 0.3:
- new: custom crop
- new: hide app icon from launcher
### v 0.2:
- new: warning when overwriting original image
- new: changelog and license file on Github
- updated: help dialog
- improved: quality of saved pictures
- fix: remain original file extension
Regards
Gaukler Faun
Screenshots
Here are some screenshots:
Thank you. This is indeed simple, clean, and very useful.
Would you consider supporting PNG ? Now they can be read and imported, but the output of the edited image is JPG.
Ultramanoid said:
Thank you. This is indeed simple, clean, and very useful.
Would you consider supporting PNG ? Now they can be read and imported, but the output of the edited image is JPG.
Click to expand...
Click to collapse
Thanks for the feedback. At the moment I'm on vacation, but I will look when I'm back home.:highfive:
Warning - critical bug:
If you save a picture at the moment, it will be saved only in low resolution. So don't overwrite your original pictures. I'm on vacation so it will take a while until I can look into the issue. I updated the OP.
Some of my holiday pictures have now a size of ~ 150 kb. Therefore they had a size > 2 mb.
Update v 0.2
The saving issue is now solved. Thanks for your patience. Download in the first post.
Changelog v 0.2:
- new: warning when overwriting original image
- new: changelog and license file on Github
- updated: help dialog
- improved: quality of saved pictures
- fix: remain original file extension
Gaukler_Faun said:
Update v 0.2
Click to expand...
Click to collapse
With this latest version picking an image immediately crashes the application... ( The previous one doesn't. )
Code:
FATAL EXCEPTION: AsyncTask #1
Process: de.aosd.fossimageeditor, PID: 4351
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:325)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.IllegalStateException: Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
at android.database.CursorWindow.nativeGetLong(Native Method)
at android.database.CursorWindow.getLong(CursorWindow.java:511)
at android.database.CursorWindow.getInt(CursorWindow.java:578)
at android.database.AbstractWindowedCursor.getInt(AbstractWindowedCursor.java:69)
at android.database.CursorWrapper.getInt(CursorWrapper.java:122)
at jp.co.cyberagent.android.gpuimage.GPUImage$LoadImageUriTask.getImageOrientation(GPUImage.java:526)
at jp.co.cyberagent.android.gpuimage.GPUImage$LoadImageTask.rotateImage(GPUImage.java:695)
at jp.co.cyberagent.android.gpuimage.GPUImage$LoadImageTask.loadResizedImage(GPUImage.java:623)
at jp.co.cyberagent.android.gpuimage.GPUImage$LoadImageTask.doInBackground(GPUImage.java:589)
at jp.co.cyberagent.android.gpuimage.GPUImage$LoadImageTask.doInBackground(GPUImage.java:565)
at android.os.AsyncTask$2.call(AsyncTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
Ultramanoid said:
With this latest version picking an image immediately crashes the application... ( The previous one doesn't. )
Click to expand...
Click to collapse
It seems, that the image you want to open isn't scanned by the media scanner. Here a few questions:
This happens always, when you try to load an image via the build in menu?
With every image?
Dies it also happen, when you "share" the same picture to the editor?
Does rebooting the phone solve the issue?
Gaukler_Faun said:
It seems, that the image you want to open isn't scanned by the media scanner. Here a few questions:
This happens always, when you try to load an image via the build in menu?
With every image?
Dies it also happen, when you "share" the same picture to the editor?
Does rebooting the phone solve the issue?
Click to expand...
Click to collapse
Thanks for the quick reply. So, answering every question.
# Yes, always, any image, jpg and png, any path, opening from the menu.
# Yes, also shared from another application, file manager or image viewer.
# Working with the smartphone and it's my internet connection right now with hotspot for several devices, so I can't restart it. I triggered just a media provider restart if that was the purpose of your question, but did not change anything.
Edit : There's one one way it will not crash. If I pick using Android's default file picker ( the one part of the OS, DocumentsUI ), then it works.
Edit 2 : It works with Ghost Commander, too. So I guess it works depending on the application. Problems with FX file manager for instance and Simple Mobile's Gallery.
Feature request: Could you add a freeform draw option? It would really come in handy.
Thanks
Ultramanoid said:
Thanks for the quick reply. So, answering every question.
# Yes, always, any image, jpg and png, any path, opening from the menu.
# Yes, also shared from another application, file manager or image viewer.
# Working with the smartphone and it's my internet connection right now with hotspot for several devices, so I can't restart it. I triggered just a media provider restart if that was the purpose of your question, but did not change anything.
Edit : There's one one way it will not crash. If I pick using Android's default file picker ( the one part of the OS, DocumentsUI ), then it works.
Edit 2 : It works with Ghost Commander, too. So I guess it works depending on the application. Problems with FX file manager for instance and Simple Mobile's Gallery.
Click to expand...
Click to collapse
That's strange I've no of this issues on my side. I also use Simple Mobile's Gallery. I'm on OREO.
Is anyone else facing this issue?
TheMadRuffian said:
Feature request: Could you add a freeform draw option? It would really come in handy.
Thanks
Click to expand...
Click to collapse
I just tried it several, but had no luck. I'll try it again, but not in the near future.
Gaukler_Faun said:
That's strange I've no of this issues on my side. I also use Simple Mobile's Gallery. I'm on OREO.
Is anyone else facing this issue?
Click to expand...
Click to collapse
I'm also using simple gallery and haven't faced a issue. I'm on pie.
Gaukler_Faun said:
That's strange I've no of this issues on my side. I also use Simple Mobile's Gallery. I'm on OREO.
Click to expand...
Click to collapse
When sharing from Simple Mobile's Gallery ( any image, any path ) there is no crash but I always get a 'Could not load image' error in the editor. In the log I only see this :
Code:
System.err
at de.aosd.fossimageeditor.MainActivity.handleImage(MainActivity.java:367)
... I tried with Android 8.1 and 7.1.2. Anyway, the editor itself works fine. I wouldn't worry about supporting every possible file manager and gallery application out there.
Could 2:3 / 3:2 ratio be added to the crop options ?
Or alternatively / in addition, be able to specify pixels in width and height ourselves, maybe. With the free option is guesswork now.
Ultramanoid said:
Could 2:3 / 3:2 ratio be added to the crop options ?
Or alternatively / in addition, be able to specify pixels in width and height ourselves, maybe. With the free option is guesswork now.
Click to expand...
Click to collapse
At the moment I'm working on my browser. But the alternative suggestion sounds good. I'll implement it. At Monday school starts again (with a lot to do and the next vacation will be at Christmas). So if I forget it, please remind me.
Gaukler_Faun said:
At the moment I'm working on my browser. But the alternative suggestion sounds good. I'll implement it. At Monday school starts again (with a lot to do and the next vacation will be at Christmas). So if I forget it, please remind me.
Click to expand...
Click to collapse
Yes, I follow progress on that too. Thank you for considering it ! I'll try to remember it myself, make a note somewhere to check around Christmas.
Edit, January 20th : I guess this last post became the reminder note.
Update v 0.3
Changes:
- new: custom crop option
- new: hide app from launcher
- minor fixes
Gaukler_Faun said:
Changes:
- new: custom crop option
- new: hide app from launcher
- minor fixes
Click to expand...
Click to collapse
Thank you for this version. I have been testing and see two issues consistently repeating.
# The cropped images are degraded, noticeably, in quality, compared to the originals. ( Is this the same bug that happened on an older version, maybe ? )
# The crop specifying values doesn't really respect the values given. I try, say a fixed 720 pixels cut for instance, but get 913 pixels ( or some other random number ) in the exported crop.
I've tested both jpg and png.
Hi, some questions:
Is It possible
- determine jpg compression rate when saving an an image?
- determine wether to keep/change/delete EXIF-data when saving an image?
Gesendet von meinem SM-T820 mit Tapatalk