Page 2 of 2 FirstFirst 12
Results 41 to 44 of 44

Thread: [RESOLVED] Save image loaded in picturebox as PCX...

  1. #41
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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
    Name:  sample.PNG
Views: 352
Size:  16.7 KB

    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.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  2. #42
    Hyperactive Member
    Join Date
    Jul 2010
    Posts
    273

    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.

  3. #43
    Hyperactive Member
    Join Date
    Jul 2010
    Posts
    273

    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.

  4. #44
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    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...

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width