Results 1 to 3 of 3

Thread: Advance Scrolliodo with Jpg encoder class

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2014
    Location
    Kallithea Attikis, Greece
    Posts
    1,289

    Advance Scrolliodo with Jpg encoder class

    I found a very nice encoder class for jpeg saving.

    ScrollioDo was first a nice simple scroller but without a DIB under, so this one has a DIB and only the Viewport extracted each time we scroll.
    In this post I add the jpg encoder class by John Korejwa (from www.planetsourcecode.com).

    Here j is a new cJpeg class
    Code:
    j.Quality = 75
    j.Comment = "Scrollio Example"
    j.SetSamplingFrequencies 1, 1, 1, 1, 1, 1  ' the best (by default is 2,2,1,1,1,1)
    Scrollio.DiB.needHDC    \\ Scrollio never hold a Hdc...always make a new to export.
    j.SampleHDC Scrollio.DiB.HDC1, Scrollio.DiB.width, Scrollio.DiB.height
    Scrollio.DiB.FreeHDC
    j.SaveFile b$
    This program is free to make it anything, including to improve.
    What we can do with that program:
    We can scroll with a zoom of X20 a 20 megapixel picture very fast (and from IDE). We can make a list of pictures from a folder including sub folders and we can scroll and zoom in exactly the same position for every picture (if all has the same size and orientation).
    Jpg files are opened and rotate internal based on exif data.
    We can paint with a green and a white pen defining size and transparency. We can rotate in any angle (using a mask and a merge function).

    Program has some controls (all internal, no dll or ocx needed) for scroll bar, scrollio control. Showing a method that one scrollio controll share same DIB with other. Showing how we can place a "Denoise soft filter". Also scrollio handle Wmf and Emf with a slider for quality control. We can place a wmf inside scrollio control and save this in the form.

    There are some nice effect with cursor move. We can move cursor and move anywhere in a 20Mpixel photo without using scrollbars. A >5k width times 20 is a 100k width, but largebar can work nice..
    ScrollioJPGr.zip

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    May 2014
    Location
    Kallithea Attikis, Greece
    Posts
    1,289

    Re: Advance Scrolliodo with Jpg encoder class

    Check it in Windows 8, 64bit (compiled there).
    From file open read folder (and be sure checked the Read sub folder too option).
    Then give C: and play with first loaded as internal a list of images generated from reading all folders recursively. In my windows 8 (the test os) found 1457 images...(most of them from Vb6 graphics)
    Use Page Up- Page down to alter image from list

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    May 2014
    Location
    Kallithea Attikis, Greece
    Posts
    1,289

    A video from test in Windows 8 64 bit


Tags for this Thread

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