Monday, June 15, 2026
The BLOCKCHAIN Page
No Result
View All Result
  • Home
  • Cryptocurrency
  • Blockchain
  • Bitcoin
  • Market & Analysis
  • Altcoins
  • DeFi
  • Ethereum
  • Dogecoin
  • XRP
  • Regulations
  • NFTs
The BLOCKCHAIN Page
No Result
View All Result
Home NFTs & Metaverse

I’ve reviewed every PDF editor out there – then I had ChatGPT build me a better one

by admin
June 15, 2026
in NFTs & Metaverse
0
I’ve reviewed every PDF editor out there – then I had ChatGPT build me a better one
0
SHARES
2
VIEWS
Share on FacebookShare on Twitter


img-9754b

David Gewirtz/ZDNET

Observe ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • Yellow sheet music can confuse playback apps.
  • A command-line Python script solved the PDF downside.
  • Generally AI is greatest used to jot down the software.

Not too long ago, my spouse, Denise, began singing along with her church’s choir. She has a stunning singing voice. She wanted to apply all the brand new songs. The songs got here in booklets, concerning the measurement of a commerce paperback, printed on yellow paper. She needed to scan these booklets into her laptop as a PDF, take away the colour, and reprint them bigger, on 8.5-by-11-inch paper so she would not need to put on her studying glasses to see them.

So one afternoon she got here to me. She requested how she may take away the yellow background, however protect the music itself, in order that she may print it out with out losing an enormous quantity of coloration printer ink. If she printed it out in black and white, she’d nonetheless be utilizing a variety of ink to print out a grey background, which might be even tougher to see.

Additionally: How to use ChatGPT: A beginner’s guide to mastering OpenAI’s chatbot in 2026

She was additionally planning to feed the music into PlayScore 2, an app that performs the sheet music as a way to sing alongside to it. She was involved the software program may not just like the background coloration.

I initially advised eradicating the yellow background in Photoshop, however the process turned out to be too fiddly. Every picture wanted barely totally different slider settings. It was simply too annoying and time consuming to do it that means.

So, I advised she use ChatGPT. She has a ChatGPT Plus account, so this appeared like a good possibility.

Deterministic vs. non-deterministic

I did some assessments, utilizing prompts like:

Give me again a PDF I can obtain the place the yellow background has been eliminated and changed with white.

You probably did it accurately, however sadly, the textual content high quality could be very low decision. Are you able to regenerate it in full decision, please?

Additionally: This easy prompt trick gave me better AI-generated images – no matter the model

These assessments labored, however ChatGPT subtly altered the ensuing PDFs. My spouse was involved that ChatGPT may change the notes the phrases or another side of the unique music. She did not need to sight learn and apply it incorrect.

ChatGPT and different AIs are “non-deterministic.” Webster’s defines determinism as, “occurrences in nature, or social or psychological phenomena [that] are causally decided by previous occasions or pure legal guidelines.” In different phrases, the enter all the time predicts the output.

Algorithmic programming, in contrast to AI, is deeply deterministic. Granted, applications can go off the deep finish, however they achieve this in a means that may finally be predicted from the precise association of code and variables.

AIs are non-deterministic. Because of this you can feed in the very same enter three or 4 instances, and get three or 4 totally different outcomes again. It is form of like speaking to a plumber or an electrician. AIs base their outcomes on a posh collection of chance calculations, so the outcomes can change with every go.

Additionally: ChatGPT’s new memory upgrade is powerful – and could poison every answer it gives you

Denise has skilled this in her interactions with ChatGPT. She most undoubtedly did not need to give ChatGPT her music and get again one thing the place ChatGPT took liberties with the masters.

She needed a software to take away background coloration that was strictly deterministic.

Python can do this

For my remaining program in my Harvard Python programming certification, I wrote an interactive picture administration software that was capable of do particular person Photoshop-like picture transformations, and batch them collectively in sequences. So I knew that Python has the libraries to perform what Denise needed.

Additionally: I stopped using ChatGPT for everything: These AI models beat it at research, coding, and more

I, then again, did not have the time to jot down a Python program to do this. It was a really busy week. I had a protracted backlog of work-related tasks I wanted to energy although.

However ChatGPT has on a regular basis on this planet. That is the place issues get cool. You should utilize a non-deterministic software like ChatGPT to generate a deterministic program, like a Python decoloring software. If you wish to learn a very attention-grabbing article on AI determinism vs. non-determinism, read this by former ZDNETer Jason Perlow.

In any case, I made a decision to ask ChatGPT to jot down a Python script that will do the colour removing. To create the script, I gave it this immediate, after which went into the kitchen to assist my spouse put together dinner.

Write a python script that takes in a jpeg and units any pixels that aren’t grey or black to white, saving it again out as name-decolor.jpg the place identify is the file identify. Enable barely tinted grays in order that black textual content on a coloured background will render correctly as black textual content. Are you able to do the identical factor if a PDF is introduced? It additionally must work if the PDF is a number of pages.

By the point dinner was executed, so was ChatGPT. The primary model of the script had a number of points as a result of I wanted to put in a Python library. However after that, it simply ran.

It really works very merely. You execute this system decolor_pdf.py from the command line, feeding it a single PDF file. It outputs a brand new PDF file with the background coloration eliminated.

% python decolor_pdf.py enter.pdf

Does it work?

Yeah, it does. If you wish to obtain a duplicate for your self, it is on my GitHub repo. My spouse was involved about me utilizing screenshots on this article from the copyrighted church hymnals, so visited the New York Public Library’s web site and grabbed a public area track to display.

side-by-side

Picture: New York Public Library (and my Python program)

This can be a track by jazz nice Fat Waller, who additionally wrote a number of musicals. It’s kind of of a racy track, utilizing horse racing metaphors to explain altering lovers. It was co-written with Andy Razaf, recognized for writing the lyrics to songs as “Ain’t Misbehavin'” and “Honeysuckle Rose”.

Useful classes

So there are a number of useful takeaways from this expertise.

  • If you need the AI’s assist, you do not all the time have to depend on non-deterministic processing. Generally, you may simply ask for it to jot down you a program that works based mostly on a dependable algorithm.
  • You additionally do not have to spend so much of time on creating a glance or UI. Generally making a easy command-line software will get the job executed.
  • Do not be afraid to refine your spec with the AI. Check out what it creates after which ask for tweaks and fixes.
  • Python can do so much. There are various, many libraries so in case you’re unsure what you need to use, construct it in Python.

So there you go. Should you want a fast answer to one thing, strive asking ChatGPT to jot down it for you. Labored for me and I used to be capable of give my spouse a workable software and assist de-chickelate a rotisserie rooster on the similar time.

Additionally: I tested ChatGPT Images 2.0 vs. Gemini Nano Banana to see which is better – this model wins

Have you ever ever prevented utilizing AI instantly since you had been fearful it’d subtly change the unique file? Tell us within the feedback beneath.


You’ll be able to comply with my day-to-day undertaking updates on social media. Be sure you subscribe to my weekly update newsletter, and comply with me on Twitter/X at @DavidGewirtz, on Fb at Facebook.com/DavidGewirtz, on Instagram at Instagram.com/DavidGewirtz, on Bluesky at @DavidGewirtz.com, and on YouTube at YouTube.com/DavidGewirtzTV.





Source link

Tags: buildChatGPTeditorIvePDFreviewed
admin

admin

Recommended

Trader Predicts 75% Surge for Low-Cap Altcoin, Flips Bullish on Fantom and One DeFi Crypto Asset

Trader Predicts 75% Surge for Low-Cap Altcoin, Flips Bullish on Fantom and One DeFi Crypto Asset

2 years ago
Bitcoin Price Dips On The Christmas Day But Dips Still Attractive

Bitcoin Price Dips On The Christmas Day But Dips Still Attractive

2 years ago

Popular News

  • Protocol-Owned Liquidity: A Sustainable Path for DeFi

    Protocol-Owned Liquidity: A Sustainable Path for DeFi

    0 shares
    Share 0 Tweet 0
  • Cryptocurrency for College: Exploring DeFi Scholarship Models

    0 shares
    Share 0 Tweet 0
  • What are rebase tokens, and how do they work?

    0 shares
    Share 0 Tweet 0
  • What is Velodrome Finance (VELO): why it’s a next-gen AMM

    0 shares
    Share 0 Tweet 0
  • $10 XRP Price Envisioned By Fund Manager As Ripple Mounts Trillion-Dollar Payment Markets ⋆ ZyCrypto

    0 shares
    Share 0 Tweet 0

Latest

I’ve reviewed every PDF editor out there – then I had ChatGPT build me a better one

I’ve reviewed every PDF editor out there – then I had ChatGPT build me a better one

June 15, 2026
Before you buy a smartwatch or smart ring, consider what you’re giving up

Before you buy a smartwatch or smart ring, consider what you’re giving up

June 15, 2026

Categories

  • Altcoins
  • Bitcoin
  • Blockchain
  • Cryptocurrency
  • DeFi
  • Dogecoin
  • Ethereum
  • Market & Analysis
  • NFTs & Metaverse
  • Regulations
  • XRP

Follow us

Recommended

  • I’ve reviewed every PDF editor out there – then I had ChatGPT build me a better one
  • Before you buy a smartwatch or smart ring, consider what you’re giving up
  • XRP Ledger Daily Fees Drop Below $400
  • 3 telltale signs someone is stealing your Wi-Fi – and how to stop them
  • I read the fine print on at-home DNA and health tests – watch out for these risks
  • About us
  • Privacy Policy
  • Terms & Conditions

© 2023 TheBlockchainPage | All Rights Reserved

No Result
View All Result
  • Home
  • Cryptocurrency
  • Blockchain
  • Bitcoin
  • Market & Analysis
  • Altcoins
  • DeFi
  • Ethereum
  • Dogecoin
  • XRP
  • Regulations
  • NFTs

© 2023 TheBlockchainPage | All Rights Reserved