Thread View: news.software.readers
12 messages
12 total messages
Started by tlvp
Sat, 06 Dec 2014 02:34
Handling .png in Dialog
Author: tlvp
Date: Sat, 06 Dec 2014 02:34
Date: Sat, 06 Dec 2014 02:34
14 lines
1705 bytes
1705 bytes
When reading HTML posts in Dialog, there's no problem in seeing images of type .jpg or .gif ... but .png files show only as large, blank, rectangular outlines, with a tiny "broken graphic" icon indicating what's not showing. In Settings > General Settings > Attachments > Never execute ... extensions seeking a *.png entry to remove, I see *.pdf, *.prf, *.prg, but not *.png . So: is there somewhere I can tell Dialog how to execute a .png file? Or is(are) there some other setting(s) I must adjust, instead? Thanks! Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Handling .png in Dialog
Author: VanguardLH
Date: Sat, 06 Dec 2014 03:20
Date: Sat, 06 Dec 2014 03:20
33 lines
3124 bytes
3124 bytes
tlvp wrote: > When reading HTML posts in Dialog, there's no problem in seeing images of > type .jpg or .gif ... but .png files show only as large, blank, rectangular > outlines, with a tiny "broken graphic" icon indicating what's not showing. > > In Settings > General Settings > Attachments > Never execute ... extensions > > seeking a *.png entry to remove, I see *.pdf, *.prf, *.prg, but not *.png . > > So: is there somewhere I can tell Dialog how to execute a .png file? Or > is(are) there some other setting(s) I must adjust, instead? You don't execute a .png file. You render a .png file. If the image renderer (decoder) is not included then that image type is unsupported. PDFs can contain a launch command (and why you should configure your PDF viewer to NOT honor the launch request). PRF are Preferences and they can alter settings in your computer if launched. PRG could be anything from a filetype used by other programs to an executable program. Those "executions" are letting external handlers run those file types. A better wording for that option would be "Never pass the following attachments to their assigned external handler". Disabling filetype association inside of Dialog to block some handler from loading the attachment is not the same as defining codecs inside of Dialog to have it present an image. There are probably tons of image types for which Dialog does not have a decoder. Development of Dialog died back in 2004 (with a beta in 2005) when its author abandoned that project. No one has since taken up the project probably because it was not open source. That's about when PNG started finding acceptance at web sites. So Dialog got zombied about when PNG started getting used. It's a very good NNTP client but it hasn't been worked on for almost a decade.
Re: Handling .png in Dialog
Author: Sqwertz
Date: Sat, 06 Dec 2014 05:18
Date: Sat, 06 Dec 2014 05:18
26 lines
2418 bytes
2418 bytes
On Fri, 5 Dec 2014 21:34:56 -0500, tlvp wrote: > When reading HTML posts in Dialog, there's no problem in seeing images of > type .jpg or .gif ... but .png files show only as large, blank, rectangular > outlines, with a tiny "broken graphic" icon indicating what's not showing. > > In Settings > General Settings > Attachments > Never execute ... extensions > > seeking a *.png entry to remove, I see *.pdf, *.prf, *.prg, but not *.png . > > So: is there somewhere I can tell Dialog how to execute a .png file? Or > is(are) there some other setting(s) I must adjust, instead? > > Thanks! Cheers, -- tlvp Don't think I've noticed it, but I guess Dialog doesn't natively handle .PNG files. But if you double click the filename in the preview pane (AKA "Message Parts Tree"), it will fork whatever external program you have your operating configured (not dialog) to execute to show that file type (provided it's not on the list of excluded file extensions you mention). IOW, you don't tell Dialog how to execute the file, you tell your operating system. -sw
Re: Handling .png in Dialog
Author: tlvp
Date: Sat, 06 Dec 2014 17:40
Date: Sat, 06 Dec 2014 17:40
25 lines
2125 bytes
2125 bytes
On Fri, 5 Dec 2014 23:18:51 -0600, Sqwertz wrote: > Don't think I've noticed it, but I guess Dialog doesn't natively > handle .PNG files. And there's no easy way I can teach it how to handle them (or to use, say, IrfanView to handle them)? Pity. As to ... > ... But if you double click the filename in the > preview pane (AKA "Message Parts Tree"), it will fork whatever > external program you have your operating configured (not dialog) to > execute to show that file type (provided it's not on the list of > excluded file extensions you mention). Yes, thanks, that's what I've been doing. It does kind of spoil Dialog's otherwise very usable HTML-mode message-display. > IOW, you don't tell Dialog how to execute the file, you tell your > operating system. Yes. Pretty much what VanguardLH (thanks, VLH) was telling me, too. Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Handling .png in Dialog
Author: tlvp
Date: Sat, 06 Dec 2014 17:52
Date: Sat, 06 Dec 2014 17:52
17 lines
1986 bytes
1986 bytes
On Fri, 5 Dec 2014 21:20:06 -0600, VanguardLH wrote: > You don't execute a .png file. You render a .png file. Of course. I wrote "execute" because that's the term Dialog uses when I double-click on a jpg file: a little dialog-box (pun unintended) comes up, with title Confirm, asking 'Execute file "[whatever].jpg"?' and with response buttons 'Yes', 'No'; clicking on 'Yes' causes the image to be displayed in Windows' own Photo Gallery software. Likewise when I double-click on a .png file listed in a post's manifest. But you'd be wasting your breath trying to get Dialog to change its dialog-box terminology now :-) . Cheers, and thanks for the other insights, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Handling .png in Dialog
Author: Bernd Rose
Date: Sat, 06 Dec 2014 21:15
Date: Sat, 06 Dec 2014 21:15
16 lines
2128 bytes
2128 bytes
On Sat, 6 Dec 2014 12:40:39 -0500, tlvp wrote: [*.png] > And there's no easy way I can teach it how to handle them (or to use, say, > IrfanView to handle them)? Pity. As to ... Why not? Executing *.png from Dialog to IrfanView works here without any problem. Just tell IrfanView to associate *.png extension to itself. As long as *.png is not added to the Dialog execution prevention list (which you mentioned in your OP), *.png files should open just fine inside IrfanView. - Provided, that those *.png files really /are/ valid *.png images, at all. (Or any other image format, which IrfanView recognizes, because IrfanView supports displaying [and optionally renaming] of images that carry the wrong extension.) Bernd
Re: Handling .png in Dialog
Author: Bernd Rose
Date: Sat, 06 Dec 2014 21:28
Date: Sat, 06 Dec 2014 21:28
10 lines
1845 bytes
1845 bytes
Following myself up /and/ superseding: :-( :-(
> [*.png]
Forgot to mention: Dialog also displays (valid) *.png internally
^^^^^^
by itself. If a *.png is listed in the message parts tree, it can be
selected and will be rendered by Dialog.
Bernd
Re: Handling .png in Dialog
Author: tlvp
Date: Sun, 07 Dec 2014 03:57
Date: Sun, 07 Dec 2014 03:57
17 lines
2061 bytes
2061 bytes
On Sat, 6 Dec 2014 22:15:49 +0100, Bernd Rose wrote: > Why not? Executing *.png from Dialog to IrfanView works here without any > problem. Just tell IrfanView to associate *.png extension to itself. Bernd, that's all it took :-) ! Tausend mal Danke! While I was in that area of IrfanView, I noticed that *.gif is so associated, as well, but not *.jpg. Yet Dialog had always displayed both *.gif and *.lpg graphic files. Anyway, now it's happily displaying .png files, as well. Thanks a million! > ... As > long as *.png is not added to the Dialog execution prevention list (which > you mentioned in your OP), *.png files should open just fine And indeed they do now. Perfect :-) ! Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Handling .png in Dialog
Author: tlvp
Date: Sun, 07 Dec 2014 04:09
Date: Sun, 07 Dec 2014 04:09
26 lines
2405 bytes
2405 bytes
On Sat, 6 Dec 2014 22:28:24 +0100, Bernd Rose wrote: > Following myself up /and/ superseding: :-( :-( > >> [*.png] > > Forgot to mention: Dialog also displays (valid) *.png internally > ^^^^^^ > by itself. If a *.png is listed in the message parts tree, it can be > selected and will be rendered by Dialog. I'm not sure what you mean by that, Bernd. In my experience (in Win Vista) -- this prior to telling IrfanView always to deal with *.png files -- a *.png listed in the message parts tree did display in that area if it was the *first* graphic file listed, but nothing displayed anywhere else if it was selected; and *.png files incorporated in HTML messages didn't display at all. Only double-clicking got them displayed, in the default external viewer for the .*png file type. Now that I *have* told IrfanView to deal with *.png files itself, things are as you describe, and more. Thanks again. Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Handling .png in Dialog
Author: Bernd Rose
Date: Sun, 07 Dec 2014 07:19
Date: Sun, 07 Dec 2014 07:19
37 lines
3225 bytes
3225 bytes
On Sat, 6 Dec 2014 23:09:53 -0500, tlvp wrote: >> Forgot to mention: Dialog also displays (valid) *.png internally >> by itself. If a *.png is listed in the message parts tree, it can be >> selected and will be rendered by Dialog. > > I'm not sure what you mean by that, Bernd. > > In my experience (in Win Vista) -- this prior to telling IrfanView always > to deal with *.png files -- a *.png listed in the message parts tree did > display in that area if it was the *first* graphic file listed, but nothing > displayed anywhere else if it was selected; and *.png files incorporated in > HTML messages didn't display at all. Only double-clicking got them > displayed, in the default external viewer for the .*png file type. The small image displayed in the message parts tree will always be only the first one. (Or none - if preview is de-selected in the Dialog Options section for attachments.) I was under the impression, that the large versions of images, that are displayed inside the message pane (when that image is selected from the message parts tree) /also/ is rendered by the internal image renderer of Dialog. >From your description, this obviously is wrong, though. Such images seem to be passed to the HtmlLite component, that is compiled into Dialog. And that, in itself, doesn't use the internal image renderers of Dialog. Instead, it depends on system registered renderers. - Something new to learn every day... :-) > Now that I *have* told IrfanView to deal with *.png files itself, things > are as you describe, and more. > > Thanks again. Cheers, -- tlvp You're welcome. Glad it worked out for you! Bernd
Re: Handling .png in Dialog
Author: Sqwertz
Date: Sun, 07 Dec 2014 09:18
Date: Sun, 07 Dec 2014 09:18
21 lines
2155 bytes
2155 bytes
On Sat, 6 Dec 2014 22:57:15 -0500, tlvp wrote: > On Sat, 6 Dec 2014 22:15:49 +0100, Bernd Rose wrote: > >> Why not? Executing *.png from Dialog to IrfanView works here without any >> problem. Just tell IrfanView to associate *.png extension to itself. > > Bernd, that's all it took :-) ! Tausend mal Danke! While I was in that area > of IrfanView, I noticed that *.gif is so associated, as well, but not > *.jpg. Yet Dialog had always displayed both *.gif and *.lpg graphic files. > Anyway, now it's happily displaying .png files, as well. Thanks a million! > >> ... As >> long as *.png is not added to the Dialog execution prevention list (which >> you mentioned in your OP), *.png files should open just fine > > And indeed they do now. Perfect :-) ! Cheers, -- tlvp Hrmp. -sw
Re: Handling .png in Dialog
Author: tlvp
Date: Sun, 07 Dec 2014 09:31
Date: Sun, 07 Dec 2014 09:31
21 lines
2132 bytes
2132 bytes
On Sun, 7 Dec 2014 03:18:12 -0600, Sqwertz wrote: > On Sat, 6 Dec 2014 22:57:15 -0500, tlvp wrote: > >> On Sat, 6 Dec 2014 22:15:49 +0100, Bernd Rose wrote: >> >>> ... Just tell IrfanView to associate *.png extension to itself. >> >> Bernd, that's all it took :-) ! ... >> ... now it's happily displaying .png files ... > > Hrmp. Oops! I guess Bernd got me explicitly to do what your remark had hinted at: > IOW, you don't tell Dialog how to execute the file, you tell your operating system. I just didn't grok what you were driving at in that overly condensed way of expressing it. No matter, it's all good now :-) . Thanks; cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads