From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 8CA7E2CD56 for ; Tue, 5 Mar 2024 21:32:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AADB6484213 for ; Tue, 5 Mar 2024 21:31:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B_zVpC1hslc4 for ; Tue, 5 Mar 2024 21:31:12 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2585048452C for ; Tue, 5 Mar 2024 21:30:31 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 08FDA483F13 for ; Tue, 5 Mar 2024 21:29:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SgGOFJ33VgEI for ; Tue, 5 Mar 2024 21:29:49 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.179; helo=mail-lj1-f179.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id B7AF8483F10 for ; Tue, 5 Mar 2024 21:29:49 +0100 (CET) Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2d23114b19dso77435381fa.3 for ; Tue, 05 Mar 2024 12:29:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709670589; x=1710275389; darn=ntg.nl; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=e9LDpGTV8kldXPOD2ZLbisNDZQgdYCn7G+xqqeQGx2M=; b=PBAc3vhT1APupZ+ySO6jbh+C7IoXl/AhHPVdy7ujxY9O3TaOXUuLR0k1qT7mmiH+2G AhCdhMAZ6JWx6nsBVB2lip+lMmgLFSDPCkAOtRVHNN9YSWCR/7r5aEwlqDaftIK1VbUq A2NydtlHjfCOJVWPUKZMUmJc0OnZbpj5p0uz+iG39bQBGbXqDmP4uxDKyZhJsETq1grq +ghIn5zUDdL2pYcTtLF1N+i8OQopO/vKgOlwd1jeLubknx9g242aV8mfhnuSEHkY9mFY KMvDrtL/lAfzHybTZgmw99+yK+bzQWinOHG69Hh+lTMiRr/4Ie5trNNYMlbjyBuMBCt0 codw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709670589; x=1710275389; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e9LDpGTV8kldXPOD2ZLbisNDZQgdYCn7G+xqqeQGx2M=; b=TS6MRa9RF8rH+kCDpDjJncsoFHp0tafwJfQclAT0+W5+XPbFAngSvtalTUjEaeuPQ4 3+FbOdbRRCLWl9WAa0tzfjYbqZUiy6jmnUbxW9TJakXabYK1Zu7oS1EyQLCEffNRq/Ix 2CP5HYKJFx2GtmT1jsKdigNOspmzF+ZRK6qZaKmPui9HCoI0ygE4UeTXRpq4/UOltoxy S53lFvO1HypbpRLeQ6w9mI5kC1O1+XY7mf+o6nsh9Ez3mfoCkXCWRETDM7D1kFMZ7GZ5 S3A38JS4HRbTEwhttOOOpEU46YEtf51/qHAkR/rRyf7WU44CyNoWaRpNID8kFVmTFHzX JyKg== X-Gm-Message-State: AOJu0YzuHMhUtuqFj7jkEeHcYWXa1ximVdPVpwRVLiOJwG8OcOAUiI9E ztu+ihPgtppuQGBEPD9qIlpyx9fID+qClQsJNsSqyMwV3t5W7PfJY/thShIx X-Google-Smtp-Source: AGHT+IHWTXdJWZ5Dow84gz6ItPlWZYpS+C3Eu0T8t9TG+tsy8itxvwuqCV+DGB+6a7GSrLoFCfll4A== X-Received: by 2002:a2e:9ad8:0:b0:2d2:c83e:d4ce with SMTP id p24-20020a2e9ad8000000b002d2c83ed4cemr2311918ljj.34.1709670588355; Tue, 05 Mar 2024 12:29:48 -0800 (PST) Received: from [192.168.0.227] (ip1f10fb52.dynamic.kabel-deutschland.de. [31.16.251.82]) by smtp.gmail.com with ESMTPSA id n24-20020a05640204d800b00566f92f1facsm4508535edw.36.2024.03.05.12.29.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2024 12:29:48 -0800 (PST) To: mailing list for ConTeXt users , Jim References: From: Wolfgang Schuster Message-ID: <8817966a-06cd-5824-a04d-720227f9c2c1@gmail.com> Date: Tue, 5 Mar 2024 21:29:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Message-ID-Hash: XSFV2YCWLG3FTRNS77E75OVYIXMBCSBP X-Message-ID-Hash: XSFV2YCWLG3FTRNS77E75OVYIXMBCSBP X-MailFrom: wolfgang.schuster.lists@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: .jpx and .jxl List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit Jim schrieb am 04.03.2024 um 15:30: > Recently I've been trying to make some PDFs smaller by using better > compression of JPEG pictures. > > I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000) > files. However, my understanding (and I could well be wrong, but I've seen > it multiple places) is that JPEG 2000 *Part 2* files should have extension > .jpx, not .jp2. > > By default, ConTeXt does not recognize .jpx. But if I rename a .jpx file > to have a .jp2 extension, then ConTeXt properly processes the file and I > see the picture in the PDF. > > Q: are there any plans to make ConTeXt recognize the .jpx extension? > If not, can anyone suggest some ConTeXt code which allows me to tell > ConTeXt to process a .jpx file as a .jp2 file? Adding \definegraphictypesynonym [jpx] [jp2] at the begin of your document should do the trick. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________