Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've got a rather picky application that not only insists on using the PCX format for images, but also apparently requires uncompressed PCX images.
The problem is that GIMP presents me with no options when saving one of the PCX files I've edited, and seems to save and compress it whether I want it to or not, and the application trying to load it fails, complaining about not being written for compression.
I cannot find any way inside GIMP to stop it compressing it, or any alternative method that does not (also) auto-compress the image. I've even gone and dug out an old copy of Paint Shop Pro 9 on Windows, and had no success there either.
How can I either A: stop Gimp from compressing it, or B: Decompress it?
According to wikipedia and a couple of other sites I looked at, there's no such thing as an uncompressed PCX image. There's only a single RLE compression algorithm that's always in effect.
On the other hand, there are other sites and programs that do make mention of "uncompressed" PCX, so I don't really know what to think. I can only guess that all uses of such are simply wrong, actually refer to some other aspect of the format, or there's some kind of hack out there that goes against the standard definition.
I gave imagemagick's convert a try, but the "+compress" option doesn't seem to have any effect on PCX files.
I find the wikipedia article to be unambiguous--ie: PCX = Compressed
If an application expects a file in a PCX format, then I'm not sure where it would find data saying that the file "was not written for compression". The spec in the wikipedia article does not appear to provide for putting that kind of info into a file.
For the OP:
What is the application you are trying to use? (Perhaps it needs to be replaced with something else.)
Any compressed file will be uncompressed when read into a typical photo editing program (the data is in memory in the native format for the app.) This does not mean that the same app can create an "uncompressed" pcx, jpg, etc.
Well, the reason I'm after sorting this is because I (finally) managed to get one of my older Windows games, Alien Crossfire (The expansion to Alpha Centauri) to work under Wine without crashing immediately.
Using the Faction editor to load a faction with custom PCX images that have been edited in GIMP (Based off one of the original ones) it complains with the 'Not written for compression'.
For reference, on Windows itself, it also happens, and gives the options of abort, retry and ignore. The first two close the program, the latter loads the faction, but loads no images. While this makes it possible to edit it, it doesn't bode well for Alien Crossfire itself being able to load it.
I don't know. I ran an experiment though, the Alien Crossfire itself appears to be able to read the file perfectly, which means the bug is in the faction editor. I can work with that, at least, the editor is just an easy way out, I can edit the text file manually once I figure it out again.