Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1031911 // fixImageExtensions - fix extension for all images in a directory

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3586L/20K).

svoid fixImageExtensions(File/S dir) {
  for (File f : filesIn(dir))
    fixImageFileName(f);
}

svoid fixImageExtensions() {
  fixImageExtensions(currentDir());
}

Author comment

Began life as a copy of #1031273

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031911
Snippet name: fixImageExtensions - fix extension for all images in a directory
Eternal ID of this version: #1031911/3
Text MD5: 7d4584fd35d6cee2e6db45fe8b7f0325
Transpilation MD5: 224ba80babc8759bf16962d183180cfa
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-07 00:18:54
Source code size: 170 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 146 / 234
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032001 - fixImageExtensions_recursive