[jira] [Created] (PDFBOX-4432) java.util.zip.DataFormatException: invalid block type

2019-01-13 Thread savan patel (JIRA)
savan patel created PDFBOX-4432:
---

 Summary: java.util.zip.DataFormatException: invalid block type
 Key: PDFBOX-4432
 URL: https://issues.apache.org/jira/browse/PDFBOX-4432
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 2.0.8
 Environment: windows 10
Reporter: savan patel
 Attachments: blank.pdf

it gives "java.util.zip.DataFormatException: invalid block type" error while 
decompressing the stream using Inflater in FlateFilter.java.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4127) JPEG reading fails

2018-02-26 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4127:

Issue Type: Bug  (was: Improvement)

> JPEG reading fails
> --
>
> Key: PDFBOX-4127
> URL: https://issues.apache.org/jira/browse/PDFBOX-4127
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Reporter: savan patel
>Priority: Major
>  Labels: DCTFilter
> Attachments: 5a9417fbcf00c.pdf
>
>
> on page 4 there is JPEG file reading gives error "Numbers of source Raster 
> bands and source color space components do not match"...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4127) JPEG reading fails

2018-02-26 Thread savan patel (JIRA)
savan patel created PDFBOX-4127:
---

 Summary: JPEG reading fails
 Key: PDFBOX-4127
 URL: https://issues.apache.org/jira/browse/PDFBOX-4127
 Project: PDFBox
  Issue Type: Improvement
  Components: Parsing
Reporter: savan patel
 Attachments: 5a9417fbcf00c.pdf

on page 4 there is JPEG file reading gives error "Numbers of source Raster 
bands and source color space components do not match"...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4121) (-Dorg.apache.pdfbox.rendering.UsePureJavaCMYKConversion=true) takes much time

2018-02-22 Thread savan patel (JIRA)
savan patel created PDFBOX-4121:
---

 Summary: 
(-Dorg.apache.pdfbox.rendering.UsePureJavaCMYKConversion=true) takes much time
 Key: PDFBOX-4121
 URL: https://issues.apache.org/jira/browse/PDFBOX-4121
 Project: PDFBox
  Issue Type: Improvement
  Components: Rendering
Affects Versions: 2.0.8
Reporter: savan patel
 Attachments: 5a55177653dee.pdf

I have a pdf in which page 1 gets around 45 sec to render when i set the 
property (-Dorg.apache.pdfbox.rendering.UsePureJavaCMYKConversion=true) and 
without it it takes 20 sec.

and something weird happens to me. when i don't set this property 
(System.setProperty("sun.java2d.cmm", 
"sun.java2d.cmm.kcms.KcmsServiceProvider")) then i get this warning "WARNING: 
Could not read JPEG 2000 (JPX) image" . is it some jar related warning or it 
happen to u also?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4119) KCMS takes too much time

2018-02-21 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16371280#comment-16371280
 ] 

savan patel commented on PDFBOX-4119:
-

i tested it with 2.0.8... this 
(-Dorg.apache.pdfbox.rendering.UsePureJavaCMYKConversion=true) also doesn't 
work...

> KCMS takes too much time
> 
>
> Key: PDFBOX-4119
> URL: https://issues.apache.org/jira/browse/PDFBOX-4119
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Parsing
>Affects Versions: 2.0.8
> Environment: windows 10
>Reporter: savan patel
>Priority: Major
> Attachments: RENDERING_TIME.pdf
>
>
> i have a pdf in which if i set the property 
> (-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider) as mention in the 
> PDFBOX-4022 then it took the pdf to render 6:30 minutes and without setting 
> that property it took 40 seconds around.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4119) KCMS takes too much time

2018-02-21 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4119:

Description: i have a pdf in which if i set the property 
(-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider) as mention in the 
PDFBOX-4022 then it took the pdf to render 6:30 minutes and without setting 
that property it took 40 seconds around.  (was: i have a pdf in which if i set 
the property (-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider) then it 
took the pdf to render 6:30 minutes and without setting that property it took 
40 seconds around.)

> KCMS takes too much time
> 
>
> Key: PDFBOX-4119
> URL: https://issues.apache.org/jira/browse/PDFBOX-4119
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Parsing
>Affects Versions: 2.0.8
> Environment: windows 10
>Reporter: savan patel
>Priority: Major
> Attachments: RENDERING_TIME.pdf
>
>
> i have a pdf in which if i set the property 
> (-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider) as mention in the 
> PDFBOX-4022 then it took the pdf to render 6:30 minutes and without setting 
> that property it took 40 seconds around.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4119) KCMS takes too much time

2018-02-21 Thread savan patel (JIRA)
savan patel created PDFBOX-4119:
---

 Summary: KCMS takes too much time
 Key: PDFBOX-4119
 URL: https://issues.apache.org/jira/browse/PDFBOX-4119
 Project: PDFBox
  Issue Type: Improvement
  Components: Parsing
Affects Versions: 2.0.8
 Environment: windows 10
Reporter: savan patel
 Attachments: RENDERING_TIME.pdf

i have a pdf in which if i set the property 
(-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider) then it took the pdf 
to render 6:30 minutes and without setting that property it took 40 seconds 
around.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-07 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16355206#comment-16355206
 ] 

savan patel commented on PDFBOX-4095:
-

"some blendmodes don't work properly against the page background",,, is this 
problem fixable???

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: BlendComposite.java.patch, BlendMode.java.patch, 
> COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla697433-1.pdf
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-05 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16352151#comment-16352151
 ] 

savan patel edited comment on PDFBOX-4095 at 2/5/18 2:12 PM:
-

this isn't any human error i guess,,, i also got error for 
([http://www.eci.org/_media/downloads/altona_test_suite/eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf])
 this pdf,,, and other pdfs are also not rendering properly,,,

so my solution is not working properly...

 

i think issue is opacity... i guess...

 


was (Author: savan):
this isn't any human error i guess,,, i also got error for 
([http://www.eci.org/_media/downloads/altona_test_suite/eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf])
 this pdf,,, and other pdfs are also not rendering properly,,,

so my solution is not working properly...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: BlendComposite.java.patch, BlendMode.java.patch, 
> COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla697433-1.pdf
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-05 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16352151#comment-16352151
 ] 

savan patel commented on PDFBOX-4095:
-

this isn't any human error i guess,,, i also got error for 
([http://www.eci.org/_media/downloads/altona_test_suite/eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf])
 this pdf,,, and other pdfs are also not rendering properly,,,

so my solution is not working properly...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: BlendComposite.java.patch, BlendMode.java.patch, 
> COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla697433-1.pdf
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-02 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4095:

Labels:   (was: patch)

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: BlendComposite.java.patch, BlendMode.java.patch, 
> COSName.java.patch, blendmodes.pdf
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-02 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4095:

Labels: patch  (was: )

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
>  Labels: patch
> Attachments: BlendComposite.java.patch, BlendMode.java.patch, 
> COSName.java.patch, blendmodes.pdf
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-02 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4095:

Affects Version/s: 2.0.8

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: BlendComposite.java.patch, BlendMode.java.patch, 
> COSName.java.patch, blendmodes.pdf
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-02 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4095:

Component/s: Rendering

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: BlendComposite.java.patch, BlendMode.java.patch, 
> COSName.java.patch, blendmodes.pdf
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-02 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4095:

Attachment: COSName.java.patch
blendmodes.pdf
BlendMode.java.patch
BlendComposite.java.patch

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>Reporter: savan patel
>Priority: Major
> Attachments: BlendComposite.java.patch, BlendMode.java.patch, 
> COSName.java.patch, blendmodes.pdf
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-02 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4095:

Description: I have a patch for implementation of non separable blend 
modes...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>Reporter: savan patel
>Priority: Major
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-02 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4095:

Summary: Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, 
LUMINOSITY)  (was: +Non Separable Blend Modes implementation(HUE, SATURATION, 
COLOR, LUMINOSITY))

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>Reporter: savan patel
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4095) +Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-02-02 Thread savan patel (JIRA)
savan patel created PDFBOX-4095:
---

 Summary: +Non Separable Blend Modes implementation(HUE, 
SATURATION, COLOR, LUMINOSITY)
 Key: PDFBOX-4095
 URL: https://issues.apache.org/jira/browse/PDFBOX-4095
 Project: PDFBox
  Issue Type: Improvement
Reporter: savan patel






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4085) COSString cannot be cast to COSDictionary error

2018-01-29 Thread savan patel (JIRA)
savan patel created PDFBOX-4085:
---

 Summary: COSString cannot be cast to COSDictionary error
 Key: PDFBOX-4085
 URL: https://issues.apache.org/jira/browse/PDFBOX-4085
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 2.0.8
 Environment: Windows 10
Reporter: savan patel
 Attachments: 3d.pdf

There is a pdf in which parsing error occurs...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4081) Image with JPXDecode filter not render perfectly

2018-01-25 Thread savan patel (JIRA)
savan patel created PDFBOX-4081:
---

 Summary: Image with JPXDecode filter not render perfectly
 Key: PDFBOX-4081
 URL: https://issues.apache.org/jira/browse/PDFBOX-4081
 Project: PDFBox
  Issue Type: Bug
  Components: Rendering
Affects Versions: 2.0.8
Reporter: savan patel
 Attachments: selection3.pdf

There is a image in a pdf which has a JPXDecode filter applied on it and it is 
rendered badly...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4078) different rendering on different scale

2018-01-24 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4078:

Attachment: Rendering_Issue.pdf

> different rendering on different scale
> --
>
> Key: PDFBOX-4078
> URL: https://issues.apache.org/jira/browse/PDFBOX-4078
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: Rendering_Issue.pdf
>
>
> i have attached a pdf... If i set scale 1 and render it then it renders very 
> poorly but if i increase the scale then rendering becomes clear...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4078) different rendering on different scale

2018-01-24 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4078:

Attachment: (was: EMR Supplimental Notes.pdf)

> different rendering on different scale
> --
>
> Key: PDFBOX-4078
> URL: https://issues.apache.org/jira/browse/PDFBOX-4078
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
>
> i have attached a pdf... If i set scale 1 and render it then it renders very 
> poorly but if i increase the scale then rendering becomes clear...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4077) shading is not filled on the right location

2018-01-24 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337102#comment-16337102
 ] 

savan patel commented on PDFBOX-4077:
-

i attached the photo...

> shading is not filled on the right location
> ---
>
> Key: PDFBOX-4077
> URL: https://issues.apache.org/jira/browse/PDFBOX-4077
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>Priority: Major
>  Labels: transparency
> Attachments: PDFBOX-4077_reduced.pdf, PDFBox-4077_reduced.png, 
> alg1_te_01_01.pdf
>
>
> i have a pdf in which there are 4 shading patterns are not rendered on right 
> location.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4077) shading is not filled on the right location

2018-01-24 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4077:

Attachment: PDFBox-4077_reduced.png

> shading is not filled on the right location
> ---
>
> Key: PDFBOX-4077
> URL: https://issues.apache.org/jira/browse/PDFBOX-4077
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>Priority: Major
>  Labels: transparency
> Attachments: PDFBOX-4077_reduced.pdf, PDFBox-4077_reduced.png, 
> alg1_te_01_01.pdf
>
>
> i have a pdf in which there are 4 shading patterns are not rendered on right 
> location.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4078) different rendering on different scale

2018-01-24 Thread savan patel (JIRA)
savan patel created PDFBOX-4078:
---

 Summary: different rendering on different scale
 Key: PDFBOX-4078
 URL: https://issues.apache.org/jira/browse/PDFBOX-4078
 Project: PDFBox
  Issue Type: Bug
  Components: Rendering
Affects Versions: 2.0.8
Reporter: savan patel
 Attachments: EMR Supplimental Notes.pdf

i have attached a pdf... If i set scale 1 and render it then it renders very 
poorly but if i increase the scale then rendering becomes clear...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4077) shading is not filled on the right location

2018-01-23 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337025#comment-16337025
 ] 

savan patel commented on PDFBOX-4077:
-

when i download 4077-reduced pdf it looks different...

> shading is not filled on the right location
> ---
>
> Key: PDFBOX-4077
> URL: https://issues.apache.org/jira/browse/PDFBOX-4077
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>Priority: Major
>  Labels: transparency
> Attachments: PDFBOX-4077_reduced.pdf, alg1_te_01_01.pdf
>
>
> i have a pdf in which there are 4 shading patterns are not rendered on right 
> location.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4077) shading is not filled on the right location

2018-01-23 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4077:

Attachment: (was: PDFBOX-4077_reduced.pdf)

> shading is not filled on the right location
> ---
>
> Key: PDFBOX-4077
> URL: https://issues.apache.org/jira/browse/PDFBOX-4077
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>Priority: Major
>  Labels: transparency
> Attachments: PDFBOX-4077_reduced.pdf, alg1_te_01_01.pdf
>
>
> i have a pdf in which there are 4 shading patterns are not rendered on right 
> location.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4077) shading is not filled on the right location

2018-01-23 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4077:

Attachment: PDFBOX-4077_reduced.pdf

> shading is not filled on the right location
> ---
>
> Key: PDFBOX-4077
> URL: https://issues.apache.org/jira/browse/PDFBOX-4077
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>Priority: Major
>  Labels: transparency
> Attachments: PDFBOX-4077_reduced.pdf, alg1_te_01_01.pdf
>
>
> i have a pdf in which there are 4 shading patterns are not rendered on right 
> location.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4077) shading is not filled on the right location

2018-01-22 Thread savan patel (JIRA)
savan patel created PDFBOX-4077:
---

 Summary: shading is not filled on the right location
 Key: PDFBOX-4077
 URL: https://issues.apache.org/jira/browse/PDFBOX-4077
 Project: PDFBox
  Issue Type: Bug
  Components: Rendering
Affects Versions: 2.0.8
 Environment: Windows 10
Reporter: savan patel
 Attachments: alg1_te_01_01.pdf

i have a pdf in which there are 4 shading patterns are not rendered on right 
location.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4064) cm operator has 7 numbers

2018-01-13 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16325202#comment-16325202
 ] 

savan patel commented on PDFBOX-4064:
-

It's not that Important but I was just wondering why Adobe reader does not have 
any problems while parsing or rendering. That's all...

> cm operator has 7 numbers
> -
>
> Key: PDFBOX-4064
> URL: https://issues.apache.org/jira/browse/PDFBOX-4064
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.0.8
> Environment: Windows 10
>Reporter: savan patel
> Attachments: CM_GOT_7_NUMBERS.pdf
>
>
> i got pdf in which one particular page there is an image which is not 
> rendered on the position...
> i understood the problem. there is 7 numbers came before cm operator which i 
> think is bug...
> Page 9 has an error...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4064) cm operator has 7 numbers

2018-01-12 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4064:

Component/s: (was: Parsing)

> cm operator has 7 numbers
> -
>
> Key: PDFBOX-4064
> URL: https://issues.apache.org/jira/browse/PDFBOX-4064
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.8
> Environment: Windows 10
>Reporter: savan patel
> Attachments: CM_GOT_7_NUMBERS.pdf
>
>
> i got pdf in which one particular page there is an image which is not 
> rendered on the position...
> i understood the problem. there is 7 numbers came before cm operator which i 
> think is bug...
> Page 9 has an error...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4064) cm operator has 7 numbers

2018-01-12 Thread savan patel (JIRA)
savan patel created PDFBOX-4064:
---

 Summary: cm operator has 7 numbers
 Key: PDFBOX-4064
 URL: https://issues.apache.org/jira/browse/PDFBOX-4064
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing, Rendering
Affects Versions: 2.0.8
 Environment: Windows 10
Reporter: savan patel
 Attachments: CM_GOT_7_NUMBERS.pdf

i got pdf in which one particular page there is an image which is not rendered 
on the position...
i understood the problem. there is 7 numbers came before cm operator which i 
think is bug...

Page 9 has an error...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4049) IllegalArgumentException: root cannot be null

2018-01-05 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16313499#comment-16313499
 ] 

savan patel commented on PDFBOX-4049:
-

I don't know much but when we generate PDF then all our PDF gets this type of 
MIME by our mistake(fixed after this). But pdfbox can able to parse some of 
these files without errors and gives errors in some files. If this is bad mime 
type then all the PDFs should get this error. So I thought this could be 
parsing error.

> IllegalArgumentException: root cannot be null
> -
>
> Key: PDFBOX-4049
> URL: https://issues.apache.org/jira/browse/PDFBOX-4049
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>  Labels: regression
> Attachments: 372d5dd7-d4b8-41b2-9f50-80c1353aee59.pdf
>
>
> I got a pdf,,, in which pdfbox gives errors while parsing it.
> {code}
> Exception in thread "main" java.lang.IllegalArgumentException: root cannot be 
> null
> at org.apache.pdfbox.pdmodel.PDPageTree.(PDPageTree.java:75)
> at 
> org.apache.pdfbox.pdmodel.PDDocumentCatalog.getPages(PDDocumentCatalog.java:129)
> at 
> org.apache.pdfbox.pdmodel.PDDocument.getNumberOfPages(PDDocument.java:1411)
> {code}
> This did not happen with 2.0.7.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4052) Parsing

2018-01-04 Thread savan patel (JIRA)
savan patel created PDFBOX-4052:
---

 Summary: Parsing
 Key: PDFBOX-4052
 URL: https://issues.apache.org/jira/browse/PDFBOX-4052
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 2.0.8
 Environment: Windows 10
Reporter: savan patel
 Attachments: b14f8bd0-e9d9-4d0c-97b8-2bad2c20e250.pdf

Bug in parsing the pdf.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4049) Parsing

2018-01-04 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4049:

Attachment: (was: b14f8bd0-e9d9-4d0c-97b8-2bad2c20e250.pdf)

> Parsing
> ---
>
> Key: PDFBOX-4049
> URL: https://issues.apache.org/jira/browse/PDFBOX-4049
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.0.7, 2.0.8
> Environment: Windows 10
>Reporter: savan patel
> Attachments: 372d5dd7-d4b8-41b2-9f50-80c1353aee59.pdf
>
>
> I got 2 pdfs,,, in which pdfbox gives errors while parsing it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4049) Parsing

2018-01-04 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4049:

Description: I got a pdf,,, in which pdfbox gives errors while parsing it.  
(was: I got 2 pdfs,,, in which pdfbox gives errors while parsing it.)

> Parsing
> ---
>
> Key: PDFBOX-4049
> URL: https://issues.apache.org/jira/browse/PDFBOX-4049
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.0.7, 2.0.8
> Environment: Windows 10
>Reporter: savan patel
> Attachments: 372d5dd7-d4b8-41b2-9f50-80c1353aee59.pdf
>
>
> I got a pdf,,, in which pdfbox gives errors while parsing it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4049) Parsing

2018-01-04 Thread savan patel (JIRA)
savan patel created PDFBOX-4049:
---

 Summary: Parsing
 Key: PDFBOX-4049
 URL: https://issues.apache.org/jira/browse/PDFBOX-4049
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 2.0.8, 2.0.7
 Environment: Windows 10
Reporter: savan patel
 Attachments: 372d5dd7-d4b8-41b2-9f50-80c1353aee59.pdf, 
b14f8bd0-e9d9-4d0c-97b8-2bad2c20e250.pdf

I got 2 pdfs,,, in which pdfbox gives errors while parsing it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4029) Rendering transparency groups (remaining files)

2017-12-07 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16283068#comment-16283068
 ] 

savan patel commented on PDFBOX-4029:
-

your code works fine...thank you...

> Rendering transparency groups (remaining files)
> ---
>
> Key: PDFBOX-4029
> URL: https://issues.apache.org/jira/browse/PDFBOX-4029
> Project: PDFBox
>  Issue Type: Sub-task
>  Components: Rendering
>Affects Versions: 2.0.7, 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>  Labels: patch
> Attachments: PDFJS-5526-p11-13.pdf, PDFJS-5526-p13_reduced1.pdf, 
> PDFJS-6496-XStep9.pdf, PDFJS-7395-p140p175p176p179p181p182.pdf, 
> PageDrawer.java.patch, evince-bug431088.pdf, gs-bugzilla692217_reduced.pdf
>
>
> i have gone through the "[PDFBOX-3000] Transparency Group issues"...
> and there are some issues in pdfs that i have attached...
> Every time showTransparencyGroup() method is called the current graphics is 
> translated by (x*xScale and y*yScale) which i assume is wrong.
> I think when transparencyGroup comes in pattern stream, then current graphics 
> should not changed. as well as when patterns are nested then no need to 
> change the parent graphics.
> i tried to fix it. i have attached the patch...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4029) Rendering transparency groups (remaining files)

2017-12-07 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16282022#comment-16282022
 ] 

savan patel commented on PDFBOX-4029:
-

Can u attach the PDFs...
I can't find it in that issue 3000...

> Rendering transparency groups (remaining files)
> ---
>
> Key: PDFBOX-4029
> URL: https://issues.apache.org/jira/browse/PDFBOX-4029
> Project: PDFBox
>  Issue Type: Sub-task
>  Components: Rendering
>Affects Versions: 2.0.7, 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>  Labels: patch
> Attachments: PDFJS-5526-p11-13.pdf, PDFJS-5526-p13_reduced1.pdf, 
> PDFJS-6496-XStep9.pdf, PDFJS-7395-p140p175p176p179p181p182.pdf, 
> PageDrawer.java.patch, evince-bug431088.pdf, gs-bugzilla692217_reduced.pdf
>
>
> i have gone through the "[PDFBOX-3000] Transparency Group issues"...
> and there are some issues in pdfs that i have attached...
> Every time showTransparencyGroup() method is called the current graphics is 
> translated by (x*xScale and y*yScale) which i assume is wrong.
> I think when transparencyGroup comes in pattern stream, then current graphics 
> should not changed. as well as when patterns are nested then no need to 
> change the parent graphics.
> i tried to fix it. i have attached the patch...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4029) Rendering transparency groups (remaining files)

2017-12-06 Thread savan patel (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16280627#comment-16280627
 ] 

savan patel commented on PDFBOX-4029:
-

Was this code working for all the PDFs?

if (flipTG)
{
graphics.translate(0, image.getHeight());
graphics.scale(1, -1);
}
else
graphics.translate(x * xScale, y * yScale);

> Rendering transparency groups (remaining files)
> ---
>
> Key: PDFBOX-4029
> URL: https://issues.apache.org/jira/browse/PDFBOX-4029
> Project: PDFBox
>  Issue Type: Sub-task
>  Components: Rendering
>Affects Versions: 2.0.7, 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>  Labels: patch
> Attachments: PDFJS-5526-p11-13.pdf, PDFJS-5526-p13_reduced1.pdf, 
> PageDrawer.java.patch, gs-bugzilla692217_reduced.pdf
>
>
> i have gone through the "[PDFBOX-3000] Transparency Group issues"...
> and there are some issues in pdfs that i have attached...
> Every time showTransparencyGroup() method is called the current graphics is 
> translated by (x*xScale and y*yScale) which i assume is wrong.
> I think when transparencyGroup comes in pattern stream, then current graphics 
> should not changed. as well as when patterns are nested then no need to 
> change the parent graphics.
> i tried to fix it. i have attached the patch...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4029) Rendering

2017-12-06 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4029:

Description: 
i have gone through the "[PDFBOX-3000] Transparency Group issues"...
and there are some issues in pdfs that i have attached...

Every time showTransparencyGroup() method is called the current graphics is 
translated by (x*xScale and y*yScale) which i assume is wrong.
I think when transparencyGroup comes in pattern stream, then current graphics 
should not changed. as well as when patterns are nested then no need to change 
the parent graphics.

i tried to fix it. i have attached the patch...


  was:
i have gone through the "[PDFBOX-3000] Transparency Group issues"...
and there are some issues in pdfs that i have attached...

Every time showTransparencyGroup() method is called the current graphics is 
translated by (x*xScale and y*yScale) which i assume is wrong.
I think when transparencyGroup come in pattern stream, then current graphics 
should not changed. as well as when patterns are nested then no need to change 
the parent graphics.

i tried to fix it. i have attached the patch...



> Rendering
> -
>
> Key: PDFBOX-4029
> URL: https://issues.apache.org/jira/browse/PDFBOX-4029
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.7, 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>  Labels: patch
> Attachments: PDFJS-5526-p11-13.pdf, PDFJS-5526-p13_reduced1.pdf, 
> PageDrawer.java.patch, gs-bugzilla692217_reduced.pdf
>
>
> i have gone through the "[PDFBOX-3000] Transparency Group issues"...
> and there are some issues in pdfs that i have attached...
> Every time showTransparencyGroup() method is called the current graphics is 
> translated by (x*xScale and y*yScale) which i assume is wrong.
> I think when transparencyGroup comes in pattern stream, then current graphics 
> should not changed. as well as when patterns are nested then no need to 
> change the parent graphics.
> i tried to fix it. i have attached the patch...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4029) Rendering

2017-12-06 Thread savan patel (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

savan patel updated PDFBOX-4029:

Description: 
i have gone through the "[PDFBOX-3000] Transparency Group issues"...
and there are some issues in pdfs that i have attached...

Every time showTransparencyGroup() method is called the current graphics is 
translated by (x*xScale and y*yScale) which i assume is wrong.
I think when transparencyGroup come in pattern stream, then current graphics 
should not changed. as well as when patterns are nested then no need to change 
the parent graphics.

i tried to fix it. i have attached the patch...


  was:
i have gone through the "[PDFBox-3000] Transparency Group issues"...
and there are some issues in pdfs that i have attached...

Every time showTransparencyGroup() method is called the current graphics is 
translated by (x*xScale and y*yScale) which i assume is wrong.
I think when transparencyGroup come in pattern stream, then current graphics 
should not changed. as well as when patterns are nested then no need to change 
the parent graphics.

i tried to fix it. i have attached the patch...



> Rendering
> -
>
> Key: PDFBOX-4029
> URL: https://issues.apache.org/jira/browse/PDFBOX-4029
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.7, 2.0.8
> Environment: Windows 10
>Reporter: savan patel
>  Labels: patch
> Attachments: PDFJS-5526-p11-13.pdf, PDFJS-5526-p13_reduced1.pdf, 
> PageDrawer.java.patch, gs-bugzilla692217_reduced.pdf
>
>
> i have gone through the "[PDFBOX-3000] Transparency Group issues"...
> and there are some issues in pdfs that i have attached...
> Every time showTransparencyGroup() method is called the current graphics is 
> translated by (x*xScale and y*yScale) which i assume is wrong.
> I think when transparencyGroup come in pattern stream, then current graphics 
> should not changed. as well as when patterns are nested then no need to 
> change the parent graphics.
> i tried to fix it. i have attached the patch...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4029) Rendering

2017-12-06 Thread savan patel (JIRA)
savan patel created PDFBOX-4029:
---

 Summary: Rendering
 Key: PDFBOX-4029
 URL: https://issues.apache.org/jira/browse/PDFBOX-4029
 Project: PDFBox
  Issue Type: Bug
  Components: Rendering
Affects Versions: 2.0.8, 2.0.7
 Environment: Windows 10
Reporter: savan patel
 Attachments: PDFJS-5526-p11-13.pdf, PDFJS-5526-p13_reduced1.pdf, 
PageDrawer.java.patch, gs-bugzilla692217_reduced.pdf

i have gone through the "[PDFBox-3000] Transparency Group issues"...
and there are some issues in pdfs that i have attached...

Every time showTransparencyGroup() method is called the current graphics is 
translated by (x*xScale and y*yScale) which i assume is wrong.
I think when transparencyGroup come in pattern stream, then current graphics 
should not changed. as well as when patterns are nested then no need to change 
the parent graphics.

i tried to fix it. i have attached the patch...




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4024) YCbCr JPEGs not implemented

2017-11-28 Thread savan patel (JIRA)
savan patel created PDFBOX-4024:
---

 Summary: YCbCr JPEGs not implemented
 Key: PDFBOX-4024
 URL: https://issues.apache.org/jira/browse/PDFBOX-4024
 Project: PDFBox
  Issue Type: Improvement
  Components: Rendering
Affects Versions: 2.0.8, 2.0.7
 Environment: Windows 10
Reporter: savan patel
 Attachments: DCTFilter.java.patch, YCbCrToCMYK.pdf

I have a pdf in which one particular image has a DeviceCMYK colorspace and 
DCTDecode filter. When i convert it to image it gets weird background color. i 
got warning "YCbCr JPEGs not implemented". so i implemented it and it renders 
right image after that.

i attached the pdf and patch. issue is on first page of pdf.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4022) Cache ColorSpace instances in PDColorSpace.java

2017-11-22 Thread savan patel (JIRA)
savan patel created PDFBOX-4022:
---

 Summary: Cache ColorSpace instances in PDColorSpace.java
 Key: PDFBOX-4022
 URL: https://issues.apache.org/jira/browse/PDFBOX-4022
 Project: PDFBox
  Issue Type: Improvement
  Components: Rendering
Affects Versions: 2.0.8, 2.0.7
 Environment: Windows 10
Reporter: savan patel
 Attachments: PDColorSpace.java.patch, selection.pdf

I have a PDF which contains a lot of Images. Each time, pdfbox parse the image 
it uses the colorspace to parse it and most of the time colorspace is the same 
object. I tried to cache the colorspace instances in PDColorSpace.java as shown 
in the attached patch. For this particular PDF, this change improves the 
performance of parsing and rendering the images from 15 minutes down to 3 
minutes. I shared the PDF.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org