Image manipulation and illustration with ChatGPT4o

Illustrates image manipulation and illustration with AI assistance.
5 Downloads
Updated 1 Jun 2024

View License

ChatGPT is increasingly proficient in code generation. This Live Script provides two examples of code generated with AI assistance to accomplish "chores." One code snippet manipulates an image. Another creates a function that generates an illustration. These tasks were accomplished by copy-pasting code provided by the AI into the Live Editor, reviewing the results, and iterating to obtain the desired appearance. In the case of the image manipulation, example code [1] was included in the initial prompt.
Only a few trivial execution errors resulted such as the image load failing as the prompt had not specified the path. The process in each case required of order 15 minutes to achieved desired results, what was desired being developed along en route.
ChatGPT's summary of the interaction and solicited prompting advice are given below followed by the code samples.

Cite As

Duncan Carlsmith (2024). Image manipulation and illustration with ChatGPT4o (https://www.mathworks.com/matlabcentral/fileexchange/167256-image-manipulation-and-illustration-with-chatgpt4o), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

ImageManipulationAndIllustrationWithChatGPT folder

Version Published Release Notes
1.0.0