PNGs get converted to JPEGs - About xda-developers.com

I thought that I complained about this previously, but a search comes up with nothing.
If you attach a PNG to a forum post it gets converted to a JPEG.
Often (usually? always?) the JPEG is actually larger and certainly lower resolution.
Usually my PNGs are of reasonable dimension, but I recently posted a 1920 x 457 (30,429 bytes) PNG.
It got converted to a 640 x 152 (24,190 bytes) JPEG.
http://forum.xda-developers.com/attachment.php?attachmentid=2349364&d=1382709646
The thing is, sometimes (at least in the past) I post a PNG and it stays a PNG.
http://forum.xda-developers.com/attachment.php?attachmentid=2138290&d=1374617764
To post a PNG as an attachment that gets converted into an illegible JPEG and also to pack it as a zip attachment is a hassle, both for poster and reader.
http://forum.xda-developers.com/showpost.php?p=24061856&postcount=11

I'll ask the server admin to pop in and let him comment on this.

Previous limit for PNGs was 640x640, so if it was larger than that it would be converted to jpg and downsized. JPG doesn't have that limit, so I don't think PNG should either. I've lifted it, so you should be able to post large png files now. Please test and let me know.

Thanks, that fixed it!
http://forum.xda-developers.com/showpost.php?p=46803175&postcount=1
This will be a big improvement for schematics and graphs.

Related

Why are most themes being created for rc33 lite

I know the difference between the two versions. I just want to know why so many are creating for just rc33 lite. Only fade to blue works with my regular rc33 version. Other then getting rid of notifications and ringtones (which i dont want to do) how can i make these themes work. Thanks.
Its an issue with allocated space.
That's why the notifications and ringtones are removed in lite.
Maybe once theme devs start compressing more we wont need lite.
just copy them to the media/audio directory ringdroid creates, ull save the phone mem space and have all ur ringtones/alarms/notifs
Topdnbass, Thanks. Pablizzo how do i do that.
Its not that they are making it for RC33 lite, Lite was made to accomodate those themes. Larger, more full, themes are higher in size and need to have space in the OS to be run. The only way to work around that would be to have smaller/less developed themes or make room some other how
check THIS thread and d/l the audio. install reingdroid (if not already installed), make a custom ringtone to create the folder and symlinks. Then copy the files you downloaded into sdcard/media/audio/
All~G1 said:
Its not that they are making it for RC33 lite, Lite was made to accomodate those themes. Larger, more full, themes are higher in size and need to have space in the OS to be run. The only way to work around that would be to have smaller/less developed themes or make room some other how
Click to expand...
Click to collapse
It has nothing to do with more or less developed themes...my theme is pretty full, but i figured out by compressing the png files the theme will work with the full RC33, not only that but its a lot faster and more stable. Some of these other themes i have tried are very slow and clunky. I believe all of those images are loaded into ram, so the smaller the file size the better.
damnitpud said:
It has nothing to do with more or less developed themes...my theme is pretty full, but i figured out by compressing the png files the theme will work with the full RC33, not only that but its a lot faster and more stable. Some of these other themes i have tried are very slow and clunky. I believe all of those images are loaded into ram, so the smaller the file size the better.
Click to expand...
Click to collapse
What are you using to compress your images?
ultra spikey said:
What are you using to compress your images?
Click to expand...
Click to collapse
I use save for web & devices in in Photoshop CS4...PNG 24.
damnitpud said:
I use save for web & devices in in Photoshop CS4...PNG 24.
Click to expand...
Click to collapse
I used that too...but then found out it didnt compress that good. Someone posted a link to PNGOutWin somewhere here. It compresses the images a tad bit more, after doing it in PS. The only thing is, it's a trial version.
Yeah i seen that post...problem with that though is if its a .9 will it keep the hidden border?
the 9.png's don't look good when being compressed with pngoutwin . It compresses the images a tad bit more, and you can compresses all the images in a folder and folders in the folder but need to remove the 9.png's.
i noticed to when you run the .9's thru Eclipse and compile the .9's it shrinks them to. But i think my next theme will need to run on RC33 lite. the fancier the graphics the less it will compress them...check these out at the bottom. The originals and the boring strait colors were 1kb or smaller.
The images are for the textfield in the contacts and dialer. when you press any numbers on the dialer.
btn_dial_textfield_pressed.9.png (2.6 KB)
png.gif btn_dial_textfield_selected.9.png (2.5 KB)
png.gif btn_dial_textfield_selected_full.9.png (2.7 KB)
png.gif btn_dial_delete_selected.9.png (2.5 KB)
you can actually just create a folder named "audio" in the root of your sd card with a folder for "notifications" and one for "ringtones" and any media files located within will be read as such. atleast after i did a full whipe on mine and rooted it with rc33l thats all i did and it read everything automatically. this way i didnt have to install ringdroid and it still picks up custom ringtones and alerts.
You can also name the "audio " folder as "music" and still have the same effect.
This was actually the first thing i was able to figure out, due to my want for all my personal ringtones and notifications. As long as the folders in that folder are correctly named "ringtones", "notifications", and "alarms"
ultra spikey said:
I used that too...but then found out it didnt compress that good. Someone posted a link to PNGOutWin somewhere here. It compresses the images a tad bit more, after doing it in PS. The only thing is, it's a trial version.
Click to expand...
Click to collapse
I know this is an old subject, but for compressing PNG's quickly, you can also try PNGGauntlet. It's freeware.

[Feature Request] Increase the size limit for .txt files

I have been trying to upload two logcat files for some fellow XDA users to read to help me with my issues. Unfortunately, the current .txt limit is 256, which unless you have magically fast hands or are some god, is really hard to get a logcat down to that size when you don't know if any included information could be useful. Short of splitting them up to make four files, could I formally suggest that the size limit for .txt files be increased either to 512 KB or 1 MB?
This would be helpful to all users, devs, mods, etc. Not just a few.
Thanks.
GH0 said:
I have been trying to upload two logcat files for some fellow XDA users to read to help me with my issues. Unfortunately, the current .txt limit is 256, which unless you have magically fast hands or are some god, is really hard to get a logcat down to that size when you don't know if any included information could be useful. Short of splitting them up to make four files, could I formally suggest that the size limit for .txt files be increased either to 512 KB or 1 MB?
This would be helpful to all users, devs, mods, etc. Not just a few.
Thanks.
Click to expand...
Click to collapse
That sounds like a good idea, if you post it here hopefully it will be considered.
(requests) From the Users to the Mods & Admins
I've updated the max size for .txt to 512kb. However, it should be noted that .txt files are horribly space inefficient and you should consider zip/gzipping them to help save space, plus the max size for zip/gz type is 8M. Hope that helps!

Google Camera #best setup

These past few days I was looking for XML for Hypercam that I like, I'm kind of picky and I didn't find a 100% that would fit me in everything like day/night, so I took a little bit of each of the best XML I've ever used and assembled a , I present to you "Murphy"
first, I created it especially for Mi A3, if you have Mi8 or Pocophone you will need to change Hypercam patch tab (so before you change XML, go to that tab and print it so that after restoring Murphy you do this change), preferably use Hypercam E3!
is divided into 2 files, XML and TXT
XML you put in GCam/Configs folder and TXT you put in GCam/Lib folder
I recommend moving TXT first and then moving XML and then logging into Hypercam E3 and restoring it
Murphy.txt was sent to me by Telegram and consequently lost the original name and came as 362836276.txt, it is from a Russian man, if he acknowledges contact me and I change the name and give you the credits!
https://gcambrasil.com.br/dev/hypercam-app
sorry for the bad english, Google Translate fault updated XML on 01/19/2020
great results tonight, same as stock at 48 this is the best gcam so far
Any photo samples? I tried and in daylight conditions resulting photos are slightly underexposed.
qwertysmerty said:
Any photo samples? I tried and in daylight conditions resulting photos are slightly underexposed.
Click to expand...
Click to collapse
I only have these on the device for now
Hello.
Noob question, but I can't seem to find the setting to change lib? A little help would be appreciated
bibekmufc said:
Hello.
Noob question, but I can't seem to find the setting to change lib? A little help would be appreciated
Click to expand...
Click to collapse
XML is already set to automatically restore Lib, just move everything to the right place!
If you don't mind me saying, of all the gcam ports I have tried,Urnyx's latest 7.2 port with Urnyx's optimized mi a3 xml file- is the best. And the closest competitor in my opinion is Hypercam R6 with Prime Exclusive xml from Profilecam app. now, what i prefer
in urnyx's port is the size of the pic. In urnyx, i get the pic in half the size of Hypercam pic while maintaining same quality. But, I haven't compared the pics in PC so can't say if quality is reduced in bigger screen. But, in the phone screen, Urnyx's smaller sized photo looks as good as Hypercam.
@LzDoBeaTs - thanks for sharing the profile. I quickly compared photos in overcast daylight and with Hypercam E3 it really provides very nice photos. A bit over-sharpened, but still good. Colors are closely matching stock camera. Now I need to wait for the night and sunny weather for further testing. But it looks really promising Maybe we finally have a competitor for stock app.
---------- Post added at 10:24 AM ---------- Previous post was at 10:15 AM ----------
Abujaherbadal said:
If you don't mind me saying, of all the gcam ports I have tried,Urnyx's latest 7.2 port with Urnyx's optimized mi a3 xml file- is the best. And the closest competitor in my opinion is Hypercam R6 with Prime Exclusive xml from Profilecam app. now, what i prefer
in urnyx's port is the size of the pic. In urnyx, i get the pic in half the size of Hypercam pic while maintaining same quality. But, I haven't compared the pics in PC so can't say if quality is reduced in bigger screen. But, in the phone screen, Urnyx's smaller sized photo looks as good as Hypercam.
Click to expand...
Click to collapse
You must have eagle eyes to see differences on the 720p OLED screen. In my experience, low res screen and punchy OLED colors make pretty much any photo good looking. But as soon as they're viewed on a PC, the real quality shows up and the differences between various settings and apps are often very obvious. Other times differences are subtle (yet important) and next to impossible to see on a mobile phone - photos must be zoomed in and placed side by side to really see what's different.
Abujaherbadal said:
If you don't mind me saying, of all the gcam ports I have tried,Urnyx's latest 7.2 port with Urnyx's optimized mi a3 xml file- is the best. And the closest competitor in my opinion is Hypercam R6 with Prime Exclusive xml from Profilecam app. now, what i prefer
in urnyx's port is the size of the pic. In urnyx, i get the pic in half the size of Hypercam pic while maintaining same quality. But, I haven't compared the pics in PC so can't say if quality is reduced in bigger screen. But, in the phone screen, Urnyx's smaller sized photo looks as good as Hypercam.
Click to expand...
Click to collapse
I haven't liked any GCam 7.2 photo results yet, only for night mode. About Hypercam R6 a friend said that it really is better than E3, today I do the tests and if I realize the difference, I update the post
XML is updated
Still quite dark and a bit oversaturated outdoor photos for my taste, sky is blueish than it really is and grass is greener than it really is.
I was using HyperCam R6. I'll try to make a set of samples stock vs HyperCam (Murphy profile) this week.
updated
LzDoBeaTs said:
These past few days I was looking for XML for Hypercam that I like, I'm kind of picky and I didn't find a 100% that would fit me in everything like day/night, so I took a little bit of each of the best XML I've ever used and assembled a , I present to you "Murphy"
first, I created it especially for Mi A3, if you have Mi8 or Pocophone you will need to change Hypercam patch tab (so before you change XML, go to that tab and print it so that after restoring Murphy you do this change), preferably use Hypercam E3!
is divided into 2 files, XML and TXT
XML you put in GCam/Configs folder and TXT you put in GCam/Lib folder
I recommend moving TXT first and then moving XML and then logging into Hypercam E3 and restoring it
Murphy.txt was sent to me by Telegram and consequently lost the original name and came as 362836276.txt, it is from a Russian man, if he acknowledges contact me and I change the name and give you the credits!
https://gcambrasil.com.br/dev/hypercam-app
sorry for the bad english, Google Translate fault updated XML on 01/19/2020
Click to expand...
Click to collapse
How do you download the two files? They just open in a new tab
alexmason90 said:
How do you download the two files? They just open in a new tab
Click to expand...
Click to collapse
As you did not write where and how are you trying to download them, there is no precise answer.
General ideas:
- click on the link, file loads in a new tab, right click, save as
- click on the link, file loads in a new tab, select all text, copy, create a new file, paste, save
- click on the link in Tapatalk, it will save files automatically
- click on QR code and scan it
- click on the link, copy URL name from the new tab, use CURL command line utility to download the file
- take a screenshot/photo and use OCR to convert images to text
Astrophotography
FYI I'm using Camera_7.2.014.278150624.apk for Astrophotography and images are in attachment!
Hope you like them.
Rom: MIUI 11 (you can find the rom in roms section and the rom does not matter!)
Gcam: https://forum.xda-developers.com/mi-...-t3979169/amp/
Some of photos edited with technics in photoshop you can learn in youtube!
pictures taken with stock camera at 48mpx are better than gcam marphy i have many examples, here is just one so it's not good yet
Murphy
IMG_20200120_214741_Murphy
stock 48mpx
IMG_20200120_214732
They are sharper and colors are prettier, murhpy loses color, they are pale
Both stock an gcam are great!
colors much better on stock, look
stock
IMG_20200120_215343
Murphy
IMG_20200120_215353_Murphy
bojan1974 said:
pictures taken with stock camera at 48mpx are better than gcam marphy i have many examples, here is just one so it's not good yet
Murphy
IMG_20200120_214741_Murphy
stock 48mpx
IMG_20200120_214732
They are sharper and colors are prettier, murhpy loses color, they are pale
Click to expand...
Click to collapse
In this comparison I prefer Murphy
Hello what is the best gcam now ? I lost between many versions ..

Severe compression of mms and live messages?

Hey guys,
So I'm enjoying my note 10+ so far, but I'm having an issue when trying to send live messages. The messages come out very compressed and after doing some research, it was advised to send them as mp4s instead of gifs. So I tried that, but it was even worse.
So I said forget it and that I would just send gifs like I did on my lg v30. But the same issue persists, even with tiny gifs. The gifs are severely compressed and washed out. I tried using the stock messenger, signal and textra, but they all seem to be exhibiting the same issue. Whereas on my v30, textra never gave me any issues and I could send very large gifs even with no problem.
My phone is an n975u1 us model that I purchased and imported into Canada, running xaa firmware and not xac. My apn settings are all fine, I can send and receive calls, etc. Does anyone know what's going on or have the same issue?
Here is a screenshot of the issue:
https://ibb.co/qd6zhgB
crushdancexz said:
Hey guys,
So I'm enjoying my note 10+ so far, but I'm having an issue when trying to send live messages. The messages come out very compressed and after doing some research, it was advised to send them as mp4s instead of gifs. So I tried that, but it was even worse.
So I said forget it and that I would just send gifs like I did on my lg v30. But the same issue persists, even with tiny gifs. The gifs are severely compressed and washed out. I tried using the stock messenger, signal and textra, but they all seem to be exhibiting the same issue. Whereas on my v30, textra never gave me any issues and I could send very large gifs even with no problem.
My phone is an n975u1 us model that I purchased and imported into Canada, running xaa firmware and not xac. My apn settings are all fine, I can send and receive calls, etc. Does anyone know what's going on or have the same issue?
Here is a screenshot of the issue:
https://ibb.co/qd6zhgB
Click to expand...
Click to collapse
There are limits to how big of a file you can send via MMS (or via RCS)... If the messaging application is compressing the image then the size of the file you tried to send exceeds the limit. With larger sized images/files the compression will probably be more aggressive (and more noticeable).
On my phone looks like the limit is 105mb file size for RCS messaging
I know that there are file limits. But I've never had an issue with this using the lg v30.
crushdancexz said:
I know that there are file limits. But I've never had an issue with this using the lg v30.
Click to expand...
Click to collapse
I can't tell you why brand X works and brand Y doesn't. Also in the same token it's not really conducive to finding out why your having (solving and/or identifying the cause of) image quality issues on a Note 10+ using a Note 10+ to send a mms image.
Try this to see if the file size limit is being enforced:
Reduce your image size to less then 105 megabytes and try again. Save the file and compare file size (refer to note 1 below)
Create an image file a little larger then 105 megabytes.. If the image appears normally then save it and compare file sizes (refer to note 2 below)
Create an image file like what you had before and send it. Save the file and view the file size (refer to note 3)
~Notes~
Compare the file size of what you received (with that of what you had sent) to see if it is the same size.
You are trying to see if anything a little over 105mb gets reduced in both quality and file size. Compare what you sent with what you received. If the file size of what you received is smaller then what you sent, then file size limits are being enforced
Again like above you are trying to see if the file size is reduced to 105mb or less. If the file size of what you received is smaller then what you sent file size limits are being enforced.
If file size limits are being enforced I am not aware of any method or way to remove or disable said limit set by the carrier. If you have a larger image you wish to send then you may want to consider alternative file transfer methods (Facebook messenger, email, etc)
scottusa2008 said:
I can't tell you why brand X works and brand Y doesn't. Also in the same token it's not really conducive to finding out why your having (solving and/or identifying the cause of) image quality issues on a Note 10+ using a Note 10+ to send a mms image.
Try this to see if the file size limit is being enforced:
Reduce your image size to less then 105 megabytes and try again. Save the file and compare file size (refer to note 1 below)
Create an image file a little larger then 105 megabytes.. If the image appears normally then save it and compare file sizes (refer to note 2 below)
Create an image file like what you had before and send it. Save the file and view the file size (refer to note 3)
~Notes~
Compare the file size of what you received (with that of what you had sent) to see if it is the same size.
You are trying to see if anything a little over 105mb gets reduced in both quality and file size. Compare what you sent with what you received. If the file size of what you received is smaller then what you sent, then file size limits are being enforced
Again like above you are trying to see if the file size is reduced to 105mb or less. If the file size of what you received is smaller then what you sent file size limits are being enforced.
If file size limits are being enforced I am not aware of any method or way to remove or disable said limit set by the carrier. If you have a larger image you wish to send then you may want to consider alternative file transfer methods (Facebook messenger, email, etc)
Click to expand...
Click to collapse
I sent a static jpeg and it went from 881Kb to 351Kb on the Note. On the V30 it was still 881Kb.
I really don't think this has anything to do with my network because the v30 on the same network does not do this. With *any* text program.
crushdancexz said:
I sent a static jpeg and it went from 881Kb to 351Kb on the Note. On the V30 it was still 881Kb.
I really don't think this has anything to do with my network because the v30 on the same network does not do this. With *any* text program.
Click to expand...
Click to collapse
What your LG can or can not do is not conducive nor helpful for what the Note 10+ is or isn't doing (and why). For example here's why it doesn't help...
What if a toggle exists on the LG phone that doesn't exist on the Note 10+? - You can't root the Note 10+ variant you have so you can't make a toggle appear without either the carrier enabling it (or an app that has it added).
What if the LG phone was provisioned differently then the Note 10+? - You can't make changes to the Note 10+ variant your using within regards to carrier provisioning...
What if an LG app allows larger files? - That's not gonna be of any help with a Samsung Note 10+
I did some research today on the subject and what I found across different providers support forums as well as Samsung support forums is that the issue is related to MMS limitations on image size. Yes some people mentioned that there "LG phone could do it" but it isn't exactly as simple as that. In some cases (whether phone, stock applications or within 3rd party apps) a setting exists which allows one to choose the quality of the image being sent. In your stock apps or 3rd party apps your gonna want to see if you can find this setting. If you can't find the setting then this means it isn't something you can change, and if this is the case then nothing can be done.
In my Note 10+ case I don't see this on Google Messages app nor my stock messaging app, so when I send a MMS of 240kb in size (or a test image that was over 2mb in size) it gets compressed. Again this isn't a phone issue, it is something that is set and controlled by my carrier... Which in your case I imagine your being effected by the same limitations.
Thank you for looking deeper into it. I read the same thing on the Samsung boards and across reddit as well during my research. It's just very frustrating because I really enjoy mms and sharing content with my friends. I was going to sell the v30 and keep the note, but now I'm not sure what to do. Even the edge lighting for the phone is broken and there's no real solution for that either based on my research. Yes they're different phones, but using the range app didn't even resolve the issue, on the same carrier. So what's the difference if not the phones? It just seems like Samsung likes saying this and that, but the features are half baked. I'd even trade gifs for live messages, but that's even more broken. Thanks again though for trying to help. You're a pretty cool person.
Hey, Crush. Just curious - what app were you using on the LG? If the same one on Samsung, was it the same version? If not, you could try exporting the APK from the LG and installing it on the Samsung.

Google Messaging quality / mms_config.xml

After doing hours of searching and reading I found I'm not the only person that faces this issue, but many have solved this issue by editing the mms_config.xml inside res/xml/.
I've changed the "maxMessageSize" and also "maxImageHeight" and "maxImageWidth" to a variety of different numbers (up from stock 640x480), and it HAS made some difference, however neither max image size nor image resolution is being reached and my resulting MMS is still somewhat blurry. I recall fixing this issue fully for my S4 back in the day with 0 resulting blur but I must be missing something else in the apk here.
I'm thinking the uaProf and UserAgent strings may have something to do with it, but any strings I've managed to find via google make no difference at all to the size/quality of the outgoing MMS.
Looking for a native solution and not "use handscent/gosms instead" alternatives, seen these suggestions as "fixes" in almost every thread related to this.
If anyone is aware of anything else I can test or a different xml file in the apk that can be tweaked would appreciate it.
Carriers max MMS is 1.2MB but even 300-400kb images are being compressed to 70kb but like I said it has made a difference, just that the numbers I'm entering aren't being respected fully
Thanks
Meanwhile a friend of mine on the same carrier can send me a crystal clear image in almost 2k resolution from an iphone. Just standard MMS nothing 3rd party, if they can do it why should Google's official Android messaging app be so terrible to such an extreme degree. 640x480 found in the stock mms_config.xml is almost unbelievable when the network is capable of transmitting over 3x that resolution

Categories

Resources