tis-caesium icon

Caesium Image Compressor

Paquet d’installation silencieuse pour Caesium Image Compressor

2.8.5-3

  • package: tis-caesium
  • name: Caesium Image Compressor
  • version: 2.8.5-3
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: SaeraSoft
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: Caesium Image Compressor
  • architecture: all
  • signature_date:
  • size: 21.66 Mo
  • installed_size: 82.06 Mo
  • homepage : https://saerasoft.com/caesium

package           : tis-caesium
version           : 2.8.5-3
architecture      : all
section           : base
priority          : optional
name              : Caesium Image Compressor
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG and WebP formats
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://saerasoft.com/caesium#downloads
installed_size    : 82056692
impacted_process  : Caesium Image Compressor
description_fr    : Caesium est un logiciel de compression d'images qui vous permet de stocker, d'envoyer et de partager des images numériques. Il prend en charge les formats JPG, PNG et WebP
description_pl    : Caesium to oprogramowanie do kompresji obrazów, które pomaga przechowywać, wysyłać i udostępniać zdjęcia cyfrowe, obsługując formaty JPG, PNG i WebP
description_de    : Caesium ist eine Bildkomprimierungssoftware, die Ihnen hilft, digitale Bilder zu speichern, zu versenden und weiterzugeben. Sie unterstützt die Formate JPG, PNG und WebP
description_es    : Caesium es un software de compresión de imágenes que te ayuda a almacenar, enviar y compartir imágenes digitales, compatible con los formatos JPG, PNG y WebP
description_pt    : O Caesium é um software de compressão de imagens que ajuda a armazenar, enviar e partilhar imagens digitais, suportando os formatos JPG, PNG e WebP
description_it    : Caesium è un software di compressione delle immagini che aiuta a memorizzare, inviare e condividere immagini digitali, supportando i formati JPG, PNG e WebP
description_nl    : Caesium is beeldcompressiesoftware waarmee je digitale foto's kunt opslaan, verzenden en delen. Het ondersteunt JPG-, PNG- en WebP-indelingen
description_ru    : Caesium - это программа для сжатия изображений, которая помогает хранить, отправлять и обмениваться цифровыми фотографиями, поддерживая форматы JPG, PNG и WebP
audit_schedule    : 
editor            : SaeraSoft
keywords          : image,compressor
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://saerasoft.com/caesium
package_uuid      : 0fd79e2c-aa0b-402b-82ce-37cdae4e5c22
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/Lymphatus/caesium-image-compressor/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : a0a33d875f531a064edc8ea8b3344f0b77044a274a21f67a43e92fe6d503d20c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-22T13:00:21.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : M5KmXHKFXZeC98/2O/A/Iti6lVpYAOV9vzkgqvkv5DYkmOpdkgDzzdCCHMlehLBF0x0od0OvBjsZ/1UuDEBYkgcr4GnlaB8juPTQdvsjC0BoDvK+039D6jPyydec07si2mBqNPlX9yBpLJPr3snqHXMIzG9FaqSNsPQD/GR5gq5mO3zCA5LPELfKo4zj8u7hmCiQLTwnha0ufaNEX7bu4eB6g24tmXu7ExjL7Ot9gMZ/dK0H8/EMlPENZytLU5+zCT12e7DO2c2Qmr0RZtwW8QKF/yhHmZO8W9fDz49LqJr+AKMPoTorOREgdrKlZvyFj6E4AgsmTV/Ei1f8nHFLZw==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    bin_name = glob.glob("caesium-image-compressor-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key="{C457F5B2-65EB-48E9-9744-A3719FEABA4C}_is1",
        min_version=control.get_software_version(),
        timeout=600,
    )

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://api.github.com/repos/Lymphatus/caesium-image-compressor/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("v", "")
    for to_download in json_load["assets"]:
        if "setup.exe" in to_download["browser_download_url"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)
    # arch_list = ensure_list(control.architecture)
    # remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
846cb686f03fd61b08b1c287e49c23c87d58cecc6e6bbac3958603c6225f3a20 : WAPT/control
a0a33d875f531a064edc8ea8b3344f0b77044a274a21f67a43e92fe6d503d20c : WAPT/icon.png
ad8f3666fe79a9dbcade28c065abcc89e73082a678652a9b17a3b23016df8498 : caesium-image-compressor-2.8.5-win-setup.exe
0930f8d5615753cad05a79ca79530e8219348d2aaa92e7ea443eac2a63b07c0e : luti.json
dba2f831a145eb811c8a7c9cfd7c94e982c67f0a6a3226f32450904690fbafce : setup.py
37f519e1bb2aed2d8b7defb3ee9929878c0cc8c703810a051d24e22ea2174130 : update_package.py