Downloads:

198

Downloads of v 6.0:

28

Last Update:

28 Oct 2020

Package Maintainer(s):

Software Author(s):

  • Artúr Kovács

Tags:

images photos gui programmable rust foss

Emulsion

6.0 | Updated: 28 Oct 2020

Downloads:

198

Downloads of v 6.0:

28

Maintainer(s):

Software Author(s):

  • Artúr Kovács

Emulsion 6.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Emulsion, run the following command from the command line or from PowerShell:

>

To upgrade Emulsion, run the following command from the command line or from PowerShell:

>

To uninstall Emulsion, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade emulsion -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade emulsion -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure emulsion installed
  win_chocolatey:
    name: emulsion
    state: present
    version: 6.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'emulsion' do
  action    :install
  version  '6.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: emulsion,
    Version: 6.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller emulsion
{
   Name     = 'emulsion'
   Ensure   = 'Present'
   Version  = '6.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'emulsion':
  provider => 'chocolatey',
  ensure   => '6.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install emulsion version="6.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 06 Nov 2020.

Description

Package Parameters

  • /DesktopShortcut - Place a shortcut to the application on the desktop.
  • /AddToPath - Add the application's install folder to System PATH.

About

Emulsion is a image viewer with the focus on the following features:

  • Fast
  • Light and Dark interface modes
  • Cursor Anchored Zoom
  • Pixel Art Friendly
  • Seconds To Install

Refer to the website for a more in-depth overview.

Emulsion is targeting Windows, Mac, and Linux although it is currently only being tested on Linux and Windows. A note for Linux users: Wayland support is limited, so for example expect high CPU usage and the title text not being shown. However X is fully supported.

To build the software, obtain the latest stable release of Rust and after navigating to the source directory simply run the command cargo build --release using your preferred command line interface.

Contribution is welcome. Feel free to post feature requests, bug reports, and make pull requests.

Notes on cargo features

All packages on the website come with avif support; however it is not a default feature as the dependecies are not trivial to set up. If you are bulding from source (eg using cargo install) and would like emulsion to open avif files, I recommend taking a look at the release workflow for steps to install the avif development dependencies.

When installing Emulsion through the Windows installer, Emulsion will have networking enabled and will by default check for updates. However none of the other versions have networking and neither does the default feature-set. This also means that Emulsion will not have networking dependent capabilities when invoking

cargo install emulsion

To enable such features when installing with cargo, run

cargo install emulsion --features=networking

Reporting bugs

If Emulsion closed unexpectedly please locate the "panic.txt" file at %localappdata%\emulsion\data

When posting a bug report please upload the contents of this file to GitHub. If you deem it too large just paste the last panic entry between the rows of equal signs. If there's no "panic.txt" file, describe the scenario in which you experienced the faulty behaviour, and steps to reproduce it if you believe that could help.


legal\LICENSE.txt
MIT License

Copyright (c) 2020 The Emulsion Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to https://github.com/ArturKovacs/emulsion, enter to releases and download from there.

   x86_64: https://github.com/ArturKovacs/emulsion/releases/download/v6.0/Emulsion-Windows-v6.0.exe

   to download the installer. You may wish to rename one of the files.

2. You can use one of the following methods to obtain the SHA512 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum64: 522463a1cb200118feb6ec35f0dc37bdf3921f50669989a61817b23622053f0c692665d001966cb5c0c95756a918d8ee0a94c83645e2f1569012a80454989f95

File 'LICENSE.txt' obtained from:
   https://github.com/ArturKovacs/emulsion/blob/v6.0/LICENSE.txt
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$PackageName           = $env:ChocolateyPackageName;
$ToolsDir              = Split-Path -parent $MyInvocation.MyCommand.Definition;
$PkgParams             = Get-PackageParameters;
$Desktop               = [System.Environment]::GetFolderPath("Desktop");
$PrgmFiles             = [System.Environment]::GetFolderPath("ProgramFiles");

$PackageArgs = @{
  PackageName     = $PackageName
  
  FileType        = 'exe'
  File64          = Get-Item $(Join-Path $ToolsDir "Emulsion-Windows-v6.0.exe")

  SoftwareName    = 'emulsion*'
  
  SilentArgs      = "/S"
  ValidExitCodes  = @(0,3010)
};

Install-ChocolateyInstallPackage @PackageArgs;

if ($PkgParams.DesktopShortcut)
{
	Install-ChocolateyShortcut -ShortcutFilePath "$Desktop\Emulsion.lnk" -TargetPath "$PrgmFiles\Emulsion\Emulsion.exe" -WorkingDirectory "$PrgmFiles\Emulsion" -WindowStyle 1
}

if ($PkgParams.AddToPath)
{
	Install-ChocolateyPath -PathToInstall "$PrgmFiles\Emulsion" -PathType 'Machine'
}

Remove-Item $(Get-Item $(Join-Path $ToolsDir "Emulsion-Windows-v6.0.exe"));
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';
$PackageName           = $env:ChocolateyPackageName;
$Desktop               = [System.Environment]::GetFolderPath("Desktop");

[array] $key = Get-UninstallRegistryKey "PackageName*";
if ($key.Count -eq 1) {
    $key | ForEach-Object {
        $PackageArgs = @{
            PackageName            = $PackageName
            SilentArgs             = '/S'
            FileType               = 'EXE'
            ValidExitCodes         = @(0,3010)
            File                   = "$($_.UninstallString.Replace(' /x86=0', ''))"
        };
        Uninstall-ChocolateyPackage @PackageArgs;
    };
}
elseif ($key.Count -eq 0) {
    Write-Warning "$PackageName has already been uninstalled by other means.";
}
elseif ($key.Count -gt 1) {
    Write-Warning "$($key.Count) matches found!";
    Write-Warning "To prevent accidental data loss, no programs will be uninstalled.";
    Write-Warning "Please alert package maintainer the following keys were matched:";
    $key | ForEach-Object {Write-Warning "- $($_.DisplayName)"};
};

Remove-Item "$Desktop\Emulsion.lnk" -ErrorAction SilentlyContinue -Force | Out-Null
tools\Emulsion-Windows-v6.0.exe
md5: E3B05B1EC3C60F42392CB39123D4B6C7 | sha1: 058650AED86940037A7149BB5E1DB06AB635F68D | sha256: 3C19D2AB703E40E09759BC72BFB1B479578B1261C9A188B083956DF67880CDEC | sha512: 522463A1CB200118FEB6EC35F0DC37BDF3921F50669989A61817B23622053F0C692665D001966CB5C0C95756A918D8EE0A94C83645E2F1569012A80454989F95

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Emulsion 5.0 16 Wednesday, October 28, 2020 Approved
Emulsion 4.0 6 Wednesday, October 28, 2020 Approved
Emulsion 3.0 7 Wednesday, October 28, 2020 Approved
Emulsion 2.1 13 Tuesday, October 27, 2020 Approved
Emulsion 2.0 6 Monday, October 19, 2020 Approved
Emulsion 1.9 18 Monday, October 19, 2020 Approved
Emulsion 1.8 18 Monday, October 19, 2020 Approved
Emulsion 1.6 19 Monday, October 19, 2020 Approved
Emulsion 1.5 13 Monday, October 12, 2020 Approved

Discussion for the Emulsion Package

Ground Rules:

  • This discussion is only about Emulsion and the Emulsion package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Emulsion, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus