It is currently Sat Jul 06, 2024 1:22 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How to access Image-Color Management - Discard profile with python_fu?
PostPosted: Wed Jul 03, 2024 2:47 am  (#1) 
Offline
New Member

Joined: Jul 19, 2016
Posts: 4
Bonjour all!
For publishing a jpg on the web and to avoid banding and artefacts, I found out to discard the color profile before saving to jpg.

How do I instruct python_fu to access that menu? Or is there a workaround in python to set a color profile?

TIA

_________________
GIMP 2.10.38 / Ubuntu 22.04.4 LTS


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: How to access Image-Color Management - Discard profile with python
PostPosted: Wed Jul 03, 2024 7:46 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
nbeaudet wrote:
Bonjour all!
For publishing a jpg on the web and to avoid banding and artefacts, I found out to discard the color profile before saving to jpg.

How do I instruct python_fu to access that menu? Or is there a workaround in python to set a color profile?

TIA


No way I know of. But you should probably convert the images to sRGB before processing them.

_________________
Image


Top
 Post subject: Re: How to access Image-Color Management - Discard profile with python
PostPosted: Wed Jul 03, 2024 8:11 am  (#3) 
Offline
New Member

Joined: Jul 19, 2016
Posts: 4
Hello again!

I am attempting to describe my steps in this reply. All I get is Your post looks too spamy for a new user, please remove off-site URLs

How do I go around this warning?

TIA

_________________
GIMP 2.10.38 / Ubuntu 22.04.4 LTS


Top
 Post subject: Re: How to access Image-Color Management - Discard profile with python
PostPosted: Wed Jul 03, 2024 10:05 am  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
You can upload images to this very site. If you can't because you are a new user, then you can go to another forum where new users can post images, and where essentially the same people answer the questions.

_________________
Image


Top
 Post subject: Re: How to access Image-Color Management - Discard profile with python
PostPosted: Fri Jul 05, 2024 1:53 am  (#5) 
Offline
New Member

Joined: Jul 19, 2016
Posts: 4
Hello all!

Problem of artefact and banding in saved JPG : SOLVED!

Setting 'Edit>Preferences>Image Import & Export' and unchecking 'Export the image's color profile by default'

:tyspin

_________________
GIMP 2.10.38 / Ubuntu 22.04.4 LTS


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Access built-in Kaleidoscope with Python

7

No new posts Assign ICC Color Profile from procedure

1

No new posts Attachment(s) use of a color curves preset in a python filter

42

No new posts Attachment(s) WHERE IS THE 'DISCARD TEXT INFO' IN THE NEWEST GIMP? I CANNOT FIND IT

10

No new posts Get a mouse click or select a pixel in an image in a python plugin?

3



* Login  



Powered by phpBB3 © phpBB Group