[jira] [Created] (SANSELAN-73) JpegImageMetada fails if exif is null

2012-04-19 Thread Piyush Kapoor (Created) (JIRA)
JpegImageMetada fails if exif is null 
--

 Key: SANSELAN-73
 URL: https://issues.apache.org/jira/browse/SANSELAN-73
 Project: Commons Sanselan
  Issue Type: Bug
Reporter: Piyush Kapoor


if exif field is null in jpegimagemetadata.java fails with Np . Added the null 
check.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (SANSELAN-74) Tiffreader fails if rows per strip and imageheight bothe are absent

2012-04-19 Thread Piyush Kapoor (Created) (JIRA)
Tiffreader fails if rows per strip and imageheight bothe are absent 


 Key: SANSELAN-74
 URL: https://issues.apache.org/jira/browse/SANSELAN-74
 Project: Commons Sanselan
  Issue Type: Bug
Reporter: Piyush Kapoor
Priority: Minor


If rowsperstrip is not present in Tiff files , we take imageHeigth value as 
rows per strip value. Currently is imageheight is not present then Np occurs ,
Added some checks to safely run the process .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (SANSELAN-71) Software field is missing in Exif TagConstant and Changing the order of reader.getbhyteorder in Tiffimage parser

2012-04-09 Thread Piyush Kapoor (Created) (JIRA)
Software field is missing in Exif TagConstant and Changing the order of 
reader.getbhyteorder in Tiffimage parser


 Key: SANSELAN-71
 URL: https://issues.apache.org/jira/browse/SANSELAN-71
 Project: Commons Sanselan
  Issue Type: Bug
 Environment: W-7
Reporter: Piyush Kapoor
Priority: Minor


Some fields like Software has been removed while modifying ExifTagConstants .
In tiffimagepareser line reader.getbytereater should be below 
reader.readFirstDirectory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (SANSELAN-66) Sansalan can't render 48 bit pixel (bit per samples ={16,16,16})

2012-03-05 Thread Piyush Kapoor (Created) (JIRA)
Sansalan can't render 48 bit pixel (bit per samples ={16,16,16})


 Key: SANSELAN-66
 URL: https://issues.apache.org/jira/browse/SANSELAN-66
 Project: Commons Sanselan
  Issue Type: Bug
  Components: Format: TIFF
 Environment: Windows 7 64 bit
Reporter: Piyush Kapoor
 Attachments: BinaryFileParser.java.patch

We have a very large Tiff image tha uses 16 bits for wach pixel (bits per 
sample total = 48) . The class Bitinput stream didn't have suppport for 
Endianness of the Tiff format . I added that support in the patch and image 
worked absolutely fine.
The image is very large . If you want i can upload it .Otherwise here is the 
patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (SANSELAN-62) Bit depth wrongly calculated in GIFFimageparser

2012-01-23 Thread Piyush Kapoor (Created) (JIRA)
Bit depth wrongly calculated in GIFFimageparser
---

 Key: SANSELAN-62
 URL: https://issues.apache.org/jira/browse/SANSELAN-62
 Project: Commons Sanselan
  Issue Type: Bug
  Components: Format: GIF
Reporter: Piyush Kapoor
Priority: Minor


File : GifImahgeParser.java 
Formula used for calculating Bits per pixel is wrong . 

It should be
int BitsPerPixel = (bhi.colorResolution + 1) ;

instead of 

int BitsPerPixel = (bhi.colorResolution + 1) * 3;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira