RSS/Atom feed Twitter
Site is read-only, email is disabled

pcx export

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

14 of 14 messages available
Toggle history

Please log in to manage your subscriptions.

pcx export Jenny_222 31 Oct 11:50
  pcx export Simon Budig 31 Oct 11:58
   pcx export Jenny_222 31 Oct 12:37
    pcx export Jenny_222 01 Nov 10:52
     pcx export Alexandre Prokoudine 01 Nov 11:09
     pcx export Simon Budig 01 Nov 11:12
      pcx export Michael Natterer 01 Nov 12:53
       pcx export Jenny_222 01 Nov 17:26
      pcx export Jenny_222 01 Nov 16:58
       pcx export Alexandre Prokoudine 01 Nov 17:03
        pcx export Jenny_222 01 Nov 19:45
        pcx export Jenny_222 03 Nov 10:30
         pcx export Jenny_222 13 Dec 12:18
          pcx export Alexandre Prokoudine 13 Dec 12:41
2013-10-31 11:50:54 UTC (about 11 years ago)
postings
8

pcx export

My grafic has 600ppi grayscale.
I want to export a pcx-file with 600ppi, but exportet pcx-file has only 300ppi. What can I do?
Jenny

Simon Budig
2013-10-31 11:58:32 UTC (about 11 years ago)

pcx export

Jenny_222 (forums@gimpusers.com) wrote:

My grafic has 600ppi grayscale.
I want to export a pcx-file with 600ppi, but exportet pcx-file has only 300ppi. What can I do?

You can fix it in the PCX plugin, where the value of 300 dpi is hardcoded. Basically the plugin needs to retrieve the relevant information from the gimp and put it into the file.

The relevant code is in plug-ins/common/file-pcx.c.

I hope this helps, Simon

simon@budig.de              http://simon.budig.de/
2013-10-31 12:37:54 UTC (about 11 years ago)
postings
8

pcx export

Thanks Simon, but how can I integrate this plugin? **********************************************************

Jenny_222 (forums@gimpusers.com) wrote: You can fix it in the PCX plugin, where the value of 300 dpi is hardcoded. Basically the plugin needs to retrieve the relevant information from the gimp and put it into the file.

The relevant code is in plug-ins/common/file-pcx.c.

I hope this helps, Simon

2013-11-01 10:52:52 UTC (about 11 years ago)
postings
8

pcx export

Thanks Simon, but how can I integrate this plugin? **********************************************************

Or does anyone other know how to install this plugin?

Alexandre Prokoudine
2013-11-01 11:09:13 UTC (about 11 years ago)

pcx export

On Fri, Nov 1, 2013 at 2:52 PM, Jenny_222 wrote:

Thanks Simon, but how can I integrate this plugin? **********************************************************

Or does anyone other know how to install this plugin?

You already have it.

Simon suggested to tweak the source code. This isn't a trivial task though.

Alexandre

Simon Budig
2013-11-01 11:12:41 UTC (about 11 years ago)

pcx export

Jenny_222 (forums@gimpusers.com) wrote:

Thanks Simon, but how can I integrate this plugin?

Or does anyone other know how to install this plugin?

You misunderstood me. This is the plugin you are already using. It needs to be changed to work the way you need it. For this you need to edit the source code and recompile the plugin.

If you have no programming experience then it will be a rough ride though. Right now this bug has no real priority for us gimp developers, but it is a fairly easy task if some wants to start with gimp development. If someone is interested you'll probably get help in the #gimp irc channel on gimpnet or on the gimp-development mailing list.

I hope this helps, Simon

simon@budig.de              http://simon.budig.de/
Michael Natterer
2013-11-01 12:53:35 UTC (about 11 years ago)

pcx export

On Fri, 2013-11-01 at 12:12 +0100, Simon Budig wrote:

Jenny_222 (forums@gimpusers.com) wrote:

Thanks Simon, but how can I integrate this plugin?

Or does anyone other know how to install this plugin?

You misunderstood me. This is the plugin you are already using. It needs to be changed to work the way you need it. For this you need to edit the source code and recompile the plugin.

If you have no programming experience then it will be a rough ride though. Right now this bug has no real priority for us gimp developers, but it is a fairly easy task if some wants to start with gimp development. If someone is interested you'll probably get help in the #gimp irc channel on gimpnet or on the gimp-development mailing list.

It was a 5 minute fix, the entire resolution handling was already there, just not connected to the image:

commit 3508079dcf3dfbfc337f838f9771681d661f009e Author: Michael Natterer
Date: Fri Nov 1 13:51:31 2013 +0100

plug-ins: add loading and saving of the image's resolution in file-pcx

plug-ins/common/file-pcx.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-)

2013-11-01 16:58:06 UTC (about 11 years ago)
postings
8

pcx export

Jenny_222 (forums@gimpusers.com) wrote: You misunderstood me. This is the plugin you are already using. It needs
to be changed to work the way you need it. For this you need to edit the source code and recompile the plugin.

If you have no programming experience then it will be a rough ride though. Right now this bug has no real priority for us gimp developers,
but it is a fairly easy task if some wants to start with gimp development. If someone is interested you'll probably get help in the #gimp irc channel on gimpnet or on the gimp-development mailing list.

I hope this helps, Simon

***************

In LINUX i know how to recompile this plugin, but my company uses Windows 7. I have no change to recompile a plugin there. Sorry therefore I see no way to fix gimp and we must will have to use photoshop once more...

Alexandre Prokoudine
2013-11-01 17:03:32 UTC (about 11 years ago)

pcx export

On Fri, Nov 1, 2013 at 8:58 PM, Jenny_222 wrote:

Jenny_222 (forums@gimpusers.com) wrote: You misunderstood me. This is the plugin you are already using. It needs
to be changed to work the way you need it. For this you need to edit the source code and recompile the plugin.

If you have no programming experience then it will be a rough ride though. Right now this bug has no real priority for us gimp developers,
but it is a fairly easy task if some wants to start with gimp development. If someone is interested you'll probably get help in the #gimp irc channel on gimpnet or on the gimp-development mailing list.

I hope this helps, Simon

***************

In LINUX i know how to recompile this plugin, but my company uses Windows 7. I have no change to recompile a plugin there. Sorry therefore I see no way to fix gimp and we must will have to use photoshop once more...

Wait a second :) May I interest you in nightly stable builds for Windows? :)

http://nightly.darkrefraction.com/gimp/stable/

Alexandre

2013-11-01 17:26:44 UTC (about 11 years ago)
postings
8

pcx export

It was a 5 minute fix, the entire resolution handling was already there, just not connected to the image:

commit 3508079dcf3dfbfc337f838f9771681d661f009e Author: Michael Natterer
Date: Fri Nov 1 13:51:31 2013 +0100

plug-ins: add loading and saving of the image's resolution in file-pcx

plug-ins/common/file-pcx.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-)

****************************
**************
Thank you Michael, I see your changes:

- pcx_header.hdpi = GUINT16_TO_LE (300); - pcx_header.vdpi = GUINT16_TO_LE (300); + gimp_image_get_resolution (image, &resolution_x, &resolution_y); +
+ pcx_header.hdpi = GUINT16_TO_LE (RINT (MAX (resolution_x, 1.0))); + pcx_header.vdpi = GUINT16_TO_LE (RINT (MAX (resolution_y, 1.0)));

2013-11-01 19:45:31 UTC (about 11 years ago)
postings
8

pcx export

Wait a second :) May I interest you in nightly stable builds for Windows? :)

http://nightly.darkrefraction.com/gimp/stable/

Alexandre

**************************************** Hi Alexandre,
i don't want use gimp-stable-i686-2013-11-01.exe (V2.8.7) because avast (antivirus) blocks it (gimp*.exe is susp.)!

I wait for official download.

I have test this version in a virtual sandbox, but now pcx saving of a 600ppi makes only 300ppi.

2013-11-03 10:30:46 UTC (about 11 years ago)
postings
8

pcx export

Wait a second :) May I interest you in nightly stable builds for Windows? :)

http://nightly.darkrefraction.com/gimp/stable/

Alexandre

*****************************************

sandbox test of gimp-stable-i686-2013-11-03.exe shows same problems.

pcx-save has only 300dpi :(

2013-12-13 12:18:48 UTC (almost 11 years ago)
postings
8

pcx export

some days weregone

same problem with pcx-export a picture with 600dpi has only 300dpi after export

Alexandre Prokoudine
2013-12-13 12:41:03 UTC (almost 11 years ago)

pcx export

On Fri, Dec 13, 2013 at 4:18 PM, Jenny_222 wrote:

some days weregone

same problem with pcx-export a picture with 600dpi has only 300dpi after export

We fixed that in the unstable branch in early November. Not sure if that could be easily fixed in the stable branch as well, though.

Alexandre