Comments (5)
My only guess is that you may need to seek to the beginning of the file before calling loadFileIntoContext
.
from pdn-heicfiletype-plus.
Thank you for your help. But this is not the solution. My file callbacks are called GetPosition and returns 0, GetSize and Read (4 Bytes and gives the first 4 Bytes of the file).
I will try to check the source of LibHeic.
from pdn-heicfiletype-plus.
OK, the problem was my Read-Callback function. It has to return "0" for no error, not the amount of bytes read, as expected.
from pdn-heicfiletype-plus.
Works fine now.
May I ask if there is a way to get 16 bit per channel instead of 8?
Is there a way to get data without alpha or is there a way to detect if alpha is present?
from pdn-heicfiletype-plus.
You would have to modify the C++ wrapper code to add those features.
Paint.NET uses 8-bit RGBA as its native image format, so the C++ wrapper code used by this plugin only supports that format.
There was no point in adding features to the wrapper that Paint.NET does not support.
from pdn-heicfiletype-plus.
Related Issues (8)
- HeicFileTypePlus 1.0.5.0 & paint.net 4.3.4 does not work HOT 3
- Error while open HEIC file HOT 5
- Add format detection for files with the wrong extension
- files created with 4:4:4 and 4:2:2 subsampling cannot be opened HOT 2
- Default should not be SSIM or PSNR tuning, it should be the "untuned" setting
- Rename LICENSE..txt to LICENSE.txt for releases HOT 1
- File size when saving is much larger than original HOT 1
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 pdn-heicfiletype-plus.