recommended format for uploading images AstroBin Platform open discussions community forum · judy · ... · 11 · 260 · 3

svetcaolsantana1 0.00
...
· 
·  Share link
Hello
I was wondering what is the best format to upload images in AstroBin.  I've noted my images has some type of artifact around the stars that only seem to appear after uploading into AstroBin. ( most recent upload of Sadr it's very obvious) I hadn't noticed the artifacts while processing in PixInsight nor Affinity photo.   Any recommendations  most appreciated.
Like
siovene
...
· 
·  2 likes
·  Share link
Hi Judy,

In the following two screenshots of your Sard, one from the file you uploaded and that AstroBin didn't touch (I can access it as an admin) and the other is the version displayed by AstroBin when looking at your image in full resolution.

Personally, I cannot see a difference. Both images are around 19 MB in size.

Screen Shot 2024-09-02 at 10.30.41.jpgScreen Shot 2024-09-02 at 10.30.50.jpg

If you refer to smaller version of your image, such as the one displayed on top of your technical card, AstroBin of course resizes that for deliverability reasons. But you wouldn't expect AstroBin to serve a full resolution image with a huge file size only to display it in a small space, which would be wasteful.

To answer your question, I recommend exporting as JPEG at 95% quality. In the JPEG standard, anything above 95% is pretty much useless because it simply turns off parts of the the compression algorithm, which leads to a larger file without any appreciable visual improvement (source).

When saving your image again (even at full size AstroBin does so, for instance to apply a watermark and to make sure the image does not exceed the maximum horizontal size of 16536 pixels) AstroBin uses a JPEG directive called "keep". This saves the image with the same quality as the original. I'm not sure how the JPEG internals work, but it's probably based on a statistical analysis of your image.

PNG is a valid alternative but AstroBin cannot compress PNG optimally at this time, so to avoid quality degradation this will usually lead to a file that's larger than really necessary.

TIFF cannot be displayed in browsers at all, so AstroBin must convert it to JPEG anyway, and you are better off converting it yourself to stay in control of the result.

Hope this helps!
If you have further questions, please let me know!

Salvatore
Owner, AstroBin
Like
andreatax 9.89
...
· 
·  Share link
Unless you don't retain your original files (and/or don't have a premium subscription) there is no point uploading anything other than high quality jpeg (at 95% quality) as internally AB just converts everything in jpeg format anyway. If you upload anything other than jpeg choose download original file to retrieve your previously uploaded file.
Like
siovene
...
· 
·  1 like
·  Share link
andrea tasselli:
as internally AB just converts everything in jpeg format anyway

These days AstroBin keeps PNGs as PNGs also for thumbnails. This changed a year or two ago!
Like
RickInTheCold 0.00
...
· 
·  Share link
Hi Judy - I had similar issues uploading jpegs to astrobin - my dark backgrounds ended up with ugly artifacts - don't know what the issue was (thought maybe astrobin de-compressed the jpeg then re-compressed it, causing the artifacts). So I upload as png's and the problem disappears.
CS
Edited ...
Like
svetcaolsantana1 0.00
Topic starter
...
· 
·  Share link
Thank you all for your advise.     That's surprising it did not show up when you examined the image.  I'll try saving images at 95% vs 100% quality, and save at PNG as well.  Here's a copy of a section of the image enlarged.  I'm Not sure how to even label these artifacts.   Thanks
image.png
Like
siovene
...
· 
·  1 like
·  Share link
Hi Judy,

it looks like you're viewing your image in the revision slideshow, which does not support full resolution display. This is being improved in the new image experience that's currently rolling out on the search page, and will later reach all images and galleries.

To view a revision in full resolution, click on the "link" icon on the top-left when you're viewing a revision in the slideshow viewer. That way you will access the revision's page proper, and you can click it to view it in full size.

Sorry if this is a bit confusing! There's a reason I'm cleaning up this part of the UI smile
Like
svetcaolsantana1 0.00
Topic starter
...
· 
·  1 like
·  Share link
SUPER!!!
Thank you so much for the quick response, and information!!  I kept uploading with different quality levels and formats, and was getting nowhere fast.
Like
JanvalFoto 4.51
...
· 
·  Share link
Salvatore Iovene:
To answer your question, I recommend exporting as JPEG at 95% quality. In the JPEG standard, anything above 95% is pretty much useless because it simply turns off parts of the the compression algorithm, which leads to a larger file without any appreciable visual improvement (source).


I've been uploading full size PNG files lately, for no other particular reason than that's what I store for myself locally and that saved me from creating more files. As I'm going through my images and thinking about fixing this I had one question. You and Andrea mention 95% quality jpeg, which reminds me of the legacy PS export tool. Would the new "Export as" function or even PI's own "Write JPEG" be sufficient for this? The "Export as" doesn't give you a choice in percentage, but it will give you a quality slider from 1-7, "write to jpeg" in PI doesn't give you any options at all. 

Just trying to minimize the amount of work I need to do when making my final exports.
Like
siovene
...
· 
·  Share link
Hi Jan,

unfortunately I don't know what PS and PI do internally, and how their optimization values translate to the JPEG standard, or even if their implementation of said standard adheres to the specifications.

You might just need to do a trial and error process.

Additionally, keep in mind that different images lend themselves differently to compression. Astrophotographs are particularly susceptible to bad compressions, as we all know.

Sorry that I cannot give you an authoritative answer on this.
Like
andreatax 9.89
...
· 
·  2 likes
·  Share link
Jan Erik Vallestad:
I've been uploading full size PNG files lately, for no other particular reason than that's what I store for myself locally and that saved me from creating more files. As I'm going through my images and thinking about fixing this I had one question. You and Andrea mention 95% quality jpeg, which reminds me of the legacy PS export tool. Would the new "Export as" function or even PI's own "Write JPEG" be sufficient for this? The "Export as" doesn't give you a choice in percentage, but it will give you a quality slider from 1-7, "write to jpeg" in PI doesn't give you any options at all.


PI's Export As Jpeg does allow you to set the output quality and few other things besides. In my tests I can hardly see any difference between that and PNG, if at all.
Like
JanvalFoto 4.51
...
· 
·  Share link
andrea tasselli:
Jan Erik Vallestad:
I've been uploading full size PNG files lately, for no other particular reason than that's what I store for myself locally and that saved me from creating more files. As I'm going through my images and thinking about fixing this I had one question. You and Andrea mention 95% quality jpeg, which reminds me of the legacy PS export tool. Would the new "Export as" function or even PI's own "Write JPEG" be sufficient for this? The "Export as" doesn't give you a choice in percentage, but it will give you a quality slider from 1-7, "write to jpeg" in PI doesn't give you any options at all.


PI's Export As Jpeg does allow you to set the output quality and few other things besides. In my tests I can hardly see any difference between that and PNG, if at all.

Right, got it. As long as I choose jpeg from "ctrl+shift+s" I am able to do the same, I was using the write to jpeg script for some reason, which did not let me do anything but choose the folder.
Like
 
Register or login to create to post a reply.