Comments (7)
Maybe Big Sur? The app didn't ask for drive access.
from tinypng4mac.
Probably there's a problem of tinypng.com's service. The app works fine for me on Big Sur.
from tinypng4mac.
Get same error in my new M1 macbook, but work fine in my another old macbook
from tinypng4mac.
On my macbook air M1 work fine
from tinypng4mac.
I have the same error.
from tinypng4mac.
I have the same error
from tinypng4mac.
it seems like you're looking for a solution code to handle errors when sending images. However, your request is quite broad, as there can be various types of errors that might occur during image transmission. Here's a general outline of how you might approach handling errors when sending images over a network using Python's requests library. Keep in mind that this is just a basic example, and you should adapt it to your specific use case:
import requests
def send_image(image_url):
try:
response = requests.get(image_url)
if response.status_code == 200:
# Process the image or save it
with open('received_image.jpg', 'wb') as f:
f.write(response.content)
print("Image received successfully.")
else:
print(f"Error: Received HTTP status code {response.status_code}")
except requests.exceptions.RequestException as e:
print(f"Error: {e}")
if name == "main":
image_url = "https://example.com/image.jpg" # Replace with the actual image URL
send_image(image_url)
from tinypng4mac.
Related Issues (20)
- Where is 1.0.1 compiled? HOT 2
- 希望增加文件夹嵌套压缩 HOT 1
- 希望增加右键服务功能
- i need retry button, please
- 【建议】1.转换完成增加提示音或者提示通知 2.可以置顶窗口 3.缩略图可以控制显示大小or提供列表展示
- mac下压缩后的图片权限问题 HOT 1
- {"error":"Not found","message":"Resource not found or expired."} HOT 4
- Optimize all images to 64 bytes HOT 1
- `brew upgrade` error HOT 1
- Apple Silicon or Universal App Version? HOT 3
- 建议支持 WebP HOT 4
- Need update
- 血书求显示压缩后的文件大小
- v 1.0.6 does not run on Intel Macs HOT 4
- TinyPNG4 iOS ?
- 希望能记录每个月调用次数
- Feature request: Drag and drop files on Dock icon
- 部分机器网络环境并不好,可否帮忙增加个http代理或socks代理感谢
- Feature request: an option to open app window in screen corner, not in the center
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinypng4mac.