• Re: New Version of "tohgr" image conversion utility

    From Colin Leroy-Mira@21:1/5 to All on Sat Jan 28 22:49:42 2023
    Hi folks,

    In 2014, the following message from wss...@gmail.com was sent to the
    group:

    Announcing a new version of the "tohgr" image conversion utility
    available at http://wsxyz.net/tohgr.html

    Nothing new in this release is attributable to me. Rather, Mario
    Patino (Mario E.) sent me his modifications to the "tohgr" source
    code, which added the ability to read and write JPG and PNG images
    instead of XPM images. So, now you can use "tohgr" to convert PNG and
    JPG images to various Apple II image types.

    Can any old-timer here help me contact them? There's no email address
    on the website and Google Groups refuses to show it in full.

    I have a question for them (I'd like to integrate their work in my
    serial proxy).

    Thanks!
    --
    Colin
    https://www.colino.net/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Oliver Schmidt@21:1/5 to All on Sun Jan 29 09:51:59 2023
    Hi Colin,

    [...] the "tohgr" image conversion utility
    available at http://wsxyz.net/tohgr.html

    I have a question for them (I'd like to integrate their work in my
    serial proxy).

    Not an answer to your question, but the usual go-to solution to that
    problem is https://github.com/digarok/b2d

    Documentation is at https://www.appleoldies.ca/bmp2dhr/

    Regards,
    Oliver

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Leroy-Mira@21:1/5 to All on Sun Jan 29 21:37:26 2023
    Hi,

    Not an answer to your question, but the usual go-to solution to that
    problem is https://github.com/digarok/b2d

    Documentation is at https://www.appleoldies.ca/bmp2dhr/

    Thanks for the pointer! Is it because it gives better results or is
    there another reason?

    (I'd want to add jpg/png support, and the code is... dense)
    --
    Colin
    https://www.colino.net/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Leroy-Mira@21:1/5 to All on Mon Jan 30 16:00:58 2023
    Hi,

    (I'd want to add jpg/png support, and the code is... dense)

    Maybe https://github.com/digarok/buckshot is interesting to you...

    Not really, as I'm looking for easy to transform into a lib to operate automatically, even if the results aren't fine-tuned. But thanks anyway!

    I've had some good results with tohgr with minimal modifications:

    https://github.com/colinleroy/a2tools/blob/master/src/surl-server/hgr.c

    (basically stripped main() and replaced it with img_to_hdr())

    Here's my cat for example: https://static.piaille.fr/media_attachments/files/109/773/031/385/335/138/original/dbb1af7890dec5ba.jpeg
    --
    Colin
    https://www.colino.net/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Oliver Schmidt@21:1/5 to All on Mon Jan 30 14:32:21 2023
    Hi Colin,

    https://github.com/digarok/b2d

    Documentation is at https://www.appleoldies.ca/bmp2dhr/

    Thanks for the pointer! Is it because it gives better results or is
    there another reason?

    I personally don't tohgr so I don't know about its results. I guess you
    have seen that the bmp2dhr link also talks about tohgr...

    I personally don't know why about everybody uses bmp2dhr. I just wanted
    make you aware of the fact.

    (I'd want to add jpg/png support, and the code is... dense)

    Maybe https://github.com/digarok/buckshot is interesting to you...

    Regards,
    Oliver

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kris.kennaway@gmail.com@21:1/5 to Colin Leroy-Mira on Mon Jan 30 15:55:39 2023
    On Sunday, 29 January 2023 at 20:37:31 UTC, Colin Leroy-Mira wrote:
    Hi,
    Not an answer to your question, but the usual go-to solution to that >problem is https://github.com/digarok/b2d

    Documentation is at https://www.appleoldies.ca/bmp2dhr/
    Thanks for the pointer! Is it because it gives better results or is
    there another reason?

    (I'd want to add jpg/png support, and the code is... dense)
    --
    Colin
    https://www.colino.net/

    This might be a good opportunity to mention that I'm working on adding HGR conversion support to https://github.com/KrisKennaway/ii-pix/
    It's a Python program and optimzes for image quality rather than encoding speed, so it might not be what you are looking for though.

    Here are some example conversions (openemulator screenshots): https://photos.app.goo.gl/e3443CK29vdDsWpG9

    Kris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Oliver Schmidt@21:1/5 to All on Tue Jan 31 09:27:00 2023
    Hi Kris,

    This might be a good opportunity to mention that I'm working on adding HGR conversion support to https://github.com/KrisKennaway/ii-pix/
    It's a Python program and optimzes for image quality rather than encoding speed, so it might not be what you are looking for though.

    The reason why I didn't mention ][-pix was not that it doesn't support
    HGR so far.

    The reason was rather the requirement of _both_ a Python environment
    (with several non-standard modules) and the "right" C++ compiler to be installed on the user machine doesn't make it the first choice for
    simple integration.

    And that my issue https://github.com/KrisKennaway/ii-pix/issues/3 is
    still open doesn't make that better ;-)

    However, from the image quality perspective, ][-pix is for sure the
    best! Therefore, I used it for all my A2Stream cover arts.

    Regards,
    Oliver

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kris.kennaway@gmail.com@21:1/5 to Oliver Schmidt on Tue Jan 31 13:24:28 2023
    On Tuesday, 31 January 2023 at 09:27:01 UTC, Oliver Schmidt wrote:
    Hi Kris,
    This might be a good opportunity to mention that I'm working on adding HGR conversion support to https://github.com/KrisKennaway/ii-pix/
    It's a Python program and optimzes for image quality rather than encoding speed, so it might not be what you are looking for though.
    The reason why I didn't mention ][-pix was not that it doesn't support
    HGR so far.

    Oh no worries, I wouldn't have expected it to be mentioned in the context of HGR conversions, which it doesn't yet (publically) support. I only started working on that yesterday in fact (in response to this thread!) and it turned out to be an easier
    modification than I'd expected.

    The reason was rather the requirement of _both_ a Python environment
    (with several non-standard modules) and the "right" C++ compiler to be installed on the user machine doesn't make it the first choice for
    simple integration.

    Yes that's fair. I improved the installation process a while back but I could still use some help from someone familiar with python packaging to install "properly" without requiring it to be executed from the source directory.

    And that my issue https://github.com/KrisKennaway/ii-pix/issues/3 is
    still open doesn't make that better ;-)

    Sorry I'd missed this - as I updated just now the dependency issue had already been fixed, and I fixed the dir creation issue.

    However, from the image quality perspective, ][-pix is for sure the
    best! Therefore, I used it for all my A2Stream cover arts.

    Thanks for your support!

    Kris


    Regards,
    Oliver

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Oliver Schmidt@21:1/5 to All on Tue Jan 31 21:49:23 2023
    Hi Kris,

    And that my issue https://github.com/KrisKennaway/ii-pix/issues/3 is
    still open doesn't make that better ;-)

    Sorry I'd missed this - as I updated just now the dependency issue had alre= >ady been fixed, and I fixed the dir creation issue.

    Cool, thanks :-)

    Regards,
    Oliver

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Barana@21:1/5 to kris.k...@gmail.com on Wed Feb 1 14:06:53 2023
    "kris.k...@gmail.com" <kris.kennaway@gmail.com> Wrote in message:r
    On Sunday, 29 January 2023 at 20:37:31 UTC, Colin Leroy-Mira wrote:> Hi,> >Not an answer to your question, but the usual go-to solution to that > >problem is https://github.com/digarok/b2d > > > >Documentation is at https://www.appleoldies.ca/bmp2dhr/>
    Thanks for the pointer! Is it because it gives better results or is > there another reason? > > (I'd want to add jpg/png support, and the code is... dense) > -- > Colin > https://www.colino.net/This might be a good opportunity to mention that I'm working
    on adding HGR conversion support to https://github.com/KrisKennaway/ii-pix/It's a Python program and optimzes for image quality rather than encoding speed, so it might not be what you are looking for though.Here are some example conversions (openemulator
    screenshots): https://photos.app.goo.gl/e3443CK29vdDsWpG9Kris

    Crikey Kris, thats one hell ofa belated gift for Australia Day.
    will these improvements make their way to ][vision?

    Dorothy meets Inception(2010)
    this is starting to get interesting(buckles up)
    --
    die thensoar


    ----Android NewsGroup Reader---- https://piaohong.s3-us-west-2.amazonaws.com/usenet/index.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kris.kennaway@gmail.com@21:1/5 to barana on Thu Feb 2 16:56:07 2023
    On Wednesday, 1 February 2023 at 04:07:02 UTC, barana wrote:

    Crikey Kris, thats one hell ofa belated gift for Australia Day.
    will these improvements make their way to ][vision?

    Dorothy meets Inception(2010)
    this is starting to get interesting(buckles up)
    --
    die thensoar


    ----Android NewsGroup Reader---- https://piaohong.s3-us-west-2.amazonaws.com/usenet/index.html

    Yes, that's the plan!

    I'll try producing some sample videos soon. ][-Vision can be run in emulation now (I've confirmed it works in Ample on Mac, and it should work in AppleWin as well but I've not tested this) so that makes it easier to capture.

    Kris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)