PNG Uploads From DCS Screenshots Problem

dcs

#1

Image uploads seems ok so far. PM me the info of the file if a problem please.

There is a 6MB image upload limit, so images smaller than that please. We accept jpg, png, gif, ttf, webm, visa, mastercard etc. We can’t rescale bmp, so don’t use that.

EDIT: As per below, seems related to certain types of PNGs. I’ll try an update for that later, but don’t want to bring down the forum during the fly-in so will wait a bit.

EDIT EDIT: It is DCS producing corrupted PNGs when you press ‘screenshot’ in-game, please use the JPGs setting via this:

…or convert them yourself before upload.


3rd DCS Fly-In Screens & AARs thread
#2

Bitcoin.


#3

Test:

Nope doesnt’ work. I am trying to upload a 1920x1080 png that is 1.3MB big. No error message anymore, it just doesn’t work.


#4

Same here just tested it. .png 1920 x 1080, 1.16mb.

I see it upload and then it says saved and nothing appears.


#5

random jpgs work


#6

What did you do to fix it?
Edit ah ok.


#7

Definitely a png problem

1dclbQ9


#8

Investigating PNG thing. It seems to like some and not others. It’s a discerning downscaler apparently.

xmas-frog
PNG test 123.


#9

Updated system to see if that’ll help.

@Andrew116 can you try the same png in this thread again some time please?


#10

I tried it again and it didn’t work, this seems to have something to do with the files from DCS

Because other random pngs seem to work.


#11

I wonder why ED started having the screen shots save in .png…? All along they have been saving as jpgs up until now it would seem.


#12

Testing some other .pngs

Some of my old Forza paint jobs


#13

Thanks for the testing everyone, I just converted all my screens to jpg and changed an option in the autoexec.cfg so I will hopefully get jpg’s for my screens from now on


#14

@Freak and @Andrew116 - Can you do me a favor and upload a .zip file to this topic containing an example of a PNG that didn’t work for you please?

I’ll look at the binary header of the file and figure out where the scaler choked. It’s something new, so pretty sure I can fix it with a good couple of examples I can use - Cheers! :+1:


#15

PNG_problem.zip (1.1 MB)

Sure, thanks!


#16

pngs.zip (2.3 MB)

Here ya go


#17

Thanks Gents.

DCS is generating vaguely corrupted PNG files, in that no header info correctly exists. The worlds most popular linux image manipulation library rejects it, which is what the forum software uses (an Imagemagick derivative). Things like Windows and OSX show it ok, but things choke when converting it.

I’ve reported back to the forum software mothership, plus have some workarounds to try as well.


#18

PNG conversion off test:


#19

We should also communicate that to ED so they just fix DCSW in that regard.


#20

Yep, good idea - done! :slight_smile:

https://forums.eagle.ru/showpost.php?p=3311516&postcount=1

Plus I could ping @bignewy in that usual unprofessional way that has now become my trademark. :wink: