Post Reply 

Images won't export as indexed

May 24, 2014, 05:32
Post: #1
Images won't export as indexed
I am trying to save some images as indexed, but I need to convert them to RGB to edit them. When I am done editing them, I convert them back to indexed and overwrite the original file. However, when I open the file up again, it is RGB. What am I doing wrong, and how can I get the files to actually save as indexed?

Thanks!
Find all posts by this user
Quote this message in a reply
May 24, 2014, 06:53
Post: #2
RE: Images won't export as indexed
The only things I can think of:

Exporting the image to jpeg. Save as xcf or export to png, tif or gif should retain indexed mode.

but then you are overwriting the original. What format are the original indexed files? Can you post one for checking?

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
May 26, 2014, 06:20
Post: #3
RE: Images won't export as indexed
These are game sprites, and have to be saved as indexed .bmps. I open the image, convert to RGB, and then when I am done, I convert back to indexed and overwrite the original bmp. I have done this in the past and it has always worked for me, but for some reason they seem to not be saving as indexed anymore. Maybe something about the newer version of Gimp I am using? I also always used to use the normal save option, but now I need to export, so I think this may have something to do with it.
Find all posts by this user
Quote this message in a reply
May 26, 2014, 06:36
Post: #4
RE: Images won't export as indexed
(May 26, 2014 06:20)maximum411 Wrote:  These are game sprites, and have to be saved as indexed .bmps. I open the image, convert to RGB, and then when I am done, I convert back to indexed and overwrite the original bmp. I have done this in the past and it has always worked for me, but for some reason they seem to not be saving as indexed anymore. Maybe something about the newer version of Gimp I am using? I also always used to use the normal save option, but now I need to export, so I think this may have something to do with it.
Hi maximum411
What options are you choosing in the Export dialog?
Find all posts by this user
Quote this message in a reply
May 26, 2014, 09:29
Post: #5
RE: Images won't export as indexed
Tried all ways but can not reproduce an indexed bmp opening as RGB.
I do have a a Gimp 2.6 in a WinXP VM and I have been making test files with that as well. Running through ImageMagick for properties does not show up anything.

Once in indexed mode the bmp will be 8 bit so there are none of the usual options.
The only difference between the Gimp 2.6 dialog and and Gimp 2.8 dialog is the "do not write color space information"

[Image: Uteadk8.jpg]

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
May 26, 2014, 11:48
Post: #6
RE: Images won't export as indexed
Both those open here as indexed

PClinuxOS 32 bit KDE & Gimp 2.8.10

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
May 29, 2014, 04:10 (This post was last modified: May 29, 2014 04:11 by maximum411.)
Post: #7
RE: Images won't export as indexed
Thanks for your help guys! I was running 2.8.0 so I upgraded to 2.8.1 and that did fix the problem. I was thinking it was an issue with exporting, but I guess not! Although I guess, as you said, the file header is changed a little bit when you export.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  What in the heck is going on with my images? Braeden 1 294 Sep 4, 2018 19:22
Last Post: paynekj
  Gimp opening files as indexed Nurufire 1 280 Aug 23, 2018 21:35
Last Post: paynekj
  Transparent Layer Changing To Black instead of White after Export JustAmanda123 2 3,375 Jul 28, 2018 17:06
Last Post: abajan
  PDF export problem Buntu Bunny 5 7,695 May 18, 2018 20:56
Last Post: paynekj
  GIMP 2.8.18 on MacOS Sierra freezes on export yroeht 2 238 May 17, 2018 20:24
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS