Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Digital Photography > IrfanView Comments data - bug?

Reply
Thread Tools

IrfanView Comments data - bug?

 
 
Terry Pinnell
Guest
Posts: n/a
 
      02-10-2012
I'd appreciate others trying to reproduce this please. Not sure if it's my
misunderstanding or a minor bug.

A handy feature is that in a JPG Comment you can enter things like $F to
get the filename and $E306 for the EXIF Date/Time.

But if I try to place both on the same line, e.g.

$F EXIF Date/Time = $E306

then it fails, displaying just the raw codes.

--
Terry, East Grinstead, UK
 
Reply With Quote
 
 
 
 
me
Guest
Posts: n/a
 
      02-10-2012
On Fri, 10 Feb 2012 10:38:09 +0000, Terry Pinnell
<> wrote:

>I'd appreciate others trying to reproduce this please. Not sure if it's my
>misunderstanding or a minor bug.
>
>A handy feature is that in a JPG Comment you can enter things like $F to
>get the filename and $E306 for the EXIF Date/Time.
>
>But if I try to place both on the same line, e.g.
>
>$F EXIF Date/Time = $E306
>
>then it fails, displaying just the raw codes.




Sigh, each goes on a separate line.
 
Reply With Quote
 
 
 
 
Terry Pinnell
Guest
Posts: n/a
 
      02-10-2012
Terry Pinnell <> wrote:

>I'd appreciate others trying to reproduce this please. Not sure if it's my
>misunderstanding or a minor bug.
>
>A handy feature is that in a JPG Comment you can enter things like $F to
>get the filename and $E306 for the EXIF Date/Time.
>
>But if I try to place both on the same line, e.g.
>
>$F EXIF Date/Time = $E306
>
>then it fails, displaying just the raw codes.


On an associated point, any of these codes that generate the '\'
character, such as $D for the full file path, result in duplicated
slashes, '\\'. For example, results like
C:\\Docs\\My Pictures\\PHOTOS\\Walks UK\\TP04\\TP04-Day3\\

Bug or by design?

--
Terry, East Grinstead, UK
 
Reply With Quote
 
Richard
Guest
Posts: n/a
 
      02-10-2012
Terry Pinnell wrote:
> Terry Pinnell <> wrote:
>
>> I'd appreciate others trying to reproduce this please. Not sure if
>> it's my misunderstanding or a minor bug.
>>
>> A handy feature is that in a JPG Comment you can enter things like
>> $F to get the filename and $E306 for the EXIF Date/Time.
>>
>> But if I try to place both on the same line, e.g.
>>
>> $F EXIF Date/Time = $E306
>>
>> then it fails, displaying just the raw codes.

>
> On an associated point, any of these codes that generate the '\'
> character, such as $D for the full file path, result in duplicated
> slashes, '\\'. For example, results like
> C:\\Docs\\My Pictures\\PHOTOS\\Walks UK\\TP04\\TP04-Day3\\
>
> Bug or by design?


http://irfanview-forum.de/forum.php


 
Reply With Quote
 
Terry Pinnell
Guest
Posts: n/a
 
      02-10-2012
me <> wrote:

>On Fri, 10 Feb 2012 10:38:09 +0000, Terry Pinnell
><> wrote:
>
>>I'd appreciate others trying to reproduce this please. Not sure if it's my
>>misunderstanding or a minor bug.
>>
>>A handy feature is that in a JPG Comment you can enter things like $F to
>>get the filename and $E306 for the EXIF Date/Time.
>>
>>But if I try to place both on the same line, e.g.
>>
>>$F EXIF Date/Time = $E306
>>
>>then it fails, displaying just the raw codes.

>
>
>
>Sigh, each goes on a separate line.


No need for the sigh - especially as you're mistaken. Both codes *can* go
on the same line.

It was my own stupid mistake. I must have forgotten to
perform the Write command before examining the result.



--
Terry, East Grinstead, UK
 
Reply With Quote
 
Robert Coe
Guest
Posts: n/a
 
      02-11-2012
On Fri, 10 Feb 2012 14:04:45 +0000, Terry Pinnell <>
wrote:
: Terry Pinnell <> wrote:
:
: >I'd appreciate others trying to reproduce this please. Not sure if it's my
: >misunderstanding or a minor bug.
: >
: >A handy feature is that in a JPG Comment you can enter things like $F to
: >get the filename and $E306 for the EXIF Date/Time.
: >
: >But if I try to place both on the same line, e.g.
: >
: >$F EXIF Date/Time = $E306
: >
: >then it fails, displaying just the raw codes.
:
: On an associated point, any of these codes that generate the '\'
: character, such as $D for the full file path, result in duplicated
: slashes, '\\'. For example, results like
: C:\\Docs\\My Pictures\\PHOTOS\\Walks UK\\TP04\\TP04-Day3\\
:
: Bug or by design?

A consequence of Irfanview's Unix roots, most likely. Pretty universally in
Unix, the backslash is a quoting character and must be doubled if an actual
backslash is intended. Some Windows programs recognize this and are somewhat
forgiving of inappropriate doubled backslashes. Most aren't.

Bob
 
Reply With Quote
 
David J Taylor
Guest
Posts: n/a
 
      02-11-2012
> A consequence of Irfanview's Unix roots, most likely. Pretty universally
> in
> Unix, the backslash is a quoting character and must be doubled if an
> actual
> backslash is intended. Some Windows programs recognize this and are
> somewhat
> forgiving of inappropriate doubled backslashes. Most aren't.
>
> Bob


IrfanView is a pure Windows program:

http://www.irfanview.com/faq.htm#Q57

The double-backslash requirement may be a function of using the C
language.

Cheers,
David

 
Reply With Quote
 
Terry Pinnell
Guest
Posts: n/a
 
      02-11-2012
"David J Taylor" <david-> wrote:

>> A consequence of Irfanview's Unix roots, most likely. Pretty universally
>> in
>> Unix, the backslash is a quoting character and must be doubled if an
>> actual
>> backslash is intended. Some Windows programs recognize this and are
>> somewhat
>> forgiving of inappropriate doubled backslashes. Most aren't.
>>
>> Bob

>
>IrfanView is a pure Windows program:
>
> http://www.irfanview.com/faq.htm#Q57
>
>The double-backslash requirement may be a function of using the C
>language.
>
>Cheers,
>David


Thanks both.

--
Terry, East Grinstead, UK
 
Reply With Quote
 
Terry Pinnell
Guest
Posts: n/a
 
      02-11-2012
"Richard" <> wrote:

>Terry Pinnell wrote:
>> Terry Pinnell <> wrote:
>>
>>> I'd appreciate others trying to reproduce this please. Not sure if
>>> it's my misunderstanding or a minor bug.
>>>
>>> A handy feature is that in a JPG Comment you can enter things like
>>> $F to get the filename and $E306 for the EXIF Date/Time.
>>>
>>> But if I try to place both on the same line, e.g.
>>>
>>> $F EXIF Date/Time = $E306
>>>
>>> then it fails, displaying just the raw codes.

>>
>> On an associated point, any of these codes that generate the '\'
>> character, such as $D for the full file path, result in duplicated
>> slashes, '\\'. For example, results like
>> C:\\Docs\\My Pictures\\PHOTOS\\Walks UK\\TP04\\TP04-Day3\\
>>
>> Bug or by design?

>
>http://irfanview-forum.de/forum.php
>


Thanks, duly joined for future use. (With great difficulty registering!
Gave up on the ambiguous images after 3 failed attempts and tried an MP3.
Eventually succeeded. A few forums go way OTT on this stuff IMO.)

--
Terry, East Grinstead, UK
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use irfanview to rewrite IPTC data? Barry L. Wallis Digital Photography 6 07-10-2007 01:56 AM
conversion of tiff file using irfanview loses comments. simon Digital Photography 4 03-20-2007 09:38 PM
A program to replace all JS comments with JSP comments in jsp files tungchau81@yahoo.com Javascript 4 06-03-2006 02:00 PM
A program to replace all JS comments with JSP comments in jsp files tungchau81@yahoo.com Java 0 06-02-2006 06:35 AM
Comments format: comments extending over multi-line Monk C Programming 10 04-20-2005 05:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57