Comments (2)
Hello,
You can implement something like TIFFUnsetField function in libtiff. With TIFFUnsetField you can implement a portion of tiffset utility to accomplish your goal. Please feel free to send us a PR with you improvements.
The check is necessary for the reasons described in https://www.asmail.be/msg0055373960.html
from libtiff.net.
Hello,
I ran into the same problem when handling QPTIFF files.
Samples here
https://downloads.openmicroscopy.org/images/Vectra-QPTIFF/perkinelmer/PKI_scans/
I just disabled the check for the SMinSampleValue
tag and it seems to work without problems.
The problem is, that the whole Tiff.Open(fileName, "r")
method will return null if one of them is wrongly coded and it's hard to find out and ignore the corrupted sub-image causing the problem without getting the Tiff object beforehand.
Maybe any kind of global switch to rate it down to a warning instead of a an error or a callback before throwing the error would be good.
from libtiff.net.
Related Issues (20)
- "the parameter is incorrect" windows api error HOT 3
- Update the license file, so it integrates with GitHub nicely HOT 2
- EXIF_EXPOSURETIME not working
- Unable to read CMYK 96-bit image
- ComputeTile returns invalid number of tile HOT 1
- Get an error writing Linear DNG (need help) HOT 1
- In there an option to work without impacting on CMYK colors
- Adobe deflate HOT 9
- Having problems injecting TimeStamp into TiffTag.IMAGEDESCRIPTION HOT 1
- GeoTiff Support ? HOT 1
- Does not build on Mac HOT 3
- Hardcoded encoding HOT 3
- how to use libtiff.net to generate a tiff or svs support by openslide HOT 3
- Possible to write to a stream? HOT 1
- Skewed Landscape Images HOT 2
- How to use ReadRGBAImageOriented with Exif Orientation? HOT 1
- Will LibTiff support 32 bit samples RGBA Image? HOT 1
- Create a Svs file (Aperio format) by libtiff.net
- how to write label or marco to tif by libtiff.net
- writeTile
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 libtiff.net.