Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file type assoc in windows #13

Open
super-lurker opened this issue Dec 12, 2020 · 4 comments
Open

file type assoc in windows #13

super-lurker opened this issue Dec 12, 2020 · 4 comments
Labels
feature request New feature or request

Comments

@super-lurker
Copy link

file type assoc in windows

@BLumia
Copy link
Owner

BLumia commented Dec 12, 2020

Since this application doesn't come with an installer, so I guess you need to assoc with your file formats manually. I personally have no time working on this Windows-only feature, sorry about this.

@l3xrom
Copy link

l3xrom commented Nov 3, 2023

To associate images with Pineapple Pictures on Windows, I use another open source tool - Portable Registrator.
It sets associations for a list of specified formats and by default for image viewers this list contains only some of the most basic formats. .jpg, .gif, .bmp, .png, .ico, .jpeg, .tif, .tiff

Therefore, I ask @BLumia to write a list of all image formats supported by Pineapple Pictures, so that they can all be associated at once using Portable Registrator.

@BLumia
Copy link
Owner

BLumia commented Nov 3, 2023

Therefore, I ask @BLumia to write a list of all image formats supported by Pineapple Pictures, so that they can all be associated at once using Portable Registrator.

Well, it depends on the version that you use or the Qt imageformats plugin(s) that you have.

Since this issue (and the tool you've mentioned) is for Windows, if you are using the Windows binary release provided by me, then it will support all the formats provided by Qt image formats plugins, and some part of formats supported by KImageFormats. You can take a look at the imageformats folder and see the plugins that I provided.

I also provided an additional-image-formats version on the itch.io store page (which can be considered as a donation version). In that version, there is a patched QtAPNG to provide animated PNG (.apng) support, and also have OpenEXR format support provided by KImageFormats.

User can build their own imageformats plugins as well.

Additionally, please note, even if some plugin provider doesn't claim they support a curtain suffix/extension, they might still be supported! For example, .jfif is supported and it's mostly the same as .jpg. The supported formats are also subject to change as well if I decided to ship a new plugin or remove an existing plugin.

For more imageformat plugin related information, please refer to the wiki: https://github.com/BLumia/pineapple-pictures/wiki/Image-Formats-Support

HTH :)

@BLumia
Copy link
Owner

BLumia commented Nov 3, 2023

I tried the Portable Registrator tool and it works pretty well, and I can confirm it also works under Windows 11 :)

Here is a gist that you can copy-paste and modify and use. To be clear, the list doesn't exactly match all the formats that Pineapple Pictures supports and user might want to omit some suffixes and use other image viewers (e.g. use something else for better SVG support). Feel free to edit the gist to fit your own need.

    <AppType>
      <Name>Pineapple Pictures</Name>
      <OpenParameters>"%1"</OpenParameters>
      <FileAssociations>
        <string>.jpg</string>
        <string>.jfif</string>
        <string>.gif</string>
        <string>.bmp</string>
        <string>.png</string>
        <string>.ico</string>
        <string>.jpeg</string>
        <string>.tif</string>
        <string>.tiff</string>
        <string>.webp</string>
        <string>.psd</string>
        <string>.svg</string>
        <string>.kra</string>
        <string>.xcf</string>
        <string>.avif</string>
        <string>.qoi</string>
        <!-- additional image formats version -->
        <string>.apng</string>
        <string>.exr</string>
      </FileAssociations>
    </AppType>

edit: wrote a wiki about this, see https://github.com/BLumia/pineapple-pictures/wiki/File-Type-Association

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants