From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#74476: [PATCH] Explore JPEG loading without quantization Date: Mon, 2 Dec 2024 10:47:42 +0000 Message-ID: References: <871pz39v6p.fsf@ledu-giraud.fr> <86iks581nf.fsf@gnu.org> <87y11093gx.fsf@ledu-giraud.fr> <87h67obpn6.fsf@ledu-giraud.fr> <878qt0bmj9.fsf@ledu-giraud.fr> <87r06r8xla.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9319"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74476-done@debbugs.gnu.org, Eli Zaretskii To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 02 11:49:37 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tI3zl-0002IL-AA for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Dec 2024 11:49:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI3zE-0000JZ-IE; Mon, 02 Dec 2024 05:49:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tI3zC-0000J3-I8 for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 05:49:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tI3zC-0008VF-58 for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 05:49:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=4bIoRjIQDsxEAHlZ3B2fb34bUiOkTAQnnufaoZyhZvM=; b=KyZxjzT4DsF74eslko4e93kUVNWayoqAcj92Zozy5Rjt3uyJGo2lrHNyQ81UoEVq9xO//vYs6rO835Sswo4PC0t6/ZU0pD3rxdMsJH1arf6iHcz05vnRzWlu8PvsQ9OxAvLITlrD0LZH3h5X0omluAun4x0I/S44uoQK9HRRHLlKy0+Qd4c5cjrPuPPVawxt777hp6Cn/OJOJH6ckg/yxOowGvNueDTr5Pmj83lOJ7PCAu83F8jng24+ou7BtCzwfm+dZmhpGFvlItYKFe1qfzl45nqfCQuB3I3VeQ0ElxhJDy4R5en2EGrX1MB9tDlOG8DzHLDbq6GISqbn7woKZg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tI3zC-0008Ut-0R for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 05:49:02 -0500 Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Dec 2024 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74476 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74476-done@debbugs.gnu.org id=D74476.173313650332582 (code D ref 74476); Mon, 02 Dec 2024 10:49:01 +0000 Original-Received: (at 74476-done) by debbugs.gnu.org; 2 Dec 2024 10:48:23 +0000 Original-Received: from localhost ([127.0.0.1]:54381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI3yZ-0008TS-2o for submit@debbugs.gnu.org; Mon, 02 Dec 2024 05:48:23 -0500 Original-Received: from dane.soverin.net ([185.233.34.149]:58665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI3yW-0008TC-Ls for 74476-done@debbugs.gnu.org; Mon, 02 Dec 2024 05:48:21 -0500 Original-Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4Y20qN2gbxzyyW; Mon, 2 Dec 2024 10:47:44 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4Y20qM44tDz6D; Mon, 2 Dec 2024 10:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1733136464; bh=7Ja/ejeKo/XhNL/1qOHS8e6KwZ/3bN8HcZKGgbLrAxk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZAXEM6YkqENrFrpcp/fuHwNxI9KHe2rHKs3xZ6QbF8ttVnNillEdCBHKRsfOXoqrF 1HFByG0b7b8kn9LJo6fKwdMoelOgL7KK//R0yB4YJ2E/YjxKGanNQBbUbGos3cNbfH sk32k9aVFLK3vCYrBobCRsXcn4fyZ9BvZkNMfsHroc4/Dvaap4IhmxIVXgxpkRLRd/ k/9d1Gvp2Owj1xyHEPpnvm2PJskedBVORL5Wg/2rqQFwF9uQM8pBN5gWR3LIcMG4Kw LN8jZP7PQk7xjF7STEEV83UvfVZVPU+arQ/fyfmvYMaPiBXMHo+XVT4umPgV0N+SjB 7LdkE1KyBT5Dg== Original-Received: from localhost (faroe.holly.idiocy.org [local]) by faroe.holly.idiocy.org (OpenSMTPD) with ESMTPA id e353ffb4; Mon, 2 Dec 2024 10:47:42 +0000 (UTC) Mail-Followup-To: Alan Third , Manuel Giraud , Eli Zaretskii , 74476-done@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <87r06r8xla.fsf@ledu-giraud.fr> X-Spampanel-Class: ham X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296307 Archived-At: On Sun, Dec 01, 2024 at 12:13:53PM +0100, Manuel Giraud wrote: > Alan Third writes: > > > I think it should be done for each load. And I just noticed you need > > to add a free_color_table call after you're done with it. > > Yes, I have re-add it in the attached new version of the patch. I also > re-add the ir, ig and ib indices computation. WDYT? Looks good to me. I've pushed this to master. Thanks! -- Alan Third