Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » .pcx images [FEATURE REQUEST]
.pcx images [FEATURE REQUEST] [message #15154] Thu, 03 April 2008 23:41 Go to next message
emr84 is currently offline  emr84
Messages: 26
Registered: April 2008
Location: Argentina
Promising Member
Hi,

Can add support for pcx image files?
Re: .pcx images [FEATURE REQUEST] [message #15155 is a reply to message #15154] Fri, 04 April 2008 09:57 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
emr84 wrote on Fri, 04 April 2008 00:41

Hi,

Can add support for pcx image files?

Well, you could help a lot in this matter by finding an open-source BSD licensed or compatible PCX library. It should be lightweight (no additional dependencies), feature-complete and bug-free.

PCX is a pretty dead format, so effort to write a new lib for it is not justified IMO, but using an already present lib to allow Image to handle the format would be easy.
Re: .pcx images [FEATURE REQUEST] [message #15156 is a reply to message #15155] Sat, 05 April 2008 03:57 Go to previous messageGo to next message
emr84 is currently offline  emr84
Messages: 26
Registered: April 2008
Location: Argentina
Promising Member
I deal perfectly. I know that it is a format in disuse, but some programs continue using it (I want to construct a frontend for one of them).

I will try to find some library.
For the moment, I only have the specification of the file format (and the method of compression): http://www.qzx.com/pc-gpe/pcx.txt

Thank you for answering rapidly.

[Updated on: Sat, 05 April 2008 04:47]

Report message to a moderator

Re: .pcx images [FEATURE REQUEST] [message #15157 is a reply to message #15155] Sat, 05 April 2008 16:51 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Fri, 04 April 2008 03:57

emr84 wrote on Fri, 04 April 2008 00:41

Hi,

Can add support for pcx image files?

Well, you could help a lot in this matter by finding an open-source BSD licensed or compatible PCX library. It should be lightweight (no additional dependencies), feature-complete and bug-free.

PCX is a pretty dead format, so effort to write a new lib for it is not justified IMO, but using an already present lib to allow Image to handle the format would be easy.


Actually, I had to deal with PCX around 1992, I hope I have that code somewhere in archive (together with .img format Smile

I am now out however, please remind me in 2 weeks.

Mirek
Re: .pcx images [FEATURE REQUEST] [message #15448 is a reply to message #15157] Thu, 24 April 2008 00:52 Go to previous messageGo to next message
emr84 is currently offline  emr84
Messages: 26
Registered: April 2008
Location: Argentina
Promising Member
luzr wrote on Sat, 05 April 2008 11:51:
Quote:


Actually, I had to deal with PCX around 1992, I hope I have that code somewhere in archive (together with .img format Smile

I am now out however, please remind me in 2 weeks.


Reminded. (Is this way the correct one?)

[Updated on: Thu, 24 April 2008 00:53]

Report message to a moderator

Re: .pcx images [FEATURE REQUEST] [message #15464 is a reply to message #15448] Fri, 25 April 2008 10:53 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
OK, after googling a bit, I have found that there exists

"PCX library by Ian Ashdown"

but I am not quite able to find sources....

Maybe you can help? And then, you or somebody can adapt it as U++ plugin package Smile

Mirek
Re: .pcx images [FEATURE REQUEST] [message #15471 is a reply to message #15464] Fri, 25 April 2008 16:33 Go to previous messageGo to next message
mezise is currently offline  mezise
Messages: 54
Registered: April 2006
Member
I have found these separate files of Ian Ashdown's PCX library (Version 1.00B):
http://ptonthat.club.fr/doc-dev/FORMATS/IMG/PCX._PC/index.ph p
Re: .pcx images [FEATURE REQUEST] [message #15613 is a reply to message #15464] Wed, 30 April 2008 21:45 Go to previous messageGo to next message
emr84 is currently offline  emr84
Messages: 26
Registered: April 2008
Location: Argentina
Promising Member
luzr wrote on Fri, 25 April 2008 05:53


... And then, you or somebody can adapt it as U++ plugin package Smile

Mirek


Though I would like to be able to help, I am begun to learn on Upp. I have read a bit the code of the implementation of other formats in Upp but it is too much complicated for me.
I wait that someone with more knowledge (and with desire of doing it Smile ) could do.

My excuses for not being able to contribute anything.
Re: .pcx images [FEATURE REQUEST] [message #15784 is a reply to message #15613] Wed, 07 May 2008 22:30 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, plugin/pcx added to U++...

I am not sure whether it will work with all possible .pcx files; please try.

Also, only .pcx loading (means PCXRaster) is implemented.

Simply put what is posted here into uppsrc/plugin. Then e.g. add plugin/pcx to examples/ImageView -> it should start displaying .pcx files. If you meet any file .pcx that does not display, report Smile

Enjoy,

Mirek
  • Attachment: pcx.zip
    (Size: 3.09KB, Downloaded 384 times)
Re: .pcx images [FEATURE REQUEST] [message #15803 is a reply to message #15784] Thu, 08 May 2008 00:33 Go to previous messageGo to next message
emr84 is currently offline  emr84
Messages: 26
Registered: April 2008
Location: Argentina
Promising Member
Thanks!

It works with Upp 2007.1?

[Updated on: Thu, 08 May 2008 00:35]

Report message to a moderator

Re: .pcx images [FEATURE REQUEST] [message #15805 is a reply to message #15803] Thu, 08 May 2008 01:01 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Actually, it should, but I would recommend going latest beta or even svn anyway...

Mirek
Re: .pcx images [FEATURE REQUEST] [message #15831 is a reply to message #15805] Fri, 09 May 2008 17:10 Go to previous messageGo to next message
emr84 is currently offline  emr84
Messages: 26
Registered: April 2008
Location: Argentina
Promising Member
I have tested it with some images (1, 8 and 24 BitsPerPixel) and seems to work correctly.
Tested on Upp 2007.1 (with MinGW) and Upp 2008.1 beta 2 (MinGW version).
Re: .pcx images [FEATURE REQUEST] [message #15843 is a reply to message #15831] Sun, 11 May 2008 18:07 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
emr84 wrote on Fri, 09 May 2008 11:10

I have tested it with some images (1, 8 and 24 BitsPerPixel) and seems to work correctly.
Tested on Upp 2007.1 (with MinGW) and Upp 2008.1 beta 2 (MinGW version).


Nice, another small issue resolved Smile
Previous Topic: Bug: ImageBuffer::alpha not initialised on X11
Next Topic: Problem building U++ Lib VC2008 - iml_source.h
Goto Forum:
  


Current Time: Fri Mar 29 06:39:33 CET 2024

Total time taken to generate the page: 0.01448 seconds