• libjpeg.dll for win32?

    From stizzed@21:4/156 to All on Wed Feb 5 19:49:35 2025
    Im looking for libjpeg.dll for win32 and python27. Ive searched everywhere and just cannot seem to find it alone or in any package. I fear it may require custom compilation?

    Anyone able to help?

    Thanks!

    .\\ichael (a.k.a. StiZzed)
    SysOp, The ROCK BBS III

    --- Mystic BBS v1.12 A49 2024/05/29 (Windows/32)
    * Origin: The ROCK III - therockbbs.net - TELNET:10023 (21:4/156)
  • From fusion@21:1/616 to stizzed on Wed Feb 5 23:07:17 2025
    On 05 Feb 2025, stizzed said the following...

    Im looking for libjpeg.dll for win32 and python27. Ive searched everywhere and just cannot seem to find it alone or in any package. I fear it may require custom compilation?

    can you be more specific?

    do you have python working but then are attempting to generate images with it?

    one of these might work? https://github.com/CristiFati/Prebuilt-Binaries/tree/master/LibJPEG/v9

    otherwise,

    https://www.libjpeg-turbo.org/

    says that it supports the libjpeg API so maybe just renaming it's dll might work?

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    * Origin: cold fusion - cfbbs.net - grand rapids, mi (21:1/616)
  • From stizzed@21:4/156 to fusion on Thu Feb 6 07:08:45 2025
    On |1505 Feb 2025|08, |15fusion |08said the following...

    Im looking for libjpeg.dll for win32 and python27. Ive searched everywhere and just cannot seem to find it alone or in any package. fear it may require custom compilation?

    do you have python working but then are attempting to generate images
    with it?

    You are correct. I have python27 working. the script im running is
    converting an ansi file to png via Pillow 6.2.2. Pillow requires libjpeg.dll to do this. Im running the system on Windows xp, so...


    one of these might work? https://github.com/CristiFati/Prebuilt-Binaries/tree/master/LibJPEG/v9

    I'll give those a shot, thanks


    otherwise,

    https://www.libjpeg-turbo.org/

    says that it supports the libjpeg API so maybe just renaming it's dll might work?

    Something else to try, thanks!

    I'll let you know how I get on...

    Best to you

    .\\ichael (a.k.a. StiZzed)
    SysOp, The ROCK BBS III

    --- Mystic BBS v1.12 A49 2024/05/29 (Windows/32)
    * Origin: The ROCK III - therockbbs.net - TELNET:10023 (21:4/156)
  • From dingo@21:1/121 to stizzed on Sun Feb 16 08:20:59 2025

    On Thursday, February 6th stizzed muttered...
    Im looking for libjpeg.dll for win32 and python27. Ive
    libjpeg.dll to do this. Im running the system on Windows xp, so...

    Try https://github.com/shorthorn-project/One-Core-API-Binaries and you can use python 3.6 on Windows XP, aparently, as well as many other modern applications.

    Otherwise, you need to download python as it was built for 2002, which is Python 2.2 by the way :) I remember its release well, I was just beginning to learn python at that time. Don't expect to use *any* third party packages like Pillow, you will need to be specific in downloading the Pillow project from 2002 -- Pillow was not every compiled or designed for Windows XP, you need its predecessory, PIL 1.1.6 for Python 2.2, https://web.archive.org/web/20201121102218/http://www.pythonware.com/products/pil/

    In any case, I'd be curous what you're actually trying to accomplish on Windows XP. If it is writing some software, I suggest to use the languages that were popular for the time, for Windows XP that's Visual C++ and Visual Basic.

    I was using python on Windows then, and it was difficult *then* to do development outside of the standard library. Many third party libraries and even the python standard libraries of the time were wrappers around popular open source C libraries, which were mostly only available on Linux. Simple things like regular expressions and blowfish cipher had to be manually ported to win32 to use them.

    At that time, if you wanted to use Linux software on Windows, you didn't do it with win32, you did it through cygwin. I haven't any idea the state of cygwin today, but if it still works with Windows XP that would also be a very good way to get "Python 2.7 to work".

    I've been programming python since the late 90's, I enjoy it very much, but in 2002 I wrote software for Windows XP using Visual Basic and C++ for most cases. I did also write python for windows, like COM interface through python using Mark Hammond's win32 libraries, controlling Microsoft Excel or using remote access through WMI.

    But I wouldn't try it today, Windows XP is frozen in time, while Python the language, community, and packaging ecosystem has evolved several versions of windows beyond, it may just be easier to use an entirely different language.




    --- ENiGMA 1/2 v0.0.14-beta (linux; x64; 18.18.2)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)