|
-
Dec 30th, 2010, 12:24 PM
#41
Re: [RESOLVED] Save image loaded in picturebox as PCX...
Regarding post #24 and the pcx that is displayed slightly different. Here is the reason I believe. That pcx is not breaking on each scanline. The RLE is continuing across scanlines and is not the norm. Per ZSoft specs, "There will always be a decoding break at the end of each scan line." I've seen this issue addressed on the net & have modified my parser to account for these; which is how I detected the variance.
Edited: sample screenshot

If you'd like to discuss pcx formatting/ideas, maybe open a thread in the graphics section? I think we have hijacked the OP's thread for too long. Aggreed?
Last edited by LaVolpe; Dec 30th, 2010 at 12:35 PM.
-
Dec 30th, 2010, 01:11 PM
#42
Hyperactive Member
Re: [RESOLVED] Save image loaded in picturebox as PCX...
Good idea; it has deviated too far indeed, unexpectedly. I would try to open a new thread later today. I will take a look at aaa_8bpp first, interesting as it is. From the outset, I agree with you as I can see the logic/necessity of scanline break.
Edited: It seems the problem is something else (I've revisited the original code and found there are already scanline breaks). I've now opened a new thread accordingly.
Last edited by petersen; Dec 30th, 2010 at 04:50 PM.
-
Jan 1st, 2011, 01:58 AM
#43
Hyperactive Member
Re: [RESOLVED] Save image loaded in picturebox as PCX...
Just to inform:
Compression subroutine is available now, see Posting #1 in
http://www.vbforums.com/showthread.php?t=636793
The subroutine has been well tested, with actual data saved as 8-BPP and/or 24-BPP of different sizes (from small to big), and the saved 8-BPP and 24-BPP files loaded and displayed on AZ Paint Pro, IrfanView, FreeImage and PhotoShop all alright.
Last edited by petersen; Jan 1st, 2011 at 05:08 PM.
-
Jan 1st, 2011, 07:55 PM
#44
PowerPoster
Re: [RESOLVED] Save image loaded in picturebox as PCX...
Just Saying: I have written a Data Stripper routine, that has one way to SaveAs and another to Open file data into a TextBox. I am still working on getting them to appear inside a PictureBox, instead of the TextBox.
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|