Results 1 to 4 of 4

Thread: packJPG v2.5C3

  1. #1
    Member packDEV's Avatar
    Join Date
    Oct 2011
    Location
    Germany
    Posts
    37
    Thanks
    10
    Thanked 42 Times in 9 Posts

    Thumbs up packJPG v2.5C3

    Hi!


    I'm Matthias Stirner, the developer of packJPG. I'm going to open-source packJPG within the next few weeks, and I figured it couldn't hurt to post the release candidate here for those who want to try it. The final version will be released along the source code.

    I already fixed a few bugs, but maybe there are still some other files that can lead to a crash (with the old v2.4, too). If so, please post here or contact me.


    Before I open-source, I still need to do some code cleanup, renew the docs, and, most importantly, to settle for a license. I'd go for the GPL, but then I also want to give freeware closed source developers a no-hassles chance to use the library. If someone makes money from my work, however, I want a share of it or at least be asked for permission.

    My ideas so far involve dual licensing (GPL+???) or GPL + special permissions for closed source developers. Any ideas via PN or email would be very welcome.
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    Jun 2009
    Location
    Kraków, Poland
    Posts
    1,158
    Thanks
    14
    Thanked 43 Times in 35 Posts
    QuickLZ is dual licensed, you can contact the author.

  3. #3
    Member
    Join Date
    May 2008
    Location
    England
    Posts
    309
    Thanks
    0
    Thanked 1 Time in 1 Post

    Thumbs up

    Minor issue but it didn't like me using /v2 as a switch, had to use -v2.

    And hurrah -dev is working, i see -c is now -t. Although the program crashed on every file(large or small) i tried when using -s50 to -s51 & -t1 to -t10, ie packjpg -dev -s50 -t1 {file}
    It just stops at:
    Processing file 1 of 1 [ ]
    with exe has encountered a problem and needs to close, on small files the size sits at 0 bytes but on larger ones it was 8192 bytes. This is on XP SP3.
    Oddly -t0 worked though.

    So far it looks like some nice gains on files, it's still not so good with optimised or progressive optimised jpegs compared to stuffit though.

  4. #4
    Member packDEV's Avatar
    Join Date
    Oct 2011
    Location
    Germany
    Posts
    37
    Thanks
    10
    Thanked 42 Times in 9 Posts
    Thanks for pointing this out! Well, I didn't pay attention . The actual maximum for the segmentation setting (s segments) is 49. The setting is clamped internally now, so if you choose, say -s50, it would just use -s49 instead. Same goes for -s0 which would use -s1 instead.

    -t? controls the noise threshold, that is, for each coefficient, the upper t bitplanes are considered non-noise, everything below is considered noise and coded differently with a simpler approach. If you choose -t0, everything is considered noise, and everything is coded the same. Similarily, if you choose -t10, nothing is considered noise, and everything is coded the same, too (but differently). The optimum for a given file lies in between. Note that, due to quantization, coefficients in the 64 spectral bands are typically made up of something between 6 and 8 bitplanes, so you might not see any difference between -t10 and -t9.

    Btw, the default for segmentation (-s?) is 10. The default for the noise threshold (-t?) is dependant on the size of the input file. Higher sizes mean higher t - theres more data for the statistical model to learn in bigger files, so less has to be considered noise.

    The inclusion of the developer options is controlled by a simple define in the code. If someone had asked me I would have been happy to make a developer-enabled v2.4, too .
    Last edited by packDEV; 22nd October 2011 at 17:43.

Similar Threads

  1. PreComp + PackJPG
    By squxe in forum Data Compression
    Replies: 2
    Last Post: 16th May 2008, 20:53
  2. PackJPG v2.2 released!
    By LovePimple in forum Forum Archive
    Replies: 29
    Last Post: 3rd February 2008, 21:42
  3. Fastet Packjpg on the way ?
    By SvenBent in forum Forum Archive
    Replies: 3
    Last Post: 25th November 2007, 00:01
  4. Some hidden switches in PackJPG
    By Raymond_NGhM in forum Forum Archive
    Replies: 1
    Last Post: 2nd October 2007, 10:11
  5. PackJPG v2.0 released!
    By LovePimple in forum Forum Archive
    Replies: 3
    Last Post: 18th June 2007, 04:57

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
  •