It is currently Tue Jul 02, 2024 7:44 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Image quality and file size hacks
PostPosted: Sat Jul 18, 2020 9:08 pm  (#1) 
Offline
New Member

Joined: Jul 18, 2020
Posts: 4
GIMP Version: 2.8.14
Operating System: Mac OS
GIMP Experience: Basic Level

List any relevant plug-ins or scripts:
I plugged in the computer cable to the wall...?



Hi all,

My goal:

- Load artwork scans to a commercial site.

Restrictions:

- RGB
- A JPEG file
- At least 1200 pixels x 1500 pixels
- Less than 50MB

My current method:

- Open original .tiff as .png in GIMP
- Export as .jpg and adjust resolution until it is under 50MB

Concern:

- Some scans are large files. This means a fairly big reduction in resolution.

Query:

- Are there any methods to maintain adherence to the site´s restrictions, but obtain the maximum quality of image?

Final message:

- Woo hoo! in anticipation of replies.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Image quality and file size hacks
PostPosted: Sun Jul 19, 2020 1:17 am  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Have you tried file compression on the .tiff, before opening with Gimp.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Image quality and file size hacks
PostPosted: Sun Jul 19, 2020 3:13 am  (#3) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2436
50 MB for a jpeg is very generous. There is a big drop-off in file size with jpeg quality between 100 and 85 Vary rarely worth using 100 Below a quality setting of 85 there is a big drop off in quality versus file size.

Image

The subsampling value also has an effect on file size. For example the previous Gimp 2.8 (edit: or was it Gimp 2.6 - memory fails) default jpeg setting was 85 and 4:2:2 against Gimp 2.10 95 and 4:4:4

When you export a jpeg if you enable "Show preview.." You get an estimate of file size This an A4 page size @ 300 ppi suitable for printing.

Image

_________________
Image


Last edited by rich2005 on Sun Jul 19, 2020 4:33 am, edited 1 time in total.

Top
 Post subject: Re: Image quality and file size hacks
PostPosted: Sun Jul 19, 2020 3:29 am  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
Assuming that "resolution" is actually the JPEG compression factor....

The biggest bang for the buck in terms of maximum size reduction with little quality impact is reducing the chroma subsampling (use "Chroma quartered", see the advanced JPEG options.

This said, the 50MB jpeg images in my collection are 100-megapixels monsters at Q99, so with 50MB you can encode fairly big images with good quality. If 50M isn't enough for you, you could be overdoing it. What is the size of the image in pixels, what is the intended purpose, and if this is for print, what is the printed size?

_________________
Image


Top
 Post subject: Re: Image quality and file size hacks
PostPosted: Sun Jul 19, 2020 5:14 am  (#5) 
Offline
New Member

Joined: Jul 18, 2020
Posts: 4
Thanks everyone. I am a bit brain dead at the moment, but will consider the posts tomorrow.

:)


Top
 Post subject: Re: Image quality and file size hacks
PostPosted: Sun Jul 19, 2020 5:32 am  (#6) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2436
Here is a comparison using Gimp 2.8 which you are using ( but linux not Mac ;) ) Larger image 8000x6600 pix prints @300 ppi 68 x 56 cm - just too large for an A2 sheet

Easy to see drop in file size with just a small decease in jpeg quality setting.

Attachment:
example.jpg
example.jpg [ 310.42 KiB | Viewed 4506 times ]

_________________
Image


Top
 Post subject: Re: Image quality and file size hacks
PostPosted: Mon Jul 20, 2020 8:29 pm  (#7) 
Offline
New Member

Joined: Jul 18, 2020
Posts: 4
Hello again,

The recommendations that you folks have provided appear to have worked. :yes

Thanks!

Here is the info so far:

Original:

- .tiff
- 14414 x 14199 pixels
- 614 MB


Exported as:

- .jpg
- 87% resolution
- 4:2:0 subsampling
- 48.5 MB

Does this all seem like the way forward? In reference to:

Desired print size:

- art print
- 61 x 61cm

Yay.


Attachments:
File comment: 87% 4:2:0
Screen Shot 2020-07-21 at 10.54.38.png
Screen Shot 2020-07-21 at 10.54.38.png [ 1.76 MiB | Viewed 4445 times ]
File comment: Original screenshot
Screen Shot 2020-07-21 at 10.54.12.png
Screen Shot 2020-07-21 at 10.54.12.png [ 1.82 MiB | Viewed 4445 times ]
Top
 Post subject: Re: Image quality and file size hacks
PostPosted: Tue Jul 21, 2020 2:18 am  (#8) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2436
With that information 61 cm = 24 in (because ppi (also dpi) is usually stated in pixel-per-inch)

24 inch x 600 ppi = 14,400 pix about the pixel size of the tif.

600 ppi is well over the top for printing. Next time you scan, use 300 ppi maximum. Then it will be easy to get the required jpeg size.

Even that is maximum for an art print which typically is viewed from a distance

see: http://www.northlight-images.co.uk/what ... -distance/

_________________
Image


Top
 Post subject: Re: Image quality and file size hacks
PostPosted: Tue Jul 21, 2020 8:29 am  (#9) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
rich2005 wrote:


Yes, and since the distance increase linearly with image size, and the required definition decreases at the same time, the relative resolution is constant, and this relative resolution is the size in pixels. So the size in pixels is the same, whatever the physical print size. In practice, anything above 12Mpix is overkill.

_________________
Image


Top
 Post subject: Re: Image quality and file size hacks
PostPosted: Sun Jul 26, 2020 9:43 pm  (#10) 
Offline
New Member

Joined: Jul 18, 2020
Posts: 4
All very interesting and anxiety reducing! Thanks so much!

Just to double check; In general the reduction of the subsampling to 4:2:0 will be maintain image quality, more than reduction of the quality of the jpeg?

Eg: 4:2:0 at 97% quality should be predicted to yield better print quality than say 4:4:4 at 85%?


Top
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Reducing layer size without loosing quality?

2

No new posts Attachment(s) Someone Please Help Me Understand Why Is the Gimp Image Size Bigger

4

No new posts Attachment(s) Image to bit map file

7

No new posts Attachment(s) Quality loss while making GIF

17

No new posts Retexture an image with another image as "Image Pattern" Plug-in

4



* Login  



Powered by phpBB3 © phpBB Group