Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, May 24, 2006 5:44:27 AM(UTC)
dale_durham

Groups: Registered
Posts: 3


G'day!

I am using using the LEAD Command Line Utilities with the switch's of /F17 /NOUI. The images that I am converting do not have a .TIF extension, but rather have a .1 or .2 etc... Every time I run the conversion, it renames the file(s) to .1.tif or .2.tif... Is there anyway to have LFC leave the original file extension and not add the .TIF?

Tks,
Dale
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, May 28, 2006 10:01:55 AM(UTC)

Ali  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Currently this feature not supported in the LFC. however I will add it to our feature request list.

Thanks,
Ali Abo Al-Rob
LEADTOOLS Technical Support


 
#3 Posted : Monday, May 29, 2006 12:50:29 AM(UTC)

Gabe  
Gabe

Groups: Registered, Tech Support
Posts: 46


Dale,
LFC does not have this functionality. However, if you are calling LFC from a batch file running on XP, then you can do something like this: @ECHO OFF
:: Initialise workfile
TYPE NUL>%TEMP%.\_RN.CMD :: Hide self from FOR IN DO scan
attrib +H "%~f0"
FOR %%F IN (*.*) DO CALL :_RENAME "%%F"
attrib -H "%~f0"
:: Execute the REName workfile and delete it
CALL %TEMP%.\_RN.CMD
DEL %TEMP%.\_RN.CMD
GOTO :EOF
:_RENAME
:: Extract each file BaseName and Extension
SET FN=%~n1
SET EXT=%~x1
:: Create RENaming workfile (snipping final 4 chars from BaseName)
ECHO REN "%FN:~0,-1%%EXT:~0,-1%" "%FN:~0,-1%">>%TEMP%.\_RN.CMD
:EOF

Edit by Moderator:
The LFC tool is no longer offered as a stand-alone utility, but its full source code is shipped with the newer versions of LEADTOOLS imaging SDK.

Edited by moderator Thursday, October 6, 2016 3:03:55 AM(UTC)  | Reason: Not specified

Gabe
Developer Support
LEAD Technologies, Inc.

LEAD Logo
 
#4 Posted : Wednesday, May 31, 2006 9:05:36 AM(UTC)
dale_durham

Groups: Registered
Posts: 3


Thanks for the help. I will give it a try.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.099 seconds.