KenR 29 Posted November 29, 2021 Does anyone know if there is an application available to generate all iOS, Android, etc. images from a single image and also update the project file. I ask because I have written one and am considering making it freely available. Share this post Link to post
Dave Nottage 557 Posted November 29, 2021 14 minutes ago, Lars Fosdal said: What defines an image here? I suspect Ken is referring to icons and launch images. 57 minutes ago, KenR said: I ask because I have written one and am considering making it freely available. I'd be interested in seeing it Share this post Link to post
KenR 29 Posted November 29, 2021 Ok. One thing I haven't done yet is to put in the backing up of the project file before altering it. I'll do this before uploading a link. It generates all icons/launch images (there can be a different launch image) but it uses specific image names and is only suitable for Delphi 10 and above. I have been using it myself for a couple of years. Share this post Link to post
KenR 29 Posted November 29, 2021 Link is https://karmobile.net/LaunchGen/Setup.exe 2 Share this post Link to post
Lars Fosdal 1792 Posted November 29, 2021 Personally, I would never download an .exe from a less known source. Share this post Link to post
KenR 29 Posted November 29, 2021 11 minutes ago, Lars Fosdal said: Personally, I would never download an .exe from a less known source. Where would you suggest that I put it? Share this post Link to post
Lars Fosdal 1792 Posted November 29, 2021 Good question... If you intend to distribute it for free, and it is a generic tool for Delphi - You could work with EMBT to get it packaged for GetIt? If the source code doesn't contain any commercial libs, there is the source code on GitHub option? Share this post Link to post
KenR 29 Posted November 29, 2021 It uses several commercial libraries (DevEx, UniDAC, ImageEn, TMS) so was not intending to provide source. Share this post Link to post
Guest Posted November 30, 2021 13 hours ago, Lars Fosdal said: Personally, I would never download an .exe from a less known source. I agree with your opinion, the captain is cut out for this kind of work, https://sandboxie-plus.com/downloads/ I use. when i'm done i delete the repository Sandboxie folder, create it again, isolate the fully running application from the system. After examining what it has created in the sandboxie folder, I test its reliability. Share this post Link to post
sjordi 39 Posted November 30, 2021 I do this myself on my Mac. I generate the largest one 1024x1024 and then run this script. It's easy to adapt when a new resolution shows up. generate [path\]iconname.png It will create all required icons for iOS and Android in the generated subfolder generate.sh Share this post Link to post
Lars Fosdal 1792 Posted November 30, 2021 Is sips open source? Is there a Windows version? Share this post Link to post
sjordi 39 Posted November 30, 2021 Unfortunately I think it's a macOS only command On Linux, something close to it is imagemagick A quick google search didn't really result in finding something for Windows. Share this post Link to post
Lars Fosdal 1792 Posted November 30, 2021 Fortunately, ImageMagick is available for Linux, Windows, MacOSX and even iOS. https://imagemagick.org/script/download.php Share this post Link to post
KenR 29 Posted November 30, 2021 I have submitted my application to Embarcadero for inclusion in GetIt 1 Share this post Link to post
Sherlock 663 Posted November 30, 2021 In the past I used one of the many free online services for my icons (not that I needed many, only two sets). Appiconmaker, app icon generator and so forth are handy google arguments. What they lack is the start screen thing, nice addition. What none have or even consider, is the use of a different icon for those small ones, where scaled down big images just look mushy and ugly. See here for more info on that subject. Share this post Link to post
KenR 29 Posted November 30, 2021 Launch Gen resamples the images so that the small ones still look good. These are generated from a 1024x1024 image: 1 Share this post Link to post
Lars Fosdal 1792 Posted December 1, 2021 I use the good old IcoFX 1.6.4 Portable Edition. KenR - how well does it resample for 32x32 and below? Most of the time, the smallest sizes need some TLC to look decent. 1 Share this post Link to post
KenR 29 Posted December 1, 2021 The smallest size required to be generated is the iPhone_Spotlight29 but it also really depends a lot on the quality of the initial image used. Share this post Link to post
KenR 29 Posted December 1, 2021 I should add, in case there is any confusion, that LaunchGen is not a generic application for editing/resizing images. It specifically generates Android, iPhone, iPad and Windows icons/splashimages required for Delphi FMX projects, More details are available here https://karmobile.net/LaunchGen Share this post Link to post
Lars Fosdal 1792 Posted December 1, 2021 I would think that you could increase the potential number of users with quite a bit if you added VCL support as well 🙂 Edit: or even add it as a pro feature at a reasonable price. Share this post Link to post
Lars Fosdal 1792 Posted December 1, 2021 Although VCL apps need 16x16 too. Share this post Link to post
KenR 29 Posted December 1, 2021 The Windows Icon file is created with image sizes of 16x16, 24 x 24, ,32x32, ,48x48 ,64x64,72x72, 96x96, 128x128, 256x256 and 512x512 pixels as well as creating the UWP 44x44 and 150x150 logo images. All images are resized using the Mitchell filter which I find to be the best for most icons. I could make the choice of filter to user definable. Share this post Link to post
Lars Fosdal 1792 Posted December 1, 2021 The dice example doesn't look well at the smaller sizes as particularly the lower right corner is not as round as it should be. Offering multiple downsampling algorithm options is a good idea. Share this post Link to post