From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: GDI+ take 3 Date: Wed, 15 Apr 2020 16:35:43 +0200 Message-ID: References: <86h7xzc5ai.fsf@csic.es> <83d08mt7gy.fsf@gnu.org> <83eesrkivc.fsf@gnu.org> <865ze3wvk8.fsf@csic.es> <837dyihyjc.fsf@gnu.org> <877dyh28ci.fsf@tcd.ie> <83o8rthnvr.fsf@gnu.org> <87zhbdwx1c.fsf@tcd.ie> <83mu7dgtls.fsf@gnu.org> <83a73chmrl.fsf@gnu.org> <831roohlgw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000512d3e05a3553d0a" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124944"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juanjose.garciaripoll@gmail.com, Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 15 16:36:54 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jOj9p-000WQW-Vj for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Apr 2020 16:36:54 +0200 Original-Received: from localhost ([::1]:51008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOj9p-00072C-1h for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Apr 2020 10:36:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47297) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOj9N-0006ZR-8e for emacs-devel@gnu.org; Wed, 15 Apr 2020 10:36:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOj9M-0002RG-A5 for emacs-devel@gnu.org; Wed, 15 Apr 2020 10:36:25 -0400 Original-Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]:36665) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOj9K-0002Pr-6M; Wed, 15 Apr 2020 10:36:22 -0400 Original-Received: by mail-qk1-x732.google.com with SMTP id l25so17417603qkk.3; Wed, 15 Apr 2020 07:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fwUVH3UrHxJXiOs6vKJj8FxuFhfsk49E8DL4phP9bsA=; b=MqaApLH2VZaxnSLP1MavpWxCSieHEbnFvQXF6y1qQsTdhASBt65bWkdsqu9NTHrnjL sMwdq/TQ5GUpWS+yzFl4xEnIbIWCgiZLwHaAQFYYyMD+dwHFJniu/KE/a3Gw+V2QtiPS Z31AeTli5nD0hXC5KdFF5QE7qaHUkFycNkH+tM4m09tTg/SgbGxUsfsY0zZZvf2fAOgR HoZqDTUxrGKwBcVqSpVEmBgyl0gLA9dGZ0+PRB15sgELty1c8c+/rcaAQ9yrc7rGn6f4 mW2oyN/UGG544diHPbl8Xd0svCGr5ZdCm2MlkLF0OvTa65hcS8w9pPqO3tZYbWcPgY19 XDSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fwUVH3UrHxJXiOs6vKJj8FxuFhfsk49E8DL4phP9bsA=; b=V4a0qtiRrnh4unyIGjQ5GPElYYxmHEyg3a54GfAKDcxzADo9HTd+IcS1L8V9ypb5PD vqaMF6UFcfSgSRnQNXTGmJCeFM5ORFKuQisLFuVh/b9H3EQ3lciAuezLF4wZJB0mo6Zt 0CuU6/3GWQ7uTNw/thA+mlz7sx9ViOAVgm+vTOlZpjyT0hGe0cMvwdnIigHmsQeHEO2w VNtY4qoSPIk3BHkj/viaKmMRahrpNE6tPKLZbr6SG18zOtJaHbQaMwwecsMteN3sTDlI VKZMlx8G34Z8s0tdgmAndQVdnp51uDxNXJzJQDdG0j3G4Pi/xtyLaCzJcxJU/ysYtEtB mOSA== X-Gm-Message-State: AGi0PuZnPJk/k+kDnr5uvfRbaqk8+rcZRT5eD0U1slwLcmR5fN9xz5gx QhddB1jHe9Uq2tFEUkP4qu22bllf8B6Rtw91+LsZjJlp59A= X-Google-Smtp-Source: APiQypJsVkEh2b+ZUS2+W67C09/oDWIed0KwzDeveaJSxpbridRTt6hImIHoLGMLlI7/LYCrCvsHS3W0TLSR9fgX9Zw= X-Received: by 2002:a37:881:: with SMTP id 123mr5346209qki.185.1586961379829; Wed, 15 Apr 2020 07:36:19 -0700 (PDT) In-Reply-To: <831roohlgw.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::732 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:247016 Archived-At: --000000000000512d3e05a3553d0a Content-Type: text/plain; charset="UTF-8" On Wed, Apr 15, 2020 at 4:28 PM Eli Zaretskii wrote: > What about GIF and TIFF images that have more than one frame? Does > that work as expected? I don't have a multi-frame tiff around, but I just tested with an animated gif: (gdb) n 246 status = GdipImageGetFrameCount (pBitmap, &pDimensionIDs[0], &frameCount); (gdb) n 247 if (status == Ok && frameCount > 1) (gdb) p status $7 = Ok (gdb) p frameCount $8 = 150 (gdb) --000000000000512d3e05a3553d0a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, Apr 15, 2020 at 4:28 PM Eli Zaretskii <eliz@gnu.org> wrote:

> What ab= out GIF and TIFF images that have more than one frame?=C2=A0 Does
> t= hat work as expected?

I don't have a multi-frame tiff around, bu= t I just tested with an animated gif:

(gdb) n
246 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 status =3D GdipImageGetFrameCount (pBitmap, &pDime= nsionIDs[0], &frameCount);
(gdb) n
247 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 if (status =3D=3D Ok && frameCount > 1)
(gdb) p st= atus
$7 =3D Ok
(gdb) p frameCount
$8 =3D 150
(gdb)

=
--000000000000512d3e05a3553d0a--