<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged globallaunch</title>
<link>https://coderlegion.com/tag/globallaunch</link>
<description>Powered by Question2Answer</description>
<item>
<title>ImagePickerKMP support extentions now and Web</title>
<link>https://coderlegion.com/6451/imagepickerkmp-support-extentions-now-and-web</link>
<description>&lt;h2 id=&quot;imagepickerkmp-new-extensions-amp-image-compression&quot;&gt;ImagePickerKMP — New Extensions &amp;amp; Image Compression&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Repository:&lt;/strong&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/ismoy/ImagePickerKMP&quot;&gt;ismoy/ImagePickerKMP&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;overview&quot;&gt;Overview&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;ImagePickerKMP&lt;/strong&gt; now introduces powerful new &lt;strong&gt;extension functions&lt;/strong&gt; and &lt;strong&gt;image compression&lt;/strong&gt; features for more flexible image handling across Android, iOS  and Web platforms.&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;available-extension-functions&quot;&gt;Available Extension Functions&lt;/h3&gt;
&lt;p&gt;These new extensions allow you to easily convert captured or selected images into different formats — perfect for storage, UI display, graphics, or network use.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th&gt;Function &lt;/th&gt;&lt;th&gt;Returns &lt;/th&gt;&lt;th&gt;Usage&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;code&gt;loadBytes()&lt;/code&gt; &lt;/td&gt;&lt;td&gt;&lt;code&gt;ByteArray&lt;/code&gt; &lt;/td&gt;&lt;td&gt;For file operations and storage&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;code&gt;loadPainter()&lt;/code&gt; &lt;/td&gt;&lt;td&gt;&lt;code&gt;Painter&lt;/code&gt; &lt;/td&gt;&lt;td&gt;For direct display in Compose UI&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;code&gt;loadImageBitmap()&lt;/code&gt; &lt;/td&gt;&lt;td&gt;&lt;code&gt;ImageBitmap&lt;/code&gt; &lt;/td&gt;&lt;td&gt;For Compose graphics operations&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;code&gt;loadBase64()&lt;/code&gt; &lt;/td&gt;&lt;td&gt;&lt;code&gt;String&lt;/code&gt; &lt;/td&gt;&lt;td&gt;For API calls and network transmission&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr&gt;
&lt;h3 id=&quot;example-usage&quot;&gt;Example Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code class=&quot;language-kotlin&quot;&gt;// State variables
var showCamera by remember { mutableStateOf(false) }
var showGallery by remember { mutableStateOf(false) }
var capturedImage by remember { mutableStateOf&amp;lt;Painter?&amp;gt;(null) }
var selectedPhotos by remember { mutableStateOf&amp;lt;List&amp;lt;GalleryPhotoHandler.PhotoResult&amp;gt;&amp;gt;(emptyList()) }

// Camera with extension functions
if (showCamera) {
    ImagePickerLauncher(
        config = ImagePickerConfig(
            onPhotoCaptured = { result -&amp;gt;
                // Use extension functions to get different formats
                val imageBytes = result.loadBytes()        // For file operations
                val imagePainter = result.loadPainter()    // For UI display
                val imageBitmap = result.loadImageBitmap() // For graphics operations
                val imageBase64 = result.loadBase64()      // For API calls
                
                // Store the painter to display later
                capturedImage = imagePainter
                showCamera = false
            },
            onError = { showCamera = false },
            onDismiss = { showCamera = false },
            directCameraLaunch = true
        )
    )
}

// Gallery with extension functions
if (showGallery) {
    GalleryPickerLauncher(
        onPhotosSelected = { photos -&amp;gt;
            selectedPhotos = photos
            showGallery = false
        },
        onError = { showGallery = false },
        onDismiss = { showGallery = false },
        allowMultiple = true
    )
}

// Display captured image
capturedImage?.let { painter -&amp;gt;
    Image(
        painter = painter,
        contentDescription = &quot;Captured photo&quot;,
        modifier = Modifier.size(200.dp)
    )
}

// Display selected photos
LazyColumn {
    items(selectedPhotos) { photo -&amp;gt;
        photo.loadPainter()?.let { painter -&amp;gt;
            Image(
                painter = painter,
                contentDescription = &quot;Selected photo&quot;,
                modifier = Modifier
                    .fillMaxWidth()
                    .height(200.dp)
            )
        }
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;gist: &lt;a rel=&quot;nofollow&quot; href=&quot;https://gist.github.com/ismoy/c4b71401821c995031416f88eb0b40f8&quot;&gt;read More&lt;/a&gt;&lt;/p&gt;
</description>
<category>Open Source Tools</category>
<guid isPermaLink="true">https://coderlegion.com/6451/imagepickerkmp-support-extentions-now-and-web</guid>
<pubDate>Tue, 14 Oct 2025 23:03:02 +0000</pubDate>
</item>
<item>
<title>Big News! Reelora is Now Available Worldwide!</title>
<link>https://coderlegion.com/3860/big-news-reelora-is-now-available-worldwide</link>
<description>&lt;p&gt;&lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=4217254721479064050&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;We’re thrilled to announce that Reelora is officially rolling out globally!&lt;br&gt;
No matter where you are, you can now enjoy your favorite movies, discover trending content, and get a seamless entertainment experience — all in one powerful app.&lt;/p&gt;
&lt;p&gt;✅ Available in all countries&lt;br&gt;
✅ Personalized for your region&lt;br&gt;
✅ Smooth experience with offline support&lt;br&gt;
✅ Global mobile number login &amp;amp; multiple sign-in options&lt;br&gt;
✅ Lightweight, responsive, and multilingual&lt;/p&gt;
&lt;p&gt;Thank you for your continued support. This is just the beginning — we’re building Reelora for the world, and for YOU. &lt;/p&gt;
&lt;p&gt; Download now and be part of the global Reelora family!&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://play.google.com/store/apps/details?id=com.dk.reelora&quot;&gt;https://play.google.com/store/apps/details?id=com.dk.reelora&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=16138946130853865825&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/3860/big-news-reelora-is-now-available-worldwide</guid>
<pubDate>Wed, 09 Jul 2025 18:22:14 +0000</pubDate>
</item>
</channel>
</rss>