Re: PNG image transparency lost during crop/fill operations

1 view
Skip to first unread message

Alexander Obuhovich

unread,
Feb 1, 2010, 10:10:32 AM2/1/10
to In-Portal Bugs
Here are some details. When cropped size is larger, then given image, then image is not enlarger (to preserve it's quality) and larger canvas image is created to place source image on it. Source image was containing alpha-channel information, but created canvas wasn't. When merged together alpha-channel information was totally lost and what was transparent in source image became black in target cropped image.

On Mon, Feb 1, 2010 at 5:05 PM, Alexander Obuhovich <aik....@gmail.com> wrote:
PNG image transparency lost during crop/fill operations resulting transparent color conversion to black color. Patches attached.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com



--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Alexander Obuhovich

unread,
Feb 1, 2010, 10:05:06 AM2/1/10
to In-Portal Bugs
transparency_lost_during_crop.patch

Alexander Obuhovich

unread,
Mar 12, 2010, 3:24:56 AM3/12/10
to In-Portal Bugs
Doesn't seem to interest anybody, but this is serious problem especially, when you work with transparent PNG images.

Phil ..:: domicilis.biz ::..

unread,
Mar 12, 2010, 5:28:03 AM3/12/10
to in-port...@googlegroups.com
I agree, I work a lot with PNG now, as this is really better for transparency.

The only detail is that I use PNG for design, and then I suppose that
cropping tool is used only for content images, but anyway it'd be
better to support all images formats :-)

2010/3/12 Alexander Obuhovich <aik....@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "In-Portal Bugs Team" group.
> To post to this group, send email to in-port...@googlegroups.com.
> To unsubscribe from this group, send email to
> in-portal-bug...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/in-portal-bugs?hl=en.
>

Alexander Obuhovich

unread,
Mar 14, 2010, 7:38:48 AM3/14/10
to in-port...@googlegroups.com
That task: http://tracker.in-portal.org/view.php?id=601 you've created for this discussion has scheduled to 5.0.2 release. That's not right and it should be scheduled to 5.0.4 release instead.

I'll see how I could trick mantis to forbid setting released versions as target task versions.
Reply all
Reply to author
Forward
0 new messages