🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #253212

Re: [Dialog] Decoding/Saving JPEG attachments

#253212
From: Bernd Rose
Date: Mon, 07 Jan 2013 19:50
35 lines
2961 bytes
On Sun, 6 Jan 2013 13:59:57 -0600, Sqwertz wrote:

> I've had this problem before, where Dialog shows me the preview of the
> picture and full render as having come from the text/html segment of
> the MIME message, and then opens up Notepad when I try and view the
> "unknown.jpeg" segment/file.
> 
> news:BWZFs.663002$iq1.578104@en-nntp-12.dc1.easynews.com

The image has no associated name inside the posting. It is linked
from Html code via Content-ID to the section of the multipart
message, where the image content is stored. Html-view and preview
work fine /without/ the name, nevertheless, because Dialog does
internal rendering. For the zoomed preview with external program,
OTOH, the "image" is saved to disk into a temporary file. Now,
the missing name /is/ important. Every unnamed file will be saved 
as temporary AttachXXX.txt. - Exactly the same name, which is 
suggested as default when manually /saving/ the file to disk.

Whether the missing "file-type-guessing" in the Save routine of
Dialog is just unfinished programming, a security setting against
potentially dangerous wrong-guessing, or sth. entirely else - I
cannot say. All I can say is, that nothing can be done about it.
 
> I have to save the text portion and rename it as a .jpg to be able to
> view it externally.

You can rename it in the Save dialog rather than later on disk.
But that's about all, which can be achieved...

If you just wish to see the picture a bit larger than as a preview,
you can select Html-view and zoom the message pane. This will show
the picture inline inside the rendered Html "page".

Bernd
Technical Details
Message-ID: <te3s8c29pxfj.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!feed.xsnews.nl!border-1.ams.xsnews.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail
References: <11hrevt52sdz9$.dlg@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <te3s8c29pxfj.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: [Dialog] Decoding/Saving JPEG attachments
Date: Mon, 7 Jan 2013 20:50:58 +0100
From: Bernd Rose <b.rose.tmpbox@expires-2013-01-31.arcornews.de>
References: <11hrevt52sdz9$.dlg@sqwertz.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!feed.xsnews.nl!border-1.ams.xsnews.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41 (a69df193.242.420)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 35
Organization: Arcor
NNTP-Posting-Date: 07 Jan 2013 20:50:58 CET
NNTP-Posting-Host: 4f44c17d.newsspool1.arcor-online.net
X-Trace: DXC=3i^`B^6\99V1`E>oC;
 JXEZic==]BZ:af^4Fo<]lROoRQnkgeX?EC@@P@k9I1YG3X@TBYf[Tl<>RjZ5\?O58BK<[RcAkFOGho`^Q
X-Complaints-To: usenet-abuse@arcor.de
X-Original-Bytes: 2688