<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Rubyvips on Saroj Maharjan</title>
		<link>https://sarojmaharjan.com/tags/rubyvips/</link>
		<description>Recent content in Rubyvips on Saroj Maharjan</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
			<copyright>&amp;copy; All rights reserved.</copyright>
		
		
			<lastBuildDate>Tue, 06 Oct 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://sarojmaharjan.com/tags/rubyvips/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Create a Captcha with rubyvips, Then Read It Back in Ruby</title>
				<link>https://sarojmaharjan.com/blog/create-and-solve-captcha-with-rubyvips/</link>
				<pubDate>Tue, 06 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://sarojmaharjan.com/blog/create-and-solve-captcha-with-rubyvips/</guid>
				<description>&lt;p&gt;One of my Rails apps logs into a third-party portal on a schedule. That portal puts a captcha in front of every login: a 290x80 PNG, six glyphs, drawn over a fixed background texture.&lt;/p&gt;&#xA;&lt;p&gt;A human types it. A cron job cannot. So the controller has two paths: &lt;code&gt;create&lt;/code&gt; takes whatever a person typed, and &lt;code&gt;auto_create&lt;/code&gt; hands the image to an offline solver. Both open the session the same way; only the second one is allowed to fail with a &amp;ldquo;needs a human&amp;rdquo; error and fall back to the screen.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
