Dragoncho

Maxthon's MaxSnap strange PNG format

6 posts in this topic

Hi, some time ago I noticed that Snap Region captures with MaxSnap (as the snap feature is called) cannot be sent through Viber. There were no problem pasting the image in Skype. I opened a ticket with Viber and they refused to have anything to do with this problem claiming it's not them. Then I tested and saw that with other means (Windows, ShareX) the image can be pasted without problem.

Recently, I noticed that when opening PNG images in Windows 10 Photos app, the image is opened and the slightly blurred (becomes out of focus). Obviously, again, it happens only with PNG images saved from Maxthon. Please see attached images from the Photos app with two snapshots of the same region made with Maxthon and with ShareX. Older apps do not behave in this way with Maxthon's PNG, this so far (per my tests) applies only to Windows 10 Photos.

Please check what is the specific of these PNG files and why they can't be pasted in Viber and why do the appear blurred after opening in Photos.

Thank you!

MaxthonSnap20180810174153.png

Maxthon_2018-08-10_17-42-35.png

Share this post


Link to post
Share on other sites

I don't think it's a Maxthon issue. A quick search seems to indicate that it's the photo's app that might be the issue.

Seems to be related to the image resolution, or possibly a problem within the app itself.

Apparently reinstalling Photos might fix it.

I cropped 2 images in Maxthon to the same resolution as you had and they both showed the same issue (larger was blurry, other not).

Also your images don't show the issue unless you open them locally. This means it's solely a display issue, more than likely Photos is adding some aliasing to the image due to the resolution for some reason. Possibly due to the way it displays it on screen, it want's it to be centred and with an odd resolution it doesn't match the display resolution causing the blurriness.

Attached is your blurry image resized to the size of the sharp image. You will see that it's now sharp as well.

NOT blurry resized.png

Share this post


Link to post
Share on other sites

To leave doubts, use any other image viewer (recommended irfanview, although any other could be worth)

Edited by pantantrollo

Share this post


Link to post
Share on other sites

Hi again,

17 hours ago, 7twenty said:

Seems to be related to the image resolution

If you say this because you look at the size of those images - they are both just random regions captured by two different programs.

17 hours ago, 7twenty said:

your images don't show the issue unless you open them locally

First, how do you expect them to "show" the issue if you don't open the image "locally" using Photos. And, only one of them is expected to show the issues. The problem might be Photos, however, why the problem shows only on PNG images captured with Maxthon and on each such image and not on images captured another way? Also, why do I have problems sending/pasting images in Viber when captured with MaxSnap and I don't have problems with other means. Please test and confirm yourself.

17 hours ago, 7twenty said:

with an odd resolution

Image size (dimensions) in pixels and resolution (in pixels per inch / ppi) are different things. You can have any image with any size. The resolution also doesn't and shouldn't influence the display. Please see the attached image for the snap information - the resolution is the standard 72 ppi. And this resolution depends on Maxthon itself.

Again, there may be a problem with Photos and I may be able to solve it with reinstalling, although I hope you understand that the program is updated with at least each major update of Windows 10.

You suggestion to use another viewer (which may be more advanced and fix any problems in the PNG if there are such) will not solve the problem with the format of the images and the fact is the problem is with this format only and not others. It's possible that Maxthon uses an extended PNG format to be able to add some extra settings to it. If only I have this problem, then it maybe also connected with the video (Intel CPU), monitor, color profile etc. Let's just find out what it is. I will test myself with other computers.

gimp-2.8_2018-08-11_21-55-14.png

Share this post


Link to post
Share on other sites

After doing some tests with some image capturers, then I quote them, I have to admit that the problem seems to be associated with the "photos" program and how the png file should be encoded when it is captured.

I have tried, from the very capture utility of maxthon to capture, like a pair of them of the same style (screenshot.exe and SnapShot.exe, unique capture files, approximately between 700 kb and 955 kb).

I have also used the irfanview, xnview and picpick capturers and only the files of the latter (picpick) seem unaffected by the "blur" that occurs when viewing the images with the program "photos" of Microsoft.

Comment that any previous file looks normal with any utility i have tried (irfanview, xnvies, imagine (plug totalcmd) etc.)

I upload a gif with the same area captured with the different capturers and reproduced in the app "photos", you notice a slight blur just after you change from one image to another, it is slight but it is there.

blur.gif

Share this post


Link to post
Share on other sites
5 hours ago, Dragoncho said:

If you say this because you look at the size of those images - they are both just random regions captured by two different programs.

I'm aware of this. The reason i noted it was due to what was mentioned in some of the search results and after some testing myself.

 

5 hours ago, Dragoncho said:

First, how do you expect them to "show" the issue if you don't open the image "locally" using Photos.

At one point I was thinking they may have been a screenshot of them open in Photos, meaning it should show the issue if it was the way it was drawn on screen. Not sure how I came to that. I did just test that and it's still blurry, so it is the way it's drawn rather than the way it's displayed. What's more odd, is that on my system you can see it looks normal and sharp, then a fraction of second later it blurs. So there's some odd post-processing going on there.

 

5 hours ago, Dragoncho said:

why the problem shows only on PNG images captured with Maxthon and on each such image and not on images captured another way?

It's not on each image. I tested with the two MX captured images below, using the same resolutions that you did and get the same issues only on one - the same as yours did. The only differences between the two are dimensions and ratio.

293-254.png 293x254 (MX captured - sharp in Photos)

384-275.png 384x275 (MX captured - blurry in Photos)

384-275pnet.png 384x275 (print screen saved with paint.NET, blurry in Photos)

The third image is a screen cap of Paint.NET showing the 384-275 image (which shows blurry in Photos), saved with Paint.NET. If you open that in Photos then it also shows blurry. Again, it matches the same dimensions as yours that was blurry.

Based on all of that it's definitely NOT a Maxthon issue.

 

5 hours ago, Dragoncho said:

Also, why do I have problems sending/pasting images in Viber when captured with MaxSnap and I don't have problems with other means

This i'm not sure about. I don't use Viber so can't test, unless there's some other program to test with.

One thing that I did notice when looking at the files, the MX created ones don't seem to include any DPI metadata.

Below is an MX screencap with DPI metadata added (96dpi). Check that and see if that works with Viber.

384-275 96DPI.png 384x275 with dpi data added

Share this post


Link to post
Share on other sites