It is currently Fri Apr 26, 2024 8:00 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: 300ppi automatically changes to 72ppi when exported
PostPosted: Mon Feb 10, 2020 5:07 am  (#1) 
Offline
New Member

Joined: Feb 10, 2020
Posts: 1
GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: Intermediate Level



I just updated to the 2.10.14 version. I opened an .xcf file I had saved from a few weeks ago, set at 300ppi. I exported it as a .jpg file. But when I opened the jpg, the resolution had automatically changed to 72ppi. I tested it out a few times trying different things to see if I could get it to stay at 300. But nothing worked. On the previous version, once I exported, the resolution remained the same as it was set in the .xcf. I have been looking up the issue and I found a forum with a few different users experiencing the same problem. The posts had been marked as "Solved." I went to see the solution and what I can do to fix it....but I have NO CLUE what this person is saying. I can't even determine if his answer was saying it was a solution or if I am just out of luck! Is there anyone here that can help decipher what this guy says are the steps I need to fix this problem? I am extremely frustrated right now. I have been working on this for hours, and I was supposed to email a customer his files earlier tonight & I can't figure this out. Here is a copy of what the guy on the other forum said:


commit e7478071e8fdc05f8e292fa37efd38b2b8b18969 (HEAD -> gimp-2-10, origin/gimp-2-10)
Date: Fri Nov 8 13:40:12 2019 +0100

Issue #4194: resolution passes from 300ppi to 72ppi after saving.

We are running gimp_image_set_imported_file() when saving, with NULL to
drop the tie with the imported file. Let's only change the default
resolutions when we actually set an imported file.

Also set the `resolution_set` flag even when it doesn't change the
current values (hence no undo or signals), for instance setting from 300
to 300 PPI. In such case, even though nothing changes, the resolution
has to still be considered as explicitly set.

In the reporter case, any one of these 2 fixes is enough.
See also commit fef9b1d2a3 (set to 72 PPI as default for imported files
only) and commit a8f552da2fb (set imported file to NULL).

(cherry picked from commit 417bf199c82481e85188d72862b70f85113e5fb7)


Attachments:
gimp question.JPG
gimp question.JPG [ 60.34 KiB | Viewed 1874 times ]
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: 300ppi automatically changes to 72ppi when exported
PostPosted: Mon Feb 10, 2020 5:35 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
This says that the problem is solved in the source code. But it will be published in 2.10.16.

As far as I know the problem occurs when you open. In other words, your 300DPI file on disk end up as a 72DPI image in Gimp. But if you change that back to 300DPI (Image>Print size) and export, the exported JPEG is at 300DPI (but you have to use another app if you want to check).

The problem appeared in 2.10.14, so it you go back to 2.10.12 it should not be there.

_________________
Image


Top
 Post subject: Re: 300ppi automatically changes to 72ppi when exported
PostPosted: Sat Oct 29, 2022 7:41 pm  (#3) 
Offline
New Member

Joined: Oct 29, 2022
Posts: 1
i am on a mac and just installed 2.10.32

i try to export at 300 dpi and it comes in at 72. have tried the print size and it is set to the proper size and 300 dpi. does anyone know a way to export to 300 dpi


Top
 Post subject: Re: 300ppi automatically changes to 72ppi when exported
PostPosted: Sun Oct 30, 2022 3:23 am  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
How, do you export? What file type? There used to be a bug like this, but it has been fixed a couple of releases ago.

_________________
Image


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Exported PNG pixelated

10

No new posts Attachment(s) Exported Image Resolution

4

No new posts Attachment(s) automatically crop?

2

No new posts Open images in RGB mode automatically

1

No new posts Automatically subscribe to posts I author

0



* Login  



Powered by phpBB3 © phpBB Group